95798 line
5.0 MiB

{
"time_consumption": 84.66432404518127,
"number_of_failed_tests": 0,
"name": "Default Testsession name",
"testcase_execution_level": 90,
"number_of_successfull_tests": 67,
"testcase_names": {
"0": "Single Test",
"10": "Smoke Test (Minumum subset)",
"50": "Short Test (Subset)",
"90": "Full Test (all defined tests)"
},
"number_of_tests": 67,
"number_of_possibly_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": 1676441603.2068624,
"msecs": 206.8624496459961,
"relativeCreated": 210.37769317626953,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Power On/ Off test for device and virtual device: zigbee/ffe/diningroom/powerplug_floorlamp",
"asctime": "2023-02-15 07:13:23,206",
"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": 1676441603.2054625,
"msecs": 205.46245574951172,
"relativeCreated": 208.97769927978516,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Adding callback for topic __info__",
"asctime": "2023-02-15 07:13:23,205"
},
{
"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": 1676441603.2056034,
"msecs": 205.60336112976074,
"relativeCreated": 209.11860466003418,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic __info__ and payload null",
"asctime": "2023-02-15 07:13:23,205"
}
],
"testcaseLogger": [
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441603.206969,
"msecs": 206.9690227508545,
"relativeCreated": 210.48426628112793,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:23,206",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441603.2069187,
"msecs": 206.91871643066406,
"relativeCreated": 210.4339599609375,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:23,206"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441603.2069452,
"msecs": 206.94518089294434,
"relativeCreated": 210.46042442321777,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:23,206"
}
],
"time_consumption": 2.384185791015625e-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": 1676441603.5077748,
"msecs": 507.77482986450195,
"relativeCreated": 511.2900733947754,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing switching device state to 'True'",
"asctime": "2023-02-15 07:13:23,507",
"moduleLogger": [
{
"name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp",
"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": 1676441603.2070243,
"msecs": 207.02433586120605,
"relativeCreated": 210.5395793914795,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/diningroom/powerplug_floorlamp and payload {\"state\": \"on\"}",
"asctime": "2023-02-15 07:13:23,207"
},
{
"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": 1676441603.207212,
"msecs": 207.21197128295898,
"relativeCreated": 210.72721481323242,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:23,207"
},
{
"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": 1676441603.2073543,
"msecs": 207.35430717468262,
"relativeCreated": 210.86955070495605,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:23,207"
},
{
"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": 1676441603.2074718,
"msecs": 207.4718475341797,
"relativeCreated": 210.98709106445312,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:23,207"
},
{
"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": 1676441603.2075827,
"msecs": 207.5827121734619,
"relativeCreated": 211.09795570373535,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:23,207"
},
{
"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": 1676441603.207698,
"msecs": 207.69810676574707,
"relativeCreated": 211.2133502960205,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/livingroom/main_light/state and payload b'false'",
"asctime": "2023-02-15 07:13:23,207"
},
{
"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": 1676441603.2078216,
"msecs": 207.82160758972168,
"relativeCreated": 211.33685111999512,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/stw/stairway/main_light/state and payload b'false'",
"asctime": "2023-02-15 07:13:23,207"
},
{
"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": 1676441603.2079427,
"msecs": 207.94272422790527,
"relativeCreated": 211.4579677581787,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic __info__ and payload b'null'",
"asctime": "2023-02-15 07:13:23,207"
},
{
"name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp",
"msg": "Received message with topic %s and payload %s",
"args": [
"zigbee/ffe/diningroom/powerplug_floorlamp",
"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": 1676441603.250817,
"msecs": 250.81706047058105,
"relativeCreated": 254.3323040008545,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp and payload b'{\"state\": \"on\"}'",
"asctime": "2023-02-15 07:13:23,250"
},
{
"name": "smart_brain.mqtt.__info__",
"msg": "Received message with topic %s and payload %s",
"args": [
"__info__",
"b'{\"app_name\": \"smart_brain\", \"version\": {\"readable\": \"1.2.0\", \"major\": 1, \"minor\": 2, \"patch\": 0}, \"git\": {\"url\": \"https://git.mount-mockery.de/smarthome/smart_brain.git\", \"ref\": \"f3ed72974e5fd3bf932ab78acdf0a1d6154dd733\"}}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441603.251068,
"msecs": 251.068115234375,
"relativeCreated": 254.58335876464844,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic __info__ and payload b'{\"app_name\": \"smart_brain\", \"version\": {\"readable\": \"1.2.0\", \"major\": 1, \"minor\": 2, \"patch\": 0}, \"git\": {\"url\": \"https://git.mount-mockery.de/smarthome/smart_brain.git\", \"ref\": \"f3ed72974e5fd3bf932ab78acdf0a1d6154dd733\"}}'",
"asctime": "2023-02-15 07:13:23,251"
},
{
"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": 1676441603.251314,
"msecs": 251.3139247894287,
"relativeCreated": 254.82916831970215,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/diningroom/floorlamp/state and payload b'true'",
"asctime": "2023-02-15 07:13:23,251"
}
],
"time_consumption": 0.25646090507507324
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441603.5084796,
"msecs": 508.4795951843262,
"relativeCreated": 511.9948387145996,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:23,508",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441603.5082374,
"msecs": 508.237361907959,
"relativeCreated": 511.7526054382324,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:23,508"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441603.5083725,
"msecs": 508.37254524230957,
"relativeCreated": 511.887788772583,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:23,508"
}
],
"time_consumption": 0.00010704994201660156
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441603.508868,
"msecs": 508.8679790496826,
"relativeCreated": 512.383222579956,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:23,508",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441603.5086477,
"msecs": 508.6476802825928,
"relativeCreated": 512.1629238128662,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:23,508"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441603.5087454,
"msecs": 508.7454319000244,
"relativeCreated": 512.2606754302979,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:23,508"
}
],
"time_consumption": 0.00012254714965820312
},
{
"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": 1676441603.8100424,
"msecs": 810.0423812866211,
"relativeCreated": 813.5576248168945,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device state to 'False'",
"asctime": "2023-02-15 07:13:23,810",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffe.diningroom.floorlamp.state.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffe/diningroom/floorlamp/state/set",
"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": 1676441603.5091567,
"msecs": 509.1567039489746,
"relativeCreated": 512.671947479248,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffe/diningroom/floorlamp/state/set and payload false",
"asctime": "2023-02-15 07:13:23,509"
},
{
"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": 1676441603.5120163,
"msecs": 512.0162963867188,
"relativeCreated": 515.5315399169922,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:23,512"
},
{
"name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp",
"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": 1676441603.512494,
"msecs": 512.4940872192383,
"relativeCreated": 516.0093307495117,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/diningroom/powerplug_floorlamp and payload {\"state\": \"off\"}",
"asctime": "2023-02-15 07:13:23,512"
},
{
"name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp",
"msg": "Received message with topic %s and payload %s",
"args": [
"zigbee/ffe/diningroom/powerplug_floorlamp",
"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": 1676441603.5134904,
"msecs": 513.4904384613037,
"relativeCreated": 517.0056819915771,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:23,513"
},
{
"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": 1676441603.5576231,
"msecs": 557.6231479644775,
"relativeCreated": 561.138391494751,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/diningroom/floorlamp/state and payload b'false'",
"asctime": "2023-02-15 07:13:23,557"
}
],
"time_consumption": 0.25241923332214355
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441603.8107123,
"msecs": 810.7123374938965,
"relativeCreated": 814.2275810241699,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:23,810",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441603.810468,
"msecs": 810.4679584503174,
"relativeCreated": 813.9832019805908,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:23,810"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441603.8106039,
"msecs": 810.6038570404053,
"relativeCreated": 814.1191005706787,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:23,810"
}
],
"time_consumption": 0.00010848045349121094
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441603.8110979,
"msecs": 811.0978603363037,
"relativeCreated": 814.6131038665771,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:23,811",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441603.8108804,
"msecs": 810.8804225921631,
"relativeCreated": 814.3956661224365,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:23,810"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441603.8109765,
"msecs": 810.976505279541,
"relativeCreated": 814.4917488098145,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:23,810"
}
],
"time_consumption": 0.00012135505676269531
},
{
"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": 1676441604.1124988,
"msecs": 112.49876022338867,
"relativeCreated": 1116.014003753662,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing switching device state to 'True'",
"asctime": "2023-02-15 07:13:24,112",
"moduleLogger": [
{
"name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp",
"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": 1676441603.8113678,
"msecs": 811.3677501678467,
"relativeCreated": 814.8829936981201,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/diningroom/powerplug_floorlamp and payload {\"state\": \"on\"}",
"asctime": "2023-02-15 07:13:23,811"
},
{
"name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp",
"msg": "Received message with topic %s and payload %s",
"args": [
"zigbee/ffe/diningroom/powerplug_floorlamp",
"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": 1676441603.8124561,
"msecs": 812.4561309814453,
"relativeCreated": 815.9713745117188,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp and payload b'{\"state\": \"on\"}'",
"asctime": "2023-02-15 07:13:23,812"
},
{
"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": 1676441603.8145514,
"msecs": 814.5513534545898,
"relativeCreated": 818.0665969848633,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/diningroom/floorlamp/state and payload b'true'",
"asctime": "2023-02-15 07:13:23,814"
}
],
"time_consumption": 0.29794740676879883
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441604.1132245,
"msecs": 113.22450637817383,
"relativeCreated": 1116.7397499084473,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:24,113",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441604.1129472,
"msecs": 112.94722557067871,
"relativeCreated": 1116.4624691009521,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:24,112"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441604.1131005,
"msecs": 113.10052871704102,
"relativeCreated": 1116.6157722473145,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:24,113"
}
],
"time_consumption": 0.0001239776611328125
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441604.1136353,
"msecs": 113.63530158996582,
"relativeCreated": 1117.1505451202393,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:24,113",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441604.1134202,
"msecs": 113.42024803161621,
"relativeCreated": 1116.9354915618896,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:24,113"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441604.1135333,
"msecs": 113.53325843811035,
"relativeCreated": 1117.0485019683838,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:24,113"
}
],
"time_consumption": 0.00010204315185546875
},
{
"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": 1676441604.415109,
"msecs": 415.10891914367676,
"relativeCreated": 1418.6241626739502,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device state to 'False'",
"asctime": "2023-02-15 07:13:24,415",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffe.diningroom.floorlamp.state.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffe/diningroom/floorlamp/state/set",
"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": 1676441604.1139228,
"msecs": 113.9228343963623,
"relativeCreated": 1117.4380779266357,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffe/diningroom/floorlamp/state/set and payload false",
"asctime": "2023-02-15 07:13:24,113"
},
{
"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": 1676441604.1172483,
"msecs": 117.2482967376709,
"relativeCreated": 1120.7635402679443,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:24,117"
},
{
"name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp",
"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": 1676441604.1178486,
"msecs": 117.84863471984863,
"relativeCreated": 1121.363878250122,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/diningroom/powerplug_floorlamp and payload {\"state\": \"off\"}",
"asctime": "2023-02-15 07:13:24,117"
},
{
"name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp",
"msg": "Received message with topic %s and payload %s",
"args": [
"zigbee/ffe/diningroom/powerplug_floorlamp",
"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": 1676441604.1188965,
"msecs": 118.896484375,
"relativeCreated": 1122.4117279052734,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:24,118"
},
{
"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": 1676441604.163219,
"msecs": 163.21897506713867,
"relativeCreated": 1166.734218597412,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/diningroom/floorlamp/state and payload b'false'",
"asctime": "2023-02-15 07:13:24,163"
}
],
"time_consumption": 0.2518899440765381
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441604.4158795,
"msecs": 415.879487991333,
"relativeCreated": 1419.3947315216064,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:24,415",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441604.41556,
"msecs": 415.5600070953369,
"relativeCreated": 1419.0752506256104,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:24,415"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441604.4157133,
"msecs": 415.7133102416992,
"relativeCreated": 1419.2285537719727,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:24,415"
}
],
"time_consumption": 0.00016617774963378906
}
],
"time_consumption": 1.209017038345337,
"time_start": "2023-02-15 07:13:23,206",
"time_finished": "2023-02-15 07:13:24,415"
},
"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": 1676441604.416438,
"msecs": 416.43810272216797,
"relativeCreated": 1419.9533462524414,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Power On/ Off test for device and virtual device: shellies/ffe/diningroom/main_light",
"asctime": "2023-02-15 07:13:24,416",
"moduleLogger": [],
"testcaseLogger": [
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441604.4169004,
"msecs": 416.9003963470459,
"relativeCreated": 1420.4156398773193,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:24,416",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441604.416667,
"msecs": 416.66698455810547,
"relativeCreated": 1420.182228088379,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:24,416"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441604.416792,
"msecs": 416.7919158935547,
"relativeCreated": 1420.3071594238281,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:24,416"
}
],
"time_consumption": 0.00010848045349121094
},
{
"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": 1676441604.7183702,
"msecs": 718.3701992034912,
"relativeCreated": 1721.8854427337646,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing switching device state to 'True'",
"asctime": "2023-02-15 07:13:24,718",
"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": 1676441604.417199,
"msecs": 417.19889640808105,
"relativeCreated": 1420.7141399383545,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffe/diningroom/main_light/relay/0 and payload on",
"asctime": "2023-02-15 07:13:24,417"
},
{
"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": 1676441604.4185119,
"msecs": 418.51186752319336,
"relativeCreated": 1422.0271110534668,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffe/diningroom/main_light/relay/0 and payload b'on'",
"asctime": "2023-02-15 07:13:24,418"
},
{
"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": 1676441604.421599,
"msecs": 421.5989112854004,
"relativeCreated": 1425.1141548156738,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp/set and payload b'{\"state\": \"on\"}'",
"asctime": "2023-02-15 07:13:24,421"
},
{
"name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp",
"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": 1676441604.422131,
"msecs": 422.1310615539551,
"relativeCreated": 1425.6463050842285,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/diningroom/powerplug_floorlamp and payload {\"state\": \"on\"}",
"asctime": "2023-02-15 07:13:24,422"
},
{
"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": 1676441604.4228916,
"msecs": 422.89161682128906,
"relativeCreated": 1426.4068603515625,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/diningroom/main_light/state and payload b'true'",
"asctime": "2023-02-15 07:13:24,422"
},
{
"name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp",
"msg": "Received message with topic %s and payload %s",
"args": [
"zigbee/ffe/diningroom/powerplug_floorlamp",
"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": 1676441604.4240448,
"msecs": 424.0448474884033,
"relativeCreated": 1427.5600910186768,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp and payload b'{\"state\": \"on\"}'",
"asctime": "2023-02-15 07:13:24,424"
},
{
"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": 1676441604.467207,
"msecs": 467.2069549560547,
"relativeCreated": 1470.7221984863281,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/diningroom/floorlamp/state and payload b'true'",
"asctime": "2023-02-15 07:13:24,467"
}
],
"time_consumption": 0.2511632442474365
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441604.7191498,
"msecs": 719.1498279571533,
"relativeCreated": 1722.6650714874268,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:24,719",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441604.7188663,
"msecs": 718.8663482666016,
"relativeCreated": 1722.381591796875,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:24,718"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441604.7190242,
"msecs": 719.0241813659668,
"relativeCreated": 1722.5394248962402,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:24,719"
}
],
"time_consumption": 0.00012564659118652344
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441604.7196107,
"msecs": 719.6106910705566,
"relativeCreated": 1723.12593460083,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:24,719",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441604.7193482,
"msecs": 719.3481922149658,
"relativeCreated": 1722.8634357452393,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:24,719"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441604.7195063,
"msecs": 719.5062637329102,
"relativeCreated": 1723.0215072631836,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:24,719"
}
],
"time_consumption": 0.00010442733764648438
},
{
"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": 1676441605.0215003,
"msecs": 21.500349044799805,
"relativeCreated": 2025.0155925750732,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device state to 'False'",
"asctime": "2023-02-15 07:13:25,021",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffe.diningroom.main_light.state.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffe/diningroom/main_light/state/set",
"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": 1676441604.7199557,
"msecs": 719.9556827545166,
"relativeCreated": 1723.47092628479,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffe/diningroom/main_light/state/set and payload false",
"asctime": "2023-02-15 07:13:24,719"
},
{
"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": 1676441604.723922,
"msecs": 723.9220142364502,
"relativeCreated": 1727.4372577667236,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffe/diningroom/main_light/relay/0/command and payload b'off'",
"asctime": "2023-02-15 07:13:24,723"
},
{
"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": 1676441604.724546,
"msecs": 724.545955657959,
"relativeCreated": 1728.0611991882324,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffe/diningroom/main_light/relay/0 and payload off",
"asctime": "2023-02-15 07:13:24,724"
},
{
"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": 1676441604.7257063,
"msecs": 725.7063388824463,
"relativeCreated": 1729.2215824127197,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffe/diningroom/main_light/relay/0 and payload b'off'",
"asctime": "2023-02-15 07:13:24,725"
},
{
"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": 1676441604.7712677,
"msecs": 771.2676525115967,
"relativeCreated": 1774.7828960418701,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:24,771"
},
{
"name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp",
"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": 1676441604.7716863,
"msecs": 771.686315536499,
"relativeCreated": 1775.2015590667725,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/diningroom/powerplug_floorlamp and payload {\"state\": \"off\"}",
"asctime": "2023-02-15 07:13:24,771"
},
{
"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": 1676441604.7719684,
"msecs": 771.9683647155762,
"relativeCreated": 1775.4836082458496,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/diningroom/main_light/state and payload b'false'",
"asctime": "2023-02-15 07:13:24,771"
},
{
"name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp",
"msg": "Received message with topic %s and payload %s",
"args": [
"zigbee/ffe/diningroom/powerplug_floorlamp",
"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": 1676441604.7723544,
"msecs": 772.3543643951416,
"relativeCreated": 1775.869607925415,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:24,772"
},
{
"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": 1676441604.8153913,
"msecs": 815.3913021087646,
"relativeCreated": 1818.906545639038,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/diningroom/floorlamp/state and payload b'false'",
"asctime": "2023-02-15 07:13:24,815"
}
],
"time_consumption": 0.20610904693603516
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441605.0221798,
"msecs": 22.179841995239258,
"relativeCreated": 2025.6950855255127,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:25,022",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441605.0219338,
"msecs": 21.933794021606445,
"relativeCreated": 2025.4490375518799,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:25,021"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441605.022068,
"msecs": 22.068023681640625,
"relativeCreated": 2025.583267211914,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:25,022"
}
],
"time_consumption": 0.00011181831359863281
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441605.022603,
"msecs": 22.60303497314453,
"relativeCreated": 2026.118278503418,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:25,022",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441605.0223665,
"msecs": 22.36652374267578,
"relativeCreated": 2025.8817672729492,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:25,022"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441605.0225067,
"msecs": 22.5067138671875,
"relativeCreated": 2026.021957397461,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:25,022"
}
],
"time_consumption": 9.632110595703125e-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": 1676441605.3239636,
"msecs": 323.9636421203613,
"relativeCreated": 2327.4788856506348,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing switching device state to 'True'",
"asctime": "2023-02-15 07:13:25,323",
"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": 1676441605.0228605,
"msecs": 22.86052703857422,
"relativeCreated": 2026.3757705688477,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffe/diningroom/main_light/relay/0 and payload on",
"asctime": "2023-02-15 07:13:25,022"
},
{
"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": 1676441605.0239441,
"msecs": 23.94413948059082,
"relativeCreated": 2027.4593830108643,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffe/diningroom/main_light/relay/0 and payload b'on'",
"asctime": "2023-02-15 07:13:25,023"
},
{
"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": 1676441605.0266538,
"msecs": 26.653766632080078,
"relativeCreated": 2030.1690101623535,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp/set and payload b'{\"state\": \"on\"}'",
"asctime": "2023-02-15 07:13:25,026"
},
{
"name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp",
"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": 1676441605.027105,
"msecs": 27.105093002319336,
"relativeCreated": 2030.6203365325928,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/diningroom/powerplug_floorlamp and payload {\"state\": \"on\"}",
"asctime": "2023-02-15 07:13:25,027"
},
{
"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": 1676441605.0277092,
"msecs": 27.709245681762695,
"relativeCreated": 2031.2244892120361,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/diningroom/main_light/state and payload b'true'",
"asctime": "2023-02-15 07:13:25,027"
},
{
"name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp",
"msg": "Received message with topic %s and payload %s",
"args": [
"zigbee/ffe/diningroom/powerplug_floorlamp",
"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": 1676441605.0286913,
"msecs": 28.69129180908203,
"relativeCreated": 2032.2065353393555,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp and payload b'{\"state\": \"on\"}'",
"asctime": "2023-02-15 07:13:25,028"
},
{
"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": 1676441605.0711584,
"msecs": 71.15840911865234,
"relativeCreated": 2074.673652648926,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/diningroom/floorlamp/state and payload b'true'",
"asctime": "2023-02-15 07:13:25,071"
}
],
"time_consumption": 0.252805233001709
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441605.3247075,
"msecs": 324.7075080871582,
"relativeCreated": 2328.2227516174316,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:25,324",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441605.3244202,
"msecs": 324.4202136993408,
"relativeCreated": 2327.9354572296143,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:25,324"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441605.3245761,
"msecs": 324.57613945007324,
"relativeCreated": 2328.0913829803467,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:25,324"
}
],
"time_consumption": 0.00013136863708496094
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441605.325169,
"msecs": 325.1690864562988,
"relativeCreated": 2328.6843299865723,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:25,325",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441605.3249097,
"msecs": 324.9096870422363,
"relativeCreated": 2328.4249305725098,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:25,324"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441605.3250651,
"msecs": 325.06513595581055,
"relativeCreated": 2328.580379486084,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:25,325"
}
],
"time_consumption": 0.00010395050048828125
},
{
"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": 1676441605.6264925,
"msecs": 626.4925003051758,
"relativeCreated": 2630.007743835449,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device state to 'False'",
"asctime": "2023-02-15 07:13:25,626",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffe.diningroom.main_light.state.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffe/diningroom/main_light/state/set",
"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": 1676441605.3254552,
"msecs": 325.4551887512207,
"relativeCreated": 2328.970432281494,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffe/diningroom/main_light/state/set and payload false",
"asctime": "2023-02-15 07:13:25,325"
},
{
"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": 1676441605.3292842,
"msecs": 329.2841911315918,
"relativeCreated": 2332.7994346618652,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffe/diningroom/main_light/relay/0/command and payload b'off'",
"asctime": "2023-02-15 07:13:25,329"
},
{
"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": 1676441605.3298383,
"msecs": 329.8382759094238,
"relativeCreated": 2333.3535194396973,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffe/diningroom/main_light/relay/0 and payload off",
"asctime": "2023-02-15 07:13:25,329"
},
{
"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": 1676441605.3309968,
"msecs": 330.9967517852783,
"relativeCreated": 2334.5119953155518,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffe/diningroom/main_light/relay/0 and payload b'off'",
"asctime": "2023-02-15 07:13:25,330"
},
{
"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": 1676441605.3749208,
"msecs": 374.9208450317383,
"relativeCreated": 2378.4360885620117,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:25,374"
},
{
"name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp",
"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": 1676441605.375463,
"msecs": 375.46300888061523,
"relativeCreated": 2378.9782524108887,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/diningroom/powerplug_floorlamp and payload {\"state\": \"off\"}",
"asctime": "2023-02-15 07:13:25,375"
},
{
"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": 1676441605.3761423,
"msecs": 376.1422634124756,
"relativeCreated": 2379.657506942749,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/diningroom/main_light/state and payload b'false'",
"asctime": "2023-02-15 07:13:25,376"
},
{
"name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp",
"msg": "Received message with topic %s and payload %s",
"args": [
"zigbee/ffe/diningroom/powerplug_floorlamp",
"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": 1676441605.377225,
"msecs": 377.2249221801758,
"relativeCreated": 2380.740165710449,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:25,377"
},
{
"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": 1676441605.4192588,
"msecs": 419.25883293151855,
"relativeCreated": 2422.774076461792,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/diningroom/floorlamp/state and payload b'false'",
"asctime": "2023-02-15 07:13:25,419"
}
],
"time_consumption": 0.20723366737365723
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441605.6272395,
"msecs": 627.239465713501,
"relativeCreated": 2630.7547092437744,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:25,627",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441605.626958,
"msecs": 626.957893371582,
"relativeCreated": 2630.4731369018555,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:25,626"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441605.627114,
"msecs": 627.1140575408936,
"relativeCreated": 2630.629301071167,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:25,627"
}
],
"time_consumption": 0.00012540817260742188
}
],
"time_consumption": 1.210801362991333,
"time_start": "2023-02-15 07:13:24,416",
"time_finished": "2023-02-15 07:13:25,627"
},
"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": 1676441605.627779,
"msecs": 627.7790069580078,
"relativeCreated": 2631.2942504882812,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Power On/ Off synchronisation test: shellies/ffe/diningroom/main_light",
"asctime": "2023-02-15 07:13:25,627",
"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": 1676441605.928506,
"msecs": 928.5058975219727,
"relativeCreated": 2932.021141052246,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Setting preconditions for master device 'False'",
"asctime": "2023-02-15 07:13:25,928",
"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": 1676441606.229655,
"msecs": 229.65502738952637,
"relativeCreated": 3233.1702709198,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing master device state to 'True'",
"asctime": "2023-02-15 07:13:26,229",
"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": 1676441605.928728,
"msecs": 928.7281036376953,
"relativeCreated": 2932.2433471679688,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffe/diningroom/main_light/relay/0 and payload on",
"asctime": "2023-02-15 07:13:25,928"
},
{
"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": 1676441605.9293056,
"msecs": 929.3055534362793,
"relativeCreated": 2932.8207969665527,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffe/diningroom/main_light/relay/0 and payload b'on'",
"asctime": "2023-02-15 07:13:25,929"
},
{
"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": 1676441605.9304705,
"msecs": 930.4704666137695,
"relativeCreated": 2933.985710144043,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp/set and payload b'{\"state\": \"on\"}'",
"asctime": "2023-02-15 07:13:25,930"
},
{
"name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp",
"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": 1676441605.930659,
"msecs": 930.6590557098389,
"relativeCreated": 2934.1742992401123,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/diningroom/powerplug_floorlamp and payload {\"state\": \"on\"}",
"asctime": "2023-02-15 07:13:25,930"
},
{
"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": 1676441605.93093,
"msecs": 930.9298992156982,
"relativeCreated": 2934.4451427459717,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/diningroom/main_light/state and payload b'true'",
"asctime": "2023-02-15 07:13:25,930"
},
{
"name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp",
"msg": "Received message with topic %s and payload %s",
"args": [
"zigbee/ffe/diningroom/powerplug_floorlamp",
"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": 1676441605.931409,
"msecs": 931.4088821411133,
"relativeCreated": 2934.9241256713867,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp and payload b'{\"state\": \"on\"}'",
"asctime": "2023-02-15 07:13:25,931"
},
{
"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": 1676441605.9751039,
"msecs": 975.1038551330566,
"relativeCreated": 2978.61909866333,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/diningroom/floorlamp/state and payload b'true'",
"asctime": "2023-02-15 07:13:25,975"
}
],
"time_consumption": 0.2545511722564697
},
{
"name": "__tLogger__",
"msg": "Follower device (zigbee/ffe/diningroom/powerplug_floorlamp) state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441606.2304041,
"msecs": 230.40413856506348,
"relativeCreated": 3233.919382095337,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Follower device (zigbee/ffe/diningroom/powerplug_floorlamp) state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:26,230",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Follower device (zigbee/ffe/diningroom/powerplug_floorlamp) state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441606.23012,
"msecs": 230.1199436187744,
"relativeCreated": 3233.635187149048,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Follower device (zigbee/ffe/diningroom/powerplug_floorlamp) state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:26,230"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Follower device (zigbee/ffe/diningroom/powerplug_floorlamp) state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441606.230277,
"msecs": 230.27706146240234,
"relativeCreated": 3233.792304992676,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Follower device (zigbee/ffe/diningroom/powerplug_floorlamp) state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:26,230"
}
],
"time_consumption": 0.0001270771026611328
},
{
"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": 1676441606.531936,
"msecs": 531.9359302520752,
"relativeCreated": 3535.4511737823486,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing master device state to 'False'",
"asctime": "2023-02-15 07:13:26,531",
"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": 1676441606.230767,
"msecs": 230.76701164245605,
"relativeCreated": 3234.2822551727295,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffe/diningroom/main_light/relay/0 and payload off",
"asctime": "2023-02-15 07:13:26,230"
},
{
"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": 1676441606.232058,
"msecs": 232.05804824829102,
"relativeCreated": 3235.5732917785645,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffe/diningroom/main_light/relay/0 and payload b'off'",
"asctime": "2023-02-15 07:13:26,232"
},
{
"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": 1676441606.2351499,
"msecs": 235.14986038208008,
"relativeCreated": 3238.6651039123535,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:26,235"
},
{
"name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp",
"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": 1676441606.2356677,
"msecs": 235.66770553588867,
"relativeCreated": 3239.182949066162,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/diningroom/powerplug_floorlamp and payload {\"state\": \"off\"}",
"asctime": "2023-02-15 07:13:26,235"
},
{
"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": 1676441606.236398,
"msecs": 236.39798164367676,
"relativeCreated": 3239.91322517395,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/diningroom/main_light/state and payload b'false'",
"asctime": "2023-02-15 07:13:26,236"
},
{
"name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp",
"msg": "Received message with topic %s and payload %s",
"args": [
"zigbee/ffe/diningroom/powerplug_floorlamp",
"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": 1676441606.2375464,
"msecs": 237.54644393920898,
"relativeCreated": 3241.0616874694824,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:26,237"
},
{
"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": 1676441606.281936,
"msecs": 281.9359302520752,
"relativeCreated": 3285.4511737823486,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/diningroom/floorlamp/state and payload b'false'",
"asctime": "2023-02-15 07:13:26,281"
}
],
"time_consumption": 0.25
},
{
"name": "__tLogger__",
"msg": "Follower device (zigbee/ffe/diningroom/powerplug_floorlamp) state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441606.532673,
"msecs": 532.6728820800781,
"relativeCreated": 3536.1881256103516,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Follower device (zigbee/ffe/diningroom/powerplug_floorlamp) state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:26,532",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Follower device (zigbee/ffe/diningroom/powerplug_floorlamp) state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441606.5323946,
"msecs": 532.3946475982666,
"relativeCreated": 3535.90989112854,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Follower device (zigbee/ffe/diningroom/powerplug_floorlamp) state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:26,532"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Follower device (zigbee/ffe/diningroom/powerplug_floorlamp) state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441606.532549,
"msecs": 532.5489044189453,
"relativeCreated": 3536.0641479492188,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Follower device (zigbee/ffe/diningroom/powerplug_floorlamp) state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:26,532"
}
],
"time_consumption": 0.0001239776611328125
}
],
"time_consumption": 0.9048938751220703,
"time_start": "2023-02-15 07:13:25,627",
"time_finished": "2023-02-15 07:13:26,532"
},
"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": 1676441606.533195,
"msecs": 533.1950187683105,
"relativeCreated": 3536.710262298584,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Power On/ Off test for device and virtual device: shellies/ffe/floor/main_light",
"asctime": "2023-02-15 07:13:26,533",
"moduleLogger": [],
"testcaseLogger": [
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441606.533705,
"msecs": 533.7049961090088,
"relativeCreated": 3537.220239639282,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:26,533",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441606.5334706,
"msecs": 533.470630645752,
"relativeCreated": 3536.9858741760254,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:26,533"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441606.533597,
"msecs": 533.5969924926758,
"relativeCreated": 3537.112236022949,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:26,533"
}
],
"time_consumption": 0.00010800361633300781
},
{
"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": 1676441606.8349016,
"msecs": 834.9015712738037,
"relativeCreated": 3838.416814804077,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing switching device state to 'True'",
"asctime": "2023-02-15 07:13:26,834",
"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": 1676441606.5339904,
"msecs": 533.9903831481934,
"relativeCreated": 3537.505626678467,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffe/floor/main_light/relay/0 and payload on",
"asctime": "2023-02-15 07:13:26,533"
},
{
"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": 1676441606.5352645,
"msecs": 535.2644920349121,
"relativeCreated": 3538.7797355651855,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffe/floor/main_light/relay/0 and payload b'on'",
"asctime": "2023-02-15 07:13:26,535"
},
{
"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": 1676441606.5377324,
"msecs": 537.7323627471924,
"relativeCreated": 3541.247606277466,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/floor/main_light/state and payload b'true'",
"asctime": "2023-02-15 07:13:26,537"
}
],
"time_consumption": 0.29716920852661133
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441606.8356667,
"msecs": 835.6666564941406,
"relativeCreated": 3839.181900024414,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:26,835",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441606.835387,
"msecs": 835.3869915008545,
"relativeCreated": 3838.902235031128,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:26,835"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441606.8355398,
"msecs": 835.5398178100586,
"relativeCreated": 3839.055061340332,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:26,835"
}
],
"time_consumption": 0.00012683868408203125
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441606.836092,
"msecs": 836.0919952392578,
"relativeCreated": 3839.6072387695312,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:26,836",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441606.8358595,
"msecs": 835.8595371246338,
"relativeCreated": 3839.374780654907,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:26,835"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441606.835972,
"msecs": 835.9720706939697,
"relativeCreated": 3839.487314224243,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:26,835"
}
],
"time_consumption": 0.00011992454528808594
},
{
"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": 1676441607.1375408,
"msecs": 137.5408172607422,
"relativeCreated": 4141.056060791016,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device state to 'False'",
"asctime": "2023-02-15 07:13:27,137",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffe.floor.main_light.state.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffe/floor/main_light/state/set",
"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": 1676441606.836424,
"msecs": 836.4241123199463,
"relativeCreated": 3839.9393558502197,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffe/floor/main_light/state/set and payload false",
"asctime": "2023-02-15 07:13:26,836"
},
{
"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": 1676441606.839819,
"msecs": 839.8189544677734,
"relativeCreated": 3843.334197998047,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffe/floor/main_light/relay/0/command and payload b'off'",
"asctime": "2023-02-15 07:13:26,839"
},
{
"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": 1676441606.8403554,
"msecs": 840.355396270752,
"relativeCreated": 3843.8706398010254,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffe/floor/main_light/relay/0 and payload off",
"asctime": "2023-02-15 07:13:26,840"
},
{
"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": 1676441606.8415265,
"msecs": 841.5265083312988,
"relativeCreated": 3845.0417518615723,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffe/floor/main_light/relay/0 and payload b'off'",
"asctime": "2023-02-15 07:13:26,841"
},
{
"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": 1676441606.8851972,
"msecs": 885.1971626281738,
"relativeCreated": 3888.7124061584473,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/floor/main_light/state and payload b'false'",
"asctime": "2023-02-15 07:13:26,885"
}
],
"time_consumption": 0.25234365463256836
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441607.1383283,
"msecs": 138.32831382751465,
"relativeCreated": 4141.843557357788,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:27,138",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441607.1380324,
"msecs": 138.0324363708496,
"relativeCreated": 4141.547679901123,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:27,138"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441607.1381998,
"msecs": 138.1998062133789,
"relativeCreated": 4141.715049743652,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:27,138"
}
],
"time_consumption": 0.0001285076141357422
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441607.138794,
"msecs": 138.7939453125,
"relativeCreated": 4142.309188842773,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:27,138",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441607.1385677,
"msecs": 138.56768608093262,
"relativeCreated": 4142.082929611206,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:27,138"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441607.1386893,
"msecs": 138.6892795562744,
"relativeCreated": 4142.204523086548,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:27,138"
}
],
"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": 1676441607.440226,
"msecs": 440.22607803344727,
"relativeCreated": 4443.741321563721,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing switching device state to 'True'",
"asctime": "2023-02-15 07:13:27,440",
"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": 1676441607.1390703,
"msecs": 139.0702724456787,
"relativeCreated": 4142.585515975952,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffe/floor/main_light/relay/0 and payload on",
"asctime": "2023-02-15 07:13:27,139"
},
{
"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": 1676441607.1403213,
"msecs": 140.3212547302246,
"relativeCreated": 4143.836498260498,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffe/floor/main_light/relay/0 and payload b'on'",
"asctime": "2023-02-15 07:13:27,140"
},
{
"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": 1676441607.142763,
"msecs": 142.7628993988037,
"relativeCreated": 4146.278142929077,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/floor/main_light/state and payload b'true'",
"asctime": "2023-02-15 07:13:27,142"
}
],
"time_consumption": 0.29746317863464355
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441607.441009,
"msecs": 441.0090446472168,
"relativeCreated": 4444.52428817749,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:27,441",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441607.4406745,
"msecs": 440.6745433807373,
"relativeCreated": 4444.189786911011,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:27,440"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441607.440869,
"msecs": 440.8690929412842,
"relativeCreated": 4444.384336471558,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:27,440"
}
],
"time_consumption": 0.0001399517059326172
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441607.441443,
"msecs": 441.44296646118164,
"relativeCreated": 4444.958209991455,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:27,441",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441607.4412227,
"msecs": 441.2226676940918,
"relativeCreated": 4444.737911224365,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:27,441"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441607.44134,
"msecs": 441.33996963500977,
"relativeCreated": 4444.855213165283,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:27,441"
}
],
"time_consumption": 0.000102996826171875
},
{
"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": 1676441607.7428968,
"msecs": 742.8967952728271,
"relativeCreated": 4746.412038803101,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device state to 'False'",
"asctime": "2023-02-15 07:13:27,742",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffe.floor.main_light.state.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffe/floor/main_light/state/set",
"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": 1676441607.4417317,
"msecs": 441.73169136047363,
"relativeCreated": 4445.246934890747,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffe/floor/main_light/state/set and payload false",
"asctime": "2023-02-15 07:13:27,441"
},
{
"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": 1676441607.4449105,
"msecs": 444.91052627563477,
"relativeCreated": 4448.425769805908,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffe/floor/main_light/relay/0/command and payload b'off'",
"asctime": "2023-02-15 07:13:27,444"
},
{
"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": 1676441607.4454515,
"msecs": 445.4514980316162,
"relativeCreated": 4448.96674156189,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffe/floor/main_light/relay/0 and payload off",
"asctime": "2023-02-15 07:13:27,445"
},
{
"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": 1676441607.4466462,
"msecs": 446.64621353149414,
"relativeCreated": 4450.161457061768,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffe/floor/main_light/relay/0 and payload b'off'",
"asctime": "2023-02-15 07:13:27,446"
},
{
"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": 1676441607.4899635,
"msecs": 489.9635314941406,
"relativeCreated": 4493.478775024414,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/floor/main_light/state and payload b'false'",
"asctime": "2023-02-15 07:13:27,489"
}
],
"time_consumption": 0.2529332637786865
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441607.743693,
"msecs": 743.6931133270264,
"relativeCreated": 4747.2083568573,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:27,743",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441607.743359,
"msecs": 743.3590888977051,
"relativeCreated": 4746.8743324279785,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:27,743"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441607.7435129,
"msecs": 743.5128688812256,
"relativeCreated": 4747.028112411499,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:27,743"
}
],
"time_consumption": 0.00018024444580078125
}
],
"time_consumption": 1.2104980945587158,
"time_start": "2023-02-15 07:13:26,533",
"time_finished": "2023-02-15 07:13:27,743"
},
"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": 1676441607.7442377,
"msecs": 744.2376613616943,
"relativeCreated": 4747.752904891968,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Power On/ Off test for device and virtual device: shellies/ffe/kitchen/circulation_pump",
"asctime": "2023-02-15 07:13:27,744",
"moduleLogger": [],
"testcaseLogger": [
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441607.7447042,
"msecs": 744.7042465209961,
"relativeCreated": 4748.2194900512695,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:27,744",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441607.7444696,
"msecs": 744.4696426391602,
"relativeCreated": 4747.984886169434,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:27,744"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441607.7445953,
"msecs": 744.5952892303467,
"relativeCreated": 4748.11053276062,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:27,744"
}
],
"time_consumption": 0.00010895729064941406
},
{
"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": 1676441608.046759,
"msecs": 46.75889015197754,
"relativeCreated": 5050.274133682251,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing switching device state to 'True'",
"asctime": "2023-02-15 07:13:28,046",
"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": 1676441607.744991,
"msecs": 744.9910640716553,
"relativeCreated": 4748.506307601929,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffe/kitchen/circulation_pump/relay/0 and payload on",
"asctime": "2023-02-15 07:13:27,744"
},
{
"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": 1676441607.7468712,
"msecs": 746.8712329864502,
"relativeCreated": 4750.386476516724,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffe/kitchen/circulation_pump/relay/0 and payload b'on'",
"asctime": "2023-02-15 07:13:27,746"
},
{
"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": 1676441607.7516665,
"msecs": 751.6665458679199,
"relativeCreated": 4755.181789398193,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/kitchen/circulation_pump/timer and payload b'600'",
"asctime": "2023-02-15 07:13:27,751"
},
{
"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'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": 1676441607.7521074,
"msecs": 752.1073818206787,
"relativeCreated": 4755.622625350952,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffe/kitchen/main_light/relay/0/command and payload b'on'",
"asctime": "2023-02-15 07:13:27,752"
},
{
"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": 1676441607.752246,
"msecs": 752.2459030151367,
"relativeCreated": 4755.76114654541,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffe/kitchen/main_light/relay/0 and payload on",
"asctime": "2023-02-15 07:13:27,752"
},
{
"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": 1676441607.7524533,
"msecs": 752.4533271789551,
"relativeCreated": 4755.9685707092285,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/kitchen/circulation_pump/state and payload b'true'",
"asctime": "2023-02-15 07:13:27,752"
},
{
"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": 1676441607.7528148,
"msecs": 752.814769744873,
"relativeCreated": 4756.3300132751465,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffe/kitchen/main_light/relay/0 and payload b'on'",
"asctime": "2023-02-15 07:13:27,752"
},
{
"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": 1676441607.7973971,
"msecs": 797.3971366882324,
"relativeCreated": 4800.912380218506,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/kitchen/main_light/state and payload b'true'",
"asctime": "2023-02-15 07:13:27,797"
}
],
"time_consumption": 0.24936175346374512
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441608.0473962,
"msecs": 47.396183013916016,
"relativeCreated": 5050.911426544189,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:28,047",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441608.0471601,
"msecs": 47.16014862060547,
"relativeCreated": 5050.675392150879,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:28,047"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441608.0472922,
"msecs": 47.292232513427734,
"relativeCreated": 5050.807476043701,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:28,047"
}
],
"time_consumption": 0.00010395050048828125
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441608.0477479,
"msecs": 47.74785041809082,
"relativeCreated": 5051.263093948364,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:28,047",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441608.0475638,
"msecs": 47.563791275024414,
"relativeCreated": 5051.079034805298,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:28,047"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441608.04766,
"msecs": 47.660112380981445,
"relativeCreated": 5051.175355911255,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:28,047"
}
],
"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": 1676441608.3489285,
"msecs": 348.92845153808594,
"relativeCreated": 5352.443695068359,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device state to 'False'",
"asctime": "2023-02-15 07:13:28,348",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffe.kitchen.circulation_pump.state.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffe/kitchen/circulation_pump/state/set",
"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": 1676441608.0480325,
"msecs": 48.032522201538086,
"relativeCreated": 5051.5477657318115,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffe/kitchen/circulation_pump/state/set and payload false",
"asctime": "2023-02-15 07:13:28,048"
},
{
"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": 1676441608.051776,
"msecs": 51.77593231201172,
"relativeCreated": 5055.291175842285,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffe/kitchen/circulation_pump/relay/0/command and payload b'off'",
"asctime": "2023-02-15 07:13:28,051"
},
{
"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": 1676441608.0522413,
"msecs": 52.24132537841797,
"relativeCreated": 5055.756568908691,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffe/kitchen/circulation_pump/relay/0 and payload off",
"asctime": "2023-02-15 07:13:28,052"
},
{
"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": 1676441608.052886,
"msecs": 52.886009216308594,
"relativeCreated": 5056.401252746582,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffe/kitchen/main_light/relay/0/command and payload b'off'",
"asctime": "2023-02-15 07:13:28,052"
},
{
"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": 1676441608.0532997,
"msecs": 53.299665451049805,
"relativeCreated": 5056.814908981323,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffe/kitchen/main_light/relay/0 and payload off",
"asctime": "2023-02-15 07:13:28,053"
},
{
"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": 1676441608.0542388,
"msecs": 54.23879623413086,
"relativeCreated": 5057.754039764404,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffe/kitchen/circulation_pump/relay/0 and payload b'off'",
"asctime": "2023-02-15 07:13:28,054"
},
{
"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": 1676441608.0549815,
"msecs": 54.98147010803223,
"relativeCreated": 5058.496713638306,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffe/kitchen/main_light/relay/0 and payload b'off'",
"asctime": "2023-02-15 07:13:28,054"
},
{
"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": 1676441608.0996552,
"msecs": 99.6551513671875,
"relativeCreated": 5103.170394897461,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/kitchen/circulation_pump/timer and payload b'0'",
"asctime": "2023-02-15 07:13:28,099"
},
{
"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": 1676441608.14349,
"msecs": 143.49007606506348,
"relativeCreated": 5147.005319595337,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/kitchen/circulation_pump/state and payload b'false'",
"asctime": "2023-02-15 07:13:28,143"
},
{
"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": 1676441608.144302,
"msecs": 144.3018913269043,
"relativeCreated": 5147.817134857178,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/kitchen/main_light/state and payload b'false'",
"asctime": "2023-02-15 07:13:28,144"
}
],
"time_consumption": 0.20462656021118164
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441608.3492177,
"msecs": 349.21765327453613,
"relativeCreated": 5352.73289680481,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:28,349",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441608.3491285,
"msecs": 349.12848472595215,
"relativeCreated": 5352.643728256226,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:28,349"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441608.3491783,
"msecs": 349.1783142089844,
"relativeCreated": 5352.693557739258,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:28,349"
}
],
"time_consumption": 3.933906555175781e-05
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441608.3493724,
"msecs": 349.37238693237305,
"relativeCreated": 5352.8876304626465,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:28,349",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441608.3493001,
"msecs": 349.3001461029053,
"relativeCreated": 5352.815389633179,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:28,349"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441608.3493366,
"msecs": 349.3366241455078,
"relativeCreated": 5352.851867675781,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:28,349"
}
],
"time_consumption": 3.5762786865234375e-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": 1676441608.650744,
"msecs": 650.7439613342285,
"relativeCreated": 5654.259204864502,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing switching device state to 'True'",
"asctime": "2023-02-15 07:13:28,650",
"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": 1676441608.3494701,
"msecs": 349.4701385498047,
"relativeCreated": 5352.985382080078,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffe/kitchen/circulation_pump/relay/0 and payload on",
"asctime": "2023-02-15 07:13:28,349"
},
{
"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": 1676441608.3503296,
"msecs": 350.3296375274658,
"relativeCreated": 5353.844881057739,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffe/kitchen/circulation_pump/relay/0 and payload b'on'",
"asctime": "2023-02-15 07:13:28,350"
},
{
"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": 1676441608.3518362,
"msecs": 351.8362045288086,
"relativeCreated": 5355.351448059082,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/kitchen/circulation_pump/timer and payload b'600'",
"asctime": "2023-02-15 07:13:28,351"
},
{
"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'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": 1676441608.3521085,
"msecs": 352.1084785461426,
"relativeCreated": 5355.623722076416,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffe/kitchen/main_light/relay/0/command and payload b'on'",
"asctime": "2023-02-15 07:13:28,352"
},
{
"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": 1676441608.3522599,
"msecs": 352.25987434387207,
"relativeCreated": 5355.7751178741455,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffe/kitchen/main_light/relay/0 and payload on",
"asctime": "2023-02-15 07:13:28,352"
},
{
"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": 1676441608.3524835,
"msecs": 352.48351097106934,
"relativeCreated": 5355.998754501343,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/kitchen/circulation_pump/state and payload b'true'",
"asctime": "2023-02-15 07:13:28,352"
},
{
"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": 1676441608.3528028,
"msecs": 352.8027534484863,
"relativeCreated": 5356.31799697876,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffe/kitchen/main_light/relay/0 and payload b'on'",
"asctime": "2023-02-15 07:13:28,352"
},
{
"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": 1676441608.397339,
"msecs": 397.3391056060791,
"relativeCreated": 5400.8543491363525,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/kitchen/main_light/state and payload b'true'",
"asctime": "2023-02-15 07:13:28,397"
}
],
"time_consumption": 0.2534048557281494
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441608.6515594,
"msecs": 651.5593528747559,
"relativeCreated": 5655.074596405029,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:28,651",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441608.651204,
"msecs": 651.2041091918945,
"relativeCreated": 5654.719352722168,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:28,651"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441608.6513767,
"msecs": 651.3767242431641,
"relativeCreated": 5654.8919677734375,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:28,651"
}
],
"time_consumption": 0.00018262863159179688
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441608.6519954,
"msecs": 651.9954204559326,
"relativeCreated": 5655.510663986206,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:28,651",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441608.6517727,
"msecs": 651.7727375030518,
"relativeCreated": 5655.287981033325,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:28,651"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441608.6518917,
"msecs": 651.8917083740234,
"relativeCreated": 5655.406951904297,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:28,651"
}
],
"time_consumption": 0.00010371208190917969
},
{
"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": 1676441608.9531834,
"msecs": 953.1834125518799,
"relativeCreated": 5956.698656082153,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device state to 'False'",
"asctime": "2023-02-15 07:13:28,953",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffe.kitchen.circulation_pump.state.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffe/kitchen/circulation_pump/state/set",
"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": 1676441608.6522903,
"msecs": 652.2903442382812,
"relativeCreated": 5655.805587768555,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffe/kitchen/circulation_pump/state/set and payload false",
"asctime": "2023-02-15 07:13:28,652"
},
{
"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": 1676441608.6533377,
"msecs": 653.3377170562744,
"relativeCreated": 5656.852960586548,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffe/kitchen/main_light/relay/0/command and payload b'off'",
"asctime": "2023-02-15 07:13:28,653"
},
{
"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": 1676441608.6539054,
"msecs": 653.9053916931152,
"relativeCreated": 5657.420635223389,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffe/kitchen/main_light/relay/0 and payload off",
"asctime": "2023-02-15 07:13:28,653"
},
{
"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": 1676441608.695582,
"msecs": 695.5819129943848,
"relativeCreated": 5699.097156524658,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffe/kitchen/main_light/relay/0 and payload b'off'",
"asctime": "2023-02-15 07:13:28,695"
},
{
"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": 1676441608.6991665,
"msecs": 699.1665363311768,
"relativeCreated": 5702.68177986145,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffe/kitchen/circulation_pump/relay/0/command and payload b'off'",
"asctime": "2023-02-15 07:13:28,699"
},
{
"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": 1676441608.6997216,
"msecs": 699.7215747833252,
"relativeCreated": 5703.236818313599,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffe/kitchen/circulation_pump/relay/0 and payload off",
"asctime": "2023-02-15 07:13:28,699"
},
{
"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": 1676441608.7010279,
"msecs": 701.0278701782227,
"relativeCreated": 5704.543113708496,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/kitchen/main_light/state and payload b'false'",
"asctime": "2023-02-15 07:13:28,701"
},
{
"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": 1676441608.702217,
"msecs": 702.2171020507812,
"relativeCreated": 5705.732345581055,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffe/kitchen/circulation_pump/relay/0 and payload b'off'",
"asctime": "2023-02-15 07:13:28,702"
},
{
"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": 1676441608.743461,
"msecs": 743.4608936309814,
"relativeCreated": 5746.976137161255,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/kitchen/circulation_pump/timer and payload b'0'",
"asctime": "2023-02-15 07:13:28,743"
},
{
"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": 1676441608.747636,
"msecs": 747.636079788208,
"relativeCreated": 5751.151323318481,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/kitchen/circulation_pump/state and payload b'false'",
"asctime": "2023-02-15 07:13:28,747"
}
],
"time_consumption": 0.20554733276367188
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441608.95382,
"msecs": 953.819990158081,
"relativeCreated": 5957.3352336883545,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:28,953",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441608.9535818,
"msecs": 953.5818099975586,
"relativeCreated": 5957.097053527832,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:28,953"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441608.9537134,
"msecs": 953.7134170532227,
"relativeCreated": 5957.228660583496,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:28,953"
}
],
"time_consumption": 0.00010657310485839844
}
],
"time_consumption": 1.2095823287963867,
"time_start": "2023-02-15 07:13:27,744",
"time_finished": "2023-02-15 07:13:28,953"
},
"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": 1676441608.9542797,
"msecs": 954.2796611785889,
"relativeCreated": 5957.794904708862,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Power On/ Off test for device and virtual device: shellies/ffe/kitchen/main_light",
"asctime": "2023-02-15 07:13:28,954",
"moduleLogger": [],
"testcaseLogger": [
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441608.954709,
"msecs": 954.7090530395508,
"relativeCreated": 5958.224296569824,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:28,954",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441608.9545038,
"msecs": 954.5037746429443,
"relativeCreated": 5958.019018173218,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:28,954"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441608.9546156,
"msecs": 954.615592956543,
"relativeCreated": 5958.130836486816,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:28,954"
}
],
"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": 1676441609.2560368,
"msecs": 256.03675842285156,
"relativeCreated": 6259.552001953125,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing switching device state to 'True'",
"asctime": "2023-02-15 07:13:29,256",
"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": 1676441608.9549384,
"msecs": 954.9384117126465,
"relativeCreated": 5958.45365524292,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffe/kitchen/main_light/relay/0 and payload on",
"asctime": "2023-02-15 07:13:28,954"
},
{
"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": 1676441608.955993,
"msecs": 955.9929370880127,
"relativeCreated": 5959.508180618286,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffe/kitchen/main_light/relay/0 and payload b'on'",
"asctime": "2023-02-15 07:13:28,955"
},
{
"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": 1676441608.9580626,
"msecs": 958.0626487731934,
"relativeCreated": 5961.577892303467,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/kitchen/main_light/state and payload b'true'",
"asctime": "2023-02-15 07:13:28,958"
}
],
"time_consumption": 0.2979741096496582
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441609.256759,
"msecs": 256.7589282989502,
"relativeCreated": 6260.274171829224,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:29,256",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441609.2564845,
"msecs": 256.4845085144043,
"relativeCreated": 6259.999752044678,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:29,256"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441609.2566352,
"msecs": 256.6351890563965,
"relativeCreated": 6260.15043258667,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:29,256"
}
],
"time_consumption": 0.00012373924255371094
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441609.2571776,
"msecs": 257.17759132385254,
"relativeCreated": 6260.692834854126,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:29,257",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441609.2569597,
"msecs": 256.9596767425537,
"relativeCreated": 6260.474920272827,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:29,256"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441609.2570736,
"msecs": 257.07364082336426,
"relativeCreated": 6260.588884353638,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:29,257"
}
],
"time_consumption": 0.00010395050048828125
},
{
"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": 1676441609.5585816,
"msecs": 558.5815906524658,
"relativeCreated": 6562.096834182739,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device state to 'False'",
"asctime": "2023-02-15 07:13:29,558",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffe.kitchen.main_light.state.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffe/kitchen/main_light/state/set",
"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": 1676441609.2575457,
"msecs": 257.54570960998535,
"relativeCreated": 6261.060953140259,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffe/kitchen/main_light/state/set and payload false",
"asctime": "2023-02-15 07:13:29,257"
},
{
"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": 1676441609.2608619,
"msecs": 260.861873626709,
"relativeCreated": 6264.377117156982,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffe/kitchen/main_light/relay/0/command and payload b'off'",
"asctime": "2023-02-15 07:13:29,260"
},
{
"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": 1676441609.261407,
"msecs": 261.40689849853516,
"relativeCreated": 6264.922142028809,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffe/kitchen/main_light/relay/0 and payload off",
"asctime": "2023-02-15 07:13:29,261"
},
{
"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": 1676441609.2625923,
"msecs": 262.5923156738281,
"relativeCreated": 6266.107559204102,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffe/kitchen/main_light/relay/0 and payload b'off'",
"asctime": "2023-02-15 07:13:29,262"
},
{
"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": 1676441609.3059506,
"msecs": 305.9506416320801,
"relativeCreated": 6309.4658851623535,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/kitchen/main_light/state and payload b'false'",
"asctime": "2023-02-15 07:13:29,305"
}
],
"time_consumption": 0.25263094902038574
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441609.5593185,
"msecs": 559.3185424804688,
"relativeCreated": 6562.833786010742,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:29,559",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441609.5590434,
"msecs": 559.0434074401855,
"relativeCreated": 6562.558650970459,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:29,559"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441609.559194,
"msecs": 559.1940879821777,
"relativeCreated": 6562.709331512451,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:29,559"
}
],
"time_consumption": 0.00012445449829101562
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441609.5597587,
"msecs": 559.7586631774902,
"relativeCreated": 6563.273906707764,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:29,559",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441609.5595121,
"msecs": 559.5121383666992,
"relativeCreated": 6563.027381896973,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:29,559"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441609.5596247,
"msecs": 559.6246719360352,
"relativeCreated": 6563.139915466309,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:29,559"
}
],
"time_consumption": 0.00013399124145507812
},
{
"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": 1676441609.8612008,
"msecs": 861.2008094787598,
"relativeCreated": 6864.716053009033,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing switching device state to 'True'",
"asctime": "2023-02-15 07:13:29,861",
"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": 1676441609.5600376,
"msecs": 560.0376129150391,
"relativeCreated": 6563.5528564453125,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffe/kitchen/main_light/relay/0 and payload on",
"asctime": "2023-02-15 07:13:29,560"
},
{
"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": 1676441609.5613012,
"msecs": 561.3012313842773,
"relativeCreated": 6564.816474914551,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffe/kitchen/main_light/relay/0 and payload b'on'",
"asctime": "2023-02-15 07:13:29,561"
},
{
"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": 1676441609.5642974,
"msecs": 564.2974376678467,
"relativeCreated": 6567.81268119812,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/kitchen/main_light/state and payload b'true'",
"asctime": "2023-02-15 07:13:29,564"
}
],
"time_consumption": 0.2969033718109131
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441609.8619545,
"msecs": 861.9544506072998,
"relativeCreated": 6865.469694137573,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:29,861",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441609.8616831,
"msecs": 861.6831302642822,
"relativeCreated": 6865.198373794556,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:29,861"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441609.8618338,
"msecs": 861.8338108062744,
"relativeCreated": 6865.349054336548,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:29,861"
}
],
"time_consumption": 0.00012063980102539062
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441609.8623621,
"msecs": 862.3621463775635,
"relativeCreated": 6865.877389907837,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:29,862",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441609.8621492,
"msecs": 862.1492385864258,
"relativeCreated": 6865.664482116699,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:29,862"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441609.8622606,
"msecs": 862.2605800628662,
"relativeCreated": 6865.77582359314,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:29,862"
}
],
"time_consumption": 0.00010156631469726562
},
{
"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": 1676441610.1639001,
"msecs": 163.90013694763184,
"relativeCreated": 7167.415380477905,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device state to 'False'",
"asctime": "2023-02-15 07:13:30,163",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffe.kitchen.main_light.state.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffe/kitchen/main_light/state/set",
"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": 1676441609.86277,
"msecs": 862.7700805664062,
"relativeCreated": 6866.28532409668,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffe/kitchen/main_light/state/set and payload false",
"asctime": "2023-02-15 07:13:29,862"
},
{
"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": 1676441609.8659348,
"msecs": 865.9348487854004,
"relativeCreated": 6869.450092315674,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffe/kitchen/main_light/relay/0/command and payload b'off'",
"asctime": "2023-02-15 07:13:29,865"
},
{
"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": 1676441609.8665495,
"msecs": 866.5494918823242,
"relativeCreated": 6870.064735412598,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffe/kitchen/main_light/relay/0 and payload off",
"asctime": "2023-02-15 07:13:29,866"
},
{
"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": 1676441609.8677192,
"msecs": 867.7191734313965,
"relativeCreated": 6871.23441696167,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffe/kitchen/main_light/relay/0 and payload b'off'",
"asctime": "2023-02-15 07:13:29,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": 1676441609.9110863,
"msecs": 911.0863208770752,
"relativeCreated": 6914.601564407349,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/kitchen/main_light/state and payload b'false'",
"asctime": "2023-02-15 07:13:29,911"
}
],
"time_consumption": 0.25281381607055664
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441610.1645572,
"msecs": 164.55721855163574,
"relativeCreated": 7168.072462081909,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:30,164",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441610.1643224,
"msecs": 164.3223762512207,
"relativeCreated": 7167.837619781494,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:30,164"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441610.1644526,
"msecs": 164.45255279541016,
"relativeCreated": 7167.967796325684,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:30,164"
}
],
"time_consumption": 0.00010466575622558594
}
],
"time_consumption": 1.2102775573730469,
"time_start": "2023-02-15 07:13:28,954",
"time_finished": "2023-02-15 07:13:30,164"
},
"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": 1676441610.1650267,
"msecs": 165.02666473388672,
"relativeCreated": 7168.54190826416,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Brightness test for device and virtual device: zigbee/ffe/livingroom/floorlamp_1",
"asctime": "2023-02-15 07:13:30,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": 1676441610.466563,
"msecs": 466.56298637390137,
"relativeCreated": 7470.078229904175,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Setting preconditions (Power on)",
"asctime": "2023-02-15 07:13:30,466",
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441610.165438,
"msecs": 165.4379367828369,
"relativeCreated": 7168.95318031311,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:30,165"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441610.1665692,
"msecs": 166.56923294067383,
"relativeCreated": 7170.084476470947,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:30,166"
},
{
"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": 1676441610.1702766,
"msecs": 170.27664184570312,
"relativeCreated": 7173.791885375977,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'true'",
"asctime": "2023-02-15 07:13:30,170"
},
{
"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": 1676441610.171028,
"msecs": 171.02789878845215,
"relativeCreated": 7174.543142318726,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/livingroom/floorlamp/brightness and payload b'50'",
"asctime": "2023-02-15 07:13:30,171"
},
{
"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": 1676441610.1716821,
"msecs": 171.68211936950684,
"relativeCreated": 7175.19736289978,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/livingroom/floorlamp/color_temp and payload b'5'",
"asctime": "2023-02-15 07:13:30,171"
}
],
"time_consumption": 0.29488086700439453
},
{
"name": "__tLogger__",
"msg": "Virtual device brightness is correct (Content %s and Type is %s).",
"args": [
"50",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441610.4673207,
"msecs": 467.32068061828613,
"relativeCreated": 7470.83592414856,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device brightness is correct (Content 50 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:30,467",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device brightness",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441610.4670026,
"msecs": 467.00263023376465,
"relativeCreated": 7470.517873764038,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device brightness): 50 (<class 'int'>)",
"asctime": "2023-02-15 07:13:30,467"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device brightness",
"=",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441610.4671586,
"msecs": 467.15855598449707,
"relativeCreated": 7470.6737995147705,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device brightness): result = 50 (<class 'int'>)",
"asctime": "2023-02-15 07:13:30,467"
}
],
"time_consumption": 0.0001621246337890625
},
{
"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": 1676441610.7689192,
"msecs": 768.9192295074463,
"relativeCreated": 7772.43447303772,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing light device brightness to '65'",
"asctime": "2023-02-15 07:13:30,768",
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441610.4677384,
"msecs": 467.73838996887207,
"relativeCreated": 7471.2536334991455,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:30,467"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441610.4690142,
"msecs": 469.01416778564453,
"relativeCreated": 7472.529411315918,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:30,469"
},
{
"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'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441610.4716036,
"msecs": 471.6036319732666,
"relativeCreated": 7475.11887550354,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/livingroom/floorlamp/brightness and payload b'65'",
"asctime": "2023-02-15 07:13:30,471"
}
],
"time_consumption": 0.2973155975341797
},
{
"name": "__tLogger__",
"msg": "Virtual device brightness is correct (Content %s and Type is %s).",
"args": [
"65",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441610.7697818,
"msecs": 769.7818279266357,
"relativeCreated": 7773.297071456909,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device brightness is correct (Content 65 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:30,769",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device brightness",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441610.7694802,
"msecs": 769.4802284240723,
"relativeCreated": 7772.995471954346,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device brightness): 65 (<class 'int'>)",
"asctime": "2023-02-15 07:13:30,769"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device brightness",
"=",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441610.7696357,
"msecs": 769.6356773376465,
"relativeCreated": 7773.15092086792,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device brightness): result = 65 (<class 'int'>)",
"asctime": "2023-02-15 07:13:30,769"
}
],
"time_consumption": 0.0001461505889892578
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"65",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441610.7702053,
"msecs": 770.2052593231201,
"relativeCreated": 7773.720502853394,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 65 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:30,770",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441610.7699845,
"msecs": 769.9844837188721,
"relativeCreated": 7773.4997272491455,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 65 (<class 'int'>)",
"asctime": "2023-02-15 07:13:30,769"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441610.7700946,
"msecs": 770.094633102417,
"relativeCreated": 7773.60987663269,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 65 (<class 'int'>)",
"asctime": "2023-02-15 07:13:30,770"
}
],
"time_consumption": 0.000110626220703125
},
{
"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": 1676441611.0715725,
"msecs": 71.57254219055176,
"relativeCreated": 8075.087785720825,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device brightness to '50'",
"asctime": "2023-02-15 07:13:31,071",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.brightness.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffe/livingroom/floorlamp/brightness/set",
"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": 1676441610.7706254,
"msecs": 770.6253528594971,
"relativeCreated": 7774.1405963897705,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffe/livingroom/floorlamp/brightness/set and payload 50",
"asctime": "2023-02-15 07:13:30,770"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441610.777081,
"msecs": 777.0810127258301,
"relativeCreated": 7780.5962562561035,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"brightness\": 128}'",
"asctime": "2023-02-15 07:13:30,777"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441610.7773893,
"msecs": 777.3892879486084,
"relativeCreated": 7780.904531478882,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:30,777"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441610.7776237,
"msecs": 777.6236534118652,
"relativeCreated": 7781.138896942139,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"brightness\": 128}'",
"asctime": "2023-02-15 07:13:30,777"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441610.7778852,
"msecs": 777.8851985931396,
"relativeCreated": 7781.400442123413,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"brightness\": 128}'",
"asctime": "2023-02-15 07:13:30,777"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441610.7780862,
"msecs": 778.0861854553223,
"relativeCreated": 7781.601428985596,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:30,778"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441610.8194098,
"msecs": 819.4098472595215,
"relativeCreated": 7822.925090789795,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"brightness\": 128}'",
"asctime": "2023-02-15 07:13:30,819"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441610.8202991,
"msecs": 820.2991485595703,
"relativeCreated": 7823.814392089844,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"brightness\": 128}'",
"asctime": "2023-02-15 07:13:30,820"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441610.8209972,
"msecs": 820.9972381591797,
"relativeCreated": 7824.512481689453,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"brightness\": 128}'",
"asctime": "2023-02-15 07:13:30,820"
},
{
"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": 1676441610.823277,
"msecs": 823.2769966125488,
"relativeCreated": 7826.792240142822,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/livingroom/floorlamp/brightness and payload b'50'",
"asctime": "2023-02-15 07:13:30,823"
}
],
"time_consumption": 0.24829554557800293
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"50",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441611.07225,
"msecs": 72.2498893737793,
"relativeCreated": 8075.765132904053,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 50 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:31,072",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441611.0719748,
"msecs": 71.9747543334961,
"relativeCreated": 8075.4899978637695,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 50 (<class 'int'>)",
"asctime": "2023-02-15 07:13:31,071"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441611.0721047,
"msecs": 72.10469245910645,
"relativeCreated": 8075.61993598938,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 50 (<class 'int'>)",
"asctime": "2023-02-15 07:13:31,072"
}
],
"time_consumption": 0.00014519691467285156
},
{
"name": "__tLogger__",
"msg": "Virtual device brightness is correct (Content %s and Type is %s).",
"args": [
"50",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441611.0726206,
"msecs": 72.62063026428223,
"relativeCreated": 8076.135873794556,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device brightness is correct (Content 50 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:31,072",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device brightness",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441611.0724318,
"msecs": 72.43180274963379,
"relativeCreated": 8075.947046279907,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device brightness): 50 (<class 'int'>)",
"asctime": "2023-02-15 07:13:31,072"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device brightness",
"=",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441611.072533,
"msecs": 72.53289222717285,
"relativeCreated": 8076.048135757446,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device brightness): result = 50 (<class 'int'>)",
"asctime": "2023-02-15 07:13:31,072"
}
],
"time_consumption": 8.7738037109375e-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": 1676441611.3738122,
"msecs": 373.812198638916,
"relativeCreated": 8377.32744216919,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing light device brightness to '65'",
"asctime": "2023-02-15 07:13:31,373",
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441611.0729632,
"msecs": 72.96323776245117,
"relativeCreated": 8076.478481292725,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:31,072"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441611.074053,
"msecs": 74.05304908752441,
"relativeCreated": 8077.568292617798,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:31,074"
},
{
"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'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441611.0762672,
"msecs": 76.26724243164062,
"relativeCreated": 8079.782485961914,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/livingroom/floorlamp/brightness and payload b'65'",
"asctime": "2023-02-15 07:13:31,076"
}
],
"time_consumption": 0.2975449562072754
},
{
"name": "__tLogger__",
"msg": "Virtual device brightness is correct (Content %s and Type is %s).",
"args": [
"65",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441611.374525,
"msecs": 374.5250701904297,
"relativeCreated": 8378.040313720703,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device brightness is correct (Content 65 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:31,374",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device brightness",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441611.374236,
"msecs": 374.2361068725586,
"relativeCreated": 8377.751350402832,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device brightness): 65 (<class 'int'>)",
"asctime": "2023-02-15 07:13:31,374"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device brightness",
"=",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441611.3743742,
"msecs": 374.3741512298584,
"relativeCreated": 8377.889394760132,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device brightness): result = 65 (<class 'int'>)",
"asctime": "2023-02-15 07:13:31,374"
}
],
"time_consumption": 0.00015091896057128906
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"65",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441611.3750021,
"msecs": 375.0021457672119,
"relativeCreated": 8378.517389297485,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 65 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:31,375",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441611.3747323,
"msecs": 374.73225593566895,
"relativeCreated": 8378.247499465942,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 65 (<class 'int'>)",
"asctime": "2023-02-15 07:13:31,374"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441611.3748991,
"msecs": 374.89914894104004,
"relativeCreated": 8378.414392471313,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 65 (<class 'int'>)",
"asctime": "2023-02-15 07:13:31,374"
}
],
"time_consumption": 0.000102996826171875
},
{
"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": 1676441611.67641,
"msecs": 676.4099597930908,
"relativeCreated": 8679.925203323364,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device brightness to '50'",
"asctime": "2023-02-15 07:13:31,676",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.brightness.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffe/livingroom/floorlamp/brightness/set",
"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": 1676441611.3753128,
"msecs": 375.31280517578125,
"relativeCreated": 8378.828048706055,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffe/livingroom/floorlamp/brightness/set and payload 50",
"asctime": "2023-02-15 07:13:31,375"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441611.3811305,
"msecs": 381.1304569244385,
"relativeCreated": 8384.645700454712,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"brightness\": 128}'",
"asctime": "2023-02-15 07:13:31,381"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441611.3815596,
"msecs": 381.5596103668213,
"relativeCreated": 8385.074853897095,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:31,381"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441611.381743,
"msecs": 381.7429542541504,
"relativeCreated": 8385.258197784424,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"brightness\": 128}'",
"asctime": "2023-02-15 07:13:31,381"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441611.3819954,
"msecs": 381.99543952941895,
"relativeCreated": 8385.510683059692,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"brightness\": 128}'",
"asctime": "2023-02-15 07:13:31,381"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441611.3821914,
"msecs": 382.19141960144043,
"relativeCreated": 8385.706663131714,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"brightness\": 128}'",
"asctime": "2023-02-15 07:13:31,382"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441611.3823817,
"msecs": 382.3816776275635,
"relativeCreated": 8385.896921157837,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"brightness\": 128}'",
"asctime": "2023-02-15 07:13:31,382"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441611.382626,
"msecs": 382.6260566711426,
"relativeCreated": 8386.141300201416,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"brightness\": 128}'",
"asctime": "2023-02-15 07:13:31,382"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441611.3828406,
"msecs": 382.840633392334,
"relativeCreated": 8386.355876922607,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:31,382"
},
{
"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": 1676441611.4280112,
"msecs": 428.0111789703369,
"relativeCreated": 8431.52642250061,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/livingroom/floorlamp/brightness and payload b'50'",
"asctime": "2023-02-15 07:13:31,428"
}
],
"time_consumption": 0.2483987808227539
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"50",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441611.6771708,
"msecs": 677.1707534790039,
"relativeCreated": 8680.685997009277,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 50 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:31,677",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441611.6768684,
"msecs": 676.8684387207031,
"relativeCreated": 8680.383682250977,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 50 (<class 'int'>)",
"asctime": "2023-02-15 07:13:31,676"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441611.67702,
"msecs": 677.0200729370117,
"relativeCreated": 8680.535316467285,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 50 (<class 'int'>)",
"asctime": "2023-02-15 07:13:31,677"
}
],
"time_consumption": 0.0001506805419921875
},
{
"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": 1676441611.9786205,
"msecs": 978.6205291748047,
"relativeCreated": 8982.135772705078,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Resetting precondition (Power off)",
"asctime": "2023-02-15 07:13:31,978",
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441611.6776793,
"msecs": 677.6793003082275,
"relativeCreated": 8681.194543838501,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:31,677"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441611.6789951,
"msecs": 678.9951324462891,
"relativeCreated": 8682.510375976562,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:31,678"
},
{
"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": 1676441611.6815078,
"msecs": 681.5078258514404,
"relativeCreated": 8685.023069381714,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'false'",
"asctime": "2023-02-15 07:13:31,681"
}
],
"time_consumption": 0.29711270332336426
}
],
"time_consumption": 1.813593864440918,
"time_start": "2023-02-15 07:13:30,165",
"time_finished": "2023-02-15 07:13:31,978"
},
"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": 1676441611.9795027,
"msecs": 979.5026779174805,
"relativeCreated": 8983.017921447754,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Color temperature test for device and virtual device: zigbee/ffe/livingroom/floorlamp_1",
"asctime": "2023-02-15 07:13:31,979",
"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": 1676441612.2811818,
"msecs": 281.18181228637695,
"relativeCreated": 9284.69705581665,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Setting preconditions (Power on)",
"asctime": "2023-02-15 07:13:32,281",
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441611.9800503,
"msecs": 980.0503253936768,
"relativeCreated": 8983.56556892395,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:31,980"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441611.981266,
"msecs": 981.2660217285156,
"relativeCreated": 8984.781265258789,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:31,981"
},
{
"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": 1676441611.9851162,
"msecs": 985.1162433624268,
"relativeCreated": 8988.6314868927,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'true'",
"asctime": "2023-02-15 07:13:31,985"
}
],
"time_consumption": 0.2960655689239502
},
{
"name": "__tLogger__",
"msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
"args": [
"5",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441612.281898,
"msecs": 281.89802169799805,
"relativeCreated": 9285.413265228271,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device color temperature is correct (Content 5 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:32,281",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device color temperature",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441612.281615,
"msecs": 281.6150188446045,
"relativeCreated": 9285.130262374878,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device color temperature): 5 (<class 'int'>)",
"asctime": "2023-02-15 07:13:32,281"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device color temperature",
"=",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441612.2817721,
"msecs": 281.7721366882324,
"relativeCreated": 9285.287380218506,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device color temperature): result = 5 (<class 'int'>)",
"asctime": "2023-02-15 07:13:32,281"
}
],
"time_consumption": 0.000125885009765625
},
{
"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": 1676441612.5832121,
"msecs": 583.21213722229,
"relativeCreated": 9586.727380752563,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing light device color temperature to '5'",
"asctime": "2023-02-15 07:13:32,583",
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441612.282338,
"msecs": 282.33790397644043,
"relativeCreated": 9285.853147506714,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0}",
"asctime": "2023-02-15 07:13:32,282"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441612.283576,
"msecs": 283.57601165771484,
"relativeCreated": 9287.091255187988,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0}'",
"asctime": "2023-02-15 07:13:32,283"
},
{
"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'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441612.2861445,
"msecs": 286.144495010376,
"relativeCreated": 9289.65973854065,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/livingroom/floorlamp/color_temp and payload b'8'",
"asctime": "2023-02-15 07:13:32,286"
}
],
"time_consumption": 0.29706764221191406
},
{
"name": "__tLogger__",
"msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
"args": [
"8",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441612.5838866,
"msecs": 583.8866233825684,
"relativeCreated": 9587.401866912842,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device color temperature is correct (Content 8 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:32,583",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device color temperature",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441612.5836048,
"msecs": 583.6048126220703,
"relativeCreated": 9587.120056152344,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device color temperature): 8 (<class 'int'>)",
"asctime": "2023-02-15 07:13:32,583"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device color temperature",
"=",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441612.5837424,
"msecs": 583.7423801422119,
"relativeCreated": 9587.257623672485,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device color temperature): result = 8 (<class 'int'>)",
"asctime": "2023-02-15 07:13:32,583"
}
],
"time_consumption": 0.0001442432403564453
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"8",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441612.5843081,
"msecs": 584.3081474304199,
"relativeCreated": 9587.823390960693,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 8 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:32,584",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441612.5841098,
"msecs": 584.1097831726074,
"relativeCreated": 9587.62502670288,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 8 (<class 'int'>)",
"asctime": "2023-02-15 07:13:32,584"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441612.584214,
"msecs": 584.2139720916748,
"relativeCreated": 9587.729215621948,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 8 (<class 'int'>)",
"asctime": "2023-02-15 07:13:32,584"
}
],
"time_consumption": 9.417533874511719e-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": 1676441612.885817,
"msecs": 885.8170509338379,
"relativeCreated": 9889.332294464111,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device color temperature to '5'",
"asctime": "2023-02-15 07:13:32,885",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.color_temp.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffe/livingroom/floorlamp/color_temp/set",
"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": 1676441612.5846615,
"msecs": 584.6614837646484,
"relativeCreated": 9588.176727294922,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffe/livingroom/floorlamp/color_temp/set and payload 5",
"asctime": "2023-02-15 07:13:32,584"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441612.590814,
"msecs": 590.8141136169434,
"relativeCreated": 9594.329357147217,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"color_temp\": 352}'",
"asctime": "2023-02-15 07:13:32,590"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441612.591025,
"msecs": 591.0251140594482,
"relativeCreated": 9594.540357589722,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:32,591"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441612.5912268,
"msecs": 591.2268161773682,
"relativeCreated": 9594.742059707642,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"color_temp\": 352}'",
"asctime": "2023-02-15 07:13:32,591"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441612.5914686,
"msecs": 591.4685726165771,
"relativeCreated": 9594.98381614685,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"color_temp\": 352}'",
"asctime": "2023-02-15 07:13:32,591"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441612.5916588,
"msecs": 591.6588306427002,
"relativeCreated": 9595.174074172974,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"color_temp\": 352}'",
"asctime": "2023-02-15 07:13:32,591"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441612.591844,
"msecs": 591.8440818786621,
"relativeCreated": 9595.359325408936,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"color_temp\": 352}'",
"asctime": "2023-02-15 07:13:32,591"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441612.592024,
"msecs": 592.0240879058838,
"relativeCreated": 9595.539331436157,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"color_temp\": 352}'",
"asctime": "2023-02-15 07:13:32,592"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441612.5922196,
"msecs": 592.2195911407471,
"relativeCreated": 9595.73483467102,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:32,592"
},
{
"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": 1676441612.640047,
"msecs": 640.0470733642578,
"relativeCreated": 9643.562316894531,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/livingroom/floorlamp/color_temp and payload b'5'",
"asctime": "2023-02-15 07:13:32,640"
}
],
"time_consumption": 0.24576997756958008
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"5",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441612.8866363,
"msecs": 886.6362571716309,
"relativeCreated": 9890.151500701904,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 5 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:32,886",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441612.886272,
"msecs": 886.2719535827637,
"relativeCreated": 9889.787197113037,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 5 (<class 'int'>)",
"asctime": "2023-02-15 07:13:32,886"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441612.886505,
"msecs": 886.5048885345459,
"relativeCreated": 9890.02013206482,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 5 (<class 'int'>)",
"asctime": "2023-02-15 07:13:32,886"
}
],
"time_consumption": 0.00013136863708496094
},
{
"name": "__tLogger__",
"msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
"args": [
"5",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441612.887065,
"msecs": 887.0649337768555,
"relativeCreated": 9890.580177307129,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device color temperature is correct (Content 5 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:32,887",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device color temperature",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441612.8868368,
"msecs": 886.8367671966553,
"relativeCreated": 9890.352010726929,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device color temperature): 5 (<class 'int'>)",
"asctime": "2023-02-15 07:13:32,886"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device color temperature",
"=",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441612.8869627,
"msecs": 886.9626522064209,
"relativeCreated": 9890.477895736694,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device color temperature): result = 5 (<class 'int'>)",
"asctime": "2023-02-15 07:13:32,886"
}
],
"time_consumption": 0.00010228157043457031
},
{
"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": 1676441613.18841,
"msecs": 188.41004371643066,
"relativeCreated": 10191.925287246704,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing light device color temperature to '5'",
"asctime": "2023-02-15 07:13:33,188",
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441612.8874507,
"msecs": 887.4506950378418,
"relativeCreated": 9890.965938568115,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0}",
"asctime": "2023-02-15 07:13:32,887"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441612.8886425,
"msecs": 888.6425495147705,
"relativeCreated": 9892.157793045044,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0}'",
"asctime": "2023-02-15 07:13:32,888"
},
{
"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'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441612.8911965,
"msecs": 891.1964893341064,
"relativeCreated": 9894.71173286438,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/livingroom/floorlamp/color_temp and payload b'8'",
"asctime": "2023-02-15 07:13:32,891"
}
],
"time_consumption": 0.2972135543823242
},
{
"name": "__tLogger__",
"msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
"args": [
"8",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441613.1890192,
"msecs": 189.01920318603516,
"relativeCreated": 10192.534446716309,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device color temperature is correct (Content 8 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:33,189",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device color temperature",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441613.1887867,
"msecs": 188.78674507141113,
"relativeCreated": 10192.301988601685,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device color temperature): 8 (<class 'int'>)",
"asctime": "2023-02-15 07:13:33,188"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device color temperature",
"=",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441613.188916,
"msecs": 188.91596794128418,
"relativeCreated": 10192.431211471558,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device color temperature): result = 8 (<class 'int'>)",
"asctime": "2023-02-15 07:13:33,188"
}
],
"time_consumption": 0.00010323524475097656
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"8",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441613.1894135,
"msecs": 189.41354751586914,
"relativeCreated": 10192.928791046143,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 8 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:33,189",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441613.1892135,
"msecs": 189.21351432800293,
"relativeCreated": 10192.728757858276,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 8 (<class 'int'>)",
"asctime": "2023-02-15 07:13:33,189"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441613.1893196,
"msecs": 189.31961059570312,
"relativeCreated": 10192.834854125977,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 8 (<class 'int'>)",
"asctime": "2023-02-15 07:13:33,189"
}
],
"time_consumption": 9.393692016601562e-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": 1676441613.4907446,
"msecs": 490.74459075927734,
"relativeCreated": 10494.25983428955,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device color temperature to '5'",
"asctime": "2023-02-15 07:13:33,490",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.color_temp.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffe/livingroom/floorlamp/color_temp/set",
"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": 1676441613.1896565,
"msecs": 189.65649604797363,
"relativeCreated": 10193.171739578247,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffe/livingroom/floorlamp/color_temp/set and payload 5",
"asctime": "2023-02-15 07:13:33,189"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441613.1948752,
"msecs": 194.87524032592773,
"relativeCreated": 10198.390483856201,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"color_temp\": 352}'",
"asctime": "2023-02-15 07:13:33,194"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441613.1954794,
"msecs": 195.4793930053711,
"relativeCreated": 10198.994636535645,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:33,195"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441613.195766,
"msecs": 195.76597213745117,
"relativeCreated": 10199.281215667725,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"color_temp\": 352}'",
"asctime": "2023-02-15 07:13:33,195"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441613.1959746,
"msecs": 195.97458839416504,
"relativeCreated": 10199.489831924438,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"color_temp\": 352}'",
"asctime": "2023-02-15 07:13:33,195"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441613.196147,
"msecs": 196.14696502685547,
"relativeCreated": 10199.662208557129,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"color_temp\": 352}'",
"asctime": "2023-02-15 07:13:33,196"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441613.1963093,
"msecs": 196.30932807922363,
"relativeCreated": 10199.824571609497,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"color_temp\": 352}'",
"asctime": "2023-02-15 07:13:33,196"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441613.1964686,
"msecs": 196.46859169006348,
"relativeCreated": 10199.983835220337,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"color_temp\": 352}'",
"asctime": "2023-02-15 07:13:33,196"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441613.1966522,
"msecs": 196.65217399597168,
"relativeCreated": 10200.167417526245,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:33,196"
},
{
"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": 1676441613.2436347,
"msecs": 243.63470077514648,
"relativeCreated": 10247.14994430542,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/livingroom/floorlamp/color_temp and payload b'5'",
"asctime": "2023-02-15 07:13:33,243"
}
],
"time_consumption": 0.24710988998413086
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"5",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441613.4914865,
"msecs": 491.4865493774414,
"relativeCreated": 10495.001792907715,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 5 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:33,491",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441613.4912074,
"msecs": 491.2073612213135,
"relativeCreated": 10494.722604751587,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 5 (<class 'int'>)",
"asctime": "2023-02-15 07:13:33,491"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441613.4913619,
"msecs": 491.3618564605713,
"relativeCreated": 10494.877099990845,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 5 (<class 'int'>)",
"asctime": "2023-02-15 07:13:33,491"
}
],
"time_consumption": 0.0001246929168701172
},
{
"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": 1676441613.792921,
"msecs": 792.9210662841797,
"relativeCreated": 10796.436309814453,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Resetting precondition (Power off)",
"asctime": "2023-02-15 07:13:33,792",
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441613.4919062,
"msecs": 491.90616607666016,
"relativeCreated": 10495.421409606934,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:33,491"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441613.4931684,
"msecs": 493.1683540344238,
"relativeCreated": 10496.683597564697,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:33,493"
},
{
"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": 1676441613.4957244,
"msecs": 495.7244396209717,
"relativeCreated": 10499.239683151245,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'false'",
"asctime": "2023-02-15 07:13:33,495"
}
],
"time_consumption": 0.297196626663208
}
],
"time_consumption": 1.8134183883666992,
"time_start": "2023-02-15 07:13:31,979",
"time_finished": "2023-02-15 07:13:33,792"
},
"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": 1676441613.7936802,
"msecs": 793.6801910400391,
"relativeCreated": 10797.195434570312,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Power On/ Off test for device and virtual device: zigbee/ffe/livingroom/floorlamp_1",
"asctime": "2023-02-15 07:13:33,793",
"moduleLogger": [],
"testcaseLogger": [
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441613.7942169,
"msecs": 794.2168712615967,
"relativeCreated": 10797.73211479187,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:33,794",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441613.7939575,
"msecs": 793.9574718475342,
"relativeCreated": 10797.472715377808,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:33,793"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441613.7940998,
"msecs": 794.0998077392578,
"relativeCreated": 10797.615051269531,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:33,794"
}
],
"time_consumption": 0.00011706352233886719
},
{
"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": 1676441614.0960245,
"msecs": 96.0245132446289,
"relativeCreated": 11099.539756774902,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing switching device state to 'True'",
"asctime": "2023-02-15 07:13:34,096",
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441613.794663,
"msecs": 794.6629524230957,
"relativeCreated": 10798.17819595337,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:33,794"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441613.7958121,
"msecs": 795.8121299743652,
"relativeCreated": 10799.327373504639,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:33,795"
},
{
"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": 1676441613.79824,
"msecs": 798.2399463653564,
"relativeCreated": 10801.75518989563,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'true'",
"asctime": "2023-02-15 07:13:33,798"
}
],
"time_consumption": 0.29778456687927246
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441614.0967634,
"msecs": 96.76337242126465,
"relativeCreated": 11100.278615951538,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:34,096",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441614.0964842,
"msecs": 96.48418426513672,
"relativeCreated": 11099.99942779541,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:34,096"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441614.0966368,
"msecs": 96.63677215576172,
"relativeCreated": 11100.152015686035,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:34,096"
}
],
"time_consumption": 0.0001266002655029297
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441614.0971687,
"msecs": 97.1686840057373,
"relativeCreated": 11100.68392753601,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:34,097",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441614.0969565,
"msecs": 96.95649147033691,
"relativeCreated": 11100.47173500061,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:34,096"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441614.097068,
"msecs": 97.06807136535645,
"relativeCreated": 11100.58331489563,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:34,097"
}
],
"time_consumption": 0.00010061264038085938
},
{
"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": 1676441614.3991835,
"msecs": 399.1835117340088,
"relativeCreated": 11402.698755264282,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device state to 'False'",
"asctime": "2023-02-15 07:13:34,399",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.state.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffe/livingroom/floorlamp/state/set",
"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": 1676441614.0974934,
"msecs": 97.49341011047363,
"relativeCreated": 11101.008653640747,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffe/livingroom/floorlamp/state/set and payload false",
"asctime": "2023-02-15 07:13:34,097"
},
{
"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": 1676441614.103483,
"msecs": 103.48296165466309,
"relativeCreated": 11106.998205184937,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:34,103"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441614.1043646,
"msecs": 104.36463356018066,
"relativeCreated": 11107.879877090454,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:34,104"
},
{
"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": 1676441614.104632,
"msecs": 104.63190078735352,
"relativeCreated": 11108.147144317627,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:34,104"
},
{
"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": 1676441614.104992,
"msecs": 104.99191284179688,
"relativeCreated": 11108.50715637207,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:34,104"
},
{
"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": 1676441614.1051946,
"msecs": 105.1945686340332,
"relativeCreated": 11108.709812164307,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:34,105"
},
{
"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": 1676441614.1053896,
"msecs": 105.38959503173828,
"relativeCreated": 11108.904838562012,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:34,105"
},
{
"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": 1676441614.1055577,
"msecs": 105.55768013000488,
"relativeCreated": 11109.072923660278,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:34,105"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441614.1057255,
"msecs": 105.72552680969238,
"relativeCreated": 11109.240770339966,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:34,105"
},
{
"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": 1676441614.148629,
"msecs": 148.62895011901855,
"relativeCreated": 11152.144193649292,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'false'",
"asctime": "2023-02-15 07:13:34,148"
}
],
"time_consumption": 0.25055456161499023
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441614.3998566,
"msecs": 399.8565673828125,
"relativeCreated": 11403.371810913086,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:34,399",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441614.399618,
"msecs": 399.61791038513184,
"relativeCreated": 11403.133153915405,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:34,399"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441614.3997514,
"msecs": 399.7514247894287,
"relativeCreated": 11403.266668319702,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:34,399"
}
],
"time_consumption": 0.00010514259338378906
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441614.4002242,
"msecs": 400.2242088317871,
"relativeCreated": 11403.73945236206,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:34,400",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441614.4000216,
"msecs": 400.0215530395508,
"relativeCreated": 11403.536796569824,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:34,400"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441614.400129,
"msecs": 400.1290798187256,
"relativeCreated": 11403.644323348999,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:34,400"
}
],
"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": 1676441614.7017014,
"msecs": 701.7014026641846,
"relativeCreated": 11705.216646194458,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing switching device state to 'True'",
"asctime": "2023-02-15 07:13:34,701",
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441614.4005747,
"msecs": 400.5746841430664,
"relativeCreated": 11404.08992767334,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:34,400"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441614.4017231,
"msecs": 401.72314643859863,
"relativeCreated": 11405.238389968872,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:34,401"
},
{
"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": 1676441614.40429,
"msecs": 404.28996086120605,
"relativeCreated": 11407.80520439148,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'true'",
"asctime": "2023-02-15 07:13:34,404"
}
],
"time_consumption": 0.2974114418029785
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441614.7024736,
"msecs": 702.4736404418945,
"relativeCreated": 11705.988883972168,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:34,702",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441614.7021585,
"msecs": 702.1584510803223,
"relativeCreated": 11705.673694610596,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:34,702"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441614.7023103,
"msecs": 702.31032371521,
"relativeCreated": 11705.825567245483,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:34,702"
}
],
"time_consumption": 0.0001633167266845703
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441614.7029338,
"msecs": 702.9337882995605,
"relativeCreated": 11706.449031829834,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:34,702",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441614.7026827,
"msecs": 702.6827335357666,
"relativeCreated": 11706.19797706604,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:34,702"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441614.7027943,
"msecs": 702.7943134307861,
"relativeCreated": 11706.30955696106,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:34,702"
}
],
"time_consumption": 0.00013947486877441406
},
{
"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": 1676441615.0040977,
"msecs": 4.097700119018555,
"relativeCreated": 12007.612943649292,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device state to 'False'",
"asctime": "2023-02-15 07:13:35,004",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.state.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffe/livingroom/floorlamp/state/set",
"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": 1676441614.7032366,
"msecs": 703.2365798950195,
"relativeCreated": 11706.751823425293,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffe/livingroom/floorlamp/state/set and payload false",
"asctime": "2023-02-15 07:13:34,703"
},
{
"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": 1676441614.7088633,
"msecs": 708.8632583618164,
"relativeCreated": 11712.37850189209,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:34,708"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441614.709181,
"msecs": 709.1810703277588,
"relativeCreated": 11712.696313858032,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:34,709"
},
{
"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": 1676441614.7094526,
"msecs": 709.4526290893555,
"relativeCreated": 11712.967872619629,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:34,709"
},
{
"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": 1676441614.7096977,
"msecs": 709.6977233886719,
"relativeCreated": 11713.212966918945,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:34,709"
},
{
"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": 1676441614.7098927,
"msecs": 709.892749786377,
"relativeCreated": 11713.40799331665,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:34,709"
},
{
"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": 1676441614.7100775,
"msecs": 710.0775241851807,
"relativeCreated": 11713.592767715454,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:34,710"
},
{
"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": 1676441614.7102635,
"msecs": 710.2634906768799,
"relativeCreated": 11713.778734207153,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:34,710"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441614.710456,
"msecs": 710.4558944702148,
"relativeCreated": 11713.971138000488,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:34,710"
},
{
"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": 1676441614.7532659,
"msecs": 753.2658576965332,
"relativeCreated": 11756.781101226807,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'false'",
"asctime": "2023-02-15 07:13:34,753"
}
],
"time_consumption": 0.25083184242248535
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441615.0047817,
"msecs": 4.7817230224609375,
"relativeCreated": 12008.296966552734,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:35,004",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441615.004498,
"msecs": 4.498004913330078,
"relativeCreated": 12008.013248443604,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:35,004"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441615.004667,
"msecs": 4.667043685913086,
"relativeCreated": 12008.182287216187,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:35,004"
}
],
"time_consumption": 0.00011467933654785156
}
],
"time_consumption": 1.2111015319824219,
"time_start": "2023-02-15 07:13:33,793",
"time_finished": "2023-02-15 07:13:35,004"
},
"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": 1676441615.005319,
"msecs": 5.319118499755859,
"relativeCreated": 12008.83436203003,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Brightness test for device and virtual device: zigbee/ffe/livingroom/main_light",
"asctime": "2023-02-15 07:13:35,005",
"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": 1676441615.3073928,
"msecs": 307.39283561706543,
"relativeCreated": 12310.908079147339,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Setting preconditions (Power on)",
"asctime": "2023-02-15 07:13:35,307",
"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": 1676441615.0056503,
"msecs": 5.65028190612793,
"relativeCreated": 12009.165525436401,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffe/livingroom/main_light/relay/0 and payload on",
"asctime": "2023-02-15 07:13:35,005"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441615.006314,
"msecs": 6.31403923034668,
"relativeCreated": 12009.82928276062,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:35,006"
},
{
"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": 1676441615.007576,
"msecs": 7.57598876953125,
"relativeCreated": 12011.091232299805,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffe/livingroom/main_light/relay/0 and payload b'on'",
"asctime": "2023-02-15 07:13:35,007"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441615.0084577,
"msecs": 8.457660675048828,
"relativeCreated": 12011.972904205322,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:35,008"
},
{
"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": 1676441615.0510545,
"msecs": 51.05447769165039,
"relativeCreated": 12054.569721221924,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"state\": \"on\"}'",
"asctime": "2023-02-15 07:13:35,051"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441615.0517216,
"msecs": 51.72157287597656,
"relativeCreated": 12055.23681640625,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:35,051"
},
{
"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": 1676441615.0523467,
"msecs": 52.34670639038086,
"relativeCreated": 12055.861949920654,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"state\": \"on\"}'",
"asctime": "2023-02-15 07:13:35,052"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441615.0529072,
"msecs": 52.90722846984863,
"relativeCreated": 12056.422472000122,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:35,052"
},
{
"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": 1676441615.0535963,
"msecs": 53.59625816345215,
"relativeCreated": 12057.111501693726,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"state\": \"on\"}'",
"asctime": "2023-02-15 07:13:35,053"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441615.0541356,
"msecs": 54.13556098937988,
"relativeCreated": 12057.650804519653,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:35,054"
},
{
"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": 1676441615.054703,
"msecs": 54.7029972076416,
"relativeCreated": 12058.218240737915,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"state\": \"on\"}'",
"asctime": "2023-02-15 07:13:35,054"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441615.0552058,
"msecs": 55.2058219909668,
"relativeCreated": 12058.72106552124,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:35,055"
},
{
"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": 1676441615.05584,
"msecs": 55.84001541137695,
"relativeCreated": 12059.35525894165,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"state\": \"on\"}'",
"asctime": "2023-02-15 07:13:35,055"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441615.0563433,
"msecs": 56.34331703186035,
"relativeCreated": 12059.858560562134,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:35,056"
},
{
"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": 1676441615.056871,
"msecs": 56.87093734741211,
"relativeCreated": 12060.386180877686,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"state\": \"on\"}'",
"asctime": "2023-02-15 07:13:35,056"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441615.0574236,
"msecs": 57.42359161376953,
"relativeCreated": 12060.938835144043,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:35,057"
},
{
"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": 1676441615.0581148,
"msecs": 58.11476707458496,
"relativeCreated": 12061.630010604858,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/livingroom/main_light/state and payload b'true'",
"asctime": "2023-02-15 07:13:35,058"
},
{
"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": 1676441615.058829,
"msecs": 58.82906913757324,
"relativeCreated": 12062.344312667847,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/livingroom/main_light/brightness and payload b'50'",
"asctime": "2023-02-15 07:13:35,058"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441615.0594437,
"msecs": 59.44371223449707,
"relativeCreated": 12062.95895576477,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:35,059"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441615.060066,
"msecs": 60.06598472595215,
"relativeCreated": 12063.581228256226,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:35,060"
},
{
"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": 1676441615.0606887,
"msecs": 60.68873405456543,
"relativeCreated": 12064.203977584839,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/livingroom/main_light/color_temp and payload b'5'",
"asctime": "2023-02-15 07:13:35,060"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441615.0613256,
"msecs": 61.3255500793457,
"relativeCreated": 12064.84079360962,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:35,061"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441615.0619085,
"msecs": 61.90848350524902,
"relativeCreated": 12065.423727035522,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:35,061"
},
{
"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": 1676441615.062514,
"msecs": 62.51406669616699,
"relativeCreated": 12066.02931022644,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'true'",
"asctime": "2023-02-15 07:13:35,062"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441615.06314,
"msecs": 63.139915466308594,
"relativeCreated": 12066.655158996582,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:35,063"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441615.0991316,
"msecs": 99.13158416748047,
"relativeCreated": 12102.646827697754,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:35,099"
}
],
"time_consumption": 0.20826125144958496
},
{
"name": "__tLogger__",
"msg": "Virtual device brightness is correct (Content %s and Type is %s).",
"args": [
"50",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441615.3080463,
"msecs": 308.0463409423828,
"relativeCreated": 12311.561584472656,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device brightness is correct (Content 50 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:35,308",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device brightness",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441615.3078005,
"msecs": 307.8005313873291,
"relativeCreated": 12311.315774917603,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device brightness): 50 (<class 'int'>)",
"asctime": "2023-02-15 07:13:35,307"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device brightness",
"=",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441615.3079379,
"msecs": 307.9378604888916,
"relativeCreated": 12311.453104019165,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device brightness): result = 50 (<class 'int'>)",
"asctime": "2023-02-15 07:13:35,307"
}
],
"time_consumption": 0.00010848045349121094
},
{
"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": 1676441615.6092315,
"msecs": 609.2314720153809,
"relativeCreated": 12612.746715545654,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing light device brightness to '65'",
"asctime": "2023-02-15 07:13:35,609",
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441615.3083985,
"msecs": 308.3984851837158,
"relativeCreated": 12311.91372871399,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:35,308"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441615.3095262,
"msecs": 309.5262050628662,
"relativeCreated": 12313.04144859314,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:35,309"
},
{
"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'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441615.3116426,
"msecs": 311.6426467895508,
"relativeCreated": 12315.157890319824,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/livingroom/main_light/brightness and payload b'65'",
"asctime": "2023-02-15 07:13:35,311"
}
],
"time_consumption": 0.2975888252258301
},
{
"name": "__tLogger__",
"msg": "Virtual device brightness is correct (Content %s and Type is %s).",
"args": [
"65",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441615.609923,
"msecs": 609.9228858947754,
"relativeCreated": 12613.438129425049,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device brightness is correct (Content 65 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:35,609",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device brightness",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441615.609652,
"msecs": 609.652042388916,
"relativeCreated": 12613.16728591919,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device brightness): 65 (<class 'int'>)",
"asctime": "2023-02-15 07:13:35,609"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device brightness",
"=",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441615.6097996,
"msecs": 609.7996234893799,
"relativeCreated": 12613.314867019653,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device brightness): result = 65 (<class 'int'>)",
"asctime": "2023-02-15 07:13:35,609"
}
],
"time_consumption": 0.0001232624053955078
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"65",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441615.6103227,
"msecs": 610.3227138519287,
"relativeCreated": 12613.837957382202,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 65 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:35,610",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441615.6101148,
"msecs": 610.1148128509521,
"relativeCreated": 12613.630056381226,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 65 (<class 'int'>)",
"asctime": "2023-02-15 07:13:35,610"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441615.6102238,
"msecs": 610.2237701416016,
"relativeCreated": 12613.739013671875,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 65 (<class 'int'>)",
"asctime": "2023-02-15 07:13:35,610"
}
],
"time_consumption": 9.894371032714844e-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": 1676441615.911524,
"msecs": 911.5240573883057,
"relativeCreated": 12915.03930091858,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device brightness to '50'",
"asctime": "2023-02-15 07:13:35,911",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.brightness.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffe/livingroom/main_light/brightness/set",
"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": 1676441615.6106741,
"msecs": 610.6741428375244,
"relativeCreated": 12614.189386367798,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffe/livingroom/main_light/brightness/set and payload 50",
"asctime": "2023-02-15 07:13:35,610"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441615.614046,
"msecs": 614.0460968017578,
"relativeCreated": 12617.561340332031,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/main_light/set and payload b'{\"brightness\": 128}'",
"asctime": "2023-02-15 07:13:35,614"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441615.6147969,
"msecs": 614.7968769073486,
"relativeCreated": 12618.312120437622,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:35,614"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441615.6160443,
"msecs": 616.044282913208,
"relativeCreated": 12619.559526443481,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:35,616"
},
{
"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": 1676441615.65885,
"msecs": 658.8499546051025,
"relativeCreated": 12662.365198135376,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/livingroom/main_light/brightness and payload b'50'",
"asctime": "2023-02-15 07:13:35,658"
}
],
"time_consumption": 0.2526741027832031
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"50",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441615.911765,
"msecs": 911.7650985717773,
"relativeCreated": 12915.28034210205,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 50 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:35,911",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441615.9116938,
"msecs": 911.693811416626,
"relativeCreated": 12915.2090549469,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 50 (<class 'int'>)",
"asctime": "2023-02-15 07:13:35,911"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441615.9117343,
"msecs": 911.7343425750732,
"relativeCreated": 12915.249586105347,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 50 (<class 'int'>)",
"asctime": "2023-02-15 07:13:35,911"
}
],
"time_consumption": 3.075599670410156e-05
},
{
"name": "__tLogger__",
"msg": "Virtual device brightness is correct (Content %s and Type is %s).",
"args": [
"50",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441615.9118676,
"msecs": 911.867618560791,
"relativeCreated": 12915.382862091064,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device brightness is correct (Content 50 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:35,911",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device brightness",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441615.911815,
"msecs": 911.8149280548096,
"relativeCreated": 12915.330171585083,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device brightness): 50 (<class 'int'>)",
"asctime": "2023-02-15 07:13:35,911"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device brightness",
"=",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441615.9118428,
"msecs": 911.8428230285645,
"relativeCreated": 12915.358066558838,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device brightness): result = 50 (<class 'int'>)",
"asctime": "2023-02-15 07:13:35,911"
}
],
"time_consumption": 2.47955322265625e-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": 1676441616.2127178,
"msecs": 212.71777153015137,
"relativeCreated": 13216.233015060425,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing light device brightness to '65'",
"asctime": "2023-02-15 07:13:36,212",
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441615.9119828,
"msecs": 911.9827747344971,
"relativeCreated": 12915.49801826477,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:35,911"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441615.9124808,
"msecs": 912.4808311462402,
"relativeCreated": 12915.996074676514,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:35,912"
},
{
"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'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441615.9132762,
"msecs": 913.276195526123,
"relativeCreated": 12916.791439056396,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/livingroom/main_light/brightness and payload b'65'",
"asctime": "2023-02-15 07:13:35,913"
}
],
"time_consumption": 0.2994415760040283
},
{
"name": "__tLogger__",
"msg": "Virtual device brightness is correct (Content %s and Type is %s).",
"args": [
"65",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441616.2133873,
"msecs": 213.38725090026855,
"relativeCreated": 13216.902494430542,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device brightness is correct (Content 65 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:36,213",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device brightness",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441616.2131093,
"msecs": 213.10925483703613,
"relativeCreated": 13216.62449836731,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device brightness): 65 (<class 'int'>)",
"asctime": "2023-02-15 07:13:36,213"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device brightness",
"=",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441616.2132826,
"msecs": 213.28258514404297,
"relativeCreated": 13216.797828674316,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device brightness): result = 65 (<class 'int'>)",
"asctime": "2023-02-15 07:13:36,213"
}
],
"time_consumption": 0.00010466575622558594
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"65",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441616.2137396,
"msecs": 213.73963356018066,
"relativeCreated": 13217.254877090454,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 65 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:36,213",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441616.2135572,
"msecs": 213.55724334716797,
"relativeCreated": 13217.072486877441,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 65 (<class 'int'>)",
"asctime": "2023-02-15 07:13:36,213"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441616.2136538,
"msecs": 213.6538028717041,
"relativeCreated": 13217.169046401978,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 65 (<class 'int'>)",
"asctime": "2023-02-15 07:13:36,213"
}
],
"time_consumption": 8.58306884765625e-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": 1676441616.5150924,
"msecs": 515.0923728942871,
"relativeCreated": 13518.60761642456,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device brightness to '50'",
"asctime": "2023-02-15 07:13:36,515",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.brightness.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffe/livingroom/main_light/brightness/set",
"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": 1676441616.2139866,
"msecs": 213.98663520812988,
"relativeCreated": 13217.501878738403,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffe/livingroom/main_light/brightness/set and payload 50",
"asctime": "2023-02-15 07:13:36,213"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441616.2168207,
"msecs": 216.82071685791016,
"relativeCreated": 13220.335960388184,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/main_light/set and payload b'{\"brightness\": 128}'",
"asctime": "2023-02-15 07:13:36,216"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441616.2174542,
"msecs": 217.454195022583,
"relativeCreated": 13220.969438552856,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:36,217"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441616.218444,
"msecs": 218.4441089630127,
"relativeCreated": 13221.959352493286,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:36,218"
},
{
"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": 1676441616.261601,
"msecs": 261.6009712219238,
"relativeCreated": 13265.116214752197,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/livingroom/main_light/brightness and payload b'50'",
"asctime": "2023-02-15 07:13:36,261"
}
],
"time_consumption": 0.2534914016723633
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"50",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441616.5158892,
"msecs": 515.8891677856445,
"relativeCreated": 13519.404411315918,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 50 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:36,515",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441616.5155506,
"msecs": 515.5506134033203,
"relativeCreated": 13519.065856933594,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 50 (<class 'int'>)",
"asctime": "2023-02-15 07:13:36,515"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441616.5157502,
"msecs": 515.7501697540283,
"relativeCreated": 13519.265413284302,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 50 (<class 'int'>)",
"asctime": "2023-02-15 07:13:36,515"
}
],
"time_consumption": 0.00013899803161621094
},
{
"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": 1676441616.8172808,
"msecs": 817.2807693481445,
"relativeCreated": 13820.796012878418,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Resetting precondition (Power off)",
"asctime": "2023-02-15 07:13:36,817",
"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": 1676441616.5162024,
"msecs": 516.202449798584,
"relativeCreated": 13519.717693328857,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffe/livingroom/main_light/relay/0 and payload off",
"asctime": "2023-02-15 07:13:36,516"
},
{
"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": 1676441616.5175524,
"msecs": 517.552375793457,
"relativeCreated": 13521.06761932373,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffe/livingroom/main_light/relay/0 and payload b'off'",
"asctime": "2023-02-15 07:13:36,517"
},
{
"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": 1676441616.5225675,
"msecs": 522.5675106048584,
"relativeCreated": 13526.082754135132,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:36,522"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441616.52276,
"msecs": 522.7599143981934,
"relativeCreated": 13526.275157928467,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:36,522"
},
{
"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": 1676441616.5229442,
"msecs": 522.9442119598389,
"relativeCreated": 13526.459455490112,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:36,522"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441616.523109,
"msecs": 523.108959197998,
"relativeCreated": 13526.624202728271,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:36,523"
},
{
"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": 1676441616.523316,
"msecs": 523.3159065246582,
"relativeCreated": 13526.831150054932,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:36,523"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441616.523479,
"msecs": 523.4789848327637,
"relativeCreated": 13526.994228363037,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:36,523"
},
{
"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": 1676441616.5236406,
"msecs": 523.6406326293945,
"relativeCreated": 13527.155876159668,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:36,523"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441616.5238051,
"msecs": 523.8051414489746,
"relativeCreated": 13527.320384979248,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:36,523"
},
{
"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": 1676441616.5240061,
"msecs": 524.0061283111572,
"relativeCreated": 13527.52137184143,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:36,524"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441616.5241659,
"msecs": 524.1658687591553,
"relativeCreated": 13527.681112289429,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:36,524"
},
{
"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": 1676441616.524323,
"msecs": 524.3229866027832,
"relativeCreated": 13527.838230133057,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:36,524"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441616.5244818,
"msecs": 524.4817733764648,
"relativeCreated": 13527.997016906738,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:36,524"
},
{
"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": 1676441616.5246751,
"msecs": 524.6751308441162,
"relativeCreated": 13528.19037437439,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/livingroom/main_light/state and payload b'false'",
"asctime": "2023-02-15 07:13:36,524"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441616.5248768,
"msecs": 524.8768329620361,
"relativeCreated": 13528.39207649231,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:36,524"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441616.5250633,
"msecs": 525.0632762908936,
"relativeCreated": 13528.578519821167,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:36,525"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441616.525279,
"msecs": 525.2790451049805,
"relativeCreated": 13528.794288635254,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:36,525"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441616.5254848,
"msecs": 525.4848003387451,
"relativeCreated": 13529.000043869019,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:36,525"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441616.5256853,
"msecs": 525.6853103637695,
"relativeCreated": 13529.200553894043,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:36,525"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441616.5258877,
"msecs": 525.8877277374268,
"relativeCreated": 13529.4029712677,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:36,525"
},
{
"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": 1676441616.5718508,
"msecs": 571.8507766723633,
"relativeCreated": 13575.366020202637,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'false'",
"asctime": "2023-02-15 07:13:36,571"
}
],
"time_consumption": 0.24542999267578125
}
],
"time_consumption": 1.8119616508483887,
"time_start": "2023-02-15 07:13:35,005",
"time_finished": "2023-02-15 07:13:36,817"
},
"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": 1676441616.8181024,
"msecs": 818.1023597717285,
"relativeCreated": 13821.617603302002,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Color temperature test for device and virtual device: zigbee/ffe/livingroom/main_light",
"asctime": "2023-02-15 07:13:36,818",
"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": 1676441617.1200628,
"msecs": 120.06282806396484,
"relativeCreated": 14123.578071594238,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Setting preconditions (Power on)",
"asctime": "2023-02-15 07:13:37,120",
"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": 1676441616.818537,
"msecs": 818.5369968414307,
"relativeCreated": 13822.052240371704,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffe/livingroom/main_light/relay/0 and payload on",
"asctime": "2023-02-15 07:13:36,818"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441616.8192225,
"msecs": 819.2224502563477,
"relativeCreated": 13822.737693786621,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:36,819"
},
{
"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": 1676441616.820387,
"msecs": 820.3868865966797,
"relativeCreated": 13823.902130126953,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffe/livingroom/main_light/relay/0 and payload b'on'",
"asctime": "2023-02-15 07:13:36,820"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441616.8212526,
"msecs": 821.2525844573975,
"relativeCreated": 13824.76782798767,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:36,821"
},
{
"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": 1676441616.863143,
"msecs": 863.1429672241211,
"relativeCreated": 13866.658210754395,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"state\": \"on\"}'",
"asctime": "2023-02-15 07:13:36,863"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441616.863811,
"msecs": 863.8110160827637,
"relativeCreated": 13867.326259613037,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:36,863"
},
{
"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": 1676441616.864445,
"msecs": 864.4449710845947,
"relativeCreated": 13867.960214614868,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"state\": \"on\"}'",
"asctime": "2023-02-15 07:13:36,864"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441616.8650396,
"msecs": 865.039587020874,
"relativeCreated": 13868.554830551147,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:36,865"
},
{
"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": 1676441616.865725,
"msecs": 865.725040435791,
"relativeCreated": 13869.240283966064,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"state\": \"on\"}'",
"asctime": "2023-02-15 07:13:36,865"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441616.8662426,
"msecs": 866.2426471710205,
"relativeCreated": 13869.757890701294,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:36,866"
},
{
"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": 1676441616.8667998,
"msecs": 866.7998313903809,
"relativeCreated": 13870.315074920654,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"state\": \"on\"}'",
"asctime": "2023-02-15 07:13:36,866"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441616.8673267,
"msecs": 867.3267364501953,
"relativeCreated": 13870.841979980469,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:36,867"
},
{
"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": 1676441616.8678734,
"msecs": 867.8734302520752,
"relativeCreated": 13871.388673782349,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"state\": \"on\"}'",
"asctime": "2023-02-15 07:13:36,867"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441616.8680065,
"msecs": 868.0064678192139,
"relativeCreated": 13871.521711349487,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:36,868"
},
{
"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": 1676441616.8681374,
"msecs": 868.1373596191406,
"relativeCreated": 13871.652603149414,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"state\": \"on\"}'",
"asctime": "2023-02-15 07:13:36,868"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441616.8682754,
"msecs": 868.2754039764404,
"relativeCreated": 13871.790647506714,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:36,868"
},
{
"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": 1676441616.8684366,
"msecs": 868.4365749359131,
"relativeCreated": 13871.951818466187,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/livingroom/main_light/state and payload b'true'",
"asctime": "2023-02-15 07:13:36,868"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441616.8686054,
"msecs": 868.605375289917,
"relativeCreated": 13872.12061882019,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:36,868"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441616.8687656,
"msecs": 868.7655925750732,
"relativeCreated": 13872.280836105347,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:36,868"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441616.8697793,
"msecs": 869.7793483734131,
"relativeCreated": 13873.294591903687,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:36,869"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441616.86995,
"msecs": 869.9500560760498,
"relativeCreated": 13873.465299606323,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:36,869"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441616.8701048,
"msecs": 870.1047897338867,
"relativeCreated": 13873.62003326416,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:36,870"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441616.8702555,
"msecs": 870.2554702758789,
"relativeCreated": 13873.770713806152,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:36,870"
},
{
"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": 1676441616.9109867,
"msecs": 910.9866619110107,
"relativeCreated": 13914.501905441284,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'true'",
"asctime": "2023-02-15 07:13:36,910"
}
],
"time_consumption": 0.2090761661529541
},
{
"name": "__tLogger__",
"msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
"args": [
"5",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441617.1207998,
"msecs": 120.79977989196777,
"relativeCreated": 14124.315023422241,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device color temperature is correct (Content 5 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:37,120",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device color temperature",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441617.1205227,
"msecs": 120.52273750305176,
"relativeCreated": 14124.037981033325,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device color temperature): 5 (<class 'int'>)",
"asctime": "2023-02-15 07:13:37,120"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device color temperature",
"=",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441617.1206763,
"msecs": 120.67627906799316,
"relativeCreated": 14124.191522598267,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device color temperature): result = 5 (<class 'int'>)",
"asctime": "2023-02-15 07:13:37,120"
}
],
"time_consumption": 0.00012350082397460938
},
{
"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": 1676441617.4222152,
"msecs": 422.21522331237793,
"relativeCreated": 14425.730466842651,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing light device color temperature to '5'",
"asctime": "2023-02-15 07:13:37,422",
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441617.1212125,
"msecs": 121.21248245239258,
"relativeCreated": 14124.727725982666,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0}",
"asctime": "2023-02-15 07:13:37,121"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441617.1225998,
"msecs": 122.59984016418457,
"relativeCreated": 14126.115083694458,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0}'",
"asctime": "2023-02-15 07:13:37,122"
},
{
"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'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441617.1249628,
"msecs": 124.96280670166016,
"relativeCreated": 14128.478050231934,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/livingroom/main_light/color_temp and payload b'8'",
"asctime": "2023-02-15 07:13:37,124"
}
],
"time_consumption": 0.2972524166107178
},
{
"name": "__tLogger__",
"msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
"args": [
"8",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441617.4229836,
"msecs": 422.98364639282227,
"relativeCreated": 14426.498889923096,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device color temperature is correct (Content 8 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:37,422",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device color temperature",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441617.4227023,
"msecs": 422.7023124694824,
"relativeCreated": 14426.217555999756,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device color temperature): 8 (<class 'int'>)",
"asctime": "2023-02-15 07:13:37,422"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device color temperature",
"=",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441617.4228585,
"msecs": 422.85847663879395,
"relativeCreated": 14426.373720169067,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device color temperature): result = 8 (<class 'int'>)",
"asctime": "2023-02-15 07:13:37,422"
}
],
"time_consumption": 0.0001251697540283203
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"8",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441617.4234304,
"msecs": 423.4304428100586,
"relativeCreated": 14426.945686340332,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 8 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:37,423",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441617.4231791,
"msecs": 423.17914962768555,
"relativeCreated": 14426.694393157959,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 8 (<class 'int'>)",
"asctime": "2023-02-15 07:13:37,423"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441617.4233308,
"msecs": 423.33078384399414,
"relativeCreated": 14426.846027374268,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 8 (<class 'int'>)",
"asctime": "2023-02-15 07:13:37,423"
}
],
"time_consumption": 9.965896606445312e-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": 1676441617.7248943,
"msecs": 724.8942852020264,
"relativeCreated": 14728.4095287323,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device color temperature to '5'",
"asctime": "2023-02-15 07:13:37,724",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.color_temp.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffe/livingroom/main_light/color_temp/set",
"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": 1676441617.4237583,
"msecs": 423.75826835632324,
"relativeCreated": 14427.273511886597,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffe/livingroom/main_light/color_temp/set and payload 5",
"asctime": "2023-02-15 07:13:37,423"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441617.4270713,
"msecs": 427.07133293151855,
"relativeCreated": 14430.586576461792,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/main_light/set and payload b'{\"color_temp\": 352}'",
"asctime": "2023-02-15 07:13:37,427"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441617.427773,
"msecs": 427.77299880981445,
"relativeCreated": 14431.288242340088,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:37,427"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441617.428879,
"msecs": 428.8790225982666,
"relativeCreated": 14432.39426612854,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:37,428"
},
{
"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": 1676441617.473653,
"msecs": 473.65307807922363,
"relativeCreated": 14477.168321609497,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/livingroom/main_light/color_temp and payload b'5'",
"asctime": "2023-02-15 07:13:37,473"
}
],
"time_consumption": 0.25124120712280273
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"5",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441617.7256258,
"msecs": 725.62575340271,
"relativeCreated": 14729.140996932983,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 5 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:37,725",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441617.7253487,
"msecs": 725.348711013794,
"relativeCreated": 14728.863954544067,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 5 (<class 'int'>)",
"asctime": "2023-02-15 07:13:37,725"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441617.7255037,
"msecs": 725.50368309021,
"relativeCreated": 14729.018926620483,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 5 (<class 'int'>)",
"asctime": "2023-02-15 07:13:37,725"
}
],
"time_consumption": 0.0001220703125
},
{
"name": "__tLogger__",
"msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
"args": [
"5",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441617.7260847,
"msecs": 726.0847091674805,
"relativeCreated": 14729.599952697754,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device color temperature is correct (Content 5 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:37,726",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device color temperature",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441617.7258217,
"msecs": 725.8217334747314,
"relativeCreated": 14729.336977005005,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device color temperature): 5 (<class 'int'>)",
"asctime": "2023-02-15 07:13:37,725"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device color temperature",
"=",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441617.7259834,
"msecs": 725.9833812713623,
"relativeCreated": 14729.498624801636,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device color temperature): result = 5 (<class 'int'>)",
"asctime": "2023-02-15 07:13:37,725"
}
],
"time_consumption": 0.00010132789611816406
},
{
"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": 1676441618.0275111,
"msecs": 27.511119842529297,
"relativeCreated": 15031.026363372803,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing light device color temperature to '5'",
"asctime": "2023-02-15 07:13:38,027",
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441617.726513,
"msecs": 726.5129089355469,
"relativeCreated": 14730.02815246582,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0}",
"asctime": "2023-02-15 07:13:37,726"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441617.7277997,
"msecs": 727.799654006958,
"relativeCreated": 14731.314897537231,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0}'",
"asctime": "2023-02-15 07:13:37,727"
},
{
"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'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441617.7308066,
"msecs": 730.8065891265869,
"relativeCreated": 14734.32183265686,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/livingroom/main_light/color_temp and payload b'8'",
"asctime": "2023-02-15 07:13:37,730"
}
],
"time_consumption": 0.2967045307159424
},
{
"name": "__tLogger__",
"msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
"args": [
"8",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441618.0282373,
"msecs": 28.237342834472656,
"relativeCreated": 15031.752586364746,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device color temperature is correct (Content 8 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:38,028",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device color temperature",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441618.0279605,
"msecs": 27.960538864135742,
"relativeCreated": 15031.47578239441,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device color temperature): 8 (<class 'int'>)",
"asctime": "2023-02-15 07:13:38,027"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device color temperature",
"=",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441618.0281138,
"msecs": 28.113842010498047,
"relativeCreated": 15031.629085540771,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device color temperature): result = 8 (<class 'int'>)",
"asctime": "2023-02-15 07:13:38,028"
}
],
"time_consumption": 0.00012350082397460938
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"8",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441618.0286438,
"msecs": 28.64384651184082,
"relativeCreated": 15032.159090042114,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 8 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:38,028",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441618.0284317,
"msecs": 28.43165397644043,
"relativeCreated": 15031.946897506714,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 8 (<class 'int'>)",
"asctime": "2023-02-15 07:13:38,028"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441618.0285425,
"msecs": 28.542518615722656,
"relativeCreated": 15032.057762145996,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 8 (<class 'int'>)",
"asctime": "2023-02-15 07:13:38,028"
}
],
"time_consumption": 0.00010132789611816406
},
{
"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": 1676441618.3300738,
"msecs": 330.0738334655762,
"relativeCreated": 15333.58907699585,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device color temperature to '5'",
"asctime": "2023-02-15 07:13:38,330",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.color_temp.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffe/livingroom/main_light/color_temp/set",
"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": 1676441618.0289736,
"msecs": 28.97357940673828,
"relativeCreated": 15032.488822937012,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffe/livingroom/main_light/color_temp/set and payload 5",
"asctime": "2023-02-15 07:13:38,028"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441618.0322826,
"msecs": 32.28259086608887,
"relativeCreated": 15035.797834396362,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/main_light/set and payload b'{\"color_temp\": 352}'",
"asctime": "2023-02-15 07:13:38,032"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441618.0329854,
"msecs": 32.98544883728027,
"relativeCreated": 15036.500692367554,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:38,032"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441618.0341284,
"msecs": 34.128427505493164,
"relativeCreated": 15037.643671035767,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:38,034"
},
{
"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": 1676441618.0773125,
"msecs": 77.31246948242188,
"relativeCreated": 15080.827713012695,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/livingroom/main_light/color_temp and payload b'5'",
"asctime": "2023-02-15 07:13:38,077"
}
],
"time_consumption": 0.2527613639831543
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"5",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441618.330746,
"msecs": 330.7459354400635,
"relativeCreated": 15334.261178970337,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 5 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:38,330",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441618.330511,
"msecs": 330.51109313964844,
"relativeCreated": 15334.026336669922,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 5 (<class 'int'>)",
"asctime": "2023-02-15 07:13:38,330"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441618.3306425,
"msecs": 330.6424617767334,
"relativeCreated": 15334.157705307007,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 5 (<class 'int'>)",
"asctime": "2023-02-15 07:13:38,330"
}
],
"time_consumption": 0.00010347366333007812
},
{
"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": 1676441618.6320093,
"msecs": 632.0092678070068,
"relativeCreated": 15635.52451133728,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Resetting precondition (Power off)",
"asctime": "2023-02-15 07:13:38,632",
"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": 1676441618.330998,
"msecs": 330.9979438781738,
"relativeCreated": 15334.513187408447,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffe/livingroom/main_light/relay/0 and payload off",
"asctime": "2023-02-15 07:13:38,330"
},
{
"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": 1676441618.332159,
"msecs": 332.15904235839844,
"relativeCreated": 15335.674285888672,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffe/livingroom/main_light/relay/0 and payload b'off'",
"asctime": "2023-02-15 07:13:38,332"
},
{
"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": 1676441618.3371952,
"msecs": 337.19515800476074,
"relativeCreated": 15340.710401535034,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:38,337"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441618.337809,
"msecs": 337.80908584594727,
"relativeCreated": 15341.32432937622,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:38,337"
},
{
"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": 1676441618.3384018,
"msecs": 338.40179443359375,
"relativeCreated": 15341.917037963867,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:38,338"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441618.3389428,
"msecs": 338.9427661895752,
"relativeCreated": 15342.458009719849,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:38,338"
},
{
"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": 1676441618.339607,
"msecs": 339.60700035095215,
"relativeCreated": 15343.122243881226,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:38,339"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441618.3401155,
"msecs": 340.1155471801758,
"relativeCreated": 15343.63079071045,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:38,340"
},
{
"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": 1676441618.3406324,
"msecs": 340.63243865966797,
"relativeCreated": 15344.147682189941,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:38,340"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441618.341133,
"msecs": 341.13311767578125,
"relativeCreated": 15344.648361206055,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:38,341"
},
{
"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": 1676441618.341762,
"msecs": 341.7620658874512,
"relativeCreated": 15345.277309417725,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:38,341"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441618.3422718,
"msecs": 342.2718048095703,
"relativeCreated": 15345.787048339844,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:38,342"
},
{
"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": 1676441618.3424394,
"msecs": 342.4394130706787,
"relativeCreated": 15345.954656600952,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:38,342"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441618.3425653,
"msecs": 342.56529808044434,
"relativeCreated": 15346.080541610718,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:38,342"
},
{
"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": 1676441618.342717,
"msecs": 342.71693229675293,
"relativeCreated": 15346.232175827026,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/livingroom/main_light/state and payload b'false'",
"asctime": "2023-02-15 07:13:38,342"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441618.3428793,
"msecs": 342.8792953491211,
"relativeCreated": 15346.394538879395,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:38,342"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441618.343041,
"msecs": 343.04094314575195,
"relativeCreated": 15346.556186676025,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:38,343"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441618.3431826,
"msecs": 343.1825637817383,
"relativeCreated": 15346.697807312012,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:38,343"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441618.3433206,
"msecs": 343.3206081390381,
"relativeCreated": 15346.835851669312,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:38,343"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441618.3434565,
"msecs": 343.456506729126,
"relativeCreated": 15346.9717502594,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:38,343"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441618.3435926,
"msecs": 343.59264373779297,
"relativeCreated": 15347.107887268066,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:38,343"
},
{
"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": 1676441618.386873,
"msecs": 386.8730068206787,
"relativeCreated": 15390.388250350952,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'false'",
"asctime": "2023-02-15 07:13:38,386"
}
],
"time_consumption": 0.24513626098632812
}
],
"time_consumption": 1.8139069080352783,
"time_start": "2023-02-15 07:13:36,818",
"time_finished": "2023-02-15 07:13:38,632"
},
"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": 1676441618.6327913,
"msecs": 632.79128074646,
"relativeCreated": 15636.306524276733,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Power On/ Off test for device and virtual device: shellies/ffe/livingroom/main_light",
"asctime": "2023-02-15 07:13:38,632",
"moduleLogger": [],
"testcaseLogger": [
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441618.6333787,
"msecs": 633.3787441253662,
"relativeCreated": 15636.89398765564,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:38,633",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441618.6330726,
"msecs": 633.0726146697998,
"relativeCreated": 15636.587858200073,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:38,633"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441618.6332178,
"msecs": 633.2178115844727,
"relativeCreated": 15636.733055114746,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:38,633"
}
],
"time_consumption": 0.0001609325408935547
},
{
"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": 1676441618.9353633,
"msecs": 935.3632926940918,
"relativeCreated": 15938.878536224365,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing switching device state to 'True'",
"asctime": "2023-02-15 07:13:38,935",
"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": 1676441618.6336567,
"msecs": 633.6567401885986,
"relativeCreated": 15637.171983718872,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffe/livingroom/main_light/relay/0 and payload on",
"asctime": "2023-02-15 07:13:38,633"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441618.634286,
"msecs": 634.2859268188477,
"relativeCreated": 15637.801170349121,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:38,634"
},
{
"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": 1676441618.6354935,
"msecs": 635.4935169219971,
"relativeCreated": 15639.00876045227,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffe/livingroom/main_light/relay/0 and payload b'on'",
"asctime": "2023-02-15 07:13:38,635"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441618.6363544,
"msecs": 636.3544464111328,
"relativeCreated": 15639.869689941406,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:38,636"
},
{
"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": 1676441618.6787302,
"msecs": 678.7302494049072,
"relativeCreated": 15682.24549293518,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"state\": \"on\"}'",
"asctime": "2023-02-15 07:13:38,678"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441618.6792307,
"msecs": 679.2306900024414,
"relativeCreated": 15682.745933532715,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:38,679"
},
{
"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": 1676441618.679636,
"msecs": 679.6360015869141,
"relativeCreated": 15683.151245117188,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"state\": \"on\"}'",
"asctime": "2023-02-15 07:13:38,679"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441618.679977,
"msecs": 679.9769401550293,
"relativeCreated": 15683.492183685303,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:38,679"
},
{
"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": 1676441618.680376,
"msecs": 680.3760528564453,
"relativeCreated": 15683.891296386719,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"state\": \"on\"}'",
"asctime": "2023-02-15 07:13:38,680"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441618.6807113,
"msecs": 680.7112693786621,
"relativeCreated": 15684.226512908936,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:38,680"
},
{
"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": 1676441618.6810257,
"msecs": 681.0257434844971,
"relativeCreated": 15684.54098701477,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"state\": \"on\"}'",
"asctime": "2023-02-15 07:13:38,681"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441618.6812832,
"msecs": 681.2832355499268,
"relativeCreated": 15684.7984790802,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:38,681"
},
{
"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": 1676441618.6815767,
"msecs": 681.5767288208008,
"relativeCreated": 15685.091972351074,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"state\": \"on\"}'",
"asctime": "2023-02-15 07:13:38,681"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441618.6818368,
"msecs": 681.8368434906006,
"relativeCreated": 15685.352087020874,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:38,681"
},
{
"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": 1676441618.6820893,
"msecs": 682.0893287658691,
"relativeCreated": 15685.604572296143,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"state\": \"on\"}'",
"asctime": "2023-02-15 07:13:38,682"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441618.6823504,
"msecs": 682.3503971099854,
"relativeCreated": 15685.865640640259,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:38,682"
},
{
"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": 1676441618.6826534,
"msecs": 682.6534271240234,
"relativeCreated": 15686.168670654297,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/livingroom/main_light/state and payload b'true'",
"asctime": "2023-02-15 07:13:38,682"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441618.6829782,
"msecs": 682.9781532287598,
"relativeCreated": 15686.493396759033,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:38,682"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441618.6833022,
"msecs": 683.3021640777588,
"relativeCreated": 15686.817407608032,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:38,683"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441618.683608,
"msecs": 683.6080551147461,
"relativeCreated": 15687.12329864502,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:38,683"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441618.683907,
"msecs": 683.9070320129395,
"relativeCreated": 15687.422275543213,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:38,683"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441618.6841955,
"msecs": 684.1955184936523,
"relativeCreated": 15687.710762023926,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:38,684"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441618.6844952,
"msecs": 684.495210647583,
"relativeCreated": 15688.010454177856,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:38,684"
},
{
"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": 1676441618.7268255,
"msecs": 726.825475692749,
"relativeCreated": 15730.340719223022,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'true'",
"asctime": "2023-02-15 07:13:38,726"
}
],
"time_consumption": 0.20853781700134277
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441618.9360576,
"msecs": 936.0575675964355,
"relativeCreated": 15939.572811126709,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:38,936",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441618.935782,
"msecs": 935.7819557189941,
"relativeCreated": 15939.297199249268,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:38,935"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441618.9359498,
"msecs": 935.9498023986816,
"relativeCreated": 15939.465045928955,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:38,935"
}
],
"time_consumption": 0.00010776519775390625
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441618.936409,
"msecs": 936.4089965820312,
"relativeCreated": 15939.924240112305,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:38,936",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441618.9362285,
"msecs": 936.2285137176514,
"relativeCreated": 15939.743757247925,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:38,936"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441618.9363234,
"msecs": 936.3234043121338,
"relativeCreated": 15939.838647842407,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:38,936"
}
],
"time_consumption": 8.559226989746094e-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": 1676441619.237602,
"msecs": 237.60199546813965,
"relativeCreated": 16241.117238998413,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device state to 'False'",
"asctime": "2023-02-15 07:13:39,237",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.state.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffe/livingroom/main_light/state/set",
"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": 1676441618.9366932,
"msecs": 936.6931915283203,
"relativeCreated": 15940.208435058594,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffe/livingroom/main_light/state/set and payload false",
"asctime": "2023-02-15 07:13:38,936"
},
{
"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": 1676441618.9395993,
"msecs": 939.5992755889893,
"relativeCreated": 15943.114519119263,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffe/livingroom/main_light/relay/0/command and payload b'off'",
"asctime": "2023-02-15 07:13:38,939"
},
{
"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": 1676441618.9401252,
"msecs": 940.1252269744873,
"relativeCreated": 15943.64047050476,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffe/livingroom/main_light/relay/0 and payload off",
"asctime": "2023-02-15 07:13:38,940"
},
{
"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": 1676441618.9411318,
"msecs": 941.1318302154541,
"relativeCreated": 15944.647073745728,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffe/livingroom/main_light/relay/0 and payload b'off'",
"asctime": "2023-02-15 07:13:38,941"
},
{
"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": 1676441618.9885614,
"msecs": 988.5613918304443,
"relativeCreated": 15992.076635360718,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:38,988"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441618.9887981,
"msecs": 988.7981414794922,
"relativeCreated": 15992.313385009766,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:38,988"
},
{
"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": 1676441618.9889803,
"msecs": 988.9802932739258,
"relativeCreated": 15992.4955368042,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:38,988"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441618.9891348,
"msecs": 989.1347885131836,
"relativeCreated": 15992.650032043457,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:38,989"
},
{
"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": 1676441618.9893348,
"msecs": 989.3348217010498,
"relativeCreated": 15992.850065231323,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:38,989"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441618.9894862,
"msecs": 989.4862174987793,
"relativeCreated": 15993.001461029053,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:38,989"
},
{
"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": 1676441618.989637,
"msecs": 989.6368980407715,
"relativeCreated": 15993.152141571045,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:38,989"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441618.9897895,
"msecs": 989.7894859313965,
"relativeCreated": 15993.30472946167,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:38,989"
},
{
"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": 1676441618.9899719,
"msecs": 989.9718761444092,
"relativeCreated": 15993.487119674683,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:38,989"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441618.9901211,
"msecs": 990.1211261749268,
"relativeCreated": 15993.6363697052,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:38,990"
},
{
"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": 1676441618.9902756,
"msecs": 990.2756214141846,
"relativeCreated": 15993.790864944458,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:38,990"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441618.9904253,
"msecs": 990.4253482818604,
"relativeCreated": 15993.940591812134,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:38,990"
},
{
"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": 1676441618.990601,
"msecs": 990.6010627746582,
"relativeCreated": 15994.116306304932,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/livingroom/main_light/state and payload b'false'",
"asctime": "2023-02-15 07:13:38,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\": \"off\", \"brightness\": 127.0, \"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": 1676441618.9907873,
"msecs": 990.7872676849365,
"relativeCreated": 15994.30251121521,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:38,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\": \"off\", \"brightness\": 127.0, \"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": 1676441618.9909542,
"msecs": 990.9541606903076,
"relativeCreated": 15994.469404220581,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:38,990"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441618.9911194,
"msecs": 991.119384765625,
"relativeCreated": 15994.634628295898,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:38,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\": \"off\", \"brightness\": 127.0, \"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": 1676441618.9912972,
"msecs": 991.2972450256348,
"relativeCreated": 15994.812488555908,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:38,991"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441618.991449,
"msecs": 991.4491176605225,
"relativeCreated": 15994.964361190796,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:38,991"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441618.9915996,
"msecs": 991.5995597839355,
"relativeCreated": 15995.114803314209,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:38,991"
},
{
"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": 1676441619.0347784,
"msecs": 34.77835655212402,
"relativeCreated": 16038.293600082397,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'false'",
"asctime": "2023-02-15 07:13:39,034"
}
],
"time_consumption": 0.20282363891601562
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441619.2383451,
"msecs": 238.34514617919922,
"relativeCreated": 16241.860389709473,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:39,238",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441619.2380672,
"msecs": 238.0671501159668,
"relativeCreated": 16241.58239364624,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:39,238"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441619.2382233,
"msecs": 238.22331428527832,
"relativeCreated": 16241.738557815552,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:39,238"
}
],
"time_consumption": 0.00012183189392089844
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441619.2388108,
"msecs": 238.81077766418457,
"relativeCreated": 16242.326021194458,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:39,238",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441619.238591,
"msecs": 238.59095573425293,
"relativeCreated": 16242.106199264526,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:39,238"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441619.2387094,
"msecs": 238.7094497680664,
"relativeCreated": 16242.22469329834,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:39,238"
}
],
"time_consumption": 0.00010132789611816406
},
{
"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": 1676441619.5406427,
"msecs": 540.6427383422852,
"relativeCreated": 16544.15798187256,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing switching device state to 'True'",
"asctime": "2023-02-15 07:13:39,540",
"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": 1676441619.239137,
"msecs": 239.1369342803955,
"relativeCreated": 16242.652177810669,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffe/livingroom/main_light/relay/0 and payload on",
"asctime": "2023-02-15 07:13:39,239"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441619.239757,
"msecs": 239.75706100463867,
"relativeCreated": 16243.272304534912,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:39,239"
},
{
"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": 1676441619.2408695,
"msecs": 240.86952209472656,
"relativeCreated": 16244.384765625,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffe/livingroom/main_light/relay/0 and payload b'on'",
"asctime": "2023-02-15 07:13:39,240"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441619.2417052,
"msecs": 241.70517921447754,
"relativeCreated": 16245.220422744751,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:39,241"
},
{
"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": 1676441619.2828753,
"msecs": 282.87529945373535,
"relativeCreated": 16286.390542984009,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"state\": \"on\"}'",
"asctime": "2023-02-15 07:13:39,282"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441619.2831132,
"msecs": 283.1132411956787,
"relativeCreated": 16286.628484725952,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:39,283"
},
{
"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": 1676441619.2833295,
"msecs": 283.3294868469238,
"relativeCreated": 16286.844730377197,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"state\": \"on\"}'",
"asctime": "2023-02-15 07:13:39,283"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441619.2835035,
"msecs": 283.50353240966797,
"relativeCreated": 16287.018775939941,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:39,283"
},
{
"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": 1676441619.2837405,
"msecs": 283.7405204772949,
"relativeCreated": 16287.255764007568,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"state\": \"on\"}'",
"asctime": "2023-02-15 07:13:39,283"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441619.2839193,
"msecs": 283.9193344116211,
"relativeCreated": 16287.434577941895,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:39,283"
},
{
"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": 1676441619.2840762,
"msecs": 284.0762138366699,
"relativeCreated": 16287.591457366943,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"state\": \"on\"}'",
"asctime": "2023-02-15 07:13:39,284"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441619.284207,
"msecs": 284.2071056365967,
"relativeCreated": 16287.72234916687,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:39,284"
},
{
"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": 1676441619.2843723,
"msecs": 284.37232971191406,
"relativeCreated": 16287.887573242188,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"state\": \"on\"}'",
"asctime": "2023-02-15 07:13:39,284"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441619.2845016,
"msecs": 284.5015525817871,
"relativeCreated": 16288.01679611206,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:39,284"
},
{
"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": 1676441619.2846286,
"msecs": 284.62862968444824,
"relativeCreated": 16288.143873214722,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"state\": \"on\"}'",
"asctime": "2023-02-15 07:13:39,284"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441619.284759,
"msecs": 284.7590446472168,
"relativeCreated": 16288.27428817749,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:39,284"
},
{
"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": 1676441619.284922,
"msecs": 284.92188453674316,
"relativeCreated": 16288.437128067017,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/livingroom/main_light/state and payload b'true'",
"asctime": "2023-02-15 07:13:39,284"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441619.2850857,
"msecs": 285.08567810058594,
"relativeCreated": 16288.60092163086,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:39,285"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441619.2852416,
"msecs": 285.24160385131836,
"relativeCreated": 16288.756847381592,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:39,285"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441619.285388,
"msecs": 285.3879928588867,
"relativeCreated": 16288.90323638916,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:39,285"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441619.2855308,
"msecs": 285.53080558776855,
"relativeCreated": 16289.046049118042,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:39,285"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441619.28567,
"msecs": 285.67004203796387,
"relativeCreated": 16289.185285568237,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:39,285"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441619.2858107,
"msecs": 285.8107089996338,
"relativeCreated": 16289.325952529907,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:39,285"
},
{
"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": 1676441619.3270402,
"msecs": 327.0401954650879,
"relativeCreated": 16330.555438995361,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'true'",
"asctime": "2023-02-15 07:13:39,327"
}
],
"time_consumption": 0.21360254287719727
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441619.5412934,
"msecs": 541.2933826446533,
"relativeCreated": 16544.808626174927,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:39,541",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441619.541057,
"msecs": 541.0571098327637,
"relativeCreated": 16544.572353363037,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:39,541"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441619.5411863,
"msecs": 541.1863327026367,
"relativeCreated": 16544.70157623291,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:39,541"
}
],
"time_consumption": 0.00010704994201660156
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441619.5416455,
"msecs": 541.6455268859863,
"relativeCreated": 16545.16077041626,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:39,541",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441619.5414622,
"msecs": 541.4621829986572,
"relativeCreated": 16544.97742652893,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:39,541"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441619.541558,
"msecs": 541.558027267456,
"relativeCreated": 16545.07327079773,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:39,541"
}
],
"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": 1676441619.8432436,
"msecs": 843.2435989379883,
"relativeCreated": 16846.75884246826,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device state to 'False'",
"asctime": "2023-02-15 07:13:39,843",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.state.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffe/livingroom/main_light/state/set",
"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": 1676441619.5418887,
"msecs": 541.8887138366699,
"relativeCreated": 16545.403957366943,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffe/livingroom/main_light/state/set and payload false",
"asctime": "2023-02-15 07:13:39,541"
},
{
"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": 1676441619.545178,
"msecs": 545.1779365539551,
"relativeCreated": 16548.69318008423,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffe/livingroom/main_light/relay/0/command and payload b'off'",
"asctime": "2023-02-15 07:13:39,545"
},
{
"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": 1676441619.545704,
"msecs": 545.7038879394531,
"relativeCreated": 16549.219131469727,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffe/livingroom/main_light/relay/0 and payload off",
"asctime": "2023-02-15 07:13:39,545"
},
{
"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": 1676441619.5467176,
"msecs": 546.717643737793,
"relativeCreated": 16550.232887268066,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffe/livingroom/main_light/relay/0 and payload b'off'",
"asctime": "2023-02-15 07:13:39,546"
},
{
"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": 1676441619.5922062,
"msecs": 592.2062397003174,
"relativeCreated": 16595.72148323059,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:39,592"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441619.5924442,
"msecs": 592.4441814422607,
"relativeCreated": 16595.959424972534,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:39,592"
},
{
"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": 1676441619.5926135,
"msecs": 592.6134586334229,
"relativeCreated": 16596.128702163696,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:39,592"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441619.5927527,
"msecs": 592.7526950836182,
"relativeCreated": 16596.26793861389,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:39,592"
},
{
"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": 1676441619.5929296,
"msecs": 592.9296016693115,
"relativeCreated": 16596.444845199585,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:39,592"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441619.5930684,
"msecs": 593.0683612823486,
"relativeCreated": 16596.583604812622,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:39,593"
},
{
"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": 1676441619.5932066,
"msecs": 593.2066440582275,
"relativeCreated": 16596.7218875885,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:39,593"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441619.593344,
"msecs": 593.34397315979,
"relativeCreated": 16596.859216690063,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:39,593"
},
{
"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": 1676441619.5935106,
"msecs": 593.510627746582,
"relativeCreated": 16597.025871276855,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:39,593"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441619.5936491,
"msecs": 593.64914894104,
"relativeCreated": 16597.164392471313,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:39,593"
},
{
"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": 1676441619.5937836,
"msecs": 593.7836170196533,
"relativeCreated": 16597.298860549927,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:39,593"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441619.5939202,
"msecs": 593.9202308654785,
"relativeCreated": 16597.435474395752,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:39,593"
},
{
"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": 1676441619.594084,
"msecs": 594.0840244293213,
"relativeCreated": 16597.599267959595,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/livingroom/main_light/state and payload b'false'",
"asctime": "2023-02-15 07:13:39,594"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441619.5942628,
"msecs": 594.2628383636475,
"relativeCreated": 16597.77808189392,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:39,594"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441619.5944273,
"msecs": 594.4273471832275,
"relativeCreated": 16597.9425907135,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:39,594"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441619.5945835,
"msecs": 594.5835113525391,
"relativeCreated": 16598.098754882812,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:39,594"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441619.5947347,
"msecs": 594.7346687316895,
"relativeCreated": 16598.249912261963,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:39,594"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441619.5948977,
"msecs": 594.8977470397949,
"relativeCreated": 16598.41299057007,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:39,594"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441619.595041,
"msecs": 595.041036605835,
"relativeCreated": 16598.55628013611,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:39,595"
},
{
"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": 1676441619.6390443,
"msecs": 639.0442848205566,
"relativeCreated": 16642.55952835083,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'false'",
"asctime": "2023-02-15 07:13:39,639"
}
],
"time_consumption": 0.20419931411743164
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441619.8439393,
"msecs": 843.9393043518066,
"relativeCreated": 16847.45454788208,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:39,843",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441619.8436668,
"msecs": 843.6667919158936,
"relativeCreated": 16847.182035446167,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:39,843"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441619.8438022,
"msecs": 843.8022136688232,
"relativeCreated": 16847.317457199097,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:39,843"
}
],
"time_consumption": 0.00013709068298339844
}
],
"time_consumption": 1.2111480236053467,
"time_start": "2023-02-15 07:13:38,632",
"time_finished": "2023-02-15 07:13:39,843"
},
"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": 1676441619.8444662,
"msecs": 844.4662094116211,
"relativeCreated": 16847.981452941895,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Brightness synchronisation test: videv/ffe/livingroom/floorlamp",
"asctime": "2023-02-15 07:13:39,844",
"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": 1676441620.1461914,
"msecs": 146.19135856628418,
"relativeCreated": 17149.706602096558,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Setting preconditions for master device 'True' (Power on)",
"asctime": "2023-02-15 07:13:40,146",
"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": 1676441619.844747,
"msecs": 844.7470664978027,
"relativeCreated": 16848.262310028076,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffe/livingroom/main_light/relay/0 and payload on",
"asctime": "2023-02-15 07:13:39,844"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441619.8452945,
"msecs": 845.2944755554199,
"relativeCreated": 16848.809719085693,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:39,845"
},
{
"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": 1676441619.8462796,
"msecs": 846.2796211242676,
"relativeCreated": 16849.79486465454,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffe/livingroom/main_light/relay/0 and payload b'on'",
"asctime": "2023-02-15 07:13:39,846"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441619.8470342,
"msecs": 847.034215927124,
"relativeCreated": 16850.549459457397,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:39,847"
},
{
"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": 1676441619.8869693,
"msecs": 886.9693279266357,
"relativeCreated": 16890.48457145691,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"state\": \"on\"}'",
"asctime": "2023-02-15 07:13:39,886"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441619.8876493,
"msecs": 887.6492977142334,
"relativeCreated": 16891.164541244507,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:39,887"
},
{
"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": 1676441619.8882437,
"msecs": 888.2436752319336,
"relativeCreated": 16891.758918762207,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"state\": \"on\"}'",
"asctime": "2023-02-15 07:13:39,888"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441619.888761,
"msecs": 888.761043548584,
"relativeCreated": 16892.276287078857,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:39,888"
},
{
"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": 1676441619.8894658,
"msecs": 889.4658088684082,
"relativeCreated": 16892.98105239868,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"state\": \"on\"}'",
"asctime": "2023-02-15 07:13:39,889"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441619.890096,
"msecs": 890.0959491729736,
"relativeCreated": 16893.611192703247,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:39,890"
},
{
"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": 1676441619.8906834,
"msecs": 890.6834125518799,
"relativeCreated": 16894.198656082153,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"state\": \"on\"}'",
"asctime": "2023-02-15 07:13:39,890"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441619.8912017,
"msecs": 891.2017345428467,
"relativeCreated": 16894.71697807312,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:39,891"
},
{
"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": 1676441619.8919778,
"msecs": 891.9777870178223,
"relativeCreated": 16895.493030548096,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"state\": \"on\"}'",
"asctime": "2023-02-15 07:13:39,891"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441619.8921213,
"msecs": 892.1213150024414,
"relativeCreated": 16895.636558532715,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:39,892"
},
{
"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": 1676441619.8922617,
"msecs": 892.2617435455322,
"relativeCreated": 16895.776987075806,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"state\": \"on\"}'",
"asctime": "2023-02-15 07:13:39,892"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441619.892399,
"msecs": 892.3990726470947,
"relativeCreated": 16895.914316177368,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:39,892"
},
{
"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": 1676441619.8925667,
"msecs": 892.5666809082031,
"relativeCreated": 16896.081924438477,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/livingroom/main_light/state and payload b'true'",
"asctime": "2023-02-15 07:13:39,892"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441619.8927407,
"msecs": 892.7407264709473,
"relativeCreated": 16896.25597000122,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:39,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\": \"on\", \"brightness\": 127.0, \"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": 1676441619.892901,
"msecs": 892.9009437561035,
"relativeCreated": 16896.416187286377,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:39,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\": \"on\", \"brightness\": 127.0, \"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": 1676441619.8930566,
"msecs": 893.0566310882568,
"relativeCreated": 16896.57187461853,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:39,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\": \"on\", \"brightness\": 127.0, \"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": 1676441619.8932152,
"msecs": 893.2151794433594,
"relativeCreated": 16896.730422973633,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:39,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\": \"on\", \"brightness\": 127.0, \"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": 1676441619.8933668,
"msecs": 893.366813659668,
"relativeCreated": 16896.88205718994,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:39,893"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441619.8935184,
"msecs": 893.5184478759766,
"relativeCreated": 16897.03369140625,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:39,893"
},
{
"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": 1676441619.9350343,
"msecs": 935.0342750549316,
"relativeCreated": 16938.549518585205,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'true'",
"asctime": "2023-02-15 07:13:39,935"
}
],
"time_consumption": 0.21115708351135254
},
{
"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": 1676441620.4478233,
"msecs": 447.82328605651855,
"relativeCreated": 17451.338529586792,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing master device brightness to '35'",
"asctime": "2023-02-15 07:13:40,447",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.brightness.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffe/livingroom/floorlamp/brightness/set",
"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": 1676441620.1468751,
"msecs": 146.87514305114746,
"relativeCreated": 17150.39038658142,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffe/livingroom/floorlamp/brightness/set and payload 35",
"asctime": "2023-02-15 07:13:40,146"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441620.152739,
"msecs": 152.7390480041504,
"relativeCreated": 17156.254291534424,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"brightness\": 90}'",
"asctime": "2023-02-15 07:13:40,152"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441620.1533186,
"msecs": 153.3186435699463,
"relativeCreated": 17156.83388710022,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:40,153"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441620.153496,
"msecs": 153.49602699279785,
"relativeCreated": 17157.01127052307,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"brightness\": 90}'",
"asctime": "2023-02-15 07:13:40,153"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441620.1536555,
"msecs": 153.6555290222168,
"relativeCreated": 17157.17077255249,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:40,153"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441620.1538572,
"msecs": 153.85723114013672,
"relativeCreated": 17157.37247467041,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"brightness\": 90}'",
"asctime": "2023-02-15 07:13:40,153"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441620.154017,
"msecs": 154.01697158813477,
"relativeCreated": 17157.53221511841,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:40,154"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441620.1541789,
"msecs": 154.17885780334473,
"relativeCreated": 17157.694101333618,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"brightness\": 90}'",
"asctime": "2023-02-15 07:13:40,154"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441620.1543336,
"msecs": 154.33359146118164,
"relativeCreated": 17157.848834991455,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:40,154"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441620.1545496,
"msecs": 154.54959869384766,
"relativeCreated": 17158.06484222412,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"brightness\": 90}'",
"asctime": "2023-02-15 07:13:40,154"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441620.1547096,
"msecs": 154.7095775604248,
"relativeCreated": 17158.2248210907,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:40,154"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441620.1548727,
"msecs": 154.87265586853027,
"relativeCreated": 17158.387899398804,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"brightness\": 90}'",
"asctime": "2023-02-15 07:13:40,154"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441620.155029,
"msecs": 155.0290584564209,
"relativeCreated": 17158.544301986694,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:40,155"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441620.1552184,
"msecs": 155.21836280822754,
"relativeCreated": 17158.7336063385,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:40,155"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441620.1554158,
"msecs": 155.41577339172363,
"relativeCreated": 17158.931016921997,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:40,155"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441620.1556013,
"msecs": 155.60126304626465,
"relativeCreated": 17159.116506576538,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:40,155"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441620.1557817,
"msecs": 155.78174591064453,
"relativeCreated": 17159.296989440918,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:40,155"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441620.155961,
"msecs": 155.9610366821289,
"relativeCreated": 17159.476280212402,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:40,155"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441620.156138,
"msecs": 156.13794326782227,
"relativeCreated": 17159.653186798096,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:40,156"
},
{
"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": 1676441620.1987617,
"msecs": 198.7617015838623,
"relativeCreated": 17202.276945114136,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/livingroom/floorlamp/brightness and payload b'35'",
"asctime": "2023-02-15 07:13:40,198"
}
],
"time_consumption": 0.24906158447265625
},
{
"name": "__tLogger__",
"msg": "Follower device (zigbee/ffe/livingroom/floorlamp_1) brightness is correct (Content %s and Type is %s).",
"args": [
"35",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441620.448519,
"msecs": 448.5189914703369,
"relativeCreated": 17452.03423500061,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Follower device (zigbee/ffe/livingroom/floorlamp_1) brightness is correct (Content 35 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:40,448",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_1) brightness",
"35",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441620.4482396,
"msecs": 448.2395648956299,
"relativeCreated": 17451.754808425903,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_1) brightness): 35 (<class 'int'>)",
"asctime": "2023-02-15 07:13:40,448"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_1) brightness",
"=",
"35",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441620.4483743,
"msecs": 448.37427139282227,
"relativeCreated": 17451.889514923096,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_1) brightness): result = 35 (<class 'int'>)",
"asctime": "2023-02-15 07:13:40,448"
}
],
"time_consumption": 0.00014472007751464844
},
{
"name": "__tLogger__",
"msg": "Follower device (zigbee/ffe/livingroom/floorlamp_2) brightness is correct (Content %s and Type is %s).",
"args": [
"35",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441620.448895,
"msecs": 448.8949775695801,
"relativeCreated": 17452.410221099854,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Follower device (zigbee/ffe/livingroom/floorlamp_2) brightness is correct (Content 35 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:40,448",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_2) brightness",
"35",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441620.4486957,
"msecs": 448.6956596374512,
"relativeCreated": 17452.210903167725,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_2) brightness): 35 (<class 'int'>)",
"asctime": "2023-02-15 07:13:40,448"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_2) brightness",
"=",
"35",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441620.448806,
"msecs": 448.8060474395752,
"relativeCreated": 17452.32129096985,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_2) brightness): result = 35 (<class 'int'>)",
"asctime": "2023-02-15 07:13:40,448"
}
],
"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": [
"35",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441620.44922,
"msecs": 449.2199420928955,
"relativeCreated": 17452.73518562317,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Follower device (zigbee/ffe/livingroom/floorlamp_3) brightness is correct (Content 35 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:40,449",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_3) brightness",
"35",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441620.449048,
"msecs": 449.0480422973633,
"relativeCreated": 17452.563285827637,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_3) brightness): 35 (<class 'int'>)",
"asctime": "2023-02-15 07:13:40,449"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_3) brightness",
"=",
"35",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441620.4491374,
"msecs": 449.13744926452637,
"relativeCreated": 17452.6526927948,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_3) brightness): result = 35 (<class 'int'>)",
"asctime": "2023-02-15 07:13:40,449"
}
],
"time_consumption": 8.249282836914062e-05
},
{
"name": "__tLogger__",
"msg": "Follower device (zigbee/ffe/livingroom/floorlamp_4) brightness is correct (Content %s and Type is %s).",
"args": [
"35",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441620.4495442,
"msecs": 449.54419136047363,
"relativeCreated": 17453.059434890747,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Follower device (zigbee/ffe/livingroom/floorlamp_4) brightness is correct (Content 35 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:40,449",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_4) brightness",
"35",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441620.4493628,
"msecs": 449.36275482177734,
"relativeCreated": 17452.87799835205,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_4) brightness): 35 (<class 'int'>)",
"asctime": "2023-02-15 07:13:40,449"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_4) brightness",
"=",
"35",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441620.4494495,
"msecs": 449.4495391845703,
"relativeCreated": 17452.964782714844,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_4) brightness): result = 35 (<class 'int'>)",
"asctime": "2023-02-15 07:13:40,449"
}
],
"time_consumption": 9.465217590332031e-05
},
{
"name": "__tLogger__",
"msg": "Follower device (zigbee/ffe/livingroom/floorlamp_5) brightness is correct (Content %s and Type is %s).",
"args": [
"35",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441620.4498646,
"msecs": 449.86462593078613,
"relativeCreated": 17453.37986946106,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Follower device (zigbee/ffe/livingroom/floorlamp_5) brightness is correct (Content 35 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:40,449",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_5) brightness",
"35",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441620.4496858,
"msecs": 449.68581199645996,
"relativeCreated": 17453.201055526733,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_5) brightness): 35 (<class 'int'>)",
"asctime": "2023-02-15 07:13:40,449"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_5) brightness",
"=",
"35",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441620.4497733,
"msecs": 449.77331161499023,
"relativeCreated": 17453.288555145264,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_5) brightness): result = 35 (<class 'int'>)",
"asctime": "2023-02-15 07:13:40,449"
}
],
"time_consumption": 9.131431579589844e-05
},
{
"name": "__tLogger__",
"msg": "Follower device (zigbee/ffe/livingroom/floorlamp_6) brightness is correct (Content %s and Type is %s).",
"args": [
"35",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441620.4501908,
"msecs": 450.19078254699707,
"relativeCreated": 17453.70602607727,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Follower device (zigbee/ffe/livingroom/floorlamp_6) brightness is correct (Content 35 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:40,450",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_6) brightness",
"35",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441620.4500072,
"msecs": 450.00720024108887,
"relativeCreated": 17453.522443771362,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_6) brightness): 35 (<class 'int'>)",
"asctime": "2023-02-15 07:13:40,450"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_6) brightness",
"=",
"35",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441620.450106,
"msecs": 450.1059055328369,
"relativeCreated": 17453.62114906311,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_6) brightness): result = 35 (<class 'int'>)",
"asctime": "2023-02-15 07:13:40,450"
}
],
"time_consumption": 8.487701416015625e-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": 1676441620.7515185,
"msecs": 751.5184879302979,
"relativeCreated": 17755.03373146057,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing master device brightness to '50'",
"asctime": "2023-02-15 07:13:40,751",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.brightness.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffe/livingroom/floorlamp/brightness/set",
"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": 1676441620.450457,
"msecs": 450.4570960998535,
"relativeCreated": 17453.972339630127,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffe/livingroom/floorlamp/brightness/set and payload 50",
"asctime": "2023-02-15 07:13:40,450"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441620.4553947,
"msecs": 455.3947448730469,
"relativeCreated": 17458.90998840332,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"brightness\": 128}'",
"asctime": "2023-02-15 07:13:40,455"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441620.455988,
"msecs": 455.98793029785156,
"relativeCreated": 17459.503173828125,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:40,455"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441620.4565737,
"msecs": 456.5737247467041,
"relativeCreated": 17460.088968276978,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"brightness\": 128}'",
"asctime": "2023-02-15 07:13:40,456"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441620.4570835,
"msecs": 457.08346366882324,
"relativeCreated": 17460.598707199097,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:40,457"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441620.4577453,
"msecs": 457.7453136444092,
"relativeCreated": 17461.260557174683,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"brightness\": 128}'",
"asctime": "2023-02-15 07:13:40,457"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441620.4582481,
"msecs": 458.2481384277344,
"relativeCreated": 17461.763381958008,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:40,458"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441620.4588094,
"msecs": 458.80937576293945,
"relativeCreated": 17462.324619293213,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"brightness\": 128}'",
"asctime": "2023-02-15 07:13:40,458"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441620.4593227,
"msecs": 459.3226909637451,
"relativeCreated": 17462.83793449402,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:40,459"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441620.4599793,
"msecs": 459.9792957305908,
"relativeCreated": 17463.494539260864,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"brightness\": 128}'",
"asctime": "2023-02-15 07:13:40,459"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441620.4604912,
"msecs": 460.4911804199219,
"relativeCreated": 17464.006423950195,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:40,460"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441620.4608862,
"msecs": 460.88624000549316,
"relativeCreated": 17464.401483535767,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"brightness\": 128}'",
"asctime": "2023-02-15 07:13:40,460"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441620.4610124,
"msecs": 461.0123634338379,
"relativeCreated": 17464.52760696411,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:40,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\": \"on\", \"brightness\": 127.0, \"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": 1676441620.4611638,
"msecs": 461.1637592315674,
"relativeCreated": 17464.67900276184,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:40,461"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441620.461317,
"msecs": 461.3170623779297,
"relativeCreated": 17464.832305908203,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:40,461"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441620.4614635,
"msecs": 461.46345138549805,
"relativeCreated": 17464.97869491577,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:40,461"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441620.4616075,
"msecs": 461.6074562072754,
"relativeCreated": 17465.12269973755,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:40,461"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441620.4617496,
"msecs": 461.7495536804199,
"relativeCreated": 17465.264797210693,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:40,461"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441620.4618902,
"msecs": 461.89022064208984,
"relativeCreated": 17465.405464172363,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:40,461"
},
{
"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": 1676441620.5027604,
"msecs": 502.7604103088379,
"relativeCreated": 17506.27565383911,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/livingroom/floorlamp/brightness and payload b'50'",
"asctime": "2023-02-15 07:13:40,502"
}
],
"time_consumption": 0.24875807762145996
},
{
"name": "__tLogger__",
"msg": "Follower device (zigbee/ffe/livingroom/floorlamp_1) brightness is correct (Content %s and Type is %s).",
"args": [
"50",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441620.752329,
"msecs": 752.3291110992432,
"relativeCreated": 17755.844354629517,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Follower device (zigbee/ffe/livingroom/floorlamp_1) brightness is correct (Content 50 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:40,752",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_1) brightness",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441620.7520041,
"msecs": 752.0041465759277,
"relativeCreated": 17755.5193901062,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_1) brightness): 50 (<class 'int'>)",
"asctime": "2023-02-15 07:13:40,752"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_1) brightness",
"=",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441620.7521985,
"msecs": 752.1984577178955,
"relativeCreated": 17755.71370124817,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_1) brightness): result = 50 (<class 'int'>)",
"asctime": "2023-02-15 07:13:40,752"
}
],
"time_consumption": 0.00013065338134765625
},
{
"name": "__tLogger__",
"msg": "Follower device (zigbee/ffe/livingroom/floorlamp_2) brightness is correct (Content %s and Type is %s).",
"args": [
"50",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441620.7527475,
"msecs": 752.7475357055664,
"relativeCreated": 17756.26277923584,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Follower device (zigbee/ffe/livingroom/floorlamp_2) brightness is correct (Content 50 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:40,752",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_2) brightness",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441620.7525315,
"msecs": 752.5315284729004,
"relativeCreated": 17756.046772003174,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_2) brightness): 50 (<class 'int'>)",
"asctime": "2023-02-15 07:13:40,752"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_2) brightness",
"=",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441620.7526448,
"msecs": 752.6447772979736,
"relativeCreated": 17756.160020828247,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_2) brightness): result = 50 (<class 'int'>)",
"asctime": "2023-02-15 07:13:40,752"
}
],
"time_consumption": 0.00010275840759277344
},
{
"name": "__tLogger__",
"msg": "Follower device (zigbee/ffe/livingroom/floorlamp_3) brightness is correct (Content %s and Type is %s).",
"args": [
"50",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441620.7531247,
"msecs": 753.1247138977051,
"relativeCreated": 17756.63995742798,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Follower device (zigbee/ffe/livingroom/floorlamp_3) brightness is correct (Content 50 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:40,753",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_3) brightness",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441620.7529225,
"msecs": 752.922534942627,
"relativeCreated": 17756.4377784729,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_3) brightness): 50 (<class 'int'>)",
"asctime": "2023-02-15 07:13:40,752"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_3) brightness",
"=",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441620.7530277,
"msecs": 753.0276775360107,
"relativeCreated": 17756.542921066284,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_3) brightness): result = 50 (<class 'int'>)",
"asctime": "2023-02-15 07:13:40,753"
}
],
"time_consumption": 9.703636169433594e-05
},
{
"name": "__tLogger__",
"msg": "Follower device (zigbee/ffe/livingroom/floorlamp_4) brightness is correct (Content %s and Type is %s).",
"args": [
"50",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441620.753529,
"msecs": 753.5290718078613,
"relativeCreated": 17757.044315338135,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Follower device (zigbee/ffe/livingroom/floorlamp_4) brightness is correct (Content 50 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:40,753",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_4) brightness",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441620.7533126,
"msecs": 753.3125877380371,
"relativeCreated": 17756.82783126831,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_4) brightness): 50 (<class 'int'>)",
"asctime": "2023-02-15 07:13:40,753"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_4) brightness",
"=",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441620.7534208,
"msecs": 753.4208297729492,
"relativeCreated": 17756.936073303223,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_4) brightness): result = 50 (<class 'int'>)",
"asctime": "2023-02-15 07:13:40,753"
}
],
"time_consumption": 0.00010824203491210938
},
{
"name": "__tLogger__",
"msg": "Follower device (zigbee/ffe/livingroom/floorlamp_5) brightness is correct (Content %s and Type is %s).",
"args": [
"50",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441620.7539067,
"msecs": 753.9067268371582,
"relativeCreated": 17757.42197036743,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Follower device (zigbee/ffe/livingroom/floorlamp_5) brightness is correct (Content 50 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:40,753",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_5) brightness",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441620.7536943,
"msecs": 753.6942958831787,
"relativeCreated": 17757.209539413452,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_5) brightness): 50 (<class 'int'>)",
"asctime": "2023-02-15 07:13:40,753"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_5) brightness",
"=",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441620.7537975,
"msecs": 753.7975311279297,
"relativeCreated": 17757.312774658203,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_5) brightness): result = 50 (<class 'int'>)",
"asctime": "2023-02-15 07:13:40,753"
}
],
"time_consumption": 0.00010919570922851562
},
{
"name": "__tLogger__",
"msg": "Follower device (zigbee/ffe/livingroom/floorlamp_6) brightness is correct (Content %s and Type is %s).",
"args": [
"50",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441620.7542846,
"msecs": 754.2846202850342,
"relativeCreated": 17757.799863815308,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Follower device (zigbee/ffe/livingroom/floorlamp_6) brightness is correct (Content 50 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:40,754",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_6) brightness",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441620.7540867,
"msecs": 754.0867328643799,
"relativeCreated": 17757.601976394653,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_6) brightness): 50 (<class 'int'>)",
"asctime": "2023-02-15 07:13:40,754"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_6) brightness",
"=",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441620.754191,
"msecs": 754.1909217834473,
"relativeCreated": 17757.70616531372,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_6) brightness): result = 50 (<class 'int'>)",
"asctime": "2023-02-15 07:13:40,754"
}
],
"time_consumption": 9.369850158691406e-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": 1676441621.0555713,
"msecs": 55.57131767272949,
"relativeCreated": 18059.086561203003,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Resetting preconditions for master device 'False' (Power off)",
"asctime": "2023-02-15 07:13:41,055",
"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": 1676441620.7545986,
"msecs": 754.5986175537109,
"relativeCreated": 17758.113861083984,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffe/livingroom/main_light/relay/0 and payload off",
"asctime": "2023-02-15 07:13:40,754"
},
{
"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": 1676441620.7559066,
"msecs": 755.9065818786621,
"relativeCreated": 17759.421825408936,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffe/livingroom/main_light/relay/0 and payload b'off'",
"asctime": "2023-02-15 07:13:40,755"
},
{
"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": 1676441620.7610748,
"msecs": 761.0747814178467,
"relativeCreated": 17764.59002494812,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:40,761"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441620.7612667,
"msecs": 761.2667083740234,
"relativeCreated": 17764.781951904297,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:40,761"
},
{
"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": 1676441620.7614436,
"msecs": 761.4436149597168,
"relativeCreated": 17764.95885848999,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:40,761"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441620.7616053,
"msecs": 761.6052627563477,
"relativeCreated": 17765.12050628662,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:40,761"
},
{
"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": 1676441620.7618046,
"msecs": 761.8045806884766,
"relativeCreated": 17765.31982421875,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:40,761"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441620.76196,
"msecs": 761.9600296020508,
"relativeCreated": 17765.475273132324,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:40,761"
},
{
"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": 1676441620.762115,
"msecs": 762.1150016784668,
"relativeCreated": 17765.63024520874,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:40,762"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441620.762267,
"msecs": 762.2671127319336,
"relativeCreated": 17765.782356262207,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:40,762"
},
{
"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": 1676441620.7624688,
"msecs": 762.4688148498535,
"relativeCreated": 17765.984058380127,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:40,762"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441620.762629,
"msecs": 762.6290321350098,
"relativeCreated": 17766.144275665283,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:40,762"
},
{
"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": 1676441620.7627828,
"msecs": 762.7828121185303,
"relativeCreated": 17766.298055648804,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:40,762"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441620.7629344,
"msecs": 762.9344463348389,
"relativeCreated": 17766.449689865112,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:40,762"
},
{
"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": 1676441620.7631264,
"msecs": 763.1263732910156,
"relativeCreated": 17766.64161682129,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/livingroom/main_light/state and payload b'false'",
"asctime": "2023-02-15 07:13:40,763"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441620.7633147,
"msecs": 763.3147239685059,
"relativeCreated": 17766.82996749878,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:40,763"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441620.763485,
"msecs": 763.4849548339844,
"relativeCreated": 17767.000198364258,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:40,763"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441620.7636569,
"msecs": 763.6568546295166,
"relativeCreated": 17767.17209815979,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:40,763"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441620.7638192,
"msecs": 763.8192176818848,
"relativeCreated": 17767.33446121216,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:40,763"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441620.7639832,
"msecs": 763.9832496643066,
"relativeCreated": 17767.49849319458,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:40,763"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441620.764147,
"msecs": 764.1470432281494,
"relativeCreated": 17767.662286758423,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:40,764"
},
{
"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": 1676441620.806873,
"msecs": 806.873083114624,
"relativeCreated": 17810.388326644897,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'false'",
"asctime": "2023-02-15 07:13:40,806"
}
],
"time_consumption": 0.24869823455810547
}
],
"time_consumption": 1.2111051082611084,
"time_start": "2023-02-15 07:13:39,844",
"time_finished": "2023-02-15 07:13:41,055"
},
"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": 1676441621.0562675,
"msecs": 56.267499923706055,
"relativeCreated": 18059.78274345398,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Color temperature synchronisation test: videv/ffe/livingroom/floorlamp",
"asctime": "2023-02-15 07:13:41,056",
"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": 1676441621.358075,
"msecs": 358.0749034881592,
"relativeCreated": 18361.590147018433,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Setting preconditions for master device 'True' (Power on)",
"asctime": "2023-02-15 07:13:41,358",
"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": 1676441621.0565798,
"msecs": 56.5798282623291,
"relativeCreated": 18060.095071792603,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffe/livingroom/main_light/relay/0 and payload on",
"asctime": "2023-02-15 07:13:41,056"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441621.0571754,
"msecs": 57.175397872924805,
"relativeCreated": 18060.6906414032,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:41,057"
},
{
"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": 1676441621.058376,
"msecs": 58.37607383728027,
"relativeCreated": 18061.891317367554,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffe/livingroom/main_light/relay/0 and payload b'on'",
"asctime": "2023-02-15 07:13:41,058"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441621.059237,
"msecs": 59.237003326416016,
"relativeCreated": 18062.75224685669,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:41,059"
},
{
"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": 1676441621.0989504,
"msecs": 98.95038604736328,
"relativeCreated": 18102.465629577637,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"state\": \"on\"}'",
"asctime": "2023-02-15 07:13:41,098"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441621.0993724,
"msecs": 99.37238693237305,
"relativeCreated": 18102.887630462646,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:41,099"
},
{
"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": 1676441621.0998142,
"msecs": 99.81417655944824,
"relativeCreated": 18103.32942008972,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"state\": \"on\"}'",
"asctime": "2023-02-15 07:13:41,099"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441621.1006904,
"msecs": 100.69036483764648,
"relativeCreated": 18104.20560836792,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:41,100"
},
{
"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": 1676441621.1012986,
"msecs": 101.29857063293457,
"relativeCreated": 18104.813814163208,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"state\": \"on\"}'",
"asctime": "2023-02-15 07:13:41,101"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441621.1017168,
"msecs": 101.71675682067871,
"relativeCreated": 18105.232000350952,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:41,101"
},
{
"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": 1676441621.1021307,
"msecs": 102.13065147399902,
"relativeCreated": 18105.645895004272,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"state\": \"on\"}'",
"asctime": "2023-02-15 07:13:41,102"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441621.1025646,
"msecs": 102.56457328796387,
"relativeCreated": 18106.079816818237,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:41,102"
},
{
"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": 1676441621.103099,
"msecs": 103.09910774230957,
"relativeCreated": 18106.614351272583,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"state\": \"on\"}'",
"asctime": "2023-02-15 07:13:41,103"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441621.1034966,
"msecs": 103.49655151367188,
"relativeCreated": 18107.011795043945,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:41,103"
},
{
"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": 1676441621.1038935,
"msecs": 103.89351844787598,
"relativeCreated": 18107.40876197815,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"state\": \"on\"}'",
"asctime": "2023-02-15 07:13:41,103"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441621.1042888,
"msecs": 104.28881645202637,
"relativeCreated": 18107.8040599823,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:41,104"
},
{
"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": 1676441621.10477,
"msecs": 104.76994514465332,
"relativeCreated": 18108.285188674927,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/livingroom/main_light/state and payload b'true'",
"asctime": "2023-02-15 07:13:41,104"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441621.105389,
"msecs": 105.38911819458008,
"relativeCreated": 18108.904361724854,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:41,105"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441621.1059766,
"msecs": 105.97658157348633,
"relativeCreated": 18109.49182510376,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:41,105"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441621.106611,
"msecs": 106.61101341247559,
"relativeCreated": 18110.12625694275,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:41,106"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441621.107186,
"msecs": 107.18607902526855,
"relativeCreated": 18110.701322555542,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:41,107"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441621.107764,
"msecs": 107.76400566101074,
"relativeCreated": 18111.279249191284,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:41,107"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441621.1083302,
"msecs": 108.33024978637695,
"relativeCreated": 18111.84549331665,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:41,108"
},
{
"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": 1676441621.1473694,
"msecs": 147.369384765625,
"relativeCreated": 18150.8846282959,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'true'",
"asctime": "2023-02-15 07:13:41,147"
}
],
"time_consumption": 0.21070551872253418
},
{
"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": 1676441621.658692,
"msecs": 658.6918830871582,
"relativeCreated": 18662.20712661743,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing master device color temperature to '2'",
"asctime": "2023-02-15 07:13:41,658",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.color_temp.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffe/livingroom/floorlamp/color_temp/set",
"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": 1676441621.3583057,
"msecs": 358.3056926727295,
"relativeCreated": 18361.820936203003,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffe/livingroom/floorlamp/color_temp/set and payload 2",
"asctime": "2023-02-15 07:13:41,358"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441621.3602288,
"msecs": 360.2287769317627,
"relativeCreated": 18363.744020462036,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"color_temp\": 291}'",
"asctime": "2023-02-15 07:13:41,360"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441621.3604574,
"msecs": 360.4574203491211,
"relativeCreated": 18363.972663879395,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0}",
"asctime": "2023-02-15 07:13:41,360"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441621.3606594,
"msecs": 360.6593608856201,
"relativeCreated": 18364.174604415894,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"color_temp\": 291}'",
"asctime": "2023-02-15 07:13:41,360"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441621.3608246,
"msecs": 360.8245849609375,
"relativeCreated": 18364.33982849121,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0}",
"asctime": "2023-02-15 07:13:41,360"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441621.3610342,
"msecs": 361.0341548919678,
"relativeCreated": 18364.54939842224,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"color_temp\": 291}'",
"asctime": "2023-02-15 07:13:41,361"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441621.3612182,
"msecs": 361.2182140350342,
"relativeCreated": 18364.733457565308,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0}",
"asctime": "2023-02-15 07:13:41,361"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441621.3614063,
"msecs": 361.4063262939453,
"relativeCreated": 18364.92156982422,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"color_temp\": 291}'",
"asctime": "2023-02-15 07:13:41,361"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441621.361596,
"msecs": 361.59610748291016,
"relativeCreated": 18365.111351013184,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0}",
"asctime": "2023-02-15 07:13:41,361"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441621.3618243,
"msecs": 361.82427406311035,
"relativeCreated": 18365.339517593384,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"color_temp\": 291}'",
"asctime": "2023-02-15 07:13:41,361"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441621.362015,
"msecs": 362.0150089263916,
"relativeCreated": 18365.530252456665,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0}",
"asctime": "2023-02-15 07:13:41,362"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441621.3622007,
"msecs": 362.2007369995117,
"relativeCreated": 18365.715980529785,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"color_temp\": 291}'",
"asctime": "2023-02-15 07:13:41,362"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441621.3623848,
"msecs": 362.3847961425781,
"relativeCreated": 18365.90003967285,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0}",
"asctime": "2023-02-15 07:13:41,362"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441621.3626215,
"msecs": 362.621545791626,
"relativeCreated": 18366.1367893219,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0}'",
"asctime": "2023-02-15 07:13:41,362"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441621.3628464,
"msecs": 362.84637451171875,
"relativeCreated": 18366.361618041992,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0}'",
"asctime": "2023-02-15 07:13:41,362"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441621.363059,
"msecs": 363.05904388427734,
"relativeCreated": 18366.57428741455,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0}'",
"asctime": "2023-02-15 07:13:41,363"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441621.3632681,
"msecs": 363.2681369781494,
"relativeCreated": 18366.783380508423,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0}'",
"asctime": "2023-02-15 07:13:41,363"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441621.3634777,
"msecs": 363.4777069091797,
"relativeCreated": 18366.992950439453,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0}'",
"asctime": "2023-02-15 07:13:41,363"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441621.3636858,
"msecs": 363.68584632873535,
"relativeCreated": 18367.20108985901,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0}'",
"asctime": "2023-02-15 07:13:41,363"
},
{
"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": 1676441621.4067621,
"msecs": 406.76212310791016,
"relativeCreated": 18410.277366638184,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/livingroom/floorlamp/color_temp and payload b'2'",
"asctime": "2023-02-15 07:13:41,406"
}
],
"time_consumption": 0.25192975997924805
},
{
"name": "__tLogger__",
"msg": "Follower device (zigbee/ffe/livingroom/floorlamp_1) color temperature is correct (Content %s and Type is %s).",
"args": [
"2",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441621.6593442,
"msecs": 659.3441963195801,
"relativeCreated": 18662.859439849854,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Follower device (zigbee/ffe/livingroom/floorlamp_1) color temperature is correct (Content 2 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:41,659",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_1) color temperature",
"2",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441621.6590986,
"msecs": 659.0986251831055,
"relativeCreated": 18662.61386871338,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_1) color temperature): 2 (<class 'int'>)",
"asctime": "2023-02-15 07:13:41,659"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_1) color temperature",
"=",
"2",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441621.659235,
"msecs": 659.2350006103516,
"relativeCreated": 18662.750244140625,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_1) color temperature): result = 2 (<class 'int'>)",
"asctime": "2023-02-15 07:13:41,659"
}
],
"time_consumption": 0.00010919570922851562
},
{
"name": "__tLogger__",
"msg": "Follower device (zigbee/ffe/livingroom/floorlamp_2) color temperature is correct (Content %s and Type is %s).",
"args": [
"2",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441621.6597672,
"msecs": 659.7671508789062,
"relativeCreated": 18663.28239440918,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Follower device (zigbee/ffe/livingroom/floorlamp_2) color temperature is correct (Content 2 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:41,659",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_2) color temperature",
"2",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441621.6595454,
"msecs": 659.5454216003418,
"relativeCreated": 18663.060665130615,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_2) color temperature): 2 (<class 'int'>)",
"asctime": "2023-02-15 07:13:41,659"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_2) color temperature",
"=",
"2",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441621.6596456,
"msecs": 659.6455574035645,
"relativeCreated": 18663.160800933838,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_2) color temperature): result = 2 (<class 'int'>)",
"asctime": "2023-02-15 07:13:41,659"
}
],
"time_consumption": 0.00012159347534179688
},
{
"name": "__tLogger__",
"msg": "Follower device (zigbee/ffe/livingroom/floorlamp_3) color temperature is correct (Content %s and Type is %s).",
"args": [
"2",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441621.6600976,
"msecs": 660.097599029541,
"relativeCreated": 18663.612842559814,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Follower device (zigbee/ffe/livingroom/floorlamp_3) color temperature is correct (Content 2 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:41,660",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_3) color temperature",
"2",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441621.6599207,
"msecs": 659.9206924438477,
"relativeCreated": 18663.43593597412,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_3) color temperature): 2 (<class 'int'>)",
"asctime": "2023-02-15 07:13:41,659"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_3) color temperature",
"=",
"2",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441621.6600118,
"msecs": 660.0117683410645,
"relativeCreated": 18663.527011871338,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_3) color temperature): result = 2 (<class 'int'>)",
"asctime": "2023-02-15 07:13:41,660"
}
],
"time_consumption": 8.58306884765625e-05
},
{
"name": "__tLogger__",
"msg": "Follower device (zigbee/ffe/livingroom/floorlamp_4) color temperature is correct (Content %s and Type is %s).",
"args": [
"2",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441621.6604416,
"msecs": 660.4416370391846,
"relativeCreated": 18663.956880569458,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Follower device (zigbee/ffe/livingroom/floorlamp_4) color temperature is correct (Content 2 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:41,660",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_4) color temperature",
"2",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441621.6602542,
"msecs": 660.2542400360107,
"relativeCreated": 18663.769483566284,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_4) color temperature): 2 (<class 'int'>)",
"asctime": "2023-02-15 07:13:41,660"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_4) color temperature",
"=",
"2",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441621.6603458,
"msecs": 660.3457927703857,
"relativeCreated": 18663.86103630066,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_4) color temperature): result = 2 (<class 'int'>)",
"asctime": "2023-02-15 07:13:41,660"
}
],
"time_consumption": 9.584426879882812e-05
},
{
"name": "__tLogger__",
"msg": "Follower device (zigbee/ffe/livingroom/floorlamp_5) color temperature is correct (Content %s and Type is %s).",
"args": [
"2",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441621.6607678,
"msecs": 660.7677936553955,
"relativeCreated": 18664.28303718567,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Follower device (zigbee/ffe/livingroom/floorlamp_5) color temperature is correct (Content 2 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:41,660",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_5) color temperature",
"2",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441621.6605844,
"msecs": 660.5844497680664,
"relativeCreated": 18664.09969329834,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_5) color temperature): 2 (<class 'int'>)",
"asctime": "2023-02-15 07:13:41,660"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_5) color temperature",
"=",
"2",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441621.660682,
"msecs": 660.681962966919,
"relativeCreated": 18664.197206497192,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_5) color temperature): result = 2 (<class 'int'>)",
"asctime": "2023-02-15 07:13:41,660"
}
],
"time_consumption": 8.58306884765625e-05
},
{
"name": "__tLogger__",
"msg": "Follower device (zigbee/ffe/livingroom/floorlamp_6) color temperature is correct (Content %s and Type is %s).",
"args": [
"2",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441621.6610763,
"msecs": 661.0763072967529,
"relativeCreated": 18664.591550827026,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Follower device (zigbee/ffe/livingroom/floorlamp_6) color temperature is correct (Content 2 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:41,661",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_6) color temperature",
"2",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441621.6609087,
"msecs": 660.9086990356445,
"relativeCreated": 18664.423942565918,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_6) color temperature): 2 (<class 'int'>)",
"asctime": "2023-02-15 07:13:41,660"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_6) color temperature",
"=",
"2",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441621.6609945,
"msecs": 660.9945297241211,
"relativeCreated": 18664.509773254395,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_6) color temperature): result = 2 (<class 'int'>)",
"asctime": "2023-02-15 07:13:41,660"
}
],
"time_consumption": 8.177757263183594e-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": 1676441621.962414,
"msecs": 962.414026260376,
"relativeCreated": 18965.92926979065,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing master device color temperature to '5'",
"asctime": "2023-02-15 07:13:41,962",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.color_temp.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffe/livingroom/floorlamp/color_temp/set",
"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": 1676441621.6613204,
"msecs": 661.3204479217529,
"relativeCreated": 18664.835691452026,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffe/livingroom/floorlamp/color_temp/set and payload 5",
"asctime": "2023-02-15 07:13:41,661"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441621.666226,
"msecs": 666.2259101867676,
"relativeCreated": 18669.74115371704,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"color_temp\": 352}'",
"asctime": "2023-02-15 07:13:41,666"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441621.666861,
"msecs": 666.8610572814941,
"relativeCreated": 18670.376300811768,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:41,666"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441621.6674576,
"msecs": 667.4575805664062,
"relativeCreated": 18670.97282409668,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"color_temp\": 352}'",
"asctime": "2023-02-15 07:13:41,667"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441621.6679678,
"msecs": 667.9677963256836,
"relativeCreated": 18671.483039855957,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:41,667"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441621.668654,
"msecs": 668.6539649963379,
"relativeCreated": 18672.16920852661,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"color_temp\": 352}'",
"asctime": "2023-02-15 07:13:41,668"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441621.6691666,
"msecs": 669.1665649414062,
"relativeCreated": 18672.68180847168,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:41,669"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441621.66971,
"msecs": 669.7099208831787,
"relativeCreated": 18673.225164413452,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"color_temp\": 352}'",
"asctime": "2023-02-15 07:13:41,669"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441621.670212,
"msecs": 670.2120304107666,
"relativeCreated": 18673.72727394104,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:41,670"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441621.6708357,
"msecs": 670.8357334136963,
"relativeCreated": 18674.35097694397,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"color_temp\": 352}'",
"asctime": "2023-02-15 07:13:41,670"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441621.6709728,
"msecs": 670.9728240966797,
"relativeCreated": 18674.488067626953,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:41,670"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441621.671107,
"msecs": 671.1070537567139,
"relativeCreated": 18674.622297286987,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"color_temp\": 352}'",
"asctime": "2023-02-15 07:13:41,671"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441621.6712477,
"msecs": 671.2477207183838,
"relativeCreated": 18674.762964248657,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:41,671"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441621.671412,
"msecs": 671.4119911193848,
"relativeCreated": 18674.92723464966,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:41,671"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441621.67158,
"msecs": 671.5800762176514,
"relativeCreated": 18675.095319747925,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:41,671"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441621.6717396,
"msecs": 671.7395782470703,
"relativeCreated": 18675.254821777344,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:41,671"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441621.6718953,
"msecs": 671.8952655792236,
"relativeCreated": 18675.410509109497,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:41,671"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441621.6720634,
"msecs": 672.0633506774902,
"relativeCreated": 18675.578594207764,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:41,672"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441621.672211,
"msecs": 672.2109317779541,
"relativeCreated": 18675.726175308228,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:41,672"
},
{
"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": 1676441621.7149158,
"msecs": 714.9157524108887,
"relativeCreated": 18718.430995941162,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/livingroom/floorlamp/color_temp and payload b'5'",
"asctime": "2023-02-15 07:13:41,714"
}
],
"time_consumption": 0.2474982738494873
},
{
"name": "__tLogger__",
"msg": "Follower device (zigbee/ffe/livingroom/floorlamp_1) color temperature is correct (Content %s and Type is %s).",
"args": [
"5",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441621.9632185,
"msecs": 963.2184505462646,
"relativeCreated": 18966.733694076538,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Follower device (zigbee/ffe/livingroom/floorlamp_1) color temperature is correct (Content 5 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:41,963",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_1) color temperature",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441621.9629347,
"msecs": 962.9347324371338,
"relativeCreated": 18966.449975967407,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_1) color temperature): 5 (<class 'int'>)",
"asctime": "2023-02-15 07:13:41,962"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_1) color temperature",
"=",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441621.9630935,
"msecs": 963.0935192108154,
"relativeCreated": 18966.60876274109,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_1) color temperature): result = 5 (<class 'int'>)",
"asctime": "2023-02-15 07:13:41,963"
}
],
"time_consumption": 0.00012493133544921875
},
{
"name": "__tLogger__",
"msg": "Follower device (zigbee/ffe/livingroom/floorlamp_2) color temperature is correct (Content %s and Type is %s).",
"args": [
"5",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441621.9636674,
"msecs": 963.6673927307129,
"relativeCreated": 18967.182636260986,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Follower device (zigbee/ffe/livingroom/floorlamp_2) color temperature is correct (Content 5 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:41,963",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_2) color temperature",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441621.9634507,
"msecs": 963.4506702423096,
"relativeCreated": 18966.965913772583,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_2) color temperature): 5 (<class 'int'>)",
"asctime": "2023-02-15 07:13:41,963"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_2) color temperature",
"=",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441621.9635673,
"msecs": 963.5672569274902,
"relativeCreated": 18967.082500457764,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_2) color temperature): result = 5 (<class 'int'>)",
"asctime": "2023-02-15 07:13:41,963"
}
],
"time_consumption": 0.00010013580322265625
},
{
"name": "__tLogger__",
"msg": "Follower device (zigbee/ffe/livingroom/floorlamp_3) color temperature is correct (Content %s and Type is %s).",
"args": [
"5",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441621.9640586,
"msecs": 964.0586376190186,
"relativeCreated": 18967.573881149292,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Follower device (zigbee/ffe/livingroom/floorlamp_3) color temperature is correct (Content 5 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:41,964",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_3) color temperature",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441621.9638426,
"msecs": 963.8426303863525,
"relativeCreated": 18967.357873916626,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_3) color temperature): 5 (<class 'int'>)",
"asctime": "2023-02-15 07:13:41,963"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_3) color temperature",
"=",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441621.963948,
"msecs": 963.9480113983154,
"relativeCreated": 18967.46325492859,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_3) color temperature): result = 5 (<class 'int'>)",
"asctime": "2023-02-15 07:13:41,963"
}
],
"time_consumption": 0.000110626220703125
},
{
"name": "__tLogger__",
"msg": "Follower device (zigbee/ffe/livingroom/floorlamp_4) color temperature is correct (Content %s and Type is %s).",
"args": [
"5",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441621.9644415,
"msecs": 964.4415378570557,
"relativeCreated": 18967.95678138733,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Follower device (zigbee/ffe/livingroom/floorlamp_4) color temperature is correct (Content 5 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:41,964",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_4) color temperature",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441621.9642375,
"msecs": 964.2374515533447,
"relativeCreated": 18967.752695083618,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_4) color temperature): 5 (<class 'int'>)",
"asctime": "2023-02-15 07:13:41,964"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_4) color temperature",
"=",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441621.964344,
"msecs": 964.3440246582031,
"relativeCreated": 18967.859268188477,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_4) color temperature): result = 5 (<class 'int'>)",
"asctime": "2023-02-15 07:13:41,964"
}
],
"time_consumption": 9.751319885253906e-05
},
{
"name": "__tLogger__",
"msg": "Follower device (zigbee/ffe/livingroom/floorlamp_5) color temperature is correct (Content %s and Type is %s).",
"args": [
"5",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441621.9648077,
"msecs": 964.8077487945557,
"relativeCreated": 18968.32299232483,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Follower device (zigbee/ffe/livingroom/floorlamp_5) color temperature is correct (Content 5 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:41,964",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_5) color temperature",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441621.9646049,
"msecs": 964.6048545837402,
"relativeCreated": 18968.120098114014,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_5) color temperature): 5 (<class 'int'>)",
"asctime": "2023-02-15 07:13:41,964"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_5) color temperature",
"=",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441621.9647105,
"msecs": 964.7104740142822,
"relativeCreated": 18968.225717544556,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_5) color temperature): result = 5 (<class 'int'>)",
"asctime": "2023-02-15 07:13:41,964"
}
],
"time_consumption": 9.72747802734375e-05
},
{
"name": "__tLogger__",
"msg": "Follower device (zigbee/ffe/livingroom/floorlamp_6) color temperature is correct (Content %s and Type is %s).",
"args": [
"5",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441621.9651985,
"msecs": 965.1985168457031,
"relativeCreated": 18968.713760375977,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Follower device (zigbee/ffe/livingroom/floorlamp_6) color temperature is correct (Content 5 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:41,965",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_6) color temperature",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441621.9649956,
"msecs": 964.9956226348877,
"relativeCreated": 18968.51086616516,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_6) color temperature): 5 (<class 'int'>)",
"asctime": "2023-02-15 07:13:41,964"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_6) color temperature",
"=",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441621.9651015,
"msecs": 965.1014804840088,
"relativeCreated": 18968.616724014282,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_6) color temperature): result = 5 (<class 'int'>)",
"asctime": "2023-02-15 07:13:41,965"
}
],
"time_consumption": 9.703636169433594e-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": 1676441622.266635,
"msecs": 266.6349411010742,
"relativeCreated": 19270.150184631348,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Resetting preconditions for master device 'False' (Power off)",
"asctime": "2023-02-15 07:13:42,266",
"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": 1676441621.9654713,
"msecs": 965.4712677001953,
"relativeCreated": 18968.98651123047,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffe/livingroom/main_light/relay/0 and payload off",
"asctime": "2023-02-15 07:13:41,965"
},
{
"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": 1676441621.9668312,
"msecs": 966.8312072753906,
"relativeCreated": 18970.346450805664,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffe/livingroom/main_light/relay/0 and payload b'off'",
"asctime": "2023-02-15 07:13:41,966"
},
{
"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": 1676441621.9720051,
"msecs": 972.0051288604736,
"relativeCreated": 18975.520372390747,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:41,972"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441621.9721947,
"msecs": 972.1946716308594,
"relativeCreated": 18975.709915161133,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:41,972"
},
{
"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": 1676441621.9723814,
"msecs": 972.3813533782959,
"relativeCreated": 18975.89659690857,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:41,972"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441621.9725668,
"msecs": 972.5668430328369,
"relativeCreated": 18976.08208656311,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:41,972"
},
{
"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": 1676441621.9727993,
"msecs": 972.7993011474609,
"relativeCreated": 18976.314544677734,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:41,972"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441621.9729846,
"msecs": 972.9845523834229,
"relativeCreated": 18976.499795913696,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:41,972"
},
{
"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": 1676441621.9731677,
"msecs": 973.1676578521729,
"relativeCreated": 18976.682901382446,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:41,973"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441621.9733503,
"msecs": 973.3502864837646,
"relativeCreated": 18976.865530014038,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:41,973"
},
{
"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": 1676441621.9735708,
"msecs": 973.5708236694336,
"relativeCreated": 18977.086067199707,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:41,973"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441621.973753,
"msecs": 973.7529754638672,
"relativeCreated": 18977.26821899414,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:41,973"
},
{
"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": 1676441621.9739285,
"msecs": 973.9284515380859,
"relativeCreated": 18977.44369506836,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:41,973"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441621.9741185,
"msecs": 974.1184711456299,
"relativeCreated": 18977.633714675903,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:41,974"
},
{
"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": 1676441621.974341,
"msecs": 974.3409156799316,
"relativeCreated": 18977.856159210205,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/livingroom/main_light/state and payload b'false'",
"asctime": "2023-02-15 07:13:41,974"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441621.974588,
"msecs": 974.5879173278809,
"relativeCreated": 18978.103160858154,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:41,974"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441621.9748013,
"msecs": 974.8013019561768,
"relativeCreated": 18978.31654548645,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:41,974"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441621.9750087,
"msecs": 975.0087261199951,
"relativeCreated": 18978.52396965027,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:41,975"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441621.975212,
"msecs": 975.2120971679688,
"relativeCreated": 18978.727340698242,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:41,975"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441621.9754243,
"msecs": 975.4242897033691,
"relativeCreated": 18978.939533233643,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:41,975"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441621.9756262,
"msecs": 975.6262302398682,
"relativeCreated": 18979.14147377014,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:41,975"
},
{
"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": 1676441622.0177822,
"msecs": 17.782211303710938,
"relativeCreated": 19021.297454833984,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'false'",
"asctime": "2023-02-15 07:13:42,017"
}
],
"time_consumption": 0.24885272979736328
}
],
"time_consumption": 1.2103674411773682,
"time_start": "2023-02-15 07:13:41,056",
"time_finished": "2023-02-15 07:13:42,266"
},
"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": 1676441622.2674353,
"msecs": 267.43531227111816,
"relativeCreated": 19270.95055580139,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Power On/ Off synchronisation test: shellies/ffe/livingroom/main_light",
"asctime": "2023-02-15 07:13:42,267",
"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": 1676441622.5684233,
"msecs": 568.4232711791992,
"relativeCreated": 19571.938514709473,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Setting preconditions for master device 'False'",
"asctime": "2023-02-15 07:13:42,568",
"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": 1676441622.8705611,
"msecs": 870.5611228942871,
"relativeCreated": 19874.07636642456,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing master device state to 'True'",
"asctime": "2023-02-15 07:13:42,870",
"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": 1676441622.5689218,
"msecs": 568.9218044281006,
"relativeCreated": 19572.437047958374,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffe/livingroom/main_light/relay/0 and payload on",
"asctime": "2023-02-15 07:13:42,568"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441622.569517,
"msecs": 569.5168972015381,
"relativeCreated": 19573.03214073181,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:42,569"
},
{
"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": 1676441622.5705667,
"msecs": 570.5666542053223,
"relativeCreated": 19574.081897735596,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffe/livingroom/main_light/relay/0 and payload b'on'",
"asctime": "2023-02-15 07:13:42,570"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441622.5712833,
"msecs": 571.2833404541016,
"relativeCreated": 19574.798583984375,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:42,571"
},
{
"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": 1676441622.6109028,
"msecs": 610.9027862548828,
"relativeCreated": 19614.418029785156,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"state\": \"on\"}'",
"asctime": "2023-02-15 07:13:42,610"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441622.6112354,
"msecs": 611.2353801727295,
"relativeCreated": 19614.750623703003,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:42,611"
},
{
"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": 1676441622.6115801,
"msecs": 611.5801334381104,
"relativeCreated": 19615.095376968384,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"state\": \"on\"}'",
"asctime": "2023-02-15 07:13:42,611"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441622.6118727,
"msecs": 611.872673034668,
"relativeCreated": 19615.38791656494,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:42,611"
},
{
"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": 1676441622.6121936,
"msecs": 612.1935844421387,
"relativeCreated": 19615.708827972412,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"state\": \"on\"}'",
"asctime": "2023-02-15 07:13:42,612"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441622.6124108,
"msecs": 612.4107837677002,
"relativeCreated": 19615.926027297974,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:42,612"
},
{
"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": 1676441622.6126347,
"msecs": 612.6346588134766,
"relativeCreated": 19616.14990234375,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"state\": \"on\"}'",
"asctime": "2023-02-15 07:13:42,612"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441622.6128464,
"msecs": 612.8463745117188,
"relativeCreated": 19616.361618041992,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:42,612"
},
{
"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": 1676441622.6131058,
"msecs": 613.1057739257812,
"relativeCreated": 19616.621017456055,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"state\": \"on\"}'",
"asctime": "2023-02-15 07:13:42,613"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441622.613324,
"msecs": 613.3239269256592,
"relativeCreated": 19616.839170455933,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:42,613"
},
{
"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": 1676441622.6135342,
"msecs": 613.5342121124268,
"relativeCreated": 19617.0494556427,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"state\": \"on\"}'",
"asctime": "2023-02-15 07:13:42,613"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441622.6137438,
"msecs": 613.743782043457,
"relativeCreated": 19617.25902557373,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:42,613"
},
{
"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": 1676441622.6140075,
"msecs": 614.0074729919434,
"relativeCreated": 19617.522716522217,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/livingroom/main_light/state and payload b'true'",
"asctime": "2023-02-15 07:13:42,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\": \"on\", \"brightness\": 127.0, \"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": 1676441622.6142864,
"msecs": 614.2864227294922,
"relativeCreated": 19617.801666259766,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:42,614"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441622.6145492,
"msecs": 614.5491600036621,
"relativeCreated": 19618.064403533936,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:42,614"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441622.614793,
"msecs": 614.793062210083,
"relativeCreated": 19618.308305740356,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:42,614"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441622.615031,
"msecs": 615.0310039520264,
"relativeCreated": 19618.5462474823,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:42,615"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441622.6152644,
"msecs": 615.2644157409668,
"relativeCreated": 19618.77965927124,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:42,615"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441622.6155083,
"msecs": 615.5083179473877,
"relativeCreated": 19619.02356147766,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:42,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'true'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441622.6551726,
"msecs": 655.17258644104,
"relativeCreated": 19658.687829971313,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'true'",
"asctime": "2023-02-15 07:13:42,655"
}
],
"time_consumption": 0.21538853645324707
},
{
"name": "__tLogger__",
"msg": "Follower device (zigbee/ffe/livingroom/floorlamp_1) state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441622.8713243,
"msecs": 871.3243007659912,
"relativeCreated": 19874.839544296265,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Follower device (zigbee/ffe/livingroom/floorlamp_1) state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:42,871",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_1) state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441622.8710492,
"msecs": 871.049165725708,
"relativeCreated": 19874.56440925598,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_1) state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:42,871"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_1) state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441622.8712015,
"msecs": 871.2015151977539,
"relativeCreated": 19874.716758728027,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_1) state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:42,871"
}
],
"time_consumption": 0.0001227855682373047
},
{
"name": "__tLogger__",
"msg": "Follower device (zigbee/ffe/livingroom/floorlamp_2) state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441622.8717706,
"msecs": 871.7706203460693,
"relativeCreated": 19875.285863876343,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Follower device (zigbee/ffe/livingroom/floorlamp_2) state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:42,871",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_2) state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441622.871523,
"msecs": 871.5229034423828,
"relativeCreated": 19875.038146972656,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_2) state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:42,871"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_2) state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441622.871672,
"msecs": 871.6719150543213,
"relativeCreated": 19875.187158584595,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_2) state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:42,871"
}
],
"time_consumption": 9.870529174804688e-05
},
{
"name": "__tLogger__",
"msg": "Follower device (zigbee/ffe/livingroom/floorlamp_3) state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441622.8721411,
"msecs": 872.1411228179932,
"relativeCreated": 19875.656366348267,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Follower device (zigbee/ffe/livingroom/floorlamp_3) state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:42,872",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_3) state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441622.8719485,
"msecs": 871.9484806060791,
"relativeCreated": 19875.463724136353,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_3) state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:42,871"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_3) state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441622.8720493,
"msecs": 872.0493316650391,
"relativeCreated": 19875.564575195312,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_3) state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:42,872"
}
],
"time_consumption": 9.179115295410156e-05
},
{
"name": "__tLogger__",
"msg": "Follower device (zigbee/ffe/livingroom/floorlamp_4) state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441622.872524,
"msecs": 872.5240230560303,
"relativeCreated": 19876.039266586304,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Follower device (zigbee/ffe/livingroom/floorlamp_4) state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:42,872",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_4) state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441622.8723118,
"msecs": 872.3118305206299,
"relativeCreated": 19875.827074050903,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_4) state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:42,872"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_4) state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441622.872412,
"msecs": 872.4119663238525,
"relativeCreated": 19875.927209854126,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_4) state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:42,872"
}
],
"time_consumption": 0.00011205673217773438
},
{
"name": "__tLogger__",
"msg": "Follower device (zigbee/ffe/livingroom/floorlamp_5) state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441622.8728945,
"msecs": 872.8945255279541,
"relativeCreated": 19876.409769058228,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Follower device (zigbee/ffe/livingroom/floorlamp_5) state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:42,872",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_5) state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441622.8726935,
"msecs": 872.6935386657715,
"relativeCreated": 19876.208782196045,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_5) state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:42,872"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_5) state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441622.8727908,
"msecs": 872.7908134460449,
"relativeCreated": 19876.30605697632,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_5) state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:42,872"
}
],
"time_consumption": 0.00010371208190917969
},
{
"name": "__tLogger__",
"msg": "Follower device (zigbee/ffe/livingroom/floorlamp_6) state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441622.8732543,
"msecs": 873.2542991638184,
"relativeCreated": 19876.76954269409,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Follower device (zigbee/ffe/livingroom/floorlamp_6) state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:42,873",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_6) state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441622.8730564,
"msecs": 873.0564117431641,
"relativeCreated": 19876.571655273438,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_6) state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:42,873"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_6) state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441622.8731663,
"msecs": 873.1663227081299,
"relativeCreated": 19876.681566238403,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_6) state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:42,873"
}
],
"time_consumption": 8.797645568847656e-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": 1676441623.1745992,
"msecs": 174.59917068481445,
"relativeCreated": 20178.114414215088,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing master device state to 'False'",
"asctime": "2023-02-15 07:13:43,174",
"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": 1676441622.8735175,
"msecs": 873.5175132751465,
"relativeCreated": 19877.03275680542,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffe/livingroom/main_light/relay/0 and payload off",
"asctime": "2023-02-15 07:13:42,873"
},
{
"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": 1676441622.8748486,
"msecs": 874.8486042022705,
"relativeCreated": 19878.363847732544,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffe/livingroom/main_light/relay/0 and payload b'off'",
"asctime": "2023-02-15 07:13:42,874"
},
{
"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": 1676441622.8798292,
"msecs": 879.8291683197021,
"relativeCreated": 19883.344411849976,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:42,879"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441622.8800275,
"msecs": 880.0275325775146,
"relativeCreated": 19883.542776107788,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:42,880"
},
{
"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": 1676441622.880215,
"msecs": 880.2149295806885,
"relativeCreated": 19883.730173110962,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:42,880"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441622.8803775,
"msecs": 880.3775310516357,
"relativeCreated": 19883.89277458191,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:42,880"
},
{
"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": 1676441622.8805807,
"msecs": 880.5806636810303,
"relativeCreated": 19884.095907211304,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:42,880"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441622.8807714,
"msecs": 880.7713985443115,
"relativeCreated": 19884.286642074585,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:42,880"
},
{
"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": 1676441622.8809624,
"msecs": 880.9623718261719,
"relativeCreated": 19884.477615356445,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:42,880"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441622.8811417,
"msecs": 881.1416625976562,
"relativeCreated": 19884.65690612793,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:42,881"
},
{
"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": 1676441622.8813698,
"msecs": 881.3698291778564,
"relativeCreated": 19884.88507270813,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:42,881"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441622.88156,
"msecs": 881.5600872039795,
"relativeCreated": 19885.075330734253,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:42,881"
},
{
"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": 1676441622.8819501,
"msecs": 881.9501399993896,
"relativeCreated": 19885.465383529663,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:42,881"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441622.8821366,
"msecs": 882.1365833282471,
"relativeCreated": 19885.65182685852,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:42,882"
},
{
"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": 1676441622.8823605,
"msecs": 882.3604583740234,
"relativeCreated": 19885.875701904297,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/livingroom/main_light/state and payload b'false'",
"asctime": "2023-02-15 07:13:42,882"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441622.8826025,
"msecs": 882.6024532318115,
"relativeCreated": 19886.117696762085,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:42,882"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441622.882814,
"msecs": 882.8139305114746,
"relativeCreated": 19886.329174041748,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:42,882"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441622.8830242,
"msecs": 883.0242156982422,
"relativeCreated": 19886.539459228516,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:42,883"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441622.8832254,
"msecs": 883.2254409790039,
"relativeCreated": 19886.740684509277,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:42,883"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441622.883425,
"msecs": 883.4249973297119,
"relativeCreated": 19886.940240859985,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:42,883"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441622.8836248,
"msecs": 883.624792098999,
"relativeCreated": 19887.140035629272,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:42,883"
},
{
"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": 1676441622.9255457,
"msecs": 925.5456924438477,
"relativeCreated": 19929.06093597412,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'false'",
"asctime": "2023-02-15 07:13:42,925"
}
],
"time_consumption": 0.2490534782409668
},
{
"name": "__tLogger__",
"msg": "Follower device (zigbee/ffe/livingroom/floorlamp_1) state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441623.1753912,
"msecs": 175.39119720458984,
"relativeCreated": 20178.906440734863,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Follower device (zigbee/ffe/livingroom/floorlamp_1) state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:43,175",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_1) state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441623.1750789,
"msecs": 175.0788688659668,
"relativeCreated": 20178.59411239624,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_1) state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:43,175"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_1) state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441623.175228,
"msecs": 175.22811889648438,
"relativeCreated": 20178.743362426758,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_1) state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:43,175"
}
],
"time_consumption": 0.00016307830810546875
},
{
"name": "__tLogger__",
"msg": "Follower device (zigbee/ffe/livingroom/floorlamp_2) state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441623.1758177,
"msecs": 175.81772804260254,
"relativeCreated": 20179.332971572876,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Follower device (zigbee/ffe/livingroom/floorlamp_2) state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:43,175",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_2) state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441623.1755953,
"msecs": 175.59528350830078,
"relativeCreated": 20179.110527038574,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_2) state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:43,175"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_2) state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441623.1757143,
"msecs": 175.71425437927246,
"relativeCreated": 20179.229497909546,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_2) state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:43,175"
}
],
"time_consumption": 0.00010347366333007812
},
{
"name": "__tLogger__",
"msg": "Follower device (zigbee/ffe/livingroom/floorlamp_3) state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441623.1761916,
"msecs": 176.1915683746338,
"relativeCreated": 20179.706811904907,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Follower device (zigbee/ffe/livingroom/floorlamp_3) state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:43,176",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_3) state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441623.1759946,
"msecs": 175.9946346282959,
"relativeCreated": 20179.50987815857,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_3) state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:43,175"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_3) state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441623.1760964,
"msecs": 176.09643936157227,
"relativeCreated": 20179.611682891846,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_3) state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:43,176"
}
],
"time_consumption": 9.512901306152344e-05
},
{
"name": "__tLogger__",
"msg": "Follower device (zigbee/ffe/livingroom/floorlamp_4) state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441623.1765616,
"msecs": 176.5615940093994,
"relativeCreated": 20180.076837539673,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Follower device (zigbee/ffe/livingroom/floorlamp_4) state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:43,176",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_4) state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441623.1763556,
"msecs": 176.35560035705566,
"relativeCreated": 20179.87084388733,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_4) state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:43,176"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_4) state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441623.176455,
"msecs": 176.45502090454102,
"relativeCreated": 20179.970264434814,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_4) state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:43,176"
}
],
"time_consumption": 0.00010657310485839844
},
{
"name": "__tLogger__",
"msg": "Follower device (zigbee/ffe/livingroom/floorlamp_5) state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441623.1769118,
"msecs": 176.9118309020996,
"relativeCreated": 20180.427074432373,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Follower device (zigbee/ffe/livingroom/floorlamp_5) state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:43,176",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_5) state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441623.1767213,
"msecs": 176.72133445739746,
"relativeCreated": 20180.23657798767,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_5) state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:43,176"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_5) state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441623.1768205,
"msecs": 176.8205165863037,
"relativeCreated": 20180.335760116577,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_5) state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:43,176"
}
],
"time_consumption": 9.131431579589844e-05
},
{
"name": "__tLogger__",
"msg": "Follower device (zigbee/ffe/livingroom/floorlamp_6) state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441623.1772575,
"msecs": 177.25753784179688,
"relativeCreated": 20180.77278137207,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Follower device (zigbee/ffe/livingroom/floorlamp_6) state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:43,177",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_6) state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441623.1770709,
"msecs": 177.07085609436035,
"relativeCreated": 20180.586099624634,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_6) state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:43,177"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Follower device (zigbee/ffe/livingroom/floorlamp_6) state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441623.177168,
"msecs": 177.1678924560547,
"relativeCreated": 20180.683135986328,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_6) state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:43,177"
}
],
"time_consumption": 8.96453857421875e-05
}
],
"time_consumption": 0.9098222255706787,
"time_start": "2023-02-15 07:13:42,267",
"time_finished": "2023-02-15 07:13:43,177"
},
"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": 1676441623.1777892,
"msecs": 177.78921127319336,
"relativeCreated": 20181.304454803467,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Brightness test for device and virtual device: zigbee/ffe/sleep/bed_light_di",
"asctime": "2023-02-15 07:13:43,177",
"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": 1676441623.4793813,
"msecs": 479.3813228607178,
"relativeCreated": 20482.89656639099,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Setting preconditions (Power on)",
"asctime": "2023-02-15 07:13:43,479",
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441623.178233,
"msecs": 178.23290824890137,
"relativeCreated": 20181.748151779175,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/sleep/bed_light_di and payload {\"state\": \"on\", \"brightness\": 127.0}",
"asctime": "2023-02-15 07:13:43,178"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441623.179532,
"msecs": 179.53205108642578,
"relativeCreated": 20183.0472946167,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/bed_light_di and payload b'{\"state\": \"on\", \"brightness\": 127.0}'",
"asctime": "2023-02-15 07:13:43,179"
},
{
"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": 1676441623.1843119,
"msecs": 184.3118667602539,
"relativeCreated": 20187.827110290527,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/sleep/bed_light_di/state and payload b'true'",
"asctime": "2023-02-15 07:13:43,184"
},
{
"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": 1676441623.1851263,
"msecs": 185.12630462646484,
"relativeCreated": 20188.64154815674,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/sleep/bed_light_di/brightness and payload b'50'",
"asctime": "2023-02-15 07:13:43,185"
}
],
"time_consumption": 0.29425501823425293
},
{
"name": "__tLogger__",
"msg": "Virtual device brightness is correct (Content %s and Type is %s).",
"args": [
"50",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441623.4801233,
"msecs": 480.12328147888184,
"relativeCreated": 20483.638525009155,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device brightness is correct (Content 50 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:43,480",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device brightness",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441623.4798427,
"msecs": 479.8426628112793,
"relativeCreated": 20483.357906341553,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device brightness): 50 (<class 'int'>)",
"asctime": "2023-02-15 07:13:43,479"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device brightness",
"=",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441623.479997,
"msecs": 479.996919631958,
"relativeCreated": 20483.51216316223,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device brightness): result = 50 (<class 'int'>)",
"asctime": "2023-02-15 07:13:43,479"
}
],
"time_consumption": 0.00012636184692382812
},
{
"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": 1676441623.781721,
"msecs": 781.7211151123047,
"relativeCreated": 20785.236358642578,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing light device brightness to '65'",
"asctime": "2023-02-15 07:13:43,781",
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441623.4805212,
"msecs": 480.52120208740234,
"relativeCreated": 20484.036445617676,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/sleep/bed_light_di and payload {\"state\": \"on\", \"brightness\": 165.0}",
"asctime": "2023-02-15 07:13:43,480"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441623.4818532,
"msecs": 481.8532466888428,
"relativeCreated": 20485.368490219116,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/bed_light_di and payload b'{\"state\": \"on\", \"brightness\": 165.0}'",
"asctime": "2023-02-15 07:13:43,481"
},
{
"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'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441623.4842484,
"msecs": 484.24839973449707,
"relativeCreated": 20487.76364326477,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/sleep/bed_light_di/brightness and payload b'65'",
"asctime": "2023-02-15 07:13:43,484"
}
],
"time_consumption": 0.2974727153778076
},
{
"name": "__tLogger__",
"msg": "Virtual device brightness is correct (Content %s and Type is %s).",
"args": [
"65",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441623.782481,
"msecs": 782.4809551239014,
"relativeCreated": 20785.996198654175,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device brightness is correct (Content 65 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:43,782",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device brightness",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441623.7821753,
"msecs": 782.1753025054932,
"relativeCreated": 20785.690546035767,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device brightness): 65 (<class 'int'>)",
"asctime": "2023-02-15 07:13:43,782"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device brightness",
"=",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441623.782322,
"msecs": 782.3219299316406,
"relativeCreated": 20785.837173461914,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device brightness): result = 65 (<class 'int'>)",
"asctime": "2023-02-15 07:13:43,782"
}
],
"time_consumption": 0.0001590251922607422
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"65",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441623.782894,
"msecs": 782.8938961029053,
"relativeCreated": 20786.40913963318,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 65 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:43,782",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441623.7826843,
"msecs": 782.684326171875,
"relativeCreated": 20786.19956970215,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 65 (<class 'int'>)",
"asctime": "2023-02-15 07:13:43,782"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441623.782794,
"msecs": 782.7939987182617,
"relativeCreated": 20786.309242248535,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 65 (<class 'int'>)",
"asctime": "2023-02-15 07:13:43,782"
}
],
"time_consumption": 9.989738464355469e-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": 1676441624.0844314,
"msecs": 84.43140983581543,
"relativeCreated": 21087.94665336609,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device brightness to '50'",
"asctime": "2023-02-15 07:13:44,084",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.brightness.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffe/sleep/bed_light_di/brightness/set",
"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": 1676441623.7832644,
"msecs": 783.2643985748291,
"relativeCreated": 20786.779642105103,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffe/sleep/bed_light_di/brightness/set and payload 50",
"asctime": "2023-02-15 07:13:43,783"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441623.7866974,
"msecs": 786.6973876953125,
"relativeCreated": 20790.212631225586,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/bed_light_di/set and payload b'{\"brightness\": 128}'",
"asctime": "2023-02-15 07:13:43,786"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441623.787349,
"msecs": 787.3489856719971,
"relativeCreated": 20790.86422920227,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/sleep/bed_light_di and payload {\"state\": \"on\", \"brightness\": 127.0}",
"asctime": "2023-02-15 07:13:43,787"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441623.7885187,
"msecs": 788.5186672210693,
"relativeCreated": 20792.033910751343,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/bed_light_di and payload b'{\"state\": \"on\", \"brightness\": 127.0}'",
"asctime": "2023-02-15 07:13:43,788"
},
{
"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": 1676441623.8312573,
"msecs": 831.2573432922363,
"relativeCreated": 20834.77258682251,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/sleep/bed_light_di/brightness and payload b'50'",
"asctime": "2023-02-15 07:13:43,831"
}
],
"time_consumption": 0.2531740665435791
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"50",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441624.0851586,
"msecs": 85.1585865020752,
"relativeCreated": 21088.67383003235,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 50 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:44,085",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441624.0848885,
"msecs": 84.88845825195312,
"relativeCreated": 21088.403701782227,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 50 (<class 'int'>)",
"asctime": "2023-02-15 07:13:44,084"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441624.0850377,
"msecs": 85.0377082824707,
"relativeCreated": 21088.552951812744,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 50 (<class 'int'>)",
"asctime": "2023-02-15 07:13:44,085"
}
],
"time_consumption": 0.00012087821960449219
},
{
"name": "__tLogger__",
"msg": "Virtual device brightness is correct (Content %s and Type is %s).",
"args": [
"50",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441624.0855598,
"msecs": 85.55984497070312,
"relativeCreated": 21089.075088500977,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device brightness is correct (Content 50 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:44,085",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device brightness",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441624.0853522,
"msecs": 85.35218238830566,
"relativeCreated": 21088.86742591858,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device brightness): 50 (<class 'int'>)",
"asctime": "2023-02-15 07:13:44,085"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device brightness",
"=",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441624.085463,
"msecs": 85.46304702758789,
"relativeCreated": 21088.97829055786,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device brightness): result = 50 (<class 'int'>)",
"asctime": "2023-02-15 07:13:44,085"
}
],
"time_consumption": 9.679794311523438e-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": 1676441624.38647,
"msecs": 386.47007942199707,
"relativeCreated": 21389.98532295227,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing light device brightness to '65'",
"asctime": "2023-02-15 07:13:44,386",
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441624.0859253,
"msecs": 85.92534065246582,
"relativeCreated": 21089.44058418274,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/sleep/bed_light_di and payload {\"state\": \"on\", \"brightness\": 165.0}",
"asctime": "2023-02-15 07:13:44,085"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441624.087282,
"msecs": 87.28194236755371,
"relativeCreated": 21090.797185897827,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/bed_light_di and payload b'{\"state\": \"on\", \"brightness\": 165.0}'",
"asctime": "2023-02-15 07:13:44,087"
},
{
"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'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441624.0896382,
"msecs": 89.63823318481445,
"relativeCreated": 21093.153476715088,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/sleep/bed_light_di/brightness and payload b'65'",
"asctime": "2023-02-15 07:13:44,089"
}
],
"time_consumption": 0.2968318462371826
},
{
"name": "__tLogger__",
"msg": "Virtual device brightness is correct (Content %s and Type is %s).",
"args": [
"65",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441624.3866992,
"msecs": 386.6991996765137,
"relativeCreated": 21390.214443206787,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device brightness is correct (Content 65 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:44,386",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device brightness",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441624.3866322,
"msecs": 386.63220405578613,
"relativeCreated": 21390.14744758606,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device brightness): 65 (<class 'int'>)",
"asctime": "2023-02-15 07:13:44,386"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device brightness",
"=",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441624.3866687,
"msecs": 386.6686820983887,
"relativeCreated": 21390.183925628662,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device brightness): result = 65 (<class 'int'>)",
"asctime": "2023-02-15 07:13:44,386"
}
],
"time_consumption": 3.0517578125e-05
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"65",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441624.386792,
"msecs": 386.7919445037842,
"relativeCreated": 21390.307188034058,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 65 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:44,386",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441624.3867445,
"msecs": 386.74449920654297,
"relativeCreated": 21390.259742736816,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 65 (<class 'int'>)",
"asctime": "2023-02-15 07:13:44,386"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441624.386769,
"msecs": 386.76905632019043,
"relativeCreated": 21390.284299850464,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 65 (<class 'int'>)",
"asctime": "2023-02-15 07:13:44,386"
}
],
"time_consumption": 2.288818359375e-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": 1676441624.6877604,
"msecs": 687.7603530883789,
"relativeCreated": 21691.275596618652,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device brightness to '50'",
"asctime": "2023-02-15 07:13:44,687",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.brightness.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffe/sleep/bed_light_di/brightness/set",
"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": 1676441624.3868818,
"msecs": 386.88182830810547,
"relativeCreated": 21390.39707183838,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffe/sleep/bed_light_di/brightness/set and payload 50",
"asctime": "2023-02-15 07:13:44,386"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441624.3878756,
"msecs": 387.8755569458008,
"relativeCreated": 21391.390800476074,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/bed_light_di/set and payload b'{\"brightness\": 128}'",
"asctime": "2023-02-15 07:13:44,387"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441624.388043,
"msecs": 388.0429267883301,
"relativeCreated": 21391.558170318604,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/sleep/bed_light_di and payload {\"state\": \"on\", \"brightness\": 127.0}",
"asctime": "2023-02-15 07:13:44,388"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441624.3883488,
"msecs": 388.3488178253174,
"relativeCreated": 21391.86406135559,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/bed_light_di and payload b'{\"state\": \"on\", \"brightness\": 127.0}'",
"asctime": "2023-02-15 07:13:44,388"
},
{
"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": 1676441624.432078,
"msecs": 432.07788467407227,
"relativeCreated": 21435.593128204346,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/sleep/bed_light_di/brightness and payload b'50'",
"asctime": "2023-02-15 07:13:44,432"
}
],
"time_consumption": 0.25568246841430664
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"50",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441624.6884928,
"msecs": 688.4927749633789,
"relativeCreated": 21692.008018493652,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 50 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:44,688",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441624.6882198,
"msecs": 688.2197856903076,
"relativeCreated": 21691.73502922058,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 50 (<class 'int'>)",
"asctime": "2023-02-15 07:13:44,688"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441624.6883702,
"msecs": 688.3702278137207,
"relativeCreated": 21691.885471343994,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 50 (<class 'int'>)",
"asctime": "2023-02-15 07:13:44,688"
}
],
"time_consumption": 0.00012254714965820312
},
{
"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": 1676441624.9901052,
"msecs": 990.105152130127,
"relativeCreated": 21993.6203956604,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Resetting precondition (Power off)",
"asctime": "2023-02-15 07:13:44,990",
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441624.6889334,
"msecs": 688.9333724975586,
"relativeCreated": 21692.448616027832,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/sleep/bed_light_di and payload {\"state\": \"off\", \"brightness\": 127.0}",
"asctime": "2023-02-15 07:13:44,688"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441624.6902416,
"msecs": 690.2415752410889,
"relativeCreated": 21693.756818771362,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/bed_light_di and payload b'{\"state\": \"off\", \"brightness\": 127.0}'",
"asctime": "2023-02-15 07:13:44,690"
},
{
"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": 1676441624.6945827,
"msecs": 694.5827007293701,
"relativeCreated": 21698.097944259644,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/sleep/bed_light_di/state and payload b'false'",
"asctime": "2023-02-15 07:13:44,694"
}
],
"time_consumption": 0.29552245140075684
}
],
"time_consumption": 1.8123159408569336,
"time_start": "2023-02-15 07:13:43,177",
"time_finished": "2023-02-15 07:13:44,990"
},
"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": 1676441624.9909148,
"msecs": 990.9148216247559,
"relativeCreated": 21994.43006515503,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Power On/ Off test for device and virtual device: zigbee/ffe/sleep/bed_light_di",
"asctime": "2023-02-15 07:13:44,990",
"moduleLogger": [],
"testcaseLogger": [
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441624.9914505,
"msecs": 991.4505481719971,
"relativeCreated": 21994.96579170227,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:44,991",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441624.9911897,
"msecs": 991.18971824646,
"relativeCreated": 21994.704961776733,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:44,991"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441624.9913344,
"msecs": 991.3344383239746,
"relativeCreated": 21994.849681854248,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:44,991"
}
],
"time_consumption": 0.00011610984802246094
},
{
"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": 1676441625.2928295,
"msecs": 292.8295135498047,
"relativeCreated": 22296.344757080078,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing switching device state to 'True'",
"asctime": "2023-02-15 07:13:45,292",
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441624.9918299,
"msecs": 991.8298721313477,
"relativeCreated": 21995.34511566162,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/sleep/bed_light_di and payload {\"state\": \"on\", \"brightness\": 127.0}",
"asctime": "2023-02-15 07:13:44,991"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441624.9931097,
"msecs": 993.1097030639648,
"relativeCreated": 21996.62494659424,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/bed_light_di and payload b'{\"state\": \"on\", \"brightness\": 127.0}'",
"asctime": "2023-02-15 07:13:44,993"
},
{
"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": 1676441624.9973671,
"msecs": 997.3671436309814,
"relativeCreated": 22000.882387161255,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/sleep/bed_light_di/state and payload b'true'",
"asctime": "2023-02-15 07:13:44,997"
}
],
"time_consumption": 0.29546236991882324
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441625.293545,
"msecs": 293.5450077056885,
"relativeCreated": 22297.060251235962,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:45,293",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441625.293279,
"msecs": 293.27893257141113,
"relativeCreated": 22296.794176101685,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:45,293"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441625.2934263,
"msecs": 293.4262752532959,
"relativeCreated": 22296.94151878357,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:45,293"
}
],
"time_consumption": 0.00011873245239257812
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441625.2939417,
"msecs": 293.9417362213135,
"relativeCreated": 22297.456979751587,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:45,293",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441625.2937357,
"msecs": 293.7357425689697,
"relativeCreated": 22297.250986099243,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:45,293"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441625.2938445,
"msecs": 293.84446144104004,
"relativeCreated": 22297.359704971313,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:45,293"
}
],
"time_consumption": 9.72747802734375e-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": 1676441625.5954638,
"msecs": 595.463752746582,
"relativeCreated": 22598.978996276855,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device state to 'False'",
"asctime": "2023-02-15 07:13:45,595",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.state.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffe/sleep/bed_light_di/state/set",
"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": 1676441625.294308,
"msecs": 294.3079471588135,
"relativeCreated": 22297.823190689087,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffe/sleep/bed_light_di/state/set and payload false",
"asctime": "2023-02-15 07:13:45,294"
},
{
"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": 1676441625.2976153,
"msecs": 297.61528968811035,
"relativeCreated": 22301.130533218384,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/bed_light_di/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:45,297"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441625.2983234,
"msecs": 298.323392868042,
"relativeCreated": 22301.838636398315,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/sleep/bed_light_di and payload {\"state\": \"off\", \"brightness\": 127.0}",
"asctime": "2023-02-15 07:13:45,298"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441625.2995305,
"msecs": 299.5305061340332,
"relativeCreated": 22303.045749664307,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/bed_light_di and payload b'{\"state\": \"off\", \"brightness\": 127.0}'",
"asctime": "2023-02-15 07:13:45,299"
},
{
"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": 1676441625.3880415,
"msecs": 388.04149627685547,
"relativeCreated": 22391.55673980713,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/sleep/bed_light_di/state and payload b'false'",
"asctime": "2023-02-15 07:13:45,388"
}
],
"time_consumption": 0.20742225646972656
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441625.5960963,
"msecs": 596.0962772369385,
"relativeCreated": 22599.611520767212,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:45,596",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441625.5958633,
"msecs": 595.8633422851562,
"relativeCreated": 22599.37858581543,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:45,595"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441625.5959923,
"msecs": 595.9923267364502,
"relativeCreated": 22599.507570266724,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:45,595"
}
],
"time_consumption": 0.00010395050048828125
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441625.5964427,
"msecs": 596.442699432373,
"relativeCreated": 22599.957942962646,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:45,596",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441625.596262,
"msecs": 596.2619781494141,
"relativeCreated": 22599.777221679688,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:45,596"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441625.5963566,
"msecs": 596.3566303253174,
"relativeCreated": 22599.87187385559,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:45,596"
}
],
"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": 1676441625.8976412,
"msecs": 897.6411819458008,
"relativeCreated": 22901.156425476074,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing switching device state to 'True'",
"asctime": "2023-02-15 07:13:45,897",
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441625.5967674,
"msecs": 596.7674255371094,
"relativeCreated": 22600.282669067383,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/sleep/bed_light_di and payload {\"state\": \"on\", \"brightness\": 127.0}",
"asctime": "2023-02-15 07:13:45,596"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441625.5978663,
"msecs": 597.8662967681885,
"relativeCreated": 22601.381540298462,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/bed_light_di and payload b'{\"state\": \"on\", \"brightness\": 127.0}'",
"asctime": "2023-02-15 07:13:45,597"
},
{
"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": 1676441625.6035311,
"msecs": 603.5311222076416,
"relativeCreated": 22607.046365737915,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/sleep/bed_light_di/state and payload b'true'",
"asctime": "2023-02-15 07:13:45,603"
}
],
"time_consumption": 0.2941100597381592
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441625.897905,
"msecs": 897.9051113128662,
"relativeCreated": 22901.42035484314,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:45,897",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441625.8978188,
"msecs": 897.8188037872314,
"relativeCreated": 22901.334047317505,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:45,897"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441625.897857,
"msecs": 897.8569507598877,
"relativeCreated": 22901.37219429016,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:45,897"
}
],
"time_consumption": 4.8160552978515625e-05
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441625.898004,
"msecs": 898.0040550231934,
"relativeCreated": 22901.519298553467,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:45,898",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441625.8979542,
"msecs": 897.9542255401611,
"relativeCreated": 22901.469469070435,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:45,897"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441625.8979805,
"msecs": 897.9804515838623,
"relativeCreated": 22901.495695114136,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:45,897"
}
],
"time_consumption": 2.3603439331054688e-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": 1676441626.1989186,
"msecs": 198.91858100891113,
"relativeCreated": 23202.433824539185,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device state to 'False'",
"asctime": "2023-02-15 07:13:46,198",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.state.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffe/sleep/bed_light_di/state/set",
"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": 1676441625.8980849,
"msecs": 898.0848789215088,
"relativeCreated": 22901.600122451782,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffe/sleep/bed_light_di/state/set and payload false",
"asctime": "2023-02-15 07:13:45,898"
},
{
"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": 1676441625.899218,
"msecs": 899.2180824279785,
"relativeCreated": 22902.733325958252,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/bed_light_di/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:45,899"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441625.8994274,
"msecs": 899.4274139404297,
"relativeCreated": 22902.942657470703,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/sleep/bed_light_di and payload {\"state\": \"off\", \"brightness\": 127.0}",
"asctime": "2023-02-15 07:13:45,899"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441625.8997383,
"msecs": 899.7383117675781,
"relativeCreated": 22903.25355529785,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/bed_light_di and payload b'{\"state\": \"off\", \"brightness\": 127.0}'",
"asctime": "2023-02-15 07:13:45,899"
},
{
"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": 1676441625.9874718,
"msecs": 987.4718189239502,
"relativeCreated": 22990.987062454224,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/sleep/bed_light_di/state and payload b'false'",
"asctime": "2023-02-15 07:13:45,987"
}
],
"time_consumption": 0.21144676208496094
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441626.199642,
"msecs": 199.64194297790527,
"relativeCreated": 23203.15718650818,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:46,199",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441626.1993697,
"msecs": 199.3696689605713,
"relativeCreated": 23202.884912490845,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:46,199"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441626.199519,
"msecs": 199.51891899108887,
"relativeCreated": 23203.034162521362,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:46,199"
}
],
"time_consumption": 0.00012302398681640625
}
],
"time_consumption": 1.2087271213531494,
"time_start": "2023-02-15 07:13:44,990",
"time_finished": "2023-02-15 07:13:46,199"
},
"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": 1676441626.2001836,
"msecs": 200.18362998962402,
"relativeCreated": 23203.698873519897,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Power On/ Off test for device and virtual device: zigbee/ffe/sleep/bed_light_ma",
"asctime": "2023-02-15 07:13:46,200",
"moduleLogger": [],
"testcaseLogger": [
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441626.200666,
"msecs": 200.66595077514648,
"relativeCreated": 23204.18119430542,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:46,200",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441626.200402,
"msecs": 200.40202140808105,
"relativeCreated": 23203.917264938354,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:46,200"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441626.2005215,
"msecs": 200.52146911621094,
"relativeCreated": 23204.036712646484,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:46,200"
}
],
"time_consumption": 0.00014448165893554688
},
{
"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": 1676441626.5020595,
"msecs": 502.0594596862793,
"relativeCreated": 23505.574703216553,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing switching device state to 'True'",
"asctime": "2023-02-15 07:13:46,502",
"moduleLogger": [
{
"name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_ma",
"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": 1676441626.2009861,
"msecs": 200.98614692687988,
"relativeCreated": 23204.501390457153,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/sleep/bed_light_ma and payload {\"state\": \"on\"}",
"asctime": "2023-02-15 07:13:46,200"
},
{
"name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_ma",
"msg": "Received message with topic %s and payload %s",
"args": [
"zigbee/ffe/sleep/bed_light_ma",
"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": 1676441626.2022388,
"msecs": 202.2387981414795,
"relativeCreated": 23205.754041671753,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/bed_light_ma and payload b'{\"state\": \"on\"}'",
"asctime": "2023-02-15 07:13:46,202"
},
{
"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": 1676441626.204615,
"msecs": 204.61511611938477,
"relativeCreated": 23208.13035964966,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/sleep/bed_light_ma/state and payload b'true'",
"asctime": "2023-02-15 07:13:46,204"
}
],
"time_consumption": 0.29744434356689453
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441626.5027237,
"msecs": 502.72369384765625,
"relativeCreated": 23506.23893737793,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:46,502",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441626.5024884,
"msecs": 502.488374710083,
"relativeCreated": 23506.003618240356,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:46,502"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441626.5026217,
"msecs": 502.6216506958008,
"relativeCreated": 23506.136894226074,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:46,502"
}
],
"time_consumption": 0.00010204315185546875
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441626.503065,
"msecs": 503.0651092529297,
"relativeCreated": 23506.580352783203,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:46,503",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441626.502891,
"msecs": 502.89106369018555,
"relativeCreated": 23506.40630722046,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:46,502"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441626.5029829,
"msecs": 502.98285484313965,
"relativeCreated": 23506.498098373413,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:46,502"
}
],
"time_consumption": 8.225440979003906e-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": 1676441626.8044631,
"msecs": 804.4631481170654,
"relativeCreated": 23807.97839164734,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device state to 'False'",
"asctime": "2023-02-15 07:13:46,804",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_ma.state.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffe/sleep/bed_light_ma/state/set",
"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": 1676441626.5033894,
"msecs": 503.3893585205078,
"relativeCreated": 23506.90460205078,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffe/sleep/bed_light_ma/state/set and payload false",
"asctime": "2023-02-15 07:13:46,503"
},
{
"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": 1676441626.5062857,
"msecs": 506.2856674194336,
"relativeCreated": 23509.800910949707,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/bed_light_ma/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:46,506"
},
{
"name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_ma",
"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": 1676441626.5068192,
"msecs": 506.8192481994629,
"relativeCreated": 23510.334491729736,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/sleep/bed_light_ma and payload {\"state\": \"off\"}",
"asctime": "2023-02-15 07:13:46,506"
},
{
"name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_ma",
"msg": "Received message with topic %s and payload %s",
"args": [
"zigbee/ffe/sleep/bed_light_ma",
"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": 1676441626.5077999,
"msecs": 507.7998638153076,
"relativeCreated": 23511.31510734558,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/bed_light_ma and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:46,507"
},
{
"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": 1676441626.5511618,
"msecs": 551.1617660522461,
"relativeCreated": 23554.67700958252,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/sleep/bed_light_ma/state and payload b'false'",
"asctime": "2023-02-15 07:13:46,551"
}
],
"time_consumption": 0.25330138206481934
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441626.8051777,
"msecs": 805.1776885986328,
"relativeCreated": 23808.692932128906,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:46,805",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441626.8049145,
"msecs": 804.9144744873047,
"relativeCreated": 23808.429718017578,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:46,804"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441626.8050594,
"msecs": 805.0594329833984,
"relativeCreated": 23808.574676513672,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:46,805"
}
],
"time_consumption": 0.000118255615234375
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441626.8055744,
"msecs": 805.5744171142578,
"relativeCreated": 23809.08966064453,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:46,805",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441626.8053687,
"msecs": 805.3686618804932,
"relativeCreated": 23808.883905410767,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:46,805"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441626.8054767,
"msecs": 805.4766654968262,
"relativeCreated": 23808.9919090271,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:46,805"
}
],
"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": 1676441627.1070266,
"msecs": 107.02657699584961,
"relativeCreated": 24110.541820526123,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing switching device state to 'True'",
"asctime": "2023-02-15 07:13:47,107",
"moduleLogger": [
{
"name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_ma",
"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": 1676441626.8058755,
"msecs": 805.8755397796631,
"relativeCreated": 23809.390783309937,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/sleep/bed_light_ma and payload {\"state\": \"on\"}",
"asctime": "2023-02-15 07:13:46,805"
},
{
"name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_ma",
"msg": "Received message with topic %s and payload %s",
"args": [
"zigbee/ffe/sleep/bed_light_ma",
"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": 1676441626.8072042,
"msecs": 807.2042465209961,
"relativeCreated": 23810.71949005127,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/bed_light_ma and payload b'{\"state\": \"on\"}'",
"asctime": "2023-02-15 07:13:46,807"
},
{
"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": 1676441626.8095276,
"msecs": 809.5276355743408,
"relativeCreated": 23813.042879104614,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/sleep/bed_light_ma/state and payload b'true'",
"asctime": "2023-02-15 07:13:46,809"
}
],
"time_consumption": 0.2974989414215088
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441627.1077893,
"msecs": 107.78927803039551,
"relativeCreated": 24111.30452156067,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:47,107",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441627.107479,
"msecs": 107.47909545898438,
"relativeCreated": 24110.994338989258,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:47,107"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441627.107671,
"msecs": 107.67102241516113,
"relativeCreated": 24111.186265945435,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:47,107"
}
],
"time_consumption": 0.000118255615234375
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441627.1081886,
"msecs": 108.18862915039062,
"relativeCreated": 24111.703872680664,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:47,108",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441627.1079805,
"msecs": 107.98048973083496,
"relativeCreated": 24111.49573326111,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:47,107"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441627.10809,
"msecs": 108.08992385864258,
"relativeCreated": 24111.605167388916,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:47,108"
}
],
"time_consumption": 9.870529174804688e-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": 1676441627.4096289,
"msecs": 409.62886810302734,
"relativeCreated": 24413.1441116333,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device state to 'False'",
"asctime": "2023-02-15 07:13:47,409",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_ma.state.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffe/sleep/bed_light_ma/state/set",
"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": 1676441627.1084642,
"msecs": 108.46424102783203,
"relativeCreated": 24111.979484558105,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffe/sleep/bed_light_ma/state/set and payload false",
"asctime": "2023-02-15 07:13:47,108"
},
{
"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": 1676441627.1117132,
"msecs": 111.71317100524902,
"relativeCreated": 24115.228414535522,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/bed_light_ma/set and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:47,111"
},
{
"name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_ma",
"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": 1676441627.112325,
"msecs": 112.32495307922363,
"relativeCreated": 24115.840196609497,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/sleep/bed_light_ma and payload {\"state\": \"off\"}",
"asctime": "2023-02-15 07:13:47,112"
},
{
"name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_ma",
"msg": "Received message with topic %s and payload %s",
"args": [
"zigbee/ffe/sleep/bed_light_ma",
"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": 1676441627.1134484,
"msecs": 113.4483814239502,
"relativeCreated": 24116.963624954224,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/bed_light_ma and payload b'{\"state\": \"off\"}'",
"asctime": "2023-02-15 07:13:47,113"
},
{
"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": 1676441627.1578903,
"msecs": 157.89031982421875,
"relativeCreated": 24161.405563354492,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/sleep/bed_light_ma/state and payload b'false'",
"asctime": "2023-02-15 07:13:47,157"
}
],
"time_consumption": 0.2517385482788086
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441627.4104607,
"msecs": 410.4607105255127,
"relativeCreated": 24413.975954055786,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:47,410",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441627.4101083,
"msecs": 410.1083278656006,
"relativeCreated": 24413.623571395874,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:47,410"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441627.4103007,
"msecs": 410.30073165893555,
"relativeCreated": 24413.81597518921,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:47,410"
}
],
"time_consumption": 0.00015997886657714844
}
],
"time_consumption": 1.2102770805358887,
"time_start": "2023-02-15 07:13:46,200",
"time_finished": "2023-02-15 07:13:47,410"
},
"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": 1676441627.411016,
"msecs": 411.01598739624023,
"relativeCreated": 24414.531230926514,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Away mode test: zigbee/ffe/sleep/heating_valve",
"asctime": "2023-02-15 07:13:47,411",
"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": 1676441627.7125595,
"msecs": 712.5594615936279,
"relativeCreated": 24716.0747051239,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Setting preconditions (Default setpoint)",
"asctime": "2023-02-15 07:13:47,712",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.set_default_temperature.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffe/sleep/heating_valve/set_default_temperature/set",
"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": 1676441627.4113913,
"msecs": 411.3912582397461,
"relativeCreated": 24414.90650177002,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffe/sleep/heating_valve/set_default_temperature/set and payload null",
"asctime": "2023-02-15 07:13:47,411"
},
{
"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": 1676441627.417877,
"msecs": 417.8769588470459,
"relativeCreated": 24421.39220237732,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/sleep/heating_valve/user_temperature_setpoint and payload b'21.5'",
"asctime": "2023-02-15 07:13:47,417"
},
{
"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": 1676441627.418159,
"msecs": 418.15900802612305,
"relativeCreated": 24421.674251556396,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/heating_valve/set and payload b'{\"current_heating_setpoint\": 21.5}'",
"asctime": "2023-02-15 07:13:47,418"
},
{
"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, \"battery\": 97}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441627.4183245,
"msecs": 418.32447052001953,
"relativeCreated": 24421.839714050293,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/sleep/heating_valve and payload {\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"battery\": 97}",
"asctime": "2023-02-15 07:13:47,418"
},
{
"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": 1676441627.418534,
"msecs": 418.5340404510498,
"relativeCreated": 24422.049283981323,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/sleep/heating_valve/valve_temperature_setpoint and payload b'21.5'",
"asctime": "2023-02-15 07:13:47,418"
},
{
"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, \"battery\": 97}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441627.4188962,
"msecs": 418.8961982727051,
"relativeCreated": 24422.41144180298,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/heating_valve and payload b'{\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"battery\": 97}'",
"asctime": "2023-02-15 07:13:47,418"
}
],
"time_consumption": 0.29366326332092285
},
{
"name": "__tLogger__",
"msg": "Away mode is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441627.713282,
"msecs": 713.2821083068848,
"relativeCreated": 24716.79735183716,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Away mode is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:47,713",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Away mode",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441627.7130044,
"msecs": 713.0043506622314,
"relativeCreated": 24716.519594192505,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Away mode): False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:47,713"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Away mode",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441627.7131586,
"msecs": 713.1586074829102,
"relativeCreated": 24716.673851013184,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Away mode): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:47,713"
}
],
"time_consumption": 0.00012350082397460938
},
{
"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": 1676441628.0148494,
"msecs": 14.849424362182617,
"relativeCreated": 25018.364667892456,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Activating away mode",
"asctime": "2023-02-15 07:13:48,014",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.away_mode.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffe/sleep/heating_valve/away_mode/set",
"true"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441627.7136495,
"msecs": 713.6495113372803,
"relativeCreated": 24717.164754867554,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffe/sleep/heating_valve/away_mode/set and payload true",
"asctime": "2023-02-15 07:13:47,713"
},
{
"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": 1676441627.7253494,
"msecs": 725.3494262695312,
"relativeCreated": 24728.864669799805,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/heating_valve/set and payload b'{\"current_heating_setpoint\": 16.5}'",
"asctime": "2023-02-15 07:13:47,725"
},
{
"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, \"battery\": 97}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441627.7259538,
"msecs": 725.9538173675537,
"relativeCreated": 24729.469060897827,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/sleep/heating_valve and payload {\"current_heating_setpoint\": 16.5, \"local_temperature\": 20.7, \"battery\": 97}",
"asctime": "2023-02-15 07:13:47,725"
},
{
"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": 1676441627.726585,
"msecs": 726.5849113464355,
"relativeCreated": 24730.10015487671,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/sleep/heating_valve/valve_temperature_setpoint and payload b'16.5'",
"asctime": "2023-02-15 07:13:47,726"
},
{
"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": 1676441627.7273767,
"msecs": 727.3766994476318,
"relativeCreated": 24730.891942977905,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/sleep/heating_valve/away_mode and payload b'true'",
"asctime": "2023-02-15 07:13:47,727"
},
{
"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, \"battery\": 97}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441627.7280324,
"msecs": 728.0323505401611,
"relativeCreated": 24731.547594070435,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/heating_valve and payload b'{\"current_heating_setpoint\": 16.5, \"local_temperature\": 20.7, \"battery\": 97}'",
"asctime": "2023-02-15 07:13:47,728"
}
],
"time_consumption": 0.2868170738220215
},
{
"name": "__tLogger__",
"msg": "Away mode is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441628.0156083,
"msecs": 15.60831069946289,
"relativeCreated": 25019.123554229736,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Away mode is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:48,015",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Away mode",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441628.0152838,
"msecs": 15.283823013305664,
"relativeCreated": 25018.79906654358,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Away mode): True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:48,015"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Away mode",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441628.0154378,
"msecs": 15.437841415405273,
"relativeCreated": 25018.95308494568,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Away mode): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:48,015"
}
],
"time_consumption": 0.0001704692840576172
},
{
"name": "__tLogger__",
"msg": "Temperature setpoint is correct (Content %s and Type is %s).",
"args": [
"16.5",
"<class 'float'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441628.0160599,
"msecs": 16.05987548828125,
"relativeCreated": 25019.575119018555,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Temperature setpoint is correct (Content 16.5 and Type is <class 'float'>).",
"asctime": "2023-02-15 07:13:48,016",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Temperature setpoint",
"16.5",
"<class 'float'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441628.015821,
"msecs": 15.820980072021484,
"relativeCreated": 25019.336223602295,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Temperature setpoint): 16.5 (<class 'float'>)",
"asctime": "2023-02-15 07:13:48,015"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Temperature setpoint",
"=",
"16.5",
"<class 'float'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441628.0159528,
"msecs": 15.952825546264648,
"relativeCreated": 25019.468069076538,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Temperature setpoint): result = 16.5 (<class 'float'>)",
"asctime": "2023-02-15 07:13:48,015"
}
],
"time_consumption": 0.00010704994201660156
},
{
"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": 1676441628.3174965,
"msecs": 317.49653816223145,
"relativeCreated": 25321.011781692505,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Deactivating away mode",
"asctime": "2023-02-15 07:13:48,317",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.away_mode.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffe/sleep/heating_valve/away_mode/set",
"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": 1676441628.0163429,
"msecs": 16.342878341674805,
"relativeCreated": 25019.85812187195,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffe/sleep/heating_valve/away_mode/set and payload false",
"asctime": "2023-02-15 07:13:48,016"
},
{
"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": 1676441628.029219,
"msecs": 29.21891212463379,
"relativeCreated": 25032.734155654907,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/heating_valve/set and payload b'{\"current_heating_setpoint\": 21.5}'",
"asctime": "2023-02-15 07:13:48,029"
},
{
"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, \"battery\": 97}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441628.0299294,
"msecs": 29.929399490356445,
"relativeCreated": 25033.44464302063,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/sleep/heating_valve and payload {\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"battery\": 97}",
"asctime": "2023-02-15 07:13:48,029"
},
{
"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": 1676441628.030685,
"msecs": 30.684947967529297,
"relativeCreated": 25034.200191497803,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/sleep/heating_valve/valve_temperature_setpoint and payload b'21.5'",
"asctime": "2023-02-15 07:13:48,030"
},
{
"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": 1676441628.0316026,
"msecs": 31.60262107849121,
"relativeCreated": 25035.117864608765,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/sleep/heating_valve/away_mode and payload b'false'",
"asctime": "2023-02-15 07:13:48,031"
},
{
"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, \"battery\": 97}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441628.0323286,
"msecs": 32.32860565185547,
"relativeCreated": 25035.84384918213,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/heating_valve and payload b'{\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"battery\": 97}'",
"asctime": "2023-02-15 07:13:48,032"
}
],
"time_consumption": 0.285167932510376
},
{
"name": "__tLogger__",
"msg": "Away mode is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441628.3182278,
"msecs": 318.22776794433594,
"relativeCreated": 25321.74301147461,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Away mode is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:48,318",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Away mode",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441628.3179564,
"msecs": 317.95644760131836,
"relativeCreated": 25321.47169113159,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Away mode): False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:48,317"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Away mode",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441628.3181093,
"msecs": 318.10927391052246,
"relativeCreated": 25321.624517440796,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Away mode): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:48,318"
}
],
"time_consumption": 0.00011849403381347656
},
{
"name": "__tLogger__",
"msg": "Temperature setpoint is correct (Content %s and Type is %s).",
"args": [
"21.5",
"<class 'float'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441628.3187437,
"msecs": 318.7437057495117,
"relativeCreated": 25322.258949279785,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Temperature setpoint is correct (Content 21.5 and Type is <class 'float'>).",
"asctime": "2023-02-15 07:13:48,318",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Temperature setpoint",
"21.5",
"<class 'float'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441628.3185194,
"msecs": 318.51935386657715,
"relativeCreated": 25322.03459739685,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Temperature setpoint): 21.5 (<class 'float'>)",
"asctime": "2023-02-15 07:13:48,318"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Temperature setpoint",
"=",
"21.5",
"<class 'float'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441628.3186386,
"msecs": 318.63856315612793,
"relativeCreated": 25322.1538066864,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Temperature setpoint): result = 21.5 (<class 'float'>)",
"asctime": "2023-02-15 07:13:48,318"
}
],
"time_consumption": 0.00010514259338378906
}
],
"time_consumption": 0.9077277183532715,
"time_start": "2023-02-15 07:13:47,411",
"time_finished": "2023-02-15 07:13:48,318"
},
"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": 1676441628.3192122,
"msecs": 319.2121982574463,
"relativeCreated": 25322.72744178772,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Boost mode test: zigbee/ffe/sleep/heating_valve",
"asctime": "2023-02-15 07:13:48,319",
"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": 1676441628.6205027,
"msecs": 620.5027103424072,
"relativeCreated": 25624.01795387268,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Setting preconditions (Default setpoint)",
"asctime": "2023-02-15 07:13:48,620",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.set_default_temperature.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffe/sleep/heating_valve/set_default_temperature/set",
"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": 1676441628.3195298,
"msecs": 319.52977180480957,
"relativeCreated": 25323.045015335083,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffe/sleep/heating_valve/set_default_temperature/set and payload null",
"asctime": "2023-02-15 07:13:48,319"
}
],
"time_consumption": 0.30097293853759766
},
{
"name": "__tLogger__",
"msg": "Boost timer is correct (Content %s and Type is %s).",
"args": [
"0",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441628.621135,
"msecs": 621.1349964141846,
"relativeCreated": 25624.650239944458,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Boost timer is correct (Content 0 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:48,621",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Boost timer",
"0",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441628.6209047,
"msecs": 620.9046840667725,
"relativeCreated": 25624.419927597046,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Boost timer): 0 (<class 'int'>)",
"asctime": "2023-02-15 07:13:48,620"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Boost timer",
"=",
"0",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441628.6210327,
"msecs": 621.03271484375,
"relativeCreated": 25624.547958374023,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Boost timer): result = 0 (<class 'int'>)",
"asctime": "2023-02-15 07:13:48,621"
}
],
"time_consumption": 0.00010228157043457031
},
{
"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": 1676441628.9225624,
"msecs": 922.5623607635498,
"relativeCreated": 25926.077604293823,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Activating boost mode",
"asctime": "2023-02-15 07:13:48,922",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.start_boost.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffe/sleep/heating_valve/start_boost/set",
"true"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441628.6214647,
"msecs": 621.464729309082,
"relativeCreated": 25624.979972839355,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffe/sleep/heating_valve/start_boost/set and payload true",
"asctime": "2023-02-15 07:13:48,621"
},
{
"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": 1676441628.6325345,
"msecs": 632.5345039367676,
"relativeCreated": 25636.04974746704,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/sleep/heating_valve/boost_timer and payload b'900'",
"asctime": "2023-02-15 07:13:48,632"
},
{
"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": 1676441628.6333342,
"msecs": 633.3341598510742,
"relativeCreated": 25636.849403381348,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/heating_valve/set and payload b'{\"current_heating_setpoint\": 30}'",
"asctime": "2023-02-15 07:13:48,633"
},
{
"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, \"battery\": 97}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441628.633831,
"msecs": 633.8310241699219,
"relativeCreated": 25637.346267700195,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/sleep/heating_valve and payload {\"current_heating_setpoint\": 30, \"local_temperature\": 20.7, \"battery\": 97}",
"asctime": "2023-02-15 07:13:48,633"
},
{
"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": 1676441628.6344433,
"msecs": 634.4432830810547,
"relativeCreated": 25637.958526611328,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/sleep/heating_valve/valve_temperature_setpoint and payload b'30'",
"asctime": "2023-02-15 07:13:48,634"
},
{
"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, \"battery\": 97}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441628.6354532,
"msecs": 635.4532241821289,
"relativeCreated": 25638.968467712402,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/heating_valve and payload b'{\"current_heating_setpoint\": 30, \"local_temperature\": 20.7, \"battery\": 97}'",
"asctime": "2023-02-15 07:13:48,635"
}
],
"time_consumption": 0.2871091365814209
},
{
"name": "__tLogger__",
"msg": "Boost timer is greater expectation (Content %s and Type is %s).",
"args": [
"900",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/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": 1676441628.9232783,
"msecs": 923.2783317565918,
"relativeCreated": 25926.793575286865,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Boost timer is greater expectation (Content 900 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:48,923",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Boost timer",
"900",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441628.923001,
"msecs": 923.0010509490967,
"relativeCreated": 25926.51629447937,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Boost timer): 900 (<class 'int'>)",
"asctime": "2023-02-15 07:13:48,923"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Boost timer",
">",
"0",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441628.9231546,
"msecs": 923.1545925140381,
"relativeCreated": 25926.66983604431,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Boost timer): result > 0 (<class 'int'>)",
"asctime": "2023-02-15 07:13:48,923"
}
],
"time_consumption": 0.00012373924255371094
},
{
"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": 1676441629.2247276,
"msecs": 224.72763061523438,
"relativeCreated": 26228.242874145508,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Setting postconditions (Default setpoint)",
"asctime": "2023-02-15 07:13:49,224",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.set_default_temperature.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffe/sleep/heating_valve/set_default_temperature/set",
"true"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441628.9235857,
"msecs": 923.5856533050537,
"relativeCreated": 25927.100896835327,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffe/sleep/heating_valve/set_default_temperature/set and payload true",
"asctime": "2023-02-15 07:13:48,923"
},
{
"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": 1676441628.936018,
"msecs": 936.0179901123047,
"relativeCreated": 25939.533233642578,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/sleep/heating_valve/boost_timer and payload b'0'",
"asctime": "2023-02-15 07:13:48,936"
},
{
"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": 1676441628.9368942,
"msecs": 936.8941783905029,
"relativeCreated": 25940.409421920776,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/heating_valve/set and payload b'{\"current_heating_setpoint\": 21.5}'",
"asctime": "2023-02-15 07:13:48,936"
},
{
"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, \"battery\": 97}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441628.937424,
"msecs": 937.4239444732666,
"relativeCreated": 25940.93918800354,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/sleep/heating_valve and payload {\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"battery\": 97}",
"asctime": "2023-02-15 07:13:48,937"
},
{
"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": 1676441628.938124,
"msecs": 938.1239414215088,
"relativeCreated": 25941.639184951782,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/sleep/heating_valve/valve_temperature_setpoint and payload b'21.5'",
"asctime": "2023-02-15 07:13:48,938"
},
{
"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, \"battery\": 97}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441628.9392676,
"msecs": 939.267635345459,
"relativeCreated": 25942.782878875732,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/heating_valve and payload b'{\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"battery\": 97}'",
"asctime": "2023-02-15 07:13:48,939"
}
],
"time_consumption": 0.2854599952697754
},
{
"name": "__tLogger__",
"msg": "Boost timer is correct (Content %s and Type is %s).",
"args": [
"0",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441629.2254336,
"msecs": 225.4335880279541,
"relativeCreated": 26228.948831558228,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Boost timer is correct (Content 0 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:49,225",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Boost timer",
"0",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441629.2251613,
"msecs": 225.16131401062012,
"relativeCreated": 26228.676557540894,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Boost timer): 0 (<class 'int'>)",
"asctime": "2023-02-15 07:13:49,225"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Boost timer",
"=",
"0",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441629.225313,
"msecs": 225.3129482269287,
"relativeCreated": 26228.828191757202,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Boost timer): result = 0 (<class 'int'>)",
"asctime": "2023-02-15 07:13:49,225"
}
],
"time_consumption": 0.00012063980102539062
}
],
"time_consumption": 0.9062213897705078,
"time_start": "2023-02-15 07:13:48,319",
"time_finished": "2023-02-15 07:13:49,225"
},
"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": 1676441629.2259552,
"msecs": 225.95524787902832,
"relativeCreated": 26229.4704914093,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Default temperature test for device and virtual device: zigbee/ffe/sleep/heating_valve",
"asctime": "2023-02-15 07:13:49,225",
"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": 1676441629.5273583,
"msecs": 527.3582935333252,
"relativeCreated": 26530.8735370636,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Setting preconditions (Valve setpoint to 16.5)",
"asctime": "2023-02-15 07:13:49,527",
"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, \"battery\": 97}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441629.2264535,
"msecs": 226.4535427093506,
"relativeCreated": 26229.968786239624,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/sleep/heating_valve and payload {\"current_heating_setpoint\": 16.5, \"local_temperature\": 20.7, \"battery\": 97}",
"asctime": "2023-02-15 07:13:49,226"
},
{
"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, \"battery\": 97}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441629.2278328,
"msecs": 227.83279418945312,
"relativeCreated": 26231.348037719727,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/heating_valve and payload b'{\"current_heating_setpoint\": 16.5, \"local_temperature\": 20.7, \"battery\": 97}'",
"asctime": "2023-02-15 07:13:49,227"
},
{
"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": 1676441629.2324576,
"msecs": 232.45763778686523,
"relativeCreated": 26235.97288131714,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/heating_valve/set and payload b'{\"current_heating_setpoint\": 16.5}'",
"asctime": "2023-02-15 07:13:49,232"
},
{
"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": 1676441629.232689,
"msecs": 232.68890380859375,
"relativeCreated": 26236.204147338867,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/sleep/heating_valve/valve_temperature_setpoint and payload b'16.5'",
"asctime": "2023-02-15 07:13:49,232"
},
{
"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": 1676441629.2329073,
"msecs": 232.90729522705078,
"relativeCreated": 26236.422538757324,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/sleep/heating_valve/user_temperature_setpoint and payload b'16.5'",
"asctime": "2023-02-15 07:13:49,232"
}
],
"time_consumption": 0.2944509983062744
},
{
"name": "__tLogger__",
"msg": "Valve temperature setpoint (is not default temperature) is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441629.5281,
"msecs": 528.1000137329102,
"relativeCreated": 26531.615257263184,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Valve temperature setpoint (is not default temperature) is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:49,528",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Valve temperature setpoint (is not default temperature)",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441629.5278256,
"msecs": 527.8255939483643,
"relativeCreated": 26531.340837478638,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Valve temperature setpoint (is not default temperature)): True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:49,527"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Valve temperature setpoint (is not default temperature)",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441629.5279574,
"msecs": 527.9574394226074,
"relativeCreated": 26531.47268295288,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Valve temperature setpoint (is not default temperature)): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:49,527"
}
],
"time_consumption": 0.00014257431030273438
},
{
"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": 1676441629.8293147,
"msecs": 829.3147087097168,
"relativeCreated": 26832.82995223999,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Triggering set to default temperature (21.5)",
"asctime": "2023-02-15 07:13:49,829",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.set_default_temperature.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffe/sleep/heating_valve/set_default_temperature/set",
"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": 1676441629.5283625,
"msecs": 528.362512588501,
"relativeCreated": 26531.877756118774,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffe/sleep/heating_valve/set_default_temperature/set and payload null",
"asctime": "2023-02-15 07:13:49,528"
},
{
"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": 1676441629.533745,
"msecs": 533.7450504302979,
"relativeCreated": 26537.26029396057,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/sleep/heating_valve/user_temperature_setpoint and payload b'21.5'",
"asctime": "2023-02-15 07:13:49,533"
},
{
"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": 1676441629.575526,
"msecs": 575.5259990692139,
"relativeCreated": 26579.041242599487,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/heating_valve/set and payload b'{\"current_heating_setpoint\": 21.5}'",
"asctime": "2023-02-15 07:13:49,575"
},
{
"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, \"battery\": 97}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441629.5761633,
"msecs": 576.1632919311523,
"relativeCreated": 26579.678535461426,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/sleep/heating_valve and payload {\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"battery\": 97}",
"asctime": "2023-02-15 07:13:49,576"
},
{
"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": 1676441629.5768397,
"msecs": 576.8396854400635,
"relativeCreated": 26580.354928970337,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/sleep/heating_valve/valve_temperature_setpoint and payload b'21.5'",
"asctime": "2023-02-15 07:13:49,576"
},
{
"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, \"battery\": 97}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441629.577875,
"msecs": 577.8748989105225,
"relativeCreated": 26581.390142440796,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/heating_valve and payload b'{\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"battery\": 97}'",
"asctime": "2023-02-15 07:13:49,577"
}
],
"time_consumption": 0.25143980979919434
},
{
"name": "__tLogger__",
"msg": "Valve temperature setpoint is correct (Content %s and Type is %s).",
"args": [
"21.5",
"<class 'float'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441629.8301058,
"msecs": 830.1057815551758,
"relativeCreated": 26833.62102508545,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Valve temperature setpoint is correct (Content 21.5 and Type is <class 'float'>).",
"asctime": "2023-02-15 07:13:49,830",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Valve temperature setpoint",
"21.5",
"<class 'float'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441629.8298187,
"msecs": 829.8187255859375,
"relativeCreated": 26833.33396911621,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Valve temperature setpoint): 21.5 (<class 'float'>)",
"asctime": "2023-02-15 07:13:49,829"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Valve temperature setpoint",
"=",
"21.5",
"<class 'float'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441629.829979,
"msecs": 829.9789428710938,
"relativeCreated": 26833.494186401367,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Valve temperature setpoint): result = 21.5 (<class 'float'>)",
"asctime": "2023-02-15 07:13:49,829"
}
],
"time_consumption": 0.00012683868408203125
}
],
"time_consumption": 0.6041505336761475,
"time_start": "2023-02-15 07:13:49,225",
"time_finished": "2023-02-15 07:13:49,830"
},
"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": 1676441629.8306212,
"msecs": 830.6212425231934,
"relativeCreated": 26834.136486053467,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Summer mode test: zigbee/ffe/sleep/heating_valve",
"asctime": "2023-02-15 07:13:49,830",
"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": 1676441630.1320157,
"msecs": 132.01570510864258,
"relativeCreated": 27135.530948638916,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Setting preconditions (Default setpoint)",
"asctime": "2023-02-15 07:13:50,132",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.set_default_temperature.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffe/sleep/heating_valve/set_default_temperature/set",
"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": 1676441629.83093,
"msecs": 830.9299945831299,
"relativeCreated": 26834.445238113403,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffe/sleep/heating_valve/set_default_temperature/set and payload null",
"asctime": "2023-02-15 07:13:49,830"
}
],
"time_consumption": 0.3010857105255127
},
{
"name": "__tLogger__",
"msg": "Summer mode is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441630.132771,
"msecs": 132.77101516723633,
"relativeCreated": 27136.28625869751,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Summer mode is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:50,132",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Summer mode",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441630.132449,
"msecs": 132.44891166687012,
"relativeCreated": 27135.964155197144,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Summer mode): False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:50,132"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Summer mode",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441630.1326058,
"msecs": 132.60579109191895,
"relativeCreated": 27136.121034622192,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Summer mode): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:50,132"
}
],
"time_consumption": 0.0001652240753173828
},
{
"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": 1676441630.4343283,
"msecs": 434.3283176422119,
"relativeCreated": 27437.843561172485,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Activating summer mode",
"asctime": "2023-02-15 07:13:50,434",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.summer_mode.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffe/sleep/heating_valve/summer_mode/set",
"true"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441630.1331606,
"msecs": 133.16059112548828,
"relativeCreated": 27136.67583465576,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffe/sleep/heating_valve/summer_mode/set and payload true",
"asctime": "2023-02-15 07:13:50,133"
},
{
"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": 1676441630.1433113,
"msecs": 143.3112621307373,
"relativeCreated": 27146.82650566101,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/heating_valve/set and payload b'{\"current_heating_setpoint\": 5}'",
"asctime": "2023-02-15 07:13:50,143"
},
{
"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, \"battery\": 97}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441630.1435316,
"msecs": 143.53156089782715,
"relativeCreated": 27147.0468044281,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/sleep/heating_valve and payload {\"current_heating_setpoint\": 5, \"local_temperature\": 20.7, \"battery\": 97}",
"asctime": "2023-02-15 07:13:50,143"
},
{
"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": 1676441630.143757,
"msecs": 143.75710487365723,
"relativeCreated": 27147.27234840393,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/sleep/heating_valve/valve_temperature_setpoint and payload b'5'",
"asctime": "2023-02-15 07:13:50,143"
},
{
"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": 1676441630.144057,
"msecs": 144.057035446167,
"relativeCreated": 27147.57227897644,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/sleep/heating_valve/summer_mode and payload b'true'",
"asctime": "2023-02-15 07:13:50,144"
},
{
"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, \"battery\": 97}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441630.144298,
"msecs": 144.29807662963867,
"relativeCreated": 27147.813320159912,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/heating_valve and payload b'{\"current_heating_setpoint\": 5, \"local_temperature\": 20.7, \"battery\": 97}'",
"asctime": "2023-02-15 07:13:50,144"
}
],
"time_consumption": 0.29003024101257324
},
{
"name": "__tLogger__",
"msg": "Summer mode is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441630.4351614,
"msecs": 435.1613521575928,
"relativeCreated": 27438.676595687866,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Summer mode is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:50,435",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Summer mode",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441630.4347956,
"msecs": 434.795618057251,
"relativeCreated": 27438.310861587524,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Summer mode): True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:50,434"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Summer mode",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441630.4349523,
"msecs": 434.9522590637207,
"relativeCreated": 27438.467502593994,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Summer mode): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:50,434"
}
],
"time_consumption": 0.0002090930938720703
},
{
"name": "__tLogger__",
"msg": "Temperature setpoint is correct (Content %s and Type is %s).",
"args": [
"5",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441630.435655,
"msecs": 435.6551170349121,
"relativeCreated": 27439.170360565186,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Temperature setpoint is correct (Content 5 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:50,435",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Temperature setpoint",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441630.4353848,
"msecs": 435.38475036621094,
"relativeCreated": 27438.899993896484,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Temperature setpoint): 5 (<class 'int'>)",
"asctime": "2023-02-15 07:13:50,435"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Temperature setpoint",
"=",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441630.4355175,
"msecs": 435.5175495147705,
"relativeCreated": 27439.032793045044,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Temperature setpoint): result = 5 (<class 'int'>)",
"asctime": "2023-02-15 07:13:50,435"
}
],
"time_consumption": 0.00013756752014160156
},
{
"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": 1676441630.7369707,
"msecs": 736.9706630706787,
"relativeCreated": 27740.485906600952,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Deactivating summer mode",
"asctime": "2023-02-15 07:13:50,736",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.summer_mode.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffe/sleep/heating_valve/summer_mode/set",
"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": 1676441630.4359474,
"msecs": 435.9474182128906,
"relativeCreated": 27439.462661743164,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffe/sleep/heating_valve/summer_mode/set and payload false",
"asctime": "2023-02-15 07:13:50,435"
},
{
"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": 1676441630.4478676,
"msecs": 447.86763191223145,
"relativeCreated": 27451.382875442505,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/heating_valve/set and payload b'{\"current_heating_setpoint\": 21.5}'",
"asctime": "2023-02-15 07:13:50,447"
},
{
"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, \"battery\": 97}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441630.4485443,
"msecs": 448.5442638397217,
"relativeCreated": 27452.059507369995,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/sleep/heating_valve and payload {\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"battery\": 97}",
"asctime": "2023-02-15 07:13:50,448"
},
{
"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": 1676441630.4492593,
"msecs": 449.25928115844727,
"relativeCreated": 27452.77452468872,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/sleep/heating_valve/valve_temperature_setpoint and payload b'21.5'",
"asctime": "2023-02-15 07:13:50,449"
},
{
"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": 1676441630.4502246,
"msecs": 450.2246379852295,
"relativeCreated": 27453.739881515503,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/sleep/heating_valve/summer_mode and payload b'false'",
"asctime": "2023-02-15 07:13:50,450"
},
{
"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, \"battery\": 97}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441630.451002,
"msecs": 451.0018825531006,
"relativeCreated": 27454.517126083374,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/heating_valve and payload b'{\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"battery\": 97}'",
"asctime": "2023-02-15 07:13:50,451"
}
],
"time_consumption": 0.2859687805175781
},
{
"name": "__tLogger__",
"msg": "Summer mode is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441630.7377248,
"msecs": 737.724781036377,
"relativeCreated": 27741.24002456665,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Summer mode is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:50,737",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Summer mode",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441630.7374098,
"msecs": 737.4098300933838,
"relativeCreated": 27740.925073623657,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Summer mode): False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:50,737"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Summer mode",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441630.737562,
"msecs": 737.5619411468506,
"relativeCreated": 27741.077184677124,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Summer mode): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:50,737"
}
],
"time_consumption": 0.0001628398895263672
},
{
"name": "__tLogger__",
"msg": "Temperature setpoint is correct (Content %s and Type is %s).",
"args": [
"21.5",
"<class 'float'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441630.7381752,
"msecs": 738.1751537322998,
"relativeCreated": 27741.690397262573,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Temperature setpoint is correct (Content 21.5 and Type is <class 'float'>).",
"asctime": "2023-02-15 07:13:50,738",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Temperature setpoint",
"21.5",
"<class 'float'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441630.7379522,
"msecs": 737.9522323608398,
"relativeCreated": 27741.467475891113,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Temperature setpoint): 21.5 (<class 'float'>)",
"asctime": "2023-02-15 07:13:50,737"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Temperature setpoint",
"=",
"21.5",
"<class 'float'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441630.7380695,
"msecs": 738.0695343017578,
"relativeCreated": 27741.58477783203,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Temperature setpoint): result = 21.5 (<class 'float'>)",
"asctime": "2023-02-15 07:13:50,738"
}
],
"time_consumption": 0.00010561943054199219
}
],
"time_consumption": 0.9075539112091064,
"time_start": "2023-02-15 07:13:49,830",
"time_finished": "2023-02-15 07:13:50,738"
},
"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": 1676441630.7386918,
"msecs": 738.6918067932129,
"relativeCreated": 27742.207050323486,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "User temperature setpoint test for device and virtual device: zigbee/ffe/sleep/heating_valve",
"asctime": "2023-02-15 07:13:50,738",
"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": 1676441631.0402486,
"msecs": 40.24863243103027,
"relativeCreated": 28043.763875961304,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing valve temperature setpoint to '16.5'",
"asctime": "2023-02-15 07:13:51,040",
"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, \"battery\": 97}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441630.7390964,
"msecs": 739.0964031219482,
"relativeCreated": 27742.61164665222,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/sleep/heating_valve and payload {\"current_heating_setpoint\": 16.5, \"local_temperature\": 20.7, \"battery\": 97}",
"asctime": "2023-02-15 07:13:50,739"
},
{
"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, \"battery\": 97}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441630.7403817,
"msecs": 740.3817176818848,
"relativeCreated": 27743.89696121216,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/heating_valve and payload b'{\"current_heating_setpoint\": 16.5, \"local_temperature\": 20.7, \"battery\": 97}'",
"asctime": "2023-02-15 07:13:50,740"
},
{
"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": 1676441630.7451656,
"msecs": 745.1655864715576,
"relativeCreated": 27748.68083000183,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/heating_valve/set and payload b'{\"current_heating_setpoint\": 16.5}'",
"asctime": "2023-02-15 07:13:50,745"
},
{
"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": 1676441630.7458453,
"msecs": 745.8453178405762,
"relativeCreated": 27749.36056137085,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/sleep/heating_valve/valve_temperature_setpoint and payload b'16.5'",
"asctime": "2023-02-15 07:13:50,745"
},
{
"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": 1676441630.7465444,
"msecs": 746.544361114502,
"relativeCreated": 27750.059604644775,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/sleep/heating_valve/user_temperature_setpoint and payload b'16.5'",
"asctime": "2023-02-15 07:13:50,746"
}
],
"time_consumption": 0.2937042713165283
},
{
"name": "__tLogger__",
"msg": "Virtual device valve temperature is correct (Content %s and Type is %s).",
"args": [
"16.5",
"<class 'float'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441631.0410047,
"msecs": 41.00465774536133,
"relativeCreated": 28044.519901275635,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device valve temperature is correct (Content 16.5 and Type is <class 'float'>).",
"asctime": "2023-02-15 07:13:51,041",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device valve temperature",
"16.5",
"<class 'float'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441631.0407207,
"msecs": 40.72070121765137,
"relativeCreated": 28044.235944747925,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device valve temperature): 16.5 (<class 'float'>)",
"asctime": "2023-02-15 07:13:51,040"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device valve temperature",
"=",
"16.5",
"<class 'float'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441631.0408766,
"msecs": 40.87662696838379,
"relativeCreated": 28044.391870498657,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device valve temperature): result = 16.5 (<class 'float'>)",
"asctime": "2023-02-15 07:13:51,040"
}
],
"time_consumption": 0.00012803077697753906
},
{
"name": "__tLogger__",
"msg": "Virtual device user temperature is correct (Content %s and Type is %s).",
"args": [
"16.5",
"<class 'float'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441631.0414577,
"msecs": 41.4576530456543,
"relativeCreated": 28044.972896575928,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device user temperature is correct (Content 16.5 and Type is <class 'float'>).",
"asctime": "2023-02-15 07:13:51,041",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device user temperature",
"16.5",
"<class 'float'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441631.0412025,
"msecs": 41.202545166015625,
"relativeCreated": 28044.71778869629,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device user temperature): 16.5 (<class 'float'>)",
"asctime": "2023-02-15 07:13:51,041"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device user temperature",
"=",
"16.5",
"<class 'float'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441631.0413163,
"msecs": 41.31627082824707,
"relativeCreated": 28044.83151435852,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device user temperature): result = 16.5 (<class 'float'>)",
"asctime": "2023-02-15 07:13:51,041"
}
],
"time_consumption": 0.00014138221740722656
},
{
"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": 1676441631.3429418,
"msecs": 342.9417610168457,
"relativeCreated": 28346.45700454712,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing videv user temperature setpoint to '21.5'",
"asctime": "2023-02-15 07:13:51,342",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.user_temperature_setpoint.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffe/sleep/heating_valve/user_temperature_setpoint/set",
"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": 1676441631.0417948,
"msecs": 41.794776916503906,
"relativeCreated": 28045.310020446777,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffe/sleep/heating_valve/user_temperature_setpoint/set and payload 21.5",
"asctime": "2023-02-15 07:13:51,041"
},
{
"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": 1676441631.0481133,
"msecs": 48.113346099853516,
"relativeCreated": 28051.628589630127,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/heating_valve/set and payload b'{\"current_heating_setpoint\": 21.5}'",
"asctime": "2023-02-15 07:13:51,048"
},
{
"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, \"battery\": 97}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441631.0484757,
"msecs": 48.47574234008789,
"relativeCreated": 28051.99098587036,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/sleep/heating_valve and payload {\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"battery\": 97}",
"asctime": "2023-02-15 07:13:51,048"
},
{
"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": 1676441631.0486636,
"msecs": 48.66361618041992,
"relativeCreated": 28052.178859710693,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/sleep/heating_valve/valve_temperature_setpoint and payload b'21.5'",
"asctime": "2023-02-15 07:13:51,048"
},
{
"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": 1676441631.0489178,
"msecs": 48.91777038574219,
"relativeCreated": 28052.433013916016,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/sleep/heating_valve/user_temperature_setpoint and payload b'21.5'",
"asctime": "2023-02-15 07:13:51,048"
},
{
"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, \"battery\": 97}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441631.0491312,
"msecs": 49.131155014038086,
"relativeCreated": 28052.64639854431,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/heating_valve and payload b'{\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"battery\": 97}'",
"asctime": "2023-02-15 07:13:51,049"
}
],
"time_consumption": 0.2938106060028076
},
{
"name": "__tLogger__",
"msg": "Valve device temperature setpoint is correct (Content %s and Type is %s).",
"args": [
"21.5",
"<class 'float'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441631.343742,
"msecs": 343.74189376831055,
"relativeCreated": 28347.257137298584,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Valve device temperature setpoint is correct (Content 21.5 and Type is <class 'float'>).",
"asctime": "2023-02-15 07:13:51,343",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Valve device temperature setpoint",
"21.5",
"<class 'float'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441631.3434153,
"msecs": 343.4152603149414,
"relativeCreated": 28346.930503845215,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Valve device temperature setpoint): 21.5 (<class 'float'>)",
"asctime": "2023-02-15 07:13:51,343"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Valve device temperature setpoint",
"=",
"21.5",
"<class 'float'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441631.3436122,
"msecs": 343.6121940612793,
"relativeCreated": 28347.127437591553,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Valve device temperature setpoint): result = 21.5 (<class 'float'>)",
"asctime": "2023-02-15 07:13:51,343"
}
],
"time_consumption": 0.00012969970703125
},
{
"name": "__tLogger__",
"msg": "Virtual device valve temperature is correct (Content %s and Type is %s).",
"args": [
"21.5",
"<class 'float'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441631.3441553,
"msecs": 344.15531158447266,
"relativeCreated": 28347.670555114746,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device valve temperature is correct (Content 21.5 and Type is <class 'float'>).",
"asctime": "2023-02-15 07:13:51,344",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device valve temperature",
"21.5",
"<class 'float'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441631.343945,
"msecs": 343.9450263977051,
"relativeCreated": 28347.46026992798,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device valve temperature): 21.5 (<class 'float'>)",
"asctime": "2023-02-15 07:13:51,343"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device valve temperature",
"=",
"21.5",
"<class 'float'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441631.3440564,
"msecs": 344.0563678741455,
"relativeCreated": 28347.57161140442,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device valve temperature): result = 21.5 (<class 'float'>)",
"asctime": "2023-02-15 07:13:51,344"
}
],
"time_consumption": 9.894371032714844e-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": 1676441631.6455145,
"msecs": 645.5144882202148,
"relativeCreated": 28649.02973175049,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing valve temperature setpoint to '16.5'",
"asctime": "2023-02-15 07:13:51,645",
"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, \"battery\": 97}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441631.3445106,
"msecs": 344.510555267334,
"relativeCreated": 28348.025798797607,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/sleep/heating_valve and payload {\"current_heating_setpoint\": 16.5, \"local_temperature\": 20.7, \"battery\": 97}",
"asctime": "2023-02-15 07:13:51,344"
},
{
"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, \"battery\": 97}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441631.3458138,
"msecs": 345.8137512207031,
"relativeCreated": 28349.328994750977,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/heating_valve and payload b'{\"current_heating_setpoint\": 16.5, \"local_temperature\": 20.7, \"battery\": 97}'",
"asctime": "2023-02-15 07:13:51,345"
},
{
"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": 1676441631.3506231,
"msecs": 350.62313079833984,
"relativeCreated": 28354.138374328613,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/heating_valve/set and payload b'{\"current_heating_setpoint\": 16.5}'",
"asctime": "2023-02-15 07:13:51,350"
},
{
"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": 1676441631.35143,
"msecs": 351.42993927001953,
"relativeCreated": 28354.945182800293,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/sleep/heating_valve/valve_temperature_setpoint and payload b'16.5'",
"asctime": "2023-02-15 07:13:51,351"
},
{
"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": 1676441631.3521845,
"msecs": 352.184534072876,
"relativeCreated": 28355.69977760315,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/sleep/heating_valve/user_temperature_setpoint and payload b'16.5'",
"asctime": "2023-02-15 07:13:51,352"
}
],
"time_consumption": 0.29332995414733887
},
{
"name": "__tLogger__",
"msg": "Virtual device valve temperature is correct (Content %s and Type is %s).",
"args": [
"16.5",
"<class 'float'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441631.646168,
"msecs": 646.1679935455322,
"relativeCreated": 28649.683237075806,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device valve temperature is correct (Content 16.5 and Type is <class 'float'>).",
"asctime": "2023-02-15 07:13:51,646",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device valve temperature",
"16.5",
"<class 'float'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441631.645924,
"msecs": 645.9240913391113,
"relativeCreated": 28649.439334869385,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device valve temperature): 16.5 (<class 'float'>)",
"asctime": "2023-02-15 07:13:51,645"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device valve temperature",
"=",
"16.5",
"<class 'float'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441631.6460595,
"msecs": 646.059513092041,
"relativeCreated": 28649.574756622314,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device valve temperature): result = 16.5 (<class 'float'>)",
"asctime": "2023-02-15 07:13:51,646"
}
],
"time_consumption": 0.00010848045349121094
},
{
"name": "__tLogger__",
"msg": "Virtual device user temperature is correct (Content %s and Type is %s).",
"args": [
"16.5",
"<class 'float'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441631.6465702,
"msecs": 646.5702056884766,
"relativeCreated": 28650.08544921875,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device user temperature is correct (Content 16.5 and Type is <class 'float'>).",
"asctime": "2023-02-15 07:13:51,646",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device user temperature",
"16.5",
"<class 'float'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441631.646338,
"msecs": 646.3379859924316,
"relativeCreated": 28649.853229522705,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device user temperature): 16.5 (<class 'float'>)",
"asctime": "2023-02-15 07:13:51,646"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device user temperature",
"=",
"16.5",
"<class 'float'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441631.6464746,
"msecs": 646.4745998382568,
"relativeCreated": 28649.98984336853,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device user temperature): result = 16.5 (<class 'float'>)",
"asctime": "2023-02-15 07:13:51,646"
}
],
"time_consumption": 9.560585021972656e-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": 1676441631.947902,
"msecs": 947.9019641876221,
"relativeCreated": 28951.417207717896,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing videv user temperature setpoint to '21.5'",
"asctime": "2023-02-15 07:13:51,947",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.user_temperature_setpoint.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffe/sleep/heating_valve/user_temperature_setpoint/set",
"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": 1676441631.6468225,
"msecs": 646.822452545166,
"relativeCreated": 28650.33769607544,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffe/sleep/heating_valve/user_temperature_setpoint/set and payload 21.5",
"asctime": "2023-02-15 07:13:51,646"
},
{
"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": 1676441631.6522737,
"msecs": 652.2736549377441,
"relativeCreated": 28655.788898468018,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/heating_valve/set and payload b'{\"current_heating_setpoint\": 21.5}'",
"asctime": "2023-02-15 07:13:51,652"
},
{
"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, \"battery\": 97}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441631.6528132,
"msecs": 652.813196182251,
"relativeCreated": 28656.328439712524,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/sleep/heating_valve and payload {\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"battery\": 97}",
"asctime": "2023-02-15 07:13:51,652"
},
{
"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": 1676441631.6534245,
"msecs": 653.4245014190674,
"relativeCreated": 28656.93974494934,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/sleep/heating_valve/valve_temperature_setpoint and payload b'21.5'",
"asctime": "2023-02-15 07:13:51,653"
},
{
"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": 1676441631.6542003,
"msecs": 654.2003154754639,
"relativeCreated": 28657.715559005737,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/sleep/heating_valve/user_temperature_setpoint and payload b'21.5'",
"asctime": "2023-02-15 07:13:51,654"
},
{
"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, \"battery\": 97}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441631.654896,
"msecs": 654.8960208892822,
"relativeCreated": 28658.411264419556,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/heating_valve and payload b'{\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"battery\": 97}'",
"asctime": "2023-02-15 07:13:51,654"
}
],
"time_consumption": 0.29300594329833984
},
{
"name": "__tLogger__",
"msg": "Valve device temperature setpoint is correct (Content %s and Type is %s).",
"args": [
"21.5",
"<class 'float'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441631.9486532,
"msecs": 948.6532211303711,
"relativeCreated": 28952.168464660645,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Valve device temperature setpoint is correct (Content 21.5 and Type is <class 'float'>).",
"asctime": "2023-02-15 07:13:51,948",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Valve device temperature setpoint",
"21.5",
"<class 'float'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441631.9483697,
"msecs": 948.3697414398193,
"relativeCreated": 28951.884984970093,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Valve device temperature setpoint): 21.5 (<class 'float'>)",
"asctime": "2023-02-15 07:13:51,948"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Valve device temperature setpoint",
"=",
"21.5",
"<class 'float'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441631.948526,
"msecs": 948.5259056091309,
"relativeCreated": 28952.041149139404,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Valve device temperature setpoint): result = 21.5 (<class 'float'>)",
"asctime": "2023-02-15 07:13:51,948"
}
],
"time_consumption": 0.00012731552124023438
},
{
"name": "__tLogger__",
"msg": "Virtual device valve temperature is correct (Content %s and Type is %s).",
"args": [
"21.5",
"<class 'float'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441631.949124,
"msecs": 949.1240978240967,
"relativeCreated": 28952.63934135437,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device valve temperature is correct (Content 21.5 and Type is <class 'float'>).",
"asctime": "2023-02-15 07:13:51,949",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device valve temperature",
"21.5",
"<class 'float'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441631.9489026,
"msecs": 948.9026069641113,
"relativeCreated": 28952.417850494385,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device valve temperature): 21.5 (<class 'float'>)",
"asctime": "2023-02-15 07:13:51,948"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device valve temperature",
"=",
"21.5",
"<class 'float'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441631.9490197,
"msecs": 949.0196704864502,
"relativeCreated": 28952.534914016724,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device valve temperature): result = 21.5 (<class 'float'>)",
"asctime": "2023-02-15 07:13:51,949"
}
],
"time_consumption": 0.00010442733764648438
}
],
"time_consumption": 1.2104322910308838,
"time_start": "2023-02-15 07:13:50,738",
"time_finished": "2023-02-15 07:13:51,949"
},
"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": 1676441631.9496515,
"msecs": 949.6514797210693,
"relativeCreated": 28953.166723251343,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Brightness test for device and virtual device: zigbee/ffe/sleep/main_light",
"asctime": "2023-02-15 07:13:51,949",
"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": 1676441632.2517514,
"msecs": 251.75142288208008,
"relativeCreated": 29255.266666412354,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Setting preconditions (Power on)",
"asctime": "2023-02-15 07:13:52,251",
"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": 1676441631.9499633,
"msecs": 949.9633312225342,
"relativeCreated": 28953.478574752808,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffe/sleep/main_light/relay/0 and payload on",
"asctime": "2023-02-15 07:13:51,949"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441631.9506714,
"msecs": 950.6714344024658,
"relativeCreated": 28954.18667793274,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/sleep/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:51,950"
},
{
"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": 1676441631.951845,
"msecs": 951.8449306488037,
"relativeCreated": 28955.360174179077,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffe/sleep/main_light/relay/0 and payload b'on'",
"asctime": "2023-02-15 07:13:51,951"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441631.952709,
"msecs": 952.7089595794678,
"relativeCreated": 28956.22420310974,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:51,952"
},
{
"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": 1676441632.0033774,
"msecs": 3.3774375915527344,
"relativeCreated": 29006.892681121826,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/sleep/main_light/state and payload b'true'",
"asctime": "2023-02-15 07:13:52,003"
},
{
"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": 1676441632.0042512,
"msecs": 4.251241683959961,
"relativeCreated": 29007.766485214233,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/sleep/main_light/brightness and payload b'50'",
"asctime": "2023-02-15 07:13:52,004"
},
{
"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": 1676441632.0049129,
"msecs": 4.912853240966797,
"relativeCreated": 29008.42809677124,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/sleep/main_light/color_temp and payload b'5'",
"asctime": "2023-02-15 07:13:52,004"
}
],
"time_consumption": 0.24683856964111328
},
{
"name": "__tLogger__",
"msg": "Virtual device brightness is correct (Content %s and Type is %s).",
"args": [
"50",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441632.2525218,
"msecs": 252.52175331115723,
"relativeCreated": 29256.03699684143,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device brightness is correct (Content 50 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:52,252",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device brightness",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441632.2522037,
"msecs": 252.20370292663574,
"relativeCreated": 29255.71894645691,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device brightness): 50 (<class 'int'>)",
"asctime": "2023-02-15 07:13:52,252"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device brightness",
"=",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441632.252357,
"msecs": 252.35700607299805,
"relativeCreated": 29255.87224960327,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device brightness): result = 50 (<class 'int'>)",
"asctime": "2023-02-15 07:13:52,252"
}
],
"time_consumption": 0.0001647472381591797
},
{
"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": 1676441632.5540977,
"msecs": 554.0976524353027,
"relativeCreated": 29557.612895965576,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing light device brightness to '65'",
"asctime": "2023-02-15 07:13:52,554",
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441632.2529225,
"msecs": 252.92253494262695,
"relativeCreated": 29256.4377784729,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/sleep/main_light and payload {\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:52,252"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441632.2542064,
"msecs": 254.20641899108887,
"relativeCreated": 29257.721662521362,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/main_light and payload b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:52,254"
},
{
"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'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441632.256651,
"msecs": 256.6509246826172,
"relativeCreated": 29260.16616821289,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/sleep/main_light/brightness and payload b'65'",
"asctime": "2023-02-15 07:13:52,256"
}
],
"time_consumption": 0.29744672775268555
},
{
"name": "__tLogger__",
"msg": "Virtual device brightness is correct (Content %s and Type is %s).",
"args": [
"65",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441632.5548685,
"msecs": 554.8684597015381,
"relativeCreated": 29558.38370323181,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device brightness is correct (Content 65 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:52,554",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device brightness",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441632.5545926,
"msecs": 554.5926094055176,
"relativeCreated": 29558.10785293579,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device brightness): 65 (<class 'int'>)",
"asctime": "2023-02-15 07:13:52,554"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device brightness",
"=",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441632.5547485,
"msecs": 554.74853515625,
"relativeCreated": 29558.263778686523,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device brightness): result = 65 (<class 'int'>)",
"asctime": "2023-02-15 07:13:52,554"
}
],
"time_consumption": 0.00011992454528808594
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"65",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441632.5553117,
"msecs": 555.3116798400879,
"relativeCreated": 29558.82692337036,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 65 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:52,555",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441632.555064,
"msecs": 555.0639629364014,
"relativeCreated": 29558.579206466675,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 65 (<class 'int'>)",
"asctime": "2023-02-15 07:13:52,555"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441632.5551727,
"msecs": 555.1726818084717,
"relativeCreated": 29558.687925338745,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 65 (<class 'int'>)",
"asctime": "2023-02-15 07:13:52,555"
}
],
"time_consumption": 0.00013899803161621094
},
{
"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": 1676441632.8568003,
"msecs": 856.8003177642822,
"relativeCreated": 29860.315561294556,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device brightness to '50'",
"asctime": "2023-02-15 07:13:52,856",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffe.sleep.main_light.brightness.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffe/sleep/main_light/brightness/set",
"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": 1676441632.5556412,
"msecs": 555.6411743164062,
"relativeCreated": 29559.15641784668,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffe/sleep/main_light/brightness/set and payload 50",
"asctime": "2023-02-15 07:13:52,555"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441632.559054,
"msecs": 559.053897857666,
"relativeCreated": 29562.56914138794,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/main_light/set and payload b'{\"brightness\": 128}'",
"asctime": "2023-02-15 07:13:52,559"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441632.5597305,
"msecs": 559.7305297851562,
"relativeCreated": 29563.24577331543,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/sleep/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:52,559"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441632.5608628,
"msecs": 560.8627796173096,
"relativeCreated": 29564.378023147583,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:52,560"
},
{
"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": 1676441632.6040444,
"msecs": 604.0444374084473,
"relativeCreated": 29607.55968093872,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/sleep/main_light/brightness and payload b'50'",
"asctime": "2023-02-15 07:13:52,604"
}
],
"time_consumption": 0.25275588035583496
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"50",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441632.8575177,
"msecs": 857.5177192687988,
"relativeCreated": 29861.032962799072,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 50 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:52,857",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441632.857254,
"msecs": 857.2540283203125,
"relativeCreated": 29860.769271850586,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 50 (<class 'int'>)",
"asctime": "2023-02-15 07:13:52,857"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441632.8574014,
"msecs": 857.4013710021973,
"relativeCreated": 29860.91661453247,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 50 (<class 'int'>)",
"asctime": "2023-02-15 07:13:52,857"
}
],
"time_consumption": 0.0001163482666015625
},
{
"name": "__tLogger__",
"msg": "Virtual device brightness is correct (Content %s and Type is %s).",
"args": [
"50",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441632.8579588,
"msecs": 857.9587936401367,
"relativeCreated": 29861.47403717041,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device brightness is correct (Content 50 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:52,857",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device brightness",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441632.8577502,
"msecs": 857.7501773834229,
"relativeCreated": 29861.265420913696,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device brightness): 50 (<class 'int'>)",
"asctime": "2023-02-15 07:13:52,857"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device brightness",
"=",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441632.857862,
"msecs": 857.8619956970215,
"relativeCreated": 29861.377239227295,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device brightness): result = 50 (<class 'int'>)",
"asctime": "2023-02-15 07:13:52,857"
}
],
"time_consumption": 9.679794311523438e-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": 1676441633.1595073,
"msecs": 159.50727462768555,
"relativeCreated": 30163.02251815796,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing light device brightness to '65'",
"asctime": "2023-02-15 07:13:53,159",
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441632.8583243,
"msecs": 858.3242893218994,
"relativeCreated": 29861.839532852173,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/sleep/main_light and payload {\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:52,858"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441632.859632,
"msecs": 859.6320152282715,
"relativeCreated": 29863.147258758545,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/main_light and payload b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:52,859"
},
{
"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'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441632.8620398,
"msecs": 862.0398044586182,
"relativeCreated": 29865.55504798889,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/sleep/main_light/brightness and payload b'65'",
"asctime": "2023-02-15 07:13:52,862"
}
],
"time_consumption": 0.2974674701690674
},
{
"name": "__tLogger__",
"msg": "Virtual device brightness is correct (Content %s and Type is %s).",
"args": [
"65",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441633.1602824,
"msecs": 160.28237342834473,
"relativeCreated": 30163.797616958618,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device brightness is correct (Content 65 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:53,160",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device brightness",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441633.1599972,
"msecs": 159.99722480773926,
"relativeCreated": 30163.512468338013,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device brightness): 65 (<class 'int'>)",
"asctime": "2023-02-15 07:13:53,159"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device brightness",
"=",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441633.160161,
"msecs": 160.16101837158203,
"relativeCreated": 30163.676261901855,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device brightness): result = 65 (<class 'int'>)",
"asctime": "2023-02-15 07:13:53,160"
}
],
"time_consumption": 0.00012135505676269531
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"65",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441633.160682,
"msecs": 160.68196296691895,
"relativeCreated": 30164.197206497192,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 65 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:53,160",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441633.160474,
"msecs": 160.47406196594238,
"relativeCreated": 30163.989305496216,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 65 (<class 'int'>)",
"asctime": "2023-02-15 07:13:53,160"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441633.1605837,
"msecs": 160.5837345123291,
"relativeCreated": 30164.098978042603,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 65 (<class 'int'>)",
"asctime": "2023-02-15 07:13:53,160"
}
],
"time_consumption": 9.822845458984375e-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": 1676441633.4620755,
"msecs": 462.07547187805176,
"relativeCreated": 30465.590715408325,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device brightness to '50'",
"asctime": "2023-02-15 07:13:53,462",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffe.sleep.main_light.brightness.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffe/sleep/main_light/brightness/set",
"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": 1676441633.1609619,
"msecs": 160.96186637878418,
"relativeCreated": 30164.477109909058,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffe/sleep/main_light/brightness/set and payload 50",
"asctime": "2023-02-15 07:13:53,160"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441633.164251,
"msecs": 164.25108909606934,
"relativeCreated": 30167.766332626343,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/main_light/set and payload b'{\"brightness\": 128}'",
"asctime": "2023-02-15 07:13:53,164"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441633.164908,
"msecs": 164.90793228149414,
"relativeCreated": 30168.423175811768,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/sleep/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:53,164"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441633.1660292,
"msecs": 166.0292148590088,
"relativeCreated": 30169.544458389282,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:53,166"
},
{
"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": 1676441633.2099905,
"msecs": 209.9905014038086,
"relativeCreated": 30213.505744934082,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/sleep/main_light/brightness and payload b'50'",
"asctime": "2023-02-15 07:13:53,209"
}
],
"time_consumption": 0.25208497047424316
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"50",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441633.4628835,
"msecs": 462.88347244262695,
"relativeCreated": 30466.3987159729,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 50 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:53,462",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441633.4626076,
"msecs": 462.60762214660645,
"relativeCreated": 30466.12286567688,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 50 (<class 'int'>)",
"asctime": "2023-02-15 07:13:53,462"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441633.4627647,
"msecs": 462.7647399902344,
"relativeCreated": 30466.279983520508,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 50 (<class 'int'>)",
"asctime": "2023-02-15 07:13:53,462"
}
],
"time_consumption": 0.00011873245239257812
},
{
"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": 1676441633.7642186,
"msecs": 764.2185688018799,
"relativeCreated": 30767.733812332153,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Resetting precondition (Power off)",
"asctime": "2023-02-15 07:13:53,764",
"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": 1676441633.4631772,
"msecs": 463.1772041320801,
"relativeCreated": 30466.692447662354,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffe/sleep/main_light/relay/0 and payload off",
"asctime": "2023-02-15 07:13:53,463"
},
{
"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": 1676441633.4645233,
"msecs": 464.5233154296875,
"relativeCreated": 30468.03855895996,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffe/sleep/main_light/relay/0 and payload b'off'",
"asctime": "2023-02-15 07:13:53,464"
},
{
"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": 1676441633.4687233,
"msecs": 468.7232971191406,
"relativeCreated": 30472.238540649414,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/sleep/main_light/state and payload b'false'",
"asctime": "2023-02-15 07:13:53,468"
}
],
"time_consumption": 0.29549527168273926
}
],
"time_consumption": 1.8145670890808105,
"time_start": "2023-02-15 07:13:51,949",
"time_finished": "2023-02-15 07:13:53,764"
},
"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": 1676441633.7649958,
"msecs": 764.995813369751,
"relativeCreated": 30768.511056900024,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Color temperature test for device and virtual device: zigbee/ffe/sleep/main_light",
"asctime": "2023-02-15 07:13:53,764",
"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": 1676441634.067094,
"msecs": 67.09408760070801,
"relativeCreated": 31070.60933113098,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Setting preconditions (Power on)",
"asctime": "2023-02-15 07:13:54,067",
"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": 1676441633.7653475,
"msecs": 765.3474807739258,
"relativeCreated": 30768.8627243042,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffe/sleep/main_light/relay/0 and payload on",
"asctime": "2023-02-15 07:13:53,765"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441633.7660053,
"msecs": 766.005277633667,
"relativeCreated": 30769.52052116394,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/sleep/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:53,766"
},
{
"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": 1676441633.7672575,
"msecs": 767.2574520111084,
"relativeCreated": 30770.772695541382,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffe/sleep/main_light/relay/0 and payload b'on'",
"asctime": "2023-02-15 07:13:53,767"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441633.7681222,
"msecs": 768.1221961975098,
"relativeCreated": 30771.637439727783,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:53,768"
},
{
"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": 1676441633.8193583,
"msecs": 819.3583488464355,
"relativeCreated": 30822.87359237671,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/sleep/main_light/state and payload b'true'",
"asctime": "2023-02-15 07:13:53,819"
}
],
"time_consumption": 0.24773573875427246
},
{
"name": "__tLogger__",
"msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
"args": [
"5",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441634.067716,
"msecs": 67.71588325500488,
"relativeCreated": 31071.23112678528,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device color temperature is correct (Content 5 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:54,067",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device color temperature",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441634.067481,
"msecs": 67.48104095458984,
"relativeCreated": 31070.996284484863,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device color temperature): 5 (<class 'int'>)",
"asctime": "2023-02-15 07:13:54,067"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device color temperature",
"=",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441634.0676134,
"msecs": 67.61336326599121,
"relativeCreated": 31071.128606796265,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device color temperature): result = 5 (<class 'int'>)",
"asctime": "2023-02-15 07:13:54,067"
}
],
"time_consumption": 0.00010251998901367188
},
{
"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": 1676441634.3691747,
"msecs": 369.1747188568115,
"relativeCreated": 31372.689962387085,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing light device color temperature to '5'",
"asctime": "2023-02-15 07:13:54,369",
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441634.0680623,
"msecs": 68.06230545043945,
"relativeCreated": 31071.577548980713,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/sleep/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0}",
"asctime": "2023-02-15 07:13:54,068"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441634.0692072,
"msecs": 69.20719146728516,
"relativeCreated": 31072.72243499756,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0}'",
"asctime": "2023-02-15 07:13:54,069"
},
{
"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'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441634.0712686,
"msecs": 71.26855850219727,
"relativeCreated": 31074.78380203247,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/sleep/main_light/color_temp and payload b'8'",
"asctime": "2023-02-15 07:13:54,071"
}
],
"time_consumption": 0.29790616035461426
},
{
"name": "__tLogger__",
"msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
"args": [
"8",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441634.3698971,
"msecs": 369.89712715148926,
"relativeCreated": 31373.412370681763,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device color temperature is correct (Content 8 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:54,369",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device color temperature",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441634.3696282,
"msecs": 369.6281909942627,
"relativeCreated": 31373.143434524536,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device color temperature): 8 (<class 'int'>)",
"asctime": "2023-02-15 07:13:54,369"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device color temperature",
"=",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441634.369777,
"msecs": 369.77696418762207,
"relativeCreated": 31373.292207717896,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device color temperature): result = 8 (<class 'int'>)",
"asctime": "2023-02-15 07:13:54,369"
}
],
"time_consumption": 0.0001201629638671875
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"8",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441634.3703358,
"msecs": 370.33581733703613,
"relativeCreated": 31373.85106086731,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 8 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:54,370",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441634.3700893,
"msecs": 370.0892925262451,
"relativeCreated": 31373.60453605652,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 8 (<class 'int'>)",
"asctime": "2023-02-15 07:13:54,370"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441634.3701973,
"msecs": 370.1972961425781,
"relativeCreated": 31373.71253967285,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 8 (<class 'int'>)",
"asctime": "2023-02-15 07:13:54,370"
}
],
"time_consumption": 0.0001385211944580078
},
{
"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": 1676441634.6718068,
"msecs": 671.806812286377,
"relativeCreated": 31675.32205581665,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device color temperature to '5'",
"asctime": "2023-02-15 07:13:54,671",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffe.sleep.main_light.color_temp.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffe/sleep/main_light/color_temp/set",
"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": 1676441634.3707292,
"msecs": 370.7292079925537,
"relativeCreated": 31374.244451522827,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffe/sleep/main_light/color_temp/set and payload 5",
"asctime": "2023-02-15 07:13:54,370"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441634.3740156,
"msecs": 374.01556968688965,
"relativeCreated": 31377.530813217163,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/main_light/set and payload b'{\"color_temp\": 352}'",
"asctime": "2023-02-15 07:13:54,374"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441634.3747134,
"msecs": 374.7134208679199,
"relativeCreated": 31378.228664398193,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/sleep/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:54,374"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441634.3758435,
"msecs": 375.8435249328613,
"relativeCreated": 31379.358768463135,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:54,375"
},
{
"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": 1676441634.4190817,
"msecs": 419.0816879272461,
"relativeCreated": 31422.59693145752,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/sleep/main_light/color_temp and payload b'5'",
"asctime": "2023-02-15 07:13:54,419"
}
],
"time_consumption": 0.25272512435913086
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"5",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441634.6722984,
"msecs": 672.2984313964844,
"relativeCreated": 31675.813674926758,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 5 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:54,672",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441634.6721087,
"msecs": 672.1086502075195,
"relativeCreated": 31675.623893737793,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 5 (<class 'int'>)",
"asctime": "2023-02-15 07:13:54,672"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441634.6721992,
"msecs": 672.1992492675781,
"relativeCreated": 31675.71449279785,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 5 (<class 'int'>)",
"asctime": "2023-02-15 07:13:54,672"
}
],
"time_consumption": 9.918212890625e-05
},
{
"name": "__tLogger__",
"msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
"args": [
"5",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441634.6725588,
"msecs": 672.5587844848633,
"relativeCreated": 31676.074028015137,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device color temperature is correct (Content 5 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:54,672",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device color temperature",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441634.6724193,
"msecs": 672.4193096160889,
"relativeCreated": 31675.934553146362,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device color temperature): 5 (<class 'int'>)",
"asctime": "2023-02-15 07:13:54,672"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device color temperature",
"=",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441634.6724854,
"msecs": 672.4853515625,
"relativeCreated": 31676.000595092773,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device color temperature): result = 5 (<class 'int'>)",
"asctime": "2023-02-15 07:13:54,672"
}
],
"time_consumption": 7.343292236328125e-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": 1676441634.9737816,
"msecs": 973.7815856933594,
"relativeCreated": 31977.296829223633,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing light device color temperature to '5'",
"asctime": "2023-02-15 07:13:54,973",
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441634.6727977,
"msecs": 672.797679901123,
"relativeCreated": 31676.312923431396,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/sleep/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0}",
"asctime": "2023-02-15 07:13:54,672"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441634.6736355,
"msecs": 673.6354827880859,
"relativeCreated": 31677.15072631836,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0}'",
"asctime": "2023-02-15 07:13:54,673"
},
{
"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'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441634.6751707,
"msecs": 675.1706600189209,
"relativeCreated": 31678.685903549194,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/sleep/main_light/color_temp and payload b'8'",
"asctime": "2023-02-15 07:13:54,675"
}
],
"time_consumption": 0.2986109256744385
},
{
"name": "__tLogger__",
"msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
"args": [
"8",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441634.9745624,
"msecs": 974.562406539917,
"relativeCreated": 31978.07765007019,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device color temperature is correct (Content 8 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:54,974",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device color temperature",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441634.974235,
"msecs": 974.2350578308105,
"relativeCreated": 31977.750301361084,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device color temperature): 8 (<class 'int'>)",
"asctime": "2023-02-15 07:13:54,974"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device color temperature",
"=",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441634.9743857,
"msecs": 974.3857383728027,
"relativeCreated": 31977.900981903076,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device color temperature): result = 8 (<class 'int'>)",
"asctime": "2023-02-15 07:13:54,974"
}
],
"time_consumption": 0.0001766681671142578
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"8",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441634.974973,
"msecs": 974.9729633331299,
"relativeCreated": 31978.488206863403,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 8 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:54,974",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441634.974766,
"msecs": 974.7660160064697,
"relativeCreated": 31978.281259536743,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 8 (<class 'int'>)",
"asctime": "2023-02-15 07:13:54,974"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441634.9748757,
"msecs": 974.8756885528564,
"relativeCreated": 31978.39093208313,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 8 (<class 'int'>)",
"asctime": "2023-02-15 07:13:54,974"
}
],
"time_consumption": 9.72747802734375e-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": 1676441635.2764804,
"msecs": 276.48043632507324,
"relativeCreated": 32279.995679855347,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device color temperature to '5'",
"asctime": "2023-02-15 07:13:55,276",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffe.sleep.main_light.color_temp.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffe/sleep/main_light/color_temp/set",
"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": 1676441634.9753091,
"msecs": 975.3091335296631,
"relativeCreated": 31978.824377059937,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffe/sleep/main_light/color_temp/set and payload 5",
"asctime": "2023-02-15 07:13:54,975"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441634.9784973,
"msecs": 978.4972667694092,
"relativeCreated": 31982.012510299683,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/main_light/set and payload b'{\"color_temp\": 352}'",
"asctime": "2023-02-15 07:13:54,978"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441634.9791887,
"msecs": 979.1886806488037,
"relativeCreated": 31982.703924179077,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/sleep/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:54,979"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441634.9803221,
"msecs": 980.3221225738525,
"relativeCreated": 31983.837366104126,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:54,980"
},
{
"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": 1676441635.0230923,
"msecs": 23.092269897460938,
"relativeCreated": 32026.607513427734,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/sleep/main_light/color_temp and payload b'5'",
"asctime": "2023-02-15 07:13:55,023"
}
],
"time_consumption": 0.2533881664276123
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"5",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441635.2772963,
"msecs": 277.2963047027588,
"relativeCreated": 32280.811548233032,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 5 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:55,277",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441635.2769885,
"msecs": 276.9885063171387,
"relativeCreated": 32280.503749847412,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 5 (<class 'int'>)",
"asctime": "2023-02-15 07:13:55,276"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441635.2771614,
"msecs": 277.1613597869873,
"relativeCreated": 32280.67660331726,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 5 (<class 'int'>)",
"asctime": "2023-02-15 07:13:55,277"
}
],
"time_consumption": 0.00013494491577148438
},
{
"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": 1676441635.5788867,
"msecs": 578.8867473602295,
"relativeCreated": 32582.401990890503,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Resetting precondition (Power off)",
"asctime": "2023-02-15 07:13:55,578",
"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": 1676441635.2776186,
"msecs": 277.6186466217041,
"relativeCreated": 32281.133890151978,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffe/sleep/main_light/relay/0 and payload off",
"asctime": "2023-02-15 07:13:55,277"
},
{
"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": 1676441635.2791615,
"msecs": 279.1614532470703,
"relativeCreated": 32282.676696777344,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffe/sleep/main_light/relay/0 and payload b'off'",
"asctime": "2023-02-15 07:13:55,279"
},
{
"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": 1676441635.2839355,
"msecs": 283.935546875,
"relativeCreated": 32287.450790405273,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/sleep/main_light/state and payload b'false'",
"asctime": "2023-02-15 07:13:55,283"
}
],
"time_consumption": 0.2949512004852295
}
],
"time_consumption": 1.8138909339904785,
"time_start": "2023-02-15 07:13:53,764",
"time_finished": "2023-02-15 07:13:55,578"
},
"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": 1676441635.57968,
"msecs": 579.6799659729004,
"relativeCreated": 32583.195209503174,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Power On/ Off test for device and virtual device: shellies/ffe/sleep/main_light",
"asctime": "2023-02-15 07:13:55,579",
"moduleLogger": [],
"testcaseLogger": [
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441635.5802107,
"msecs": 580.2106857299805,
"relativeCreated": 32583.725929260254,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:55,580",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441635.5799522,
"msecs": 579.9522399902344,
"relativeCreated": 32583.467483520508,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:55,579"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441635.5800924,
"msecs": 580.0924301147461,
"relativeCreated": 32583.60767364502,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:55,580"
}
],
"time_consumption": 0.000118255615234375
},
{
"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": 1676441635.8820884,
"msecs": 882.0884227752686,
"relativeCreated": 32885.60366630554,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing switching device state to 'True'",
"asctime": "2023-02-15 07:13:55,882",
"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": 1676441635.5805287,
"msecs": 580.528736114502,
"relativeCreated": 32584.043979644775,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffe/sleep/main_light/relay/0 and payload on",
"asctime": "2023-02-15 07:13:55,580"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441635.5811553,
"msecs": 581.1553001403809,
"relativeCreated": 32584.670543670654,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/sleep/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:55,581"
},
{
"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": 1676441635.582301,
"msecs": 582.3009014129639,
"relativeCreated": 32585.816144943237,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffe/sleep/main_light/relay/0 and payload b'on'",
"asctime": "2023-02-15 07:13:55,582"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441635.5832374,
"msecs": 583.2374095916748,
"relativeCreated": 32586.75265312195,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:55,583"
},
{
"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": 1676441635.627483,
"msecs": 627.4828910827637,
"relativeCreated": 32630.998134613037,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/sleep/main_light/state and payload b'true'",
"asctime": "2023-02-15 07:13:55,627"
}
],
"time_consumption": 0.2546055316925049
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441635.88231,
"msecs": 882.3099136352539,
"relativeCreated": 32885.82515716553,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:55,882",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441635.8822474,
"msecs": 882.2474479675293,
"relativeCreated": 32885.7626914978,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:55,882"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441635.8822825,
"msecs": 882.2824954986572,
"relativeCreated": 32885.79773902893,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:55,882"
}
],
"time_consumption": 2.7418136596679688e-05
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441635.8823967,
"msecs": 882.3966979980469,
"relativeCreated": 32885.91194152832,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:55,882",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441635.8823526,
"msecs": 882.3525905609131,
"relativeCreated": 32885.86783409119,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:55,882"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441635.8823757,
"msecs": 882.3757171630859,
"relativeCreated": 32885.89096069336,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:55,882"
}
],
"time_consumption": 2.09808349609375e-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": 1676441636.1833537,
"msecs": 183.35366249084473,
"relativeCreated": 33186.86890602112,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device state to 'False'",
"asctime": "2023-02-15 07:13:56,183",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffe.sleep.main_light.state.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffe/sleep/main_light/state/set",
"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": 1676441635.882497,
"msecs": 882.4970722198486,
"relativeCreated": 32886.01231575012,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffe/sleep/main_light/state/set and payload false",
"asctime": "2023-02-15 07:13:55,882"
},
{
"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": 1676441635.8836083,
"msecs": 883.608341217041,
"relativeCreated": 32887.123584747314,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffe/sleep/main_light/relay/0/command and payload b'off'",
"asctime": "2023-02-15 07:13:55,883"
},
{
"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": 1676441635.8837705,
"msecs": 883.7704658508301,
"relativeCreated": 32887.2857093811,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffe/sleep/main_light/relay/0 and payload off",
"asctime": "2023-02-15 07:13:55,883"
},
{
"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": 1676441635.8840725,
"msecs": 884.0725421905518,
"relativeCreated": 32887.587785720825,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffe/sleep/main_light/relay/0 and payload b'off'",
"asctime": "2023-02-15 07:13:55,884"
},
{
"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": 1676441635.971126,
"msecs": 971.1260795593262,
"relativeCreated": 32974.6413230896,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/sleep/main_light/state and payload b'false'",
"asctime": "2023-02-15 07:13:55,971"
}
],
"time_consumption": 0.21222758293151855
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441636.1840796,
"msecs": 184.07964706420898,
"relativeCreated": 33187.59489059448,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:56,184",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441636.1838093,
"msecs": 183.8092803955078,
"relativeCreated": 33187.32452392578,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:56,183"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441636.183959,
"msecs": 183.9590072631836,
"relativeCreated": 33187.47425079346,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:56,183"
}
],
"time_consumption": 0.00012063980102539062
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441636.1845288,
"msecs": 184.52882766723633,
"relativeCreated": 33188.04407119751,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:56,184",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441636.1842744,
"msecs": 184.27443504333496,
"relativeCreated": 33187.78967857361,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:56,184"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441636.1844292,
"msecs": 184.42916870117188,
"relativeCreated": 33187.944412231445,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:56,184"
}
],
"time_consumption": 9.965896606445312e-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": 1676441636.4865334,
"msecs": 486.53340339660645,
"relativeCreated": 33490.04864692688,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing switching device state to 'True'",
"asctime": "2023-02-15 07:13:56,486",
"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": 1676441636.184819,
"msecs": 184.81898307800293,
"relativeCreated": 33188.33422660828,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffe/sleep/main_light/relay/0 and payload on",
"asctime": "2023-02-15 07:13:56,184"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441636.1854389,
"msecs": 185.438871383667,
"relativeCreated": 33188.95411491394,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffe/sleep/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:13:56,185"
},
{
"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": 1676441636.1866434,
"msecs": 186.6433620452881,
"relativeCreated": 33190.15860557556,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffe/sleep/main_light/relay/0 and payload b'on'",
"asctime": "2023-02-15 07:13:56,186"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441636.1875193,
"msecs": 187.51931190490723,
"relativeCreated": 33191.03455543518,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffe/sleep/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:13:56,187"
},
{
"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": 1676441636.2316678,
"msecs": 231.66775703430176,
"relativeCreated": 33235.183000564575,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/sleep/main_light/state and payload b'true'",
"asctime": "2023-02-15 07:13:56,231"
}
],
"time_consumption": 0.2548656463623047
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441636.4873333,
"msecs": 487.3332977294922,
"relativeCreated": 33490.848541259766,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:56,487",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441636.487027,
"msecs": 487.0269298553467,
"relativeCreated": 33490.54217338562,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:56,487"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441636.487196,
"msecs": 487.1959686279297,
"relativeCreated": 33490.7112121582,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:56,487"
}
],
"time_consumption": 0.0001373291015625
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441636.4878733,
"msecs": 487.8733158111572,
"relativeCreated": 33491.38855934143,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:56,487",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441636.4875517,
"msecs": 487.5516891479492,
"relativeCreated": 33491.06693267822,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:56,487"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441636.4877176,
"msecs": 487.7176284790039,
"relativeCreated": 33491.23287200928,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:56,487"
}
],
"time_consumption": 0.0001556873321533203
},
{
"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": 1676441636.7892575,
"msecs": 789.2575263977051,
"relativeCreated": 33792.77276992798,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device state to 'False'",
"asctime": "2023-02-15 07:13:56,789",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffe.sleep.main_light.state.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffe/sleep/main_light/state/set",
"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": 1676441636.488158,
"msecs": 488.1579875946045,
"relativeCreated": 33491.67323112488,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffe/sleep/main_light/state/set and payload false",
"asctime": "2023-02-15 07:13:56,488"
},
{
"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": 1676441636.4913428,
"msecs": 491.34278297424316,
"relativeCreated": 33494.85802650452,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffe/sleep/main_light/relay/0/command and payload b'off'",
"asctime": "2023-02-15 07:13:56,491"
},
{
"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": 1676441636.491942,
"msecs": 491.9419288635254,
"relativeCreated": 33495.4571723938,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffe/sleep/main_light/relay/0 and payload off",
"asctime": "2023-02-15 07:13:56,491"
},
{
"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": 1676441636.4931545,
"msecs": 493.15452575683594,
"relativeCreated": 33496.66976928711,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffe/sleep/main_light/relay/0 and payload b'off'",
"asctime": "2023-02-15 07:13:56,493"
},
{
"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": 1676441636.5792239,
"msecs": 579.2238712310791,
"relativeCreated": 33582.73911476135,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffe/sleep/main_light/state and payload b'false'",
"asctime": "2023-02-15 07:13:56,579"
}
],
"time_consumption": 0.21003365516662598
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441636.7898996,
"msecs": 789.8995876312256,
"relativeCreated": 33793.4148311615,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:56,789",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441636.7896566,
"msecs": 789.6566390991211,
"relativeCreated": 33793.171882629395,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:56,789"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441636.7897892,
"msecs": 789.7891998291016,
"relativeCreated": 33793.304443359375,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:56,789"
}
],
"time_consumption": 0.00011038780212402344
}
],
"time_consumption": 1.2102196216583252,
"time_start": "2023-02-15 07:13:55,579",
"time_finished": "2023-02-15 07:13:56,789"
},
"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": 1676441636.790396,
"msecs": 790.395975112915,
"relativeCreated": 33793.91121864319,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Away mode test: zigbee/ffw/bath/heating_valve",
"asctime": "2023-02-15 07:13:56,790",
"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": 1676441637.0918307,
"msecs": 91.83073043823242,
"relativeCreated": 34095.345973968506,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Setting preconditions (Default setpoint)",
"asctime": "2023-02-15 07:13:57,091",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.set_default_temperature.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffw/bath/heating_valve/set_default_temperature/set",
"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": 1676441636.7907608,
"msecs": 790.7607555389404,
"relativeCreated": 33794.275999069214,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffw/bath/heating_valve/set_default_temperature/set and payload null",
"asctime": "2023-02-15 07:13:56,790"
},
{
"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": 1676441636.7962394,
"msecs": 796.2393760681152,
"relativeCreated": 33799.75461959839,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/bath/heating_valve/user_temperature_setpoint and payload b'23'",
"asctime": "2023-02-15 07:13:56,796"
},
{
"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": 1676441636.797014,
"msecs": 797.0139980316162,
"relativeCreated": 33800.52924156189,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/bath/heating_valve/set and payload b'{\"current_heating_setpoint\": 23}'",
"asctime": "2023-02-15 07:13:56,797"
},
{
"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, \"battery\": 97}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441636.7974398,
"msecs": 797.4398136138916,
"relativeCreated": 33800.955057144165,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffw/bath/heating_valve and payload {\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"battery\": 97}",
"asctime": "2023-02-15 07:13:56,797"
},
{
"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": 1676441636.7981074,
"msecs": 798.107385635376,
"relativeCreated": 33801.62262916565,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/bath/heating_valve/valve_temperature_setpoint and payload b'23'",
"asctime": "2023-02-15 07:13:56,798"
},
{
"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, \"battery\": 97}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441636.799157,
"msecs": 799.156904220581,
"relativeCreated": 33802.672147750854,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/bath/heating_valve and payload b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"battery\": 97}'",
"asctime": "2023-02-15 07:13:56,799"
}
],
"time_consumption": 0.29267382621765137
},
{
"name": "__tLogger__",
"msg": "Away mode is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441637.0925999,
"msecs": 92.59986877441406,
"relativeCreated": 34096.11511230469,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Away mode is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:57,092",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Away mode",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441637.0922954,
"msecs": 92.29540824890137,
"relativeCreated": 34095.810651779175,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Away mode): False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:57,092"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Away mode",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441637.0924637,
"msecs": 92.46373176574707,
"relativeCreated": 34095.97897529602,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Away mode): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:57,092"
}
],
"time_consumption": 0.0001361370086669922
},
{
"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": 1676441637.394186,
"msecs": 394.18601989746094,
"relativeCreated": 34397.701263427734,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Activating away mode",
"asctime": "2023-02-15 07:13:57,394",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.away_mode.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffw/bath/heating_valve/away_mode/set",
"true"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441637.093003,
"msecs": 93.0030345916748,
"relativeCreated": 34096.51827812195,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffw/bath/heating_valve/away_mode/set and payload true",
"asctime": "2023-02-15 07:13:57,093"
},
{
"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": 1676441637.1035995,
"msecs": 103.59954833984375,
"relativeCreated": 34107.11479187012,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/bath/heating_valve/set and payload b'{\"current_heating_setpoint\": 18}'",
"asctime": "2023-02-15 07:13:57,103"
},
{
"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, \"battery\": 97}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441637.103864,
"msecs": 103.86395454406738,
"relativeCreated": 34107.37919807434,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffw/bath/heating_valve and payload {\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"battery\": 97}",
"asctime": "2023-02-15 07:13:57,103"
},
{
"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": 1676441637.1041274,
"msecs": 104.12740707397461,
"relativeCreated": 34107.64265060425,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/bath/heating_valve/valve_temperature_setpoint and payload b'18'",
"asctime": "2023-02-15 07:13:57,104"
},
{
"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": 1676441637.1044414,
"msecs": 104.44140434265137,
"relativeCreated": 34107.956647872925,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/bath/heating_valve/away_mode and payload b'true'",
"asctime": "2023-02-15 07:13:57,104"
},
{
"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, \"battery\": 97}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441637.104685,
"msecs": 104.68506813049316,
"relativeCreated": 34108.20031166077,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/bath/heating_valve and payload b'{\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"battery\": 97}'",
"asctime": "2023-02-15 07:13:57,104"
}
],
"time_consumption": 0.2895009517669678
},
{
"name": "__tLogger__",
"msg": "Away mode is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441637.3949323,
"msecs": 394.9322700500488,
"relativeCreated": 34398.44751358032,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Away mode is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:57,394",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Away mode",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441637.3946571,
"msecs": 394.6571350097656,
"relativeCreated": 34398.17237854004,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Away mode): True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:57,394"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Away mode",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441637.3948123,
"msecs": 394.81234550476074,
"relativeCreated": 34398.327589035034,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Away mode): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:57,394"
}
],
"time_consumption": 0.00011992454528808594
},
{
"name": "__tLogger__",
"msg": "Temperature setpoint is correct (Content %s and Type is %s).",
"args": [
"18",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441637.3953629,
"msecs": 395.36285400390625,
"relativeCreated": 34398.87809753418,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Temperature setpoint is correct (Content 18 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:57,395",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Temperature setpoint",
"18",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441637.3951278,
"msecs": 395.1277732849121,
"relativeCreated": 34398.643016815186,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Temperature setpoint): 18 (<class 'int'>)",
"asctime": "2023-02-15 07:13:57,395"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Temperature setpoint",
"=",
"18",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441637.3952358,
"msecs": 395.2357769012451,
"relativeCreated": 34398.75102043152,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Temperature setpoint): result = 18 (<class 'int'>)",
"asctime": "2023-02-15 07:13:57,395"
}
],
"time_consumption": 0.0001270771026611328
},
{
"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": 1676441637.6966605,
"msecs": 696.6605186462402,
"relativeCreated": 34700.175762176514,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Deactivating away mode",
"asctime": "2023-02-15 07:13:57,696",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.away_mode.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffw/bath/heating_valve/away_mode/set",
"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": 1676441637.3957243,
"msecs": 395.7242965698242,
"relativeCreated": 34399.2395401001,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffw/bath/heating_valve/away_mode/set and payload false",
"asctime": "2023-02-15 07:13:57,395"
},
{
"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": 1676441637.4077919,
"msecs": 407.7918529510498,
"relativeCreated": 34411.30709648132,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/bath/heating_valve/set and payload b'{\"current_heating_setpoint\": 23}'",
"asctime": "2023-02-15 07:13:57,407"
},
{
"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, \"battery\": 97}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441637.4084063,
"msecs": 408.40625762939453,
"relativeCreated": 34411.92150115967,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffw/bath/heating_valve and payload {\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"battery\": 97}",
"asctime": "2023-02-15 07:13:57,408"
},
{
"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": 1676441637.4092147,
"msecs": 409.21473503112793,
"relativeCreated": 34412.7299785614,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/bath/heating_valve/valve_temperature_setpoint and payload b'23'",
"asctime": "2023-02-15 07:13:57,409"
},
{
"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": 1676441637.410137,
"msecs": 410.1369380950928,
"relativeCreated": 34413.652181625366,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/bath/heating_valve/away_mode and payload b'false'",
"asctime": "2023-02-15 07:13:57,410"
},
{
"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, \"battery\": 97}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441637.410926,
"msecs": 410.92610359191895,
"relativeCreated": 34414.44134712219,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/bath/heating_valve and payload b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"battery\": 97}'",
"asctime": "2023-02-15 07:13:57,410"
}
],
"time_consumption": 0.2857344150543213
},
{
"name": "__tLogger__",
"msg": "Away mode is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441637.6974075,
"msecs": 697.4074840545654,
"relativeCreated": 34700.92272758484,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Away mode is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:57,697",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Away mode",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441637.6970925,
"msecs": 697.0925331115723,
"relativeCreated": 34700.607776641846,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Away mode): False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:57,697"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Away mode",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441637.6972835,
"msecs": 697.2835063934326,
"relativeCreated": 34700.798749923706,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Away mode): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:57,697"
}
],
"time_consumption": 0.0001239776611328125
},
{
"name": "__tLogger__",
"msg": "Temperature setpoint is correct (Content %s and Type is %s).",
"args": [
"23",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441637.6978133,
"msecs": 697.8132724761963,
"relativeCreated": 34701.32851600647,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Temperature setpoint is correct (Content 23 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:57,697",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Temperature setpoint",
"23",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441637.697602,
"msecs": 697.6020336151123,
"relativeCreated": 34701.117277145386,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Temperature setpoint): 23 (<class 'int'>)",
"asctime": "2023-02-15 07:13:57,697"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Temperature setpoint",
"=",
"23",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441637.6977131,
"msecs": 697.7131366729736,
"relativeCreated": 34701.22838020325,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Temperature setpoint): result = 23 (<class 'int'>)",
"asctime": "2023-02-15 07:13:57,697"
}
],
"time_consumption": 0.00010013580322265625
}
],
"time_consumption": 0.9074172973632812,
"time_start": "2023-02-15 07:13:56,790",
"time_finished": "2023-02-15 07:13:57,697"
},
"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": 1676441637.698313,
"msecs": 698.3129978179932,
"relativeCreated": 34701.82824134827,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Boost mode test: zigbee/ffw/bath/heating_valve",
"asctime": "2023-02-15 07:13:57,698",
"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": 1676441637.9997993,
"msecs": 999.7992515563965,
"relativeCreated": 35003.31449508667,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Setting preconditions (Default setpoint)",
"asctime": "2023-02-15 07:13:57,999",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.set_default_temperature.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffw/bath/heating_valve/set_default_temperature/set",
"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": 1676441637.6986685,
"msecs": 698.6684799194336,
"relativeCreated": 34702.18372344971,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffw/bath/heating_valve/set_default_temperature/set and payload null",
"asctime": "2023-02-15 07:13:57,698"
}
],
"time_consumption": 0.3011307716369629
},
{
"name": "__tLogger__",
"msg": "Boost timer is correct (Content %s and Type is %s).",
"args": [
"0",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441638.00056,
"msecs": 0.5600452423095703,
"relativeCreated": 35004.07528877258,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Boost timer is correct (Content 0 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:58,000",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Boost timer",
"0",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441638.0002403,
"msecs": 0.240325927734375,
"relativeCreated": 35003.75556945801,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Boost timer): 0 (<class 'int'>)",
"asctime": "2023-02-15 07:13:58,000"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Boost timer",
"=",
"0",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441638.0004346,
"msecs": 0.43463706970214844,
"relativeCreated": 35003.949880599976,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Boost timer): result = 0 (<class 'int'>)",
"asctime": "2023-02-15 07:13:58,000"
}
],
"time_consumption": 0.00012540817260742188
},
{
"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": 1676441638.302074,
"msecs": 302.0739555358887,
"relativeCreated": 35305.58919906616,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Activating boost mode",
"asctime": "2023-02-15 07:13:58,302",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.start_boost.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffw/bath/heating_valve/start_boost/set",
"true"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441638.0009446,
"msecs": 0.9446144104003906,
"relativeCreated": 35004.459857940674,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffw/bath/heating_valve/start_boost/set and payload true",
"asctime": "2023-02-15 07:13:58,000"
},
{
"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": 1676441638.0130084,
"msecs": 13.008356094360352,
"relativeCreated": 35016.523599624634,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/bath/heating_valve/boost_timer and payload b'900'",
"asctime": "2023-02-15 07:13:58,013"
},
{
"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": 1676441638.013406,
"msecs": 13.406038284301758,
"relativeCreated": 35016.921281814575,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/bath/heating_valve/set and payload b'{\"current_heating_setpoint\": 30}'",
"asctime": "2023-02-15 07:13:58,013"
},
{
"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, \"battery\": 97}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441638.0136087,
"msecs": 13.608694076538086,
"relativeCreated": 35017.12393760681,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffw/bath/heating_valve and payload {\"current_heating_setpoint\": 30, \"local_temperature\": 20.7, \"battery\": 97}",
"asctime": "2023-02-15 07:13:58,013"
},
{
"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": 1676441638.0139132,
"msecs": 13.913154602050781,
"relativeCreated": 35017.428398132324,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/bath/heating_valve/valve_temperature_setpoint and payload b'30'",
"asctime": "2023-02-15 07:13:58,013"
},
{
"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, \"battery\": 97}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441638.0144293,
"msecs": 14.429330825805664,
"relativeCreated": 35017.94457435608,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/bath/heating_valve and payload b'{\"current_heating_setpoint\": 30, \"local_temperature\": 20.7, \"battery\": 97}'",
"asctime": "2023-02-15 07:13:58,014"
}
],
"time_consumption": 0.287644624710083
},
{
"name": "__tLogger__",
"msg": "Boost timer is greater expectation (Content %s and Type is %s).",
"args": [
"900",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/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": 1676441638.3029058,
"msecs": 302.905797958374,
"relativeCreated": 35306.42104148865,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Boost timer is greater expectation (Content 900 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:58,302",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Boost timer",
"900",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441638.3025963,
"msecs": 302.5963306427002,
"relativeCreated": 35306.11157417297,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Boost timer): 900 (<class 'int'>)",
"asctime": "2023-02-15 07:13:58,302"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Boost timer",
">",
"0",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441638.302769,
"msecs": 302.7689456939697,
"relativeCreated": 35306.28418922424,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Boost timer): result > 0 (<class 'int'>)",
"asctime": "2023-02-15 07:13:58,302"
}
],
"time_consumption": 0.00013685226440429688
},
{
"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": 1676441638.6041825,
"msecs": 604.1824817657471,
"relativeCreated": 35607.69772529602,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Setting postconditions (Default setpoint)",
"asctime": "2023-02-15 07:13:58,604",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.set_default_temperature.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffw/bath/heating_valve/set_default_temperature/set",
"true"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441638.303245,
"msecs": 303.24506759643555,
"relativeCreated": 35306.76031112671,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffw/bath/heating_valve/set_default_temperature/set and payload true",
"asctime": "2023-02-15 07:13:58,303"
},
{
"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": 1676441638.3151984,
"msecs": 315.1984214782715,
"relativeCreated": 35318.713665008545,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/bath/heating_valve/boost_timer and payload b'0'",
"asctime": "2023-02-15 07:13:58,315"
},
{
"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": 1676441638.3165739,
"msecs": 316.5738582611084,
"relativeCreated": 35320.08910179138,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/bath/heating_valve/set and payload b'{\"current_heating_setpoint\": 23}'",
"asctime": "2023-02-15 07:13:58,316"
},
{
"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, \"battery\": 97}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441638.317062,
"msecs": 317.0619010925293,
"relativeCreated": 35320.5771446228,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffw/bath/heating_valve and payload {\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"battery\": 97}",
"asctime": "2023-02-15 07:13:58,317"
},
{
"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": 1676441638.3178225,
"msecs": 317.8224563598633,
"relativeCreated": 35321.33769989014,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/bath/heating_valve/valve_temperature_setpoint and payload b'23'",
"asctime": "2023-02-15 07:13:58,317"
},
{
"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, \"battery\": 97}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441638.3189793,
"msecs": 318.97926330566406,
"relativeCreated": 35322.49450683594,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/bath/heating_valve and payload b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"battery\": 97}'",
"asctime": "2023-02-15 07:13:58,318"
}
],
"time_consumption": 0.285203218460083
},
{
"name": "__tLogger__",
"msg": "Boost timer is correct (Content %s and Type is %s).",
"args": [
"0",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441638.6048975,
"msecs": 604.8974990844727,
"relativeCreated": 35608.412742614746,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Boost timer is correct (Content 0 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:58,604",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Boost timer",
"0",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441638.6046226,
"msecs": 604.6226024627686,
"relativeCreated": 35608.13784599304,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Boost timer): 0 (<class 'int'>)",
"asctime": "2023-02-15 07:13:58,604"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Boost timer",
"=",
"0",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441638.6047754,
"msecs": 604.7754287719727,
"relativeCreated": 35608.290672302246,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Boost timer): result = 0 (<class 'int'>)",
"asctime": "2023-02-15 07:13:58,604"
}
],
"time_consumption": 0.0001220703125
}
],
"time_consumption": 0.9065845012664795,
"time_start": "2023-02-15 07:13:57,698",
"time_finished": "2023-02-15 07:13:58,604"
},
"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": 1676441638.6053698,
"msecs": 605.3698062896729,
"relativeCreated": 35608.885049819946,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Default temperature test for device and virtual device: zigbee/ffw/bath/heating_valve",
"asctime": "2023-02-15 07:13:58,605",
"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": 1676441638.90698,
"msecs": 906.980037689209,
"relativeCreated": 35910.49528121948,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Setting preconditions (Valve setpoint to 18.0)",
"asctime": "2023-02-15 07:13:58,906",
"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, \"battery\": 97}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441638.605815,
"msecs": 605.8149337768555,
"relativeCreated": 35609.33017730713,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffw/bath/heating_valve and payload {\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"battery\": 97}",
"asctime": "2023-02-15 07:13:58,605"
},
{
"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, \"battery\": 97}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441638.6071668,
"msecs": 607.1667671203613,
"relativeCreated": 35610.682010650635,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/bath/heating_valve and payload b'{\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"battery\": 97}'",
"asctime": "2023-02-15 07:13:58,607"
},
{
"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": 1676441638.6125581,
"msecs": 612.558126449585,
"relativeCreated": 35616.07336997986,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/bath/heating_valve/set and payload b'{\"current_heating_setpoint\": 18}'",
"asctime": "2023-02-15 07:13:58,612"
},
{
"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": 1676441638.612799,
"msecs": 612.7989292144775,
"relativeCreated": 35616.31417274475,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/bath/heating_valve/valve_temperature_setpoint and payload b'18'",
"asctime": "2023-02-15 07:13:58,612"
},
{
"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": 1676441638.6552405,
"msecs": 655.240535736084,
"relativeCreated": 35658.75577926636,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/bath/heating_valve/user_temperature_setpoint and payload b'18'",
"asctime": "2023-02-15 07:13:58,655"
}
],
"time_consumption": 0.251739501953125
},
{
"name": "__tLogger__",
"msg": "Valve temperature setpoint (is not default temperature) is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441638.9076521,
"msecs": 907.6521396636963,
"relativeCreated": 35911.16738319397,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Valve temperature setpoint (is not default temperature) is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:58,907",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Valve temperature setpoint (is not default temperature)",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441638.9074125,
"msecs": 907.4125289916992,
"relativeCreated": 35910.92777252197,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Valve temperature setpoint (is not default temperature)): True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:58,907"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Valve temperature setpoint (is not default temperature)",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441638.9075449,
"msecs": 907.5448513031006,
"relativeCreated": 35911.060094833374,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Valve temperature setpoint (is not default temperature)): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:58,907"
}
],
"time_consumption": 0.00010728836059570312
},
{
"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": 1676441639.2090197,
"msecs": 209.01966094970703,
"relativeCreated": 36212.53490447998,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Triggering set to default temperature (23.0)",
"asctime": "2023-02-15 07:13:59,209",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.set_default_temperature.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffw/bath/heating_valve/set_default_temperature/set",
"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": 1676441638.90792,
"msecs": 907.9198837280273,
"relativeCreated": 35911.4351272583,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffw/bath/heating_valve/set_default_temperature/set and payload null",
"asctime": "2023-02-15 07:13:58,907"
},
{
"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": 1676441638.9133713,
"msecs": 913.3713245391846,
"relativeCreated": 35916.88656806946,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/bath/heating_valve/user_temperature_setpoint and payload b'23'",
"asctime": "2023-02-15 07:13:58,913"
},
{
"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": 1676441638.9140995,
"msecs": 914.0994548797607,
"relativeCreated": 35917.614698410034,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/bath/heating_valve/set and payload b'{\"current_heating_setpoint\": 23}'",
"asctime": "2023-02-15 07:13:58,914"
},
{
"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, \"battery\": 97}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441638.9142232,
"msecs": 914.2231941223145,
"relativeCreated": 35917.73843765259,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffw/bath/heating_valve and payload {\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"battery\": 97}",
"asctime": "2023-02-15 07:13:58,914"
},
{
"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": 1676441638.914407,
"msecs": 914.4070148468018,
"relativeCreated": 35917.922258377075,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/bath/heating_valve/valve_temperature_setpoint and payload b'23'",
"asctime": "2023-02-15 07:13:58,914"
},
{
"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, \"battery\": 97}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441638.9147527,
"msecs": 914.752721786499,
"relativeCreated": 35918.26796531677,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/bath/heating_valve and payload b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"battery\": 97}'",
"asctime": "2023-02-15 07:13:58,914"
}
],
"time_consumption": 0.294266939163208
},
{
"name": "__tLogger__",
"msg": "Valve temperature setpoint is correct (Content %s and Type is %s).",
"args": [
"23",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441639.2097616,
"msecs": 209.7616195678711,
"relativeCreated": 36213.276863098145,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Valve temperature setpoint is correct (Content 23 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:59,209",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Valve temperature setpoint",
"23",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441639.209482,
"msecs": 209.48195457458496,
"relativeCreated": 36212.99719810486,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Valve temperature setpoint): 23 (<class 'int'>)",
"asctime": "2023-02-15 07:13:59,209"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Valve temperature setpoint",
"=",
"23",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441639.2096376,
"msecs": 209.63764190673828,
"relativeCreated": 36213.15288543701,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Valve temperature setpoint): result = 23 (<class 'int'>)",
"asctime": "2023-02-15 07:13:59,209"
}
],
"time_consumption": 0.0001239776611328125
}
],
"time_consumption": 0.6043918132781982,
"time_start": "2023-02-15 07:13:58,605",
"time_finished": "2023-02-15 07:13:59,209"
},
"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": 1676441639.210231,
"msecs": 210.23106575012207,
"relativeCreated": 36213.746309280396,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Summer mode test: zigbee/ffw/bath/heating_valve",
"asctime": "2023-02-15 07:13:59,210",
"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": 1676441639.5115104,
"msecs": 511.51037216186523,
"relativeCreated": 36515.02561569214,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Setting preconditions (Default setpoint)",
"asctime": "2023-02-15 07:13:59,511",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.set_default_temperature.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffw/bath/heating_valve/set_default_temperature/set",
"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": 1676441639.2105737,
"msecs": 210.57367324829102,
"relativeCreated": 36214.088916778564,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffw/bath/heating_valve/set_default_temperature/set and payload null",
"asctime": "2023-02-15 07:13:59,210"
}
],
"time_consumption": 0.3009366989135742
},
{
"name": "__tLogger__",
"msg": "Summer mode is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441639.5122619,
"msecs": 512.2618675231934,
"relativeCreated": 36515.77711105347,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Summer mode is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:59,512",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Summer mode",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441639.5119417,
"msecs": 511.94167137145996,
"relativeCreated": 36515.45691490173,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Summer mode): False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:59,511"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Summer mode",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441639.51213,
"msecs": 512.1300220489502,
"relativeCreated": 36515.64526557922,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Summer mode): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:13:59,512"
}
],
"time_consumption": 0.00013184547424316406
},
{
"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": 1676441639.8137057,
"msecs": 813.7056827545166,
"relativeCreated": 36817.22092628479,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Activating summer mode",
"asctime": "2023-02-15 07:13:59,813",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.summer_mode.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffw/bath/heating_valve/summer_mode/set",
"true"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441639.512635,
"msecs": 512.6349925994873,
"relativeCreated": 36516.15023612976,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffw/bath/heating_valve/summer_mode/set and payload true",
"asctime": "2023-02-15 07:13:59,512"
},
{
"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": 1676441639.5247812,
"msecs": 524.7812271118164,
"relativeCreated": 36528.29647064209,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/bath/heating_valve/set and payload b'{\"current_heating_setpoint\": 5}'",
"asctime": "2023-02-15 07:13:59,524"
},
{
"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, \"battery\": 97}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441639.5254157,
"msecs": 525.4156589508057,
"relativeCreated": 36528.93090248108,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffw/bath/heating_valve and payload {\"current_heating_setpoint\": 5, \"local_temperature\": 20.7, \"battery\": 97}",
"asctime": "2023-02-15 07:13:59,525"
},
{
"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": 1676441639.5261967,
"msecs": 526.1967182159424,
"relativeCreated": 36529.711961746216,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/bath/heating_valve/valve_temperature_setpoint and payload b'5'",
"asctime": "2023-02-15 07:13:59,526"
},
{
"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": 1676441639.5271778,
"msecs": 527.1778106689453,
"relativeCreated": 36530.69305419922,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/bath/heating_valve/summer_mode and payload b'true'",
"asctime": "2023-02-15 07:13:59,527"
},
{
"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, \"battery\": 97}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441639.5279145,
"msecs": 527.9145240783691,
"relativeCreated": 36531.42976760864,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/bath/heating_valve and payload b'{\"current_heating_setpoint\": 5, \"local_temperature\": 20.7, \"battery\": 97}'",
"asctime": "2023-02-15 07:13:59,527"
}
],
"time_consumption": 0.28579115867614746
},
{
"name": "__tLogger__",
"msg": "Summer mode is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441639.814007,
"msecs": 814.007043838501,
"relativeCreated": 36817.522287368774,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Summer mode is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:13:59,814",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Summer mode",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441639.8139076,
"msecs": 813.9076232910156,
"relativeCreated": 36817.42286682129,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Summer mode): True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:59,813"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Summer mode",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441639.813963,
"msecs": 813.9629364013672,
"relativeCreated": 36817.47817993164,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Summer mode): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:13:59,813"
}
],
"time_consumption": 4.410743713378906e-05
},
{
"name": "__tLogger__",
"msg": "Temperature setpoint is correct (Content %s and Type is %s).",
"args": [
"5",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441639.8141718,
"msecs": 814.1717910766602,
"relativeCreated": 36817.68703460693,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Temperature setpoint is correct (Content 5 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:13:59,814",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Temperature setpoint",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441639.8140981,
"msecs": 814.0981197357178,
"relativeCreated": 36817.61336326599,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Temperature setpoint): 5 (<class 'int'>)",
"asctime": "2023-02-15 07:13:59,814"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Temperature setpoint",
"=",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441639.814137,
"msecs": 814.1369819641113,
"relativeCreated": 36817.652225494385,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Temperature setpoint): result = 5 (<class 'int'>)",
"asctime": "2023-02-15 07:13:59,814"
}
],
"time_consumption": 3.4809112548828125e-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": 1676441640.1148884,
"msecs": 114.88842964172363,
"relativeCreated": 37118.403673172,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Deactivating summer mode",
"asctime": "2023-02-15 07:14:00,114",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.summer_mode.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffw/bath/heating_valve/summer_mode/set",
"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": 1676441639.8142807,
"msecs": 814.2807483673096,
"relativeCreated": 36817.79599189758,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffw/bath/heating_valve/summer_mode/set and payload false",
"asctime": "2023-02-15 07:13:59,814"
},
{
"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": 1676441639.8214056,
"msecs": 821.4056491851807,
"relativeCreated": 36824.920892715454,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/bath/heating_valve/set and payload b'{\"current_heating_setpoint\": 23}'",
"asctime": "2023-02-15 07:13:59,821"
},
{
"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, \"battery\": 97}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441639.8216894,
"msecs": 821.6893672943115,
"relativeCreated": 36825.204610824585,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffw/bath/heating_valve and payload {\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"battery\": 97}",
"asctime": "2023-02-15 07:13:59,821"
},
{
"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": 1676441639.8220122,
"msecs": 822.012186050415,
"relativeCreated": 36825.52742958069,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/bath/heating_valve/valve_temperature_setpoint and payload b'23'",
"asctime": "2023-02-15 07:13:59,822"
},
{
"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": 1676441639.8223932,
"msecs": 822.3931789398193,
"relativeCreated": 36825.90842247009,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/bath/heating_valve/summer_mode and payload b'false'",
"asctime": "2023-02-15 07:13:59,822"
},
{
"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, \"battery\": 97}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441639.8227465,
"msecs": 822.7465152740479,
"relativeCreated": 36826.26175880432,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/bath/heating_valve and payload b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"battery\": 97}'",
"asctime": "2023-02-15 07:13:59,822"
}
],
"time_consumption": 0.2921419143676758
},
{
"name": "__tLogger__",
"msg": "Summer mode is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441640.1156096,
"msecs": 115.60964584350586,
"relativeCreated": 37119.12488937378,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Summer mode is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:00,115",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Summer mode",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441640.1153276,
"msecs": 115.32759666442871,
"relativeCreated": 37118.8428401947,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Summer mode): False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:00,115"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Summer mode",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441640.1154847,
"msecs": 115.48471450805664,
"relativeCreated": 37118.99995803833,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Summer mode): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:00,115"
}
],
"time_consumption": 0.00012493133544921875
},
{
"name": "__tLogger__",
"msg": "Temperature setpoint is correct (Content %s and Type is %s).",
"args": [
"23",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441640.116069,
"msecs": 116.06907844543457,
"relativeCreated": 37119.58432197571,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Temperature setpoint is correct (Content 23 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:00,116",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Temperature setpoint",
"23",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441640.1158512,
"msecs": 115.85116386413574,
"relativeCreated": 37119.36640739441,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Temperature setpoint): 23 (<class 'int'>)",
"asctime": "2023-02-15 07:14:00,115"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Temperature setpoint",
"=",
"23",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441640.115967,
"msecs": 115.9670352935791,
"relativeCreated": 37119.48227882385,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Temperature setpoint): result = 23 (<class 'int'>)",
"asctime": "2023-02-15 07:14:00,115"
}
],
"time_consumption": 0.00010204315185546875
}
],
"time_consumption": 0.9058380126953125,
"time_start": "2023-02-15 07:13:59,210",
"time_finished": "2023-02-15 07:14:00,116"
},
"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": 1676441640.1165478,
"msecs": 116.54782295227051,
"relativeCreated": 37120.063066482544,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "User temperature setpoint test for device and virtual device: zigbee/ffw/bath/heating_valve",
"asctime": "2023-02-15 07:14:00,116",
"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": 1676441640.4181085,
"msecs": 418.1084632873535,
"relativeCreated": 37421.62370681763,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing valve temperature setpoint to '18.0'",
"asctime": "2023-02-15 07:14:00,418",
"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, \"battery\": 97}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441640.1169515,
"msecs": 116.95146560668945,
"relativeCreated": 37120.46670913696,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffw/bath/heating_valve and payload {\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"battery\": 97}",
"asctime": "2023-02-15 07:14:00,116"
},
{
"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, \"battery\": 97}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441640.118231,
"msecs": 118.23105812072754,
"relativeCreated": 37121.746301651,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/bath/heating_valve and payload b'{\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"battery\": 97}'",
"asctime": "2023-02-15 07:14:00,118"
},
{
"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": 1676441640.123101,
"msecs": 123.10099601745605,
"relativeCreated": 37126.61623954773,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/bath/heating_valve/set and payload b'{\"current_heating_setpoint\": 18}'",
"asctime": "2023-02-15 07:14:00,123"
},
{
"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": 1676441640.1233282,
"msecs": 123.32820892333984,
"relativeCreated": 37126.84345245361,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/bath/heating_valve/valve_temperature_setpoint and payload b'18'",
"asctime": "2023-02-15 07:14:00,123"
},
{
"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": 1676441640.1235418,
"msecs": 123.54183197021484,
"relativeCreated": 37127.05707550049,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/bath/heating_valve/user_temperature_setpoint and payload b'18'",
"asctime": "2023-02-15 07:14:00,123"
}
],
"time_consumption": 0.29456663131713867
},
{
"name": "__tLogger__",
"msg": "Virtual device valve temperature is correct (Content %s and Type is %s).",
"args": [
"18",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441640.4189003,
"msecs": 418.9002513885498,
"relativeCreated": 37422.41549491882,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device valve temperature is correct (Content 18 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:00,418",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device valve temperature",
"18",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441640.4186132,
"msecs": 418.6131954193115,
"relativeCreated": 37422.128438949585,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device valve temperature): 18 (<class 'int'>)",
"asctime": "2023-02-15 07:14:00,418"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device valve temperature",
"=",
"18",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441640.4187753,
"msecs": 418.7753200531006,
"relativeCreated": 37422.290563583374,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device valve temperature): result = 18 (<class 'int'>)",
"asctime": "2023-02-15 07:14:00,418"
}
],
"time_consumption": 0.00012493133544921875
},
{
"name": "__tLogger__",
"msg": "Virtual device user temperature is correct (Content %s and Type is %s).",
"args": [
"18",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441640.4193058,
"msecs": 419.30580139160156,
"relativeCreated": 37422.821044921875,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device user temperature is correct (Content 18 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:00,419",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device user temperature",
"18",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441640.4190946,
"msecs": 419.0945625305176,
"relativeCreated": 37422.60980606079,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device user temperature): 18 (<class 'int'>)",
"asctime": "2023-02-15 07:14:00,419"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device user temperature",
"=",
"18",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441640.4192066,
"msecs": 419.2066192626953,
"relativeCreated": 37422.72186279297,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device user temperature): result = 18 (<class 'int'>)",
"asctime": "2023-02-15 07:14:00,419"
}
],
"time_consumption": 9.918212890625e-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": 1676441640.7206554,
"msecs": 720.6554412841797,
"relativeCreated": 37724.17068481445,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing videv user temperature setpoint to '23.0'",
"asctime": "2023-02-15 07:14:00,720",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.user_temperature_setpoint.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffw/bath/heating_valve/user_temperature_setpoint/set",
"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": 1676441640.4196334,
"msecs": 419.6333885192871,
"relativeCreated": 37423.14863204956,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffw/bath/heating_valve/user_temperature_setpoint/set and payload 23",
"asctime": "2023-02-15 07:14:00,419"
},
{
"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": 1676441640.426075,
"msecs": 426.0749816894531,
"relativeCreated": 37429.59022521973,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/bath/heating_valve/set and payload b'{\"current_heating_setpoint\": 23}'",
"asctime": "2023-02-15 07:14:00,426"
},
{
"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, \"battery\": 97}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441640.42668,
"msecs": 426.6800880432129,
"relativeCreated": 37430.195331573486,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffw/bath/heating_valve and payload {\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"battery\": 97}",
"asctime": "2023-02-15 07:14:00,426"
},
{
"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": 1676441640.4274344,
"msecs": 427.43444442749023,
"relativeCreated": 37430.949687957764,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/bath/heating_valve/valve_temperature_setpoint and payload b'23'",
"asctime": "2023-02-15 07:14:00,427"
},
{
"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": 1676441640.4283428,
"msecs": 428.3428192138672,
"relativeCreated": 37431.85806274414,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/bath/heating_valve/user_temperature_setpoint and payload b'23'",
"asctime": "2023-02-15 07:14:00,428"
},
{
"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, \"battery\": 97}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441640.4290936,
"msecs": 429.093599319458,
"relativeCreated": 37432.60884284973,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/bath/heating_valve and payload b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"battery\": 97}'",
"asctime": "2023-02-15 07:14:00,429"
}
],
"time_consumption": 0.2915618419647217
},
{
"name": "__tLogger__",
"msg": "Valve device temperature setpoint is correct (Content %s and Type is %s).",
"args": [
"23",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441640.7214317,
"msecs": 721.4317321777344,
"relativeCreated": 37724.94697570801,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Valve device temperature setpoint is correct (Content 23 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:00,721",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Valve device temperature setpoint",
"23",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441640.7211542,
"msecs": 721.1542129516602,
"relativeCreated": 37724.66945648193,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Valve device temperature setpoint): 23 (<class 'int'>)",
"asctime": "2023-02-15 07:14:00,721"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Valve device temperature setpoint",
"=",
"23",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441640.721308,
"msecs": 721.3079929351807,
"relativeCreated": 37724.823236465454,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Valve device temperature setpoint): result = 23 (<class 'int'>)",
"asctime": "2023-02-15 07:14:00,721"
}
],
"time_consumption": 0.00012373924255371094
},
{
"name": "__tLogger__",
"msg": "Virtual device valve temperature is correct (Content %s and Type is %s).",
"args": [
"23",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441640.7218583,
"msecs": 721.8582630157471,
"relativeCreated": 37725.37350654602,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device valve temperature is correct (Content 23 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:00,721",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device valve temperature",
"23",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441640.7216294,
"msecs": 721.6293811798096,
"relativeCreated": 37725.14462471008,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device valve temperature): 23 (<class 'int'>)",
"asctime": "2023-02-15 07:14:00,721"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device valve temperature",
"=",
"23",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441640.7217422,
"msecs": 721.7421531677246,
"relativeCreated": 37725.257396698,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device valve temperature): result = 23 (<class 'int'>)",
"asctime": "2023-02-15 07:14:00,721"
}
],
"time_consumption": 0.00011610984802246094
},
{
"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": 1676441641.0232,
"msecs": 23.200035095214844,
"relativeCreated": 38026.71527862549,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing valve temperature setpoint to '18.0'",
"asctime": "2023-02-15 07:14:01,023",
"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, \"battery\": 97}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441640.7222173,
"msecs": 722.217321395874,
"relativeCreated": 37725.73256492615,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffw/bath/heating_valve and payload {\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"battery\": 97}",
"asctime": "2023-02-15 07:14:00,722"
},
{
"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, \"battery\": 97}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441640.7235527,
"msecs": 723.5527038574219,
"relativeCreated": 37727.067947387695,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/bath/heating_valve and payload b'{\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"battery\": 97}'",
"asctime": "2023-02-15 07:14:00,723"
},
{
"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": 1676441640.728413,
"msecs": 728.4131050109863,
"relativeCreated": 37731.92834854126,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/bath/heating_valve/set and payload b'{\"current_heating_setpoint\": 18}'",
"asctime": "2023-02-15 07:14:00,728"
},
{
"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": 1676441640.7290454,
"msecs": 729.0453910827637,
"relativeCreated": 37732.56063461304,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/bath/heating_valve/valve_temperature_setpoint and payload b'18'",
"asctime": "2023-02-15 07:14:00,729"
},
{
"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": 1676441640.7292528,
"msecs": 729.252815246582,
"relativeCreated": 37732.768058776855,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/bath/heating_valve/user_temperature_setpoint and payload b'18'",
"asctime": "2023-02-15 07:14:00,729"
}
],
"time_consumption": 0.2939472198486328
},
{
"name": "__tLogger__",
"msg": "Virtual device valve temperature is correct (Content %s and Type is %s).",
"args": [
"18",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441641.0240195,
"msecs": 24.019479751586914,
"relativeCreated": 38027.53472328186,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device valve temperature is correct (Content 18 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:01,024",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device valve temperature",
"18",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441641.0236914,
"msecs": 23.691415786743164,
"relativeCreated": 38027.20665931702,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device valve temperature): 18 (<class 'int'>)",
"asctime": "2023-02-15 07:14:01,023"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device valve temperature",
"=",
"18",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441641.023888,
"msecs": 23.888111114501953,
"relativeCreated": 38027.403354644775,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device valve temperature): result = 18 (<class 'int'>)",
"asctime": "2023-02-15 07:14:01,023"
}
],
"time_consumption": 0.00013136863708496094
},
{
"name": "__tLogger__",
"msg": "Virtual device user temperature is correct (Content %s and Type is %s).",
"args": [
"18",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441641.024434,
"msecs": 24.43408966064453,
"relativeCreated": 38027.94933319092,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device user temperature is correct (Content 18 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:01,024",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device user temperature",
"18",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441641.0242217,
"msecs": 24.22165870666504,
"relativeCreated": 38027.73690223694,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device user temperature): 18 (<class 'int'>)",
"asctime": "2023-02-15 07:14:01,024"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device user temperature",
"=",
"18",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441641.0243325,
"msecs": 24.332523345947266,
"relativeCreated": 38027.84776687622,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device user temperature): result = 18 (<class 'int'>)",
"asctime": "2023-02-15 07:14:01,024"
}
],
"time_consumption": 0.00010156631469726562
},
{
"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": 1676441641.3258622,
"msecs": 325.86216926574707,
"relativeCreated": 38329.37741279602,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing videv user temperature setpoint to '23.0'",
"asctime": "2023-02-15 07:14:01,325",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.user_temperature_setpoint.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffw/bath/heating_valve/user_temperature_setpoint/set",
"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": 1676441641.0247195,
"msecs": 24.7194766998291,
"relativeCreated": 38028.2347202301,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffw/bath/heating_valve/user_temperature_setpoint/set and payload 23",
"asctime": "2023-02-15 07:14:01,024"
},
{
"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": 1676441641.0310504,
"msecs": 31.050443649291992,
"relativeCreated": 38034.565687179565,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/bath/heating_valve/set and payload b'{\"current_heating_setpoint\": 23}'",
"asctime": "2023-02-15 07:14:01,031"
},
{
"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, \"battery\": 97}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441641.0316246,
"msecs": 31.624555587768555,
"relativeCreated": 38035.13979911804,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffw/bath/heating_valve and payload {\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"battery\": 97}",
"asctime": "2023-02-15 07:14:01,031"
},
{
"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": 1676441641.0324113,
"msecs": 32.41133689880371,
"relativeCreated": 38035.92658042908,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/bath/heating_valve/valve_temperature_setpoint and payload b'23'",
"asctime": "2023-02-15 07:14:01,032"
},
{
"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, \"battery\": 97}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441641.0335827,
"msecs": 33.58268737792969,
"relativeCreated": 38037.0979309082,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/bath/heating_valve and payload b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"battery\": 97}'",
"asctime": "2023-02-15 07:14:01,033"
},
{
"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": 1676441641.0755346,
"msecs": 75.53458213806152,
"relativeCreated": 38079.049825668335,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/bath/heating_valve/user_temperature_setpoint and payload b'23'",
"asctime": "2023-02-15 07:14:01,075"
}
],
"time_consumption": 0.25032758712768555
},
{
"name": "__tLogger__",
"msg": "Valve device temperature setpoint is correct (Content %s and Type is %s).",
"args": [
"23",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441641.3266544,
"msecs": 326.65443420410156,
"relativeCreated": 38330.169677734375,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Valve device temperature setpoint is correct (Content 23 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:01,326",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Valve device temperature setpoint",
"23",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441641.3263245,
"msecs": 326.324462890625,
"relativeCreated": 38329.8397064209,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Valve device temperature setpoint): 23 (<class 'int'>)",
"asctime": "2023-02-15 07:14:01,326"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Valve device temperature setpoint",
"=",
"23",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441641.326525,
"msecs": 326.5249729156494,
"relativeCreated": 38330.04021644592,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Valve device temperature setpoint): result = 23 (<class 'int'>)",
"asctime": "2023-02-15 07:14:01,326"
}
],
"time_consumption": 0.00012946128845214844
},
{
"name": "__tLogger__",
"msg": "Virtual device valve temperature is correct (Content %s and Type is %s).",
"args": [
"23",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441641.327057,
"msecs": 327.056884765625,
"relativeCreated": 38330.5721282959,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device valve temperature is correct (Content 23 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:01,327",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device valve temperature",
"23",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441641.3268497,
"msecs": 326.84969902038574,
"relativeCreated": 38330.36494255066,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device valve temperature): 23 (<class 'int'>)",
"asctime": "2023-02-15 07:14:01,326"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device valve temperature",
"=",
"23",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441641.326959,
"msecs": 326.95889472961426,
"relativeCreated": 38330.47413825989,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device valve temperature): result = 23 (<class 'int'>)",
"asctime": "2023-02-15 07:14:01,326"
}
],
"time_consumption": 9.799003601074219e-05
}
],
"time_consumption": 1.2105090618133545,
"time_start": "2023-02-15 07:14:00,116",
"time_finished": "2023-02-15 07:14:01,327"
},
"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": 1676441641.3275821,
"msecs": 327.58212089538574,
"relativeCreated": 38331.09736442566,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Brightness test for device and virtual device: zigbee/ffw/julian/main_light",
"asctime": "2023-02-15 07:14:01,327",
"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": 1676441641.6295269,
"msecs": 629.5268535614014,
"relativeCreated": 38633.042097091675,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Setting preconditions (Power on)",
"asctime": "2023-02-15 07:14:01,629",
"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": 1676441641.327901,
"msecs": 327.90088653564453,
"relativeCreated": 38331.41613006592,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffw/julian/main_light/relay/0 and payload on",
"asctime": "2023-02-15 07:14:01,327"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441641.3286176,
"msecs": 328.6175727844238,
"relativeCreated": 38332.1328163147,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffw/julian/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:01,328"
},
{
"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": 1676441641.3298535,
"msecs": 329.8535346984863,
"relativeCreated": 38333.36877822876,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffw/julian/main_light/relay/0 and payload b'on'",
"asctime": "2023-02-15 07:14:01,329"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441641.330754,
"msecs": 330.75404167175293,
"relativeCreated": 38334.26928520203,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/julian/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:01,330"
},
{
"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": 1676441641.3751874,
"msecs": 375.1873970031738,
"relativeCreated": 38378.70264053345,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/julian/main_light/state and payload b'true'",
"asctime": "2023-02-15 07:14:01,375"
},
{
"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": 1676441641.3760347,
"msecs": 376.0347366333008,
"relativeCreated": 38379.549980163574,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/julian/main_light/brightness and payload b'50'",
"asctime": "2023-02-15 07:14:01,376"
},
{
"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": 1676441641.3766968,
"msecs": 376.6968250274658,
"relativeCreated": 38380.21206855774,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/julian/main_light/color_temp and payload b'5'",
"asctime": "2023-02-15 07:14:01,376"
}
],
"time_consumption": 0.25283002853393555
},
{
"name": "__tLogger__",
"msg": "Virtual device brightness is correct (Content %s and Type is %s).",
"args": [
"50",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441641.6302564,
"msecs": 630.2564144134521,
"relativeCreated": 38633.771657943726,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device brightness is correct (Content 50 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:01,630",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device brightness",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441641.629976,
"msecs": 629.9760341644287,
"relativeCreated": 38633.4912776947,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device brightness): 50 (<class 'int'>)",
"asctime": "2023-02-15 07:14:01,629"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device brightness",
"=",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441641.6301334,
"msecs": 630.1333904266357,
"relativeCreated": 38633.64863395691,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device brightness): result = 50 (<class 'int'>)",
"asctime": "2023-02-15 07:14:01,630"
}
],
"time_consumption": 0.00012302398681640625
},
{
"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": 1676441641.9318705,
"msecs": 931.8704605102539,
"relativeCreated": 38935.38570404053,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing light device brightness to '65'",
"asctime": "2023-02-15 07:14:01,931",
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441641.6307425,
"msecs": 630.7425498962402,
"relativeCreated": 38634.257793426514,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffw/julian/main_light and payload {\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:01,630"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441641.6320424,
"msecs": 632.042407989502,
"relativeCreated": 38635.557651519775,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/julian/main_light and payload b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:01,632"
},
{
"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'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441641.6345797,
"msecs": 634.5796585083008,
"relativeCreated": 38638.094902038574,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/julian/main_light/brightness and payload b'65'",
"asctime": "2023-02-15 07:14:01,634"
}
],
"time_consumption": 0.2972908020019531
},
{
"name": "__tLogger__",
"msg": "Virtual device brightness is correct (Content %s and Type is %s).",
"args": [
"65",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441641.9325402,
"msecs": 932.5401782989502,
"relativeCreated": 38936.05542182922,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device brightness is correct (Content 65 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:01,932",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device brightness",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441641.9322689,
"msecs": 932.2688579559326,
"relativeCreated": 38935.784101486206,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device brightness): 65 (<class 'int'>)",
"asctime": "2023-02-15 07:14:01,932"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device brightness",
"=",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441641.9324353,
"msecs": 932.4352741241455,
"relativeCreated": 38935.95051765442,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device brightness): result = 65 (<class 'int'>)",
"asctime": "2023-02-15 07:14:01,932"
}
],
"time_consumption": 0.0001049041748046875
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"65",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441641.932891,
"msecs": 932.8908920288086,
"relativeCreated": 38936.40613555908,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 65 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:01,932",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441641.9327118,
"msecs": 932.7118396759033,
"relativeCreated": 38936.22708320618,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 65 (<class 'int'>)",
"asctime": "2023-02-15 07:14:01,932"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441641.9328058,
"msecs": 932.8057765960693,
"relativeCreated": 38936.32102012634,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 65 (<class 'int'>)",
"asctime": "2023-02-15 07:14:01,932"
}
],
"time_consumption": 8.511543273925781e-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": 1676441642.2343931,
"msecs": 234.39311981201172,
"relativeCreated": 39237.908363342285,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device brightness to '50'",
"asctime": "2023-02-15 07:14:02,234",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffw.julian.main_light.brightness.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffw/julian/main_light/brightness/set",
"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": 1676441641.9331925,
"msecs": 933.1924915313721,
"relativeCreated": 38936.707735061646,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffw/julian/main_light/brightness/set and payload 50",
"asctime": "2023-02-15 07:14:01,933"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441641.9361494,
"msecs": 936.1493587493896,
"relativeCreated": 38939.66460227966,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/julian/main_light/set and payload b'{\"brightness\": 128}'",
"asctime": "2023-02-15 07:14:01,936"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441641.9366512,
"msecs": 936.6512298583984,
"relativeCreated": 38940.16647338867,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffw/julian/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:01,936"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441641.9376926,
"msecs": 937.6926422119141,
"relativeCreated": 38941.20788574219,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/julian/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:01,937"
},
{
"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": 1676441641.9815822,
"msecs": 981.5821647644043,
"relativeCreated": 38985.09740829468,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/julian/main_light/brightness and payload b'50'",
"asctime": "2023-02-15 07:14:01,981"
}
],
"time_consumption": 0.2528109550476074
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"50",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441642.235213,
"msecs": 235.213041305542,
"relativeCreated": 39238.728284835815,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 50 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:02,235",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441642.234889,
"msecs": 234.88903045654297,
"relativeCreated": 39238.40427398682,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 50 (<class 'int'>)",
"asctime": "2023-02-15 07:14:02,234"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441642.2350848,
"msecs": 235.08477210998535,
"relativeCreated": 39238.60001564026,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 50 (<class 'int'>)",
"asctime": "2023-02-15 07:14:02,235"
}
],
"time_consumption": 0.00012826919555664062
},
{
"name": "__tLogger__",
"msg": "Virtual device brightness is correct (Content %s and Type is %s).",
"args": [
"50",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441642.235631,
"msecs": 235.63098907470703,
"relativeCreated": 39239.14623260498,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device brightness is correct (Content 50 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:02,235",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device brightness",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441642.235419,
"msecs": 235.41903495788574,
"relativeCreated": 39238.93427848816,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device brightness): 50 (<class 'int'>)",
"asctime": "2023-02-15 07:14:02,235"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device brightness",
"=",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441642.23553,
"msecs": 235.52989959716797,
"relativeCreated": 39239.04514312744,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device brightness): result = 50 (<class 'int'>)",
"asctime": "2023-02-15 07:14:02,235"
}
],
"time_consumption": 0.0001010894775390625
},
{
"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": 1676441642.5371702,
"msecs": 537.1701717376709,
"relativeCreated": 39540.685415267944,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing light device brightness to '65'",
"asctime": "2023-02-15 07:14:02,537",
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441642.2360091,
"msecs": 236.0091209411621,
"relativeCreated": 39239.524364471436,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffw/julian/main_light and payload {\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:02,236"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441642.2373016,
"msecs": 237.30158805847168,
"relativeCreated": 39240.816831588745,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/julian/main_light and payload b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:02,237"
},
{
"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'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441642.239798,
"msecs": 239.79806900024414,
"relativeCreated": 39243.31331253052,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/julian/main_light/brightness and payload b'65'",
"asctime": "2023-02-15 07:14:02,239"
}
],
"time_consumption": 0.29737210273742676
},
{
"name": "__tLogger__",
"msg": "Virtual device brightness is correct (Content %s and Type is %s).",
"args": [
"65",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441642.537945,
"msecs": 537.945032119751,
"relativeCreated": 39541.460275650024,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device brightness is correct (Content 65 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:02,537",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device brightness",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441642.537625,
"msecs": 537.6250743865967,
"relativeCreated": 39541.14031791687,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device brightness): 65 (<class 'int'>)",
"asctime": "2023-02-15 07:14:02,537"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device brightness",
"=",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441642.5377781,
"msecs": 537.7781391143799,
"relativeCreated": 39541.29338264465,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device brightness): result = 65 (<class 'int'>)",
"asctime": "2023-02-15 07:14:02,537"
}
],
"time_consumption": 0.00016689300537109375
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"65",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441642.538374,
"msecs": 538.3739471435547,
"relativeCreated": 39541.88919067383,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 65 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:02,538",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441642.5381598,
"msecs": 538.1598472595215,
"relativeCreated": 39541.675090789795,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 65 (<class 'int'>)",
"asctime": "2023-02-15 07:14:02,538"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441642.538271,
"msecs": 538.2709503173828,
"relativeCreated": 39541.786193847656,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 65 (<class 'int'>)",
"asctime": "2023-02-15 07:14:02,538"
}
],
"time_consumption": 0.000102996826171875
},
{
"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": 1676441642.8395808,
"msecs": 839.580774307251,
"relativeCreated": 39843.096017837524,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device brightness to '50'",
"asctime": "2023-02-15 07:14:02,839",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffw.julian.main_light.brightness.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffw/julian/main_light/brightness/set",
"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": 1676441642.5387187,
"msecs": 538.7187004089355,
"relativeCreated": 39542.23394393921,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffw/julian/main_light/brightness/set and payload 50",
"asctime": "2023-02-15 07:14:02,538"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441642.5420253,
"msecs": 542.0253276824951,
"relativeCreated": 39545.54057121277,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/julian/main_light/set and payload b'{\"brightness\": 128}'",
"asctime": "2023-02-15 07:14:02,542"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441642.542665,
"msecs": 542.6650047302246,
"relativeCreated": 39546.1802482605,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffw/julian/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:02,542"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441642.543878,
"msecs": 543.8780784606934,
"relativeCreated": 39547.39332199097,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/julian/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:02,543"
},
{
"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": 1676441642.5868523,
"msecs": 586.8523120880127,
"relativeCreated": 39590.367555618286,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/julian/main_light/brightness and payload b'50'",
"asctime": "2023-02-15 07:14:02,586"
}
],
"time_consumption": 0.2527284622192383
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"50",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441642.8398407,
"msecs": 839.8406505584717,
"relativeCreated": 39843.355894088745,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 50 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:02,839",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441642.83976,
"msecs": 839.7600650787354,
"relativeCreated": 39843.27530860901,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 50 (<class 'int'>)",
"asctime": "2023-02-15 07:14:02,839"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441642.8398051,
"msecs": 839.8051261901855,
"relativeCreated": 39843.32036972046,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 50 (<class 'int'>)",
"asctime": "2023-02-15 07:14:02,839"
}
],
"time_consumption": 3.552436828613281e-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": 1676441643.1408348,
"msecs": 140.83480834960938,
"relativeCreated": 40144.35005187988,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Resetting precondition (Power off)",
"asctime": "2023-02-15 07:14:03,140",
"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": 1676441642.8399527,
"msecs": 839.9527072906494,
"relativeCreated": 39843.46795082092,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffw/julian/main_light/relay/0 and payload off",
"asctime": "2023-02-15 07:14:02,839"
},
{
"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": 1676441642.840471,
"msecs": 840.4710292816162,
"relativeCreated": 39843.98627281189,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffw/julian/main_light/relay/0 and payload b'off'",
"asctime": "2023-02-15 07:14:02,840"
},
{
"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": 1676441642.84132,
"msecs": 841.3200378417969,
"relativeCreated": 39844.83528137207,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/julian/main_light/state and payload b'false'",
"asctime": "2023-02-15 07:14:02,841"
}
],
"time_consumption": 0.2995147705078125
}
],
"time_consumption": 1.8132526874542236,
"time_start": "2023-02-15 07:14:01,327",
"time_finished": "2023-02-15 07:14:03,140"
},
"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": 1676441643.1414998,
"msecs": 141.49975776672363,
"relativeCreated": 40145.015001297,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Color temperature test for device and virtual device: zigbee/ffw/julian/main_light",
"asctime": "2023-02-15 07:14:03,141",
"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": 1676441643.4434538,
"msecs": 443.4537887573242,
"relativeCreated": 40446.9690322876,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Setting preconditions (Power on)",
"asctime": "2023-02-15 07:14:03,443",
"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": 1676441643.1418052,
"msecs": 141.80517196655273,
"relativeCreated": 40145.320415496826,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffw/julian/main_light/relay/0 and payload on",
"asctime": "2023-02-15 07:14:03,141"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441643.1423838,
"msecs": 142.38381385803223,
"relativeCreated": 40145.899057388306,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffw/julian/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:03,142"
},
{
"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": 1676441643.1434233,
"msecs": 143.42331886291504,
"relativeCreated": 40146.93856239319,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffw/julian/main_light/relay/0 and payload b'on'",
"asctime": "2023-02-15 07:14:03,143"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441643.1441984,
"msecs": 144.19841766357422,
"relativeCreated": 40147.71366119385,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/julian/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:03,144"
},
{
"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": 1676441643.1870615,
"msecs": 187.06154823303223,
"relativeCreated": 40190.576791763306,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/julian/main_light/state and payload b'true'",
"asctime": "2023-02-15 07:14:03,187"
}
],
"time_consumption": 0.256392240524292
},
{
"name": "__tLogger__",
"msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
"args": [
"5",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441643.4441793,
"msecs": 444.1792964935303,
"relativeCreated": 40447.694540023804,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device color temperature is correct (Content 5 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:03,444",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device color temperature",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441643.4438984,
"msecs": 443.89843940734863,
"relativeCreated": 40447.41368293762,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device color temperature): 5 (<class 'int'>)",
"asctime": "2023-02-15 07:14:03,443"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device color temperature",
"=",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441643.444055,
"msecs": 444.05508041381836,
"relativeCreated": 40447.57032394409,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device color temperature): result = 5 (<class 'int'>)",
"asctime": "2023-02-15 07:14:03,444"
}
],
"time_consumption": 0.00012421607971191406
},
{
"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": 1676441643.745764,
"msecs": 745.7640171051025,
"relativeCreated": 40749.279260635376,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing light device color temperature to '5'",
"asctime": "2023-02-15 07:14:03,745",
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441643.4445918,
"msecs": 444.591760635376,
"relativeCreated": 40448.10700416565,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffw/julian/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0}",
"asctime": "2023-02-15 07:14:03,444"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441643.4459016,
"msecs": 445.90163230895996,
"relativeCreated": 40449.41687583923,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/julian/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0}'",
"asctime": "2023-02-15 07:14:03,445"
},
{
"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'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441643.4483557,
"msecs": 448.35567474365234,
"relativeCreated": 40451.870918273926,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/julian/main_light/color_temp and payload b'8'",
"asctime": "2023-02-15 07:14:03,448"
}
],
"time_consumption": 0.2974083423614502
},
{
"name": "__tLogger__",
"msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
"args": [
"8",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441643.7465415,
"msecs": 746.5415000915527,
"relativeCreated": 40750.056743621826,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device color temperature is correct (Content 8 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:03,746",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device color temperature",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441643.746217,
"msecs": 746.2170124053955,
"relativeCreated": 40749.73225593567,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device color temperature): 8 (<class 'int'>)",
"asctime": "2023-02-15 07:14:03,746"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device color temperature",
"=",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441643.7463713,
"msecs": 746.3712692260742,
"relativeCreated": 40749.88651275635,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device color temperature): result = 8 (<class 'int'>)",
"asctime": "2023-02-15 07:14:03,746"
}
],
"time_consumption": 0.00017023086547851562
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"8",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441643.7470071,
"msecs": 747.0071315765381,
"relativeCreated": 40750.52237510681,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 8 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:03,747",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441643.7467904,
"msecs": 746.7904090881348,
"relativeCreated": 40750.30565261841,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 8 (<class 'int'>)",
"asctime": "2023-02-15 07:14:03,746"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441643.7469049,
"msecs": 746.9048500061035,
"relativeCreated": 40750.42009353638,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 8 (<class 'int'>)",
"asctime": "2023-02-15 07:14:03,746"
}
],
"time_consumption": 0.00010228157043457031
},
{
"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": 1676441644.048456,
"msecs": 48.45595359802246,
"relativeCreated": 41051.971197128296,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device color temperature to '5'",
"asctime": "2023-02-15 07:14:04,048",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffw.julian.main_light.color_temp.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffw/julian/main_light/color_temp/set",
"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": 1676441643.7473395,
"msecs": 747.3394870758057,
"relativeCreated": 40750.85473060608,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffw/julian/main_light/color_temp/set and payload 5",
"asctime": "2023-02-15 07:14:03,747"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441643.7506843,
"msecs": 750.6842613220215,
"relativeCreated": 40754.199504852295,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/julian/main_light/set and payload b'{\"color_temp\": 352}'",
"asctime": "2023-02-15 07:14:03,750"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441643.751298,
"msecs": 751.2979507446289,
"relativeCreated": 40754.8131942749,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffw/julian/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:03,751"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441643.7525187,
"msecs": 752.5186538696289,
"relativeCreated": 40756.0338973999,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/julian/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:03,752"
},
{
"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": 1676441643.7950947,
"msecs": 795.0947284698486,
"relativeCreated": 40798.60997200012,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/julian/main_light/color_temp and payload b'5'",
"asctime": "2023-02-15 07:14:03,795"
}
],
"time_consumption": 0.25336122512817383
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"5",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441644.049097,
"msecs": 49.09706115722656,
"relativeCreated": 41052.6123046875,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 5 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:04,049",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441644.0488584,
"msecs": 48.8584041595459,
"relativeCreated": 41052.37364768982,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 5 (<class 'int'>)",
"asctime": "2023-02-15 07:14:04,048"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441644.0489902,
"msecs": 48.99024963378906,
"relativeCreated": 41052.50549316406,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 5 (<class 'int'>)",
"asctime": "2023-02-15 07:14:04,048"
}
],
"time_consumption": 0.0001068115234375
},
{
"name": "__tLogger__",
"msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
"args": [
"5",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441644.0494883,
"msecs": 49.48830604553223,
"relativeCreated": 41053.003549575806,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device color temperature is correct (Content 5 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:04,049",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device color temperature",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441644.0493057,
"msecs": 49.30567741394043,
"relativeCreated": 41052.820920944214,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device color temperature): 5 (<class 'int'>)",
"asctime": "2023-02-15 07:14:04,049"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device color temperature",
"=",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441644.049402,
"msecs": 49.40199851989746,
"relativeCreated": 41052.91724205017,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device color temperature): result = 5 (<class 'int'>)",
"asctime": "2023-02-15 07:14:04,049"
}
],
"time_consumption": 8.630752563476562e-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": 1676441644.3507292,
"msecs": 350.72922706604004,
"relativeCreated": 41354.24447059631,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing light device color temperature to '5'",
"asctime": "2023-02-15 07:14:04,350",
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441644.049819,
"msecs": 49.818992614746094,
"relativeCreated": 41053.33423614502,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffw/julian/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0}",
"asctime": "2023-02-15 07:14:04,049"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441644.0509548,
"msecs": 50.95481872558594,
"relativeCreated": 41054.47006225586,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/julian/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0}'",
"asctime": "2023-02-15 07:14:04,050"
},
{
"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'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441644.0530465,
"msecs": 53.046464920043945,
"relativeCreated": 41056.56170845032,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/julian/main_light/color_temp and payload b'8'",
"asctime": "2023-02-15 07:14:04,053"
}
],
"time_consumption": 0.2976827621459961
},
{
"name": "__tLogger__",
"msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
"args": [
"8",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441644.351458,
"msecs": 351.4580726623535,
"relativeCreated": 41354.97331619263,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device color temperature is correct (Content 8 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:04,351",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device color temperature",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441644.3511808,
"msecs": 351.1807918548584,
"relativeCreated": 41354.69603538513,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device color temperature): 8 (<class 'int'>)",
"asctime": "2023-02-15 07:14:04,351"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device color temperature",
"=",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441644.3513343,
"msecs": 351.3343334197998,
"relativeCreated": 41354.84957695007,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device color temperature): result = 8 (<class 'int'>)",
"asctime": "2023-02-15 07:14:04,351"
}
],
"time_consumption": 0.00012373924255371094
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"8",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441644.3518672,
"msecs": 351.8671989440918,
"relativeCreated": 41355.382442474365,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 8 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:04,351",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441644.3516576,
"msecs": 351.6576290130615,
"relativeCreated": 41355.172872543335,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 8 (<class 'int'>)",
"asctime": "2023-02-15 07:14:04,351"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441644.351767,
"msecs": 351.76706314086914,
"relativeCreated": 41355.28230667114,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 8 (<class 'int'>)",
"asctime": "2023-02-15 07:14:04,351"
}
],
"time_consumption": 0.00010013580322265625
},
{
"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": 1676441644.6539147,
"msecs": 653.9146900177002,
"relativeCreated": 41657.42993354797,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device color temperature to '5'",
"asctime": "2023-02-15 07:14:04,653",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffw.julian.main_light.color_temp.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffw/julian/main_light/color_temp/set",
"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": 1676441644.3521464,
"msecs": 352.1463871002197,
"relativeCreated": 41355.66163063049,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffw/julian/main_light/color_temp/set and payload 5",
"asctime": "2023-02-15 07:14:04,352"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441644.3561265,
"msecs": 356.1265468597412,
"relativeCreated": 41359.641790390015,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/julian/main_light/set and payload b'{\"color_temp\": 352}'",
"asctime": "2023-02-15 07:14:04,356"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441644.3567169,
"msecs": 356.7168712615967,
"relativeCreated": 41360.23211479187,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffw/julian/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:04,356"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441644.3579204,
"msecs": 357.92040824890137,
"relativeCreated": 41361.435651779175,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/julian/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:04,357"
},
{
"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": 1676441644.4019895,
"msecs": 401.9894599914551,
"relativeCreated": 41405.50470352173,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/julian/main_light/color_temp and payload b'5'",
"asctime": "2023-02-15 07:14:04,401"
}
],
"time_consumption": 0.2519252300262451
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"5",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441644.654686,
"msecs": 654.6859741210938,
"relativeCreated": 41658.20121765137,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 5 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:04,654",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441644.6543684,
"msecs": 654.3684005737305,
"relativeCreated": 41657.883644104004,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 5 (<class 'int'>)",
"asctime": "2023-02-15 07:14:04,654"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441644.6545546,
"msecs": 654.5546054840088,
"relativeCreated": 41658.06984901428,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 5 (<class 'int'>)",
"asctime": "2023-02-15 07:14:04,654"
}
],
"time_consumption": 0.00013136863708496094
},
{
"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": 1676441644.9561565,
"msecs": 956.1564922332764,
"relativeCreated": 41959.67173576355,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Resetting precondition (Power off)",
"asctime": "2023-02-15 07:14:04,956",
"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": 1676441644.6549883,
"msecs": 654.9882888793945,
"relativeCreated": 41658.50353240967,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffw/julian/main_light/relay/0 and payload off",
"asctime": "2023-02-15 07:14:04,654"
},
{
"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": 1676441644.656345,
"msecs": 656.3448905944824,
"relativeCreated": 41659.860134124756,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffw/julian/main_light/relay/0 and payload b'off'",
"asctime": "2023-02-15 07:14:04,656"
},
{
"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": 1676441644.6587627,
"msecs": 658.7626934051514,
"relativeCreated": 41662.277936935425,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/julian/main_light/state and payload b'false'",
"asctime": "2023-02-15 07:14:04,658"
}
],
"time_consumption": 0.297393798828125
}
],
"time_consumption": 1.8146567344665527,
"time_start": "2023-02-15 07:14:03,141",
"time_finished": "2023-02-15 07:14:04,956"
},
"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": 1676441644.956579,
"msecs": 956.5789699554443,
"relativeCreated": 41960.09421348572,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Power On/ Off test for device and virtual device: shellies/ffw/julian/main_light",
"asctime": "2023-02-15 07:14:04,956",
"moduleLogger": [],
"testcaseLogger": [
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441644.9568684,
"msecs": 956.8684101104736,
"relativeCreated": 41960.38365364075,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:04,956",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441644.9567268,
"msecs": 956.7267894744873,
"relativeCreated": 41960.24203300476,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:04,956"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441644.9568055,
"msecs": 956.8054676055908,
"relativeCreated": 41960.320711135864,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:04,956"
}
],
"time_consumption": 6.29425048828125e-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": 1676441645.2582877,
"msecs": 258.2876682281494,
"relativeCreated": 42261.80291175842,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing switching device state to 'True'",
"asctime": "2023-02-15 07:14:05,258",
"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": 1676441644.9570148,
"msecs": 957.014799118042,
"relativeCreated": 41960.530042648315,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffw/julian/main_light/relay/0 and payload on",
"asctime": "2023-02-15 07:14:04,957"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441644.957378,
"msecs": 957.3779106140137,
"relativeCreated": 41960.89315414429,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffw/julian/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:04,957"
},
{
"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": 1676441644.9580271,
"msecs": 958.0271244049072,
"relativeCreated": 41961.54236793518,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffw/julian/main_light/relay/0 and payload b'on'",
"asctime": "2023-02-15 07:14:04,958"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441644.9584916,
"msecs": 958.4915637969971,
"relativeCreated": 41962.00680732727,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/julian/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:04,958"
},
{
"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": 1676441644.9986777,
"msecs": 998.6777305603027,
"relativeCreated": 42002.192974090576,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/julian/main_light/state and payload b'true'",
"asctime": "2023-02-15 07:14:04,998"
}
],
"time_consumption": 0.2596099376678467
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441645.259061,
"msecs": 259.0610980987549,
"relativeCreated": 42262.57634162903,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:05,259",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441645.2587829,
"msecs": 258.78286361694336,
"relativeCreated": 42262.29810714722,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:05,258"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441645.2589388,
"msecs": 258.9387893676758,
"relativeCreated": 42262.45403289795,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:05,258"
}
],
"time_consumption": 0.00012230873107910156
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441645.2594657,
"msecs": 259.46569442749023,
"relativeCreated": 42262.980937957764,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:05,259",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441645.2592545,
"msecs": 259.25445556640625,
"relativeCreated": 42262.76969909668,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:05,259"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441645.2593658,
"msecs": 259.3657970428467,
"relativeCreated": 42262.88104057312,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:05,259"
}
],
"time_consumption": 9.989738464355469e-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": 1676441645.5608335,
"msecs": 560.8334541320801,
"relativeCreated": 42564.34869766235,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device state to 'False'",
"asctime": "2023-02-15 07:14:05,560",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffw.julian.main_light.state.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffw/julian/main_light/state/set",
"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": 1676441645.2598302,
"msecs": 259.8302364349365,
"relativeCreated": 42263.34547996521,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffw/julian/main_light/state/set and payload false",
"asctime": "2023-02-15 07:14:05,259"
},
{
"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": 1676441645.2631567,
"msecs": 263.1566524505615,
"relativeCreated": 42266.671895980835,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffw/julian/main_light/relay/0/command and payload b'off'",
"asctime": "2023-02-15 07:14:05,263"
},
{
"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": 1676441645.2636762,
"msecs": 263.6761665344238,
"relativeCreated": 42267.1914100647,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffw/julian/main_light/relay/0 and payload off",
"asctime": "2023-02-15 07:14:05,263"
},
{
"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": 1676441645.2649465,
"msecs": 264.94646072387695,
"relativeCreated": 42268.46170425415,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffw/julian/main_light/relay/0 and payload b'off'",
"asctime": "2023-02-15 07:14:05,264"
},
{
"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": 1676441645.309791,
"msecs": 309.79108810424805,
"relativeCreated": 42313.30633163452,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/julian/main_light/state and payload b'false'",
"asctime": "2023-02-15 07:14:05,309"
}
],
"time_consumption": 0.25104236602783203
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441645.5615664,
"msecs": 561.5663528442383,
"relativeCreated": 42565.08159637451,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:05,561",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441645.561292,
"msecs": 561.2919330596924,
"relativeCreated": 42564.807176589966,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:05,561"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441645.561443,
"msecs": 561.4430904388428,
"relativeCreated": 42564.958333969116,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:05,561"
}
],
"time_consumption": 0.0001232624053955078
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441645.5619783,
"msecs": 561.9783401489258,
"relativeCreated": 42565.4935836792,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:05,561",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441645.5617619,
"msecs": 561.7618560791016,
"relativeCreated": 42565.277099609375,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:05,561"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441645.5618753,
"msecs": 561.8753433227539,
"relativeCreated": 42565.39058685303,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:05,561"
}
],
"time_consumption": 0.000102996826171875
},
{
"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": 1676441645.8638062,
"msecs": 863.8062477111816,
"relativeCreated": 42867.321491241455,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing switching device state to 'True'",
"asctime": "2023-02-15 07:14:05,863",
"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": 1676441645.5622463,
"msecs": 562.2463226318359,
"relativeCreated": 42565.76156616211,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffw/julian/main_light/relay/0 and payload on",
"asctime": "2023-02-15 07:14:05,562"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441645.5629504,
"msecs": 562.9503726959229,
"relativeCreated": 42566.465616226196,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffw/julian/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:05,562"
},
{
"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": 1676441645.5641422,
"msecs": 564.1422271728516,
"relativeCreated": 42567.657470703125,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffw/julian/main_light/relay/0 and payload b'on'",
"asctime": "2023-02-15 07:14:05,564"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441645.5649936,
"msecs": 564.9936199188232,
"relativeCreated": 42568.5088634491,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/julian/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:05,564"
},
{
"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": 1676441645.6073923,
"msecs": 607.3923110961914,
"relativeCreated": 42610.907554626465,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/julian/main_light/state and payload b'true'",
"asctime": "2023-02-15 07:14:05,607"
}
],
"time_consumption": 0.25641393661499023
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441645.8640487,
"msecs": 864.0487194061279,
"relativeCreated": 42867.5639629364,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:05,864",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441645.8639677,
"msecs": 863.9676570892334,
"relativeCreated": 42867.48290061951,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:05,863"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441645.864004,
"msecs": 864.0038967132568,
"relativeCreated": 42867.51914024353,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:05,864"
}
],
"time_consumption": 4.482269287109375e-05
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441645.8641722,
"msecs": 864.1722202301025,
"relativeCreated": 42867.687463760376,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:05,864",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441645.8641195,
"msecs": 864.1195297241211,
"relativeCreated": 42867.634773254395,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:05,864"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441645.8641477,
"msecs": 864.1476631164551,
"relativeCreated": 42867.66290664673,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:05,864"
}
],
"time_consumption": 2.4557113647460938e-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": 1676441646.1648443,
"msecs": 164.84427452087402,
"relativeCreated": 43168.35951805115,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device state to 'False'",
"asctime": "2023-02-15 07:14:06,164",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffw.julian.main_light.state.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffw/julian/main_light/state/set",
"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": 1676441645.8642526,
"msecs": 864.2525672912598,
"relativeCreated": 42867.76781082153,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffw/julian/main_light/state/set and payload false",
"asctime": "2023-02-15 07:14:05,864"
},
{
"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": 1676441645.8653753,
"msecs": 865.375280380249,
"relativeCreated": 42868.89052391052,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffw/julian/main_light/relay/0/command and payload b'off'",
"asctime": "2023-02-15 07:14:05,865"
},
{
"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": 1676441645.8655357,
"msecs": 865.5357360839844,
"relativeCreated": 42869.05097961426,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffw/julian/main_light/relay/0 and payload off",
"asctime": "2023-02-15 07:14:05,865"
},
{
"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": 1676441645.8658895,
"msecs": 865.8895492553711,
"relativeCreated": 42869.404792785645,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffw/julian/main_light/relay/0 and payload b'off'",
"asctime": "2023-02-15 07:14:05,865"
},
{
"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": 1676441645.9079082,
"msecs": 907.9082012176514,
"relativeCreated": 42911.423444747925,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/julian/main_light/state and payload b'false'",
"asctime": "2023-02-15 07:14:05,907"
}
],
"time_consumption": 0.25693607330322266
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441646.165624,
"msecs": 165.62390327453613,
"relativeCreated": 43169.13914680481,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:06,165",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441646.1653123,
"msecs": 165.3122901916504,
"relativeCreated": 43168.827533721924,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:06,165"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441646.1654975,
"msecs": 165.4975414276123,
"relativeCreated": 43169.012784957886,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:06,165"
}
],
"time_consumption": 0.00012636184692382812
}
],
"time_consumption": 1.2090449333190918,
"time_start": "2023-02-15 07:14:04,956",
"time_finished": "2023-02-15 07:14:06,165"
},
"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": 1676441646.1661606,
"msecs": 166.16058349609375,
"relativeCreated": 43169.67582702637,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Brightness test for device and virtual device: zigbee/ffw/livingroom/main_light",
"asctime": "2023-02-15 07:14:06,166",
"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": 1676441646.4682283,
"msecs": 468.2283401489258,
"relativeCreated": 43471.7435836792,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Setting preconditions (Power on)",
"asctime": "2023-02-15 07:14:06,468",
"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": 1676441646.1665263,
"msecs": 166.52631759643555,
"relativeCreated": 43170.04156112671,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffw/livingroom/main_light/relay/0 and payload on",
"asctime": "2023-02-15 07:14:06,166"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441646.167204,
"msecs": 167.2039031982422,
"relativeCreated": 43170.719146728516,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffw/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:06,167"
},
{
"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": 1676441646.1683269,
"msecs": 168.32685470581055,
"relativeCreated": 43171.842098236084,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffw/livingroom/main_light/relay/0 and payload b'on'",
"asctime": "2023-02-15 07:14:06,168"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441646.1691608,
"msecs": 169.1608428955078,
"relativeCreated": 43172.67608642578,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:06,169"
},
{
"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": 1676441646.2110844,
"msecs": 211.08436584472656,
"relativeCreated": 43214.599609375,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/livingroom/main_light/state and payload b'true'",
"asctime": "2023-02-15 07:14:06,211"
},
{
"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": 1676441646.2119937,
"msecs": 211.99369430541992,
"relativeCreated": 43215.50893783569,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/livingroom/main_light/brightness and payload b'50'",
"asctime": "2023-02-15 07:14:06,211"
},
{
"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": 1676441646.212682,
"msecs": 212.68200874328613,
"relativeCreated": 43216.19725227356,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/livingroom/main_light/color_temp and payload b'5'",
"asctime": "2023-02-15 07:14:06,212"
}
],
"time_consumption": 0.25554633140563965
},
{
"name": "__tLogger__",
"msg": "Virtual device brightness is correct (Content %s and Type is %s).",
"args": [
"50",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441646.46895,
"msecs": 468.9500331878662,
"relativeCreated": 43472.46527671814,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device brightness is correct (Content 50 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:06,468",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device brightness",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441646.4686756,
"msecs": 468.6756134033203,
"relativeCreated": 43472.190856933594,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device brightness): 50 (<class 'int'>)",
"asctime": "2023-02-15 07:14:06,468"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device brightness",
"=",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441646.4688294,
"msecs": 468.8293933868408,
"relativeCreated": 43472.344636917114,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device brightness): result = 50 (<class 'int'>)",
"asctime": "2023-02-15 07:14:06,468"
}
],
"time_consumption": 0.00012063980102539062
},
{
"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": 1676441646.7705657,
"msecs": 770.5657482147217,
"relativeCreated": 43774.080991744995,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing light device brightness to '65'",
"asctime": "2023-02-15 07:14:06,770",
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441646.469352,
"msecs": 469.35200691223145,
"relativeCreated": 43472.867250442505,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffw/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:06,469"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441646.4706645,
"msecs": 470.66450119018555,
"relativeCreated": 43474.17974472046,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:06,470"
},
{
"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'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441646.4730937,
"msecs": 473.09374809265137,
"relativeCreated": 43476.608991622925,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/livingroom/main_light/brightness and payload b'65'",
"asctime": "2023-02-15 07:14:06,473"
}
],
"time_consumption": 0.2974720001220703
},
{
"name": "__tLogger__",
"msg": "Virtual device brightness is correct (Content %s and Type is %s).",
"args": [
"65",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441646.771339,
"msecs": 771.338939666748,
"relativeCreated": 43774.85418319702,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device brightness is correct (Content 65 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:06,771",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device brightness",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441646.7710469,
"msecs": 771.0468769073486,
"relativeCreated": 43774.56212043762,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device brightness): 65 (<class 'int'>)",
"asctime": "2023-02-15 07:14:06,771"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device brightness",
"=",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441646.771197,
"msecs": 771.1970806121826,
"relativeCreated": 43774.712324142456,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device brightness): result = 65 (<class 'int'>)",
"asctime": "2023-02-15 07:14:06,771"
}
],
"time_consumption": 0.0001418590545654297
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"65",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441646.771747,
"msecs": 771.7471122741699,
"relativeCreated": 43775.26235580444,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 65 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:06,771",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441646.7715366,
"msecs": 771.5365886688232,
"relativeCreated": 43775.0518321991,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 65 (<class 'int'>)",
"asctime": "2023-02-15 07:14:06,771"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441646.7716472,
"msecs": 771.6472148895264,
"relativeCreated": 43775.1624584198,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 65 (<class 'int'>)",
"asctime": "2023-02-15 07:14:06,771"
}
],
"time_consumption": 9.989738464355469e-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": 1676441647.0731916,
"msecs": 73.19164276123047,
"relativeCreated": 44076.706886291504,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device brightness to '50'",
"asctime": "2023-02-15 07:14:07,073",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.brightness.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffw/livingroom/main_light/brightness/set",
"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": 1676441646.7720733,
"msecs": 772.0732688903809,
"relativeCreated": 43775.588512420654,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffw/livingroom/main_light/brightness/set and payload 50",
"asctime": "2023-02-15 07:14:06,772"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441646.7755034,
"msecs": 775.503396987915,
"relativeCreated": 43779.01864051819,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/livingroom/main_light/set and payload b'{\"brightness\": 128}'",
"asctime": "2023-02-15 07:14:06,775"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441646.776094,
"msecs": 776.0939598083496,
"relativeCreated": 43779.60920333862,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffw/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:06,776"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441646.7772844,
"msecs": 777.2843837738037,
"relativeCreated": 43780.79962730408,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:06,777"
},
{
"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": 1676441646.822031,
"msecs": 822.0310211181641,
"relativeCreated": 43825.54626464844,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/livingroom/main_light/brightness and payload b'50'",
"asctime": "2023-02-15 07:14:06,822"
}
],
"time_consumption": 0.2511606216430664
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"50",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441647.073854,
"msecs": 73.85396957397461,
"relativeCreated": 44077.36921310425,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 50 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:07,073",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441647.0736194,
"msecs": 73.61936569213867,
"relativeCreated": 44077.13460922241,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 50 (<class 'int'>)",
"asctime": "2023-02-15 07:14:07,073"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441647.073751,
"msecs": 73.75097274780273,
"relativeCreated": 44077.266216278076,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 50 (<class 'int'>)",
"asctime": "2023-02-15 07:14:07,073"
}
],
"time_consumption": 0.000102996826171875
},
{
"name": "__tLogger__",
"msg": "Virtual device brightness is correct (Content %s and Type is %s).",
"args": [
"50",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441647.0741992,
"msecs": 74.19919967651367,
"relativeCreated": 44077.71444320679,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device brightness is correct (Content 50 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:07,074",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device brightness",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441647.07402,
"msecs": 74.0199089050293,
"relativeCreated": 44077.5351524353,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device brightness): 50 (<class 'int'>)",
"asctime": "2023-02-15 07:14:07,074"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device brightness",
"=",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441647.0741134,
"msecs": 74.11336898803711,
"relativeCreated": 44077.62861251831,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device brightness): result = 50 (<class 'int'>)",
"asctime": "2023-02-15 07:14:07,074"
}
],
"time_consumption": 8.58306884765625e-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": 1676441647.3756628,
"msecs": 375.66280364990234,
"relativeCreated": 44379.178047180176,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing light device brightness to '65'",
"asctime": "2023-02-15 07:14:07,375",
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441647.0745683,
"msecs": 74.56827163696289,
"relativeCreated": 44078.083515167236,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffw/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:07,074"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441647.075649,
"msecs": 75.64902305603027,
"relativeCreated": 44079.164266586304,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:07,075"
},
{
"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'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441647.0777957,
"msecs": 77.79574394226074,
"relativeCreated": 44081.310987472534,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/livingroom/main_light/brightness and payload b'65'",
"asctime": "2023-02-15 07:14:07,077"
}
],
"time_consumption": 0.2978670597076416
},
{
"name": "__tLogger__",
"msg": "Virtual device brightness is correct (Content %s and Type is %s).",
"args": [
"65",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441647.3764248,
"msecs": 376.42478942871094,
"relativeCreated": 44379.940032958984,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device brightness is correct (Content 65 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:07,376",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device brightness",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441647.376115,
"msecs": 376.115083694458,
"relativeCreated": 44379.63032722473,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device brightness): 65 (<class 'int'>)",
"asctime": "2023-02-15 07:14:07,376"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device brightness",
"=",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441647.3762665,
"msecs": 376.2664794921875,
"relativeCreated": 44379.78172302246,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device brightness): result = 65 (<class 'int'>)",
"asctime": "2023-02-15 07:14:07,376"
}
],
"time_consumption": 0.0001583099365234375
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"65",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441647.3768466,
"msecs": 376.8465518951416,
"relativeCreated": 44380.361795425415,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 65 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:07,376",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441647.376622,
"msecs": 376.62196159362793,
"relativeCreated": 44380.1372051239,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 65 (<class 'int'>)",
"asctime": "2023-02-15 07:14:07,376"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441647.376746,
"msecs": 376.74593925476074,
"relativeCreated": 44380.261182785034,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 65 (<class 'int'>)",
"asctime": "2023-02-15 07:14:07,376"
}
],
"time_consumption": 0.00010061264038085938
},
{
"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": 1676441647.678272,
"msecs": 678.272008895874,
"relativeCreated": 44681.78725242615,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device brightness to '50'",
"asctime": "2023-02-15 07:14:07,678",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.brightness.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffw/livingroom/main_light/brightness/set",
"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": 1676441647.3771381,
"msecs": 377.1381378173828,
"relativeCreated": 44380.653381347656,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffw/livingroom/main_light/brightness/set and payload 50",
"asctime": "2023-02-15 07:14:07,377"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441647.38045,
"msecs": 380.4500102996826,
"relativeCreated": 44383.965253829956,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/livingroom/main_light/set and payload b'{\"brightness\": 128}'",
"asctime": "2023-02-15 07:14:07,380"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441647.381016,
"msecs": 381.0160160064697,
"relativeCreated": 44384.53125953674,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffw/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:07,381"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441647.382212,
"msecs": 382.21192359924316,
"relativeCreated": 44385.72716712952,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:07,382"
},
{
"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": 1676441647.426015,
"msecs": 426.01490020751953,
"relativeCreated": 44429.53014373779,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/livingroom/main_light/brightness and payload b'50'",
"asctime": "2023-02-15 07:14:07,426"
}
],
"time_consumption": 0.2522571086883545
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"50",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441647.6791005,
"msecs": 679.100513458252,
"relativeCreated": 44682.615756988525,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 50 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:07,679",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441647.6788068,
"msecs": 678.8067817687988,
"relativeCreated": 44682.32202529907,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 50 (<class 'int'>)",
"asctime": "2023-02-15 07:14:07,678"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441647.678964,
"msecs": 678.9638996124268,
"relativeCreated": 44682.4791431427,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 50 (<class 'int'>)",
"asctime": "2023-02-15 07:14:07,678"
}
],
"time_consumption": 0.0001366138458251953
},
{
"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": 1676441647.9805312,
"msecs": 980.5312156677246,
"relativeCreated": 44984.046459198,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Resetting precondition (Power off)",
"asctime": "2023-02-15 07:14:07,980",
"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": 1676441647.679393,
"msecs": 679.3930530548096,
"relativeCreated": 44682.90829658508,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffw/livingroom/main_light/relay/0 and payload off",
"asctime": "2023-02-15 07:14:07,679"
},
{
"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": 1676441647.680741,
"msecs": 680.7410717010498,
"relativeCreated": 44684.25631523132,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffw/livingroom/main_light/relay/0 and payload b'off'",
"asctime": "2023-02-15 07:14:07,680"
},
{
"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": 1676441647.6831427,
"msecs": 683.1426620483398,
"relativeCreated": 44686.65790557861,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/livingroom/main_light/state and payload b'false'",
"asctime": "2023-02-15 07:14:07,683"
}
],
"time_consumption": 0.29738855361938477
}
],
"time_consumption": 1.8143706321716309,
"time_start": "2023-02-15 07:14:06,166",
"time_finished": "2023-02-15 07:14:07,980"
},
"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": 1676441647.9808383,
"msecs": 980.8382987976074,
"relativeCreated": 44984.35354232788,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Color temperature test for device and virtual device: zigbee/ffw/livingroom/main_light",
"asctime": "2023-02-15 07:14:07,980",
"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": 1676441648.2820904,
"msecs": 282.090425491333,
"relativeCreated": 45285.60566902161,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Setting preconditions (Power on)",
"asctime": "2023-02-15 07:14:08,282",
"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": 1676441647.9809642,
"msecs": 980.964183807373,
"relativeCreated": 44984.47942733765,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffw/livingroom/main_light/relay/0 and payload on",
"asctime": "2023-02-15 07:14:07,980"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441647.9812403,
"msecs": 981.2402725219727,
"relativeCreated": 44984.755516052246,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffw/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:07,981"
},
{
"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": 1676441647.9817214,
"msecs": 981.7214012145996,
"relativeCreated": 44985.23664474487,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffw/livingroom/main_light/relay/0 and payload b'on'",
"asctime": "2023-02-15 07:14:07,981"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441647.982018,
"msecs": 982.017993927002,
"relativeCreated": 44985.533237457275,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:07,982"
},
{
"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": 1676441648.0230665,
"msecs": 23.06652069091797,
"relativeCreated": 45026.58176422119,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/livingroom/main_light/state and payload b'true'",
"asctime": "2023-02-15 07:14:08,023"
}
],
"time_consumption": 0.25902390480041504
},
{
"name": "__tLogger__",
"msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
"args": [
"5",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441648.2828953,
"msecs": 282.8953266143799,
"relativeCreated": 45286.41057014465,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device color temperature is correct (Content 5 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:08,282",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device color temperature",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441648.282614,
"msecs": 282.61399269104004,
"relativeCreated": 45286.12923622131,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device color temperature): 5 (<class 'int'>)",
"asctime": "2023-02-15 07:14:08,282"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device color temperature",
"=",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441648.2827735,
"msecs": 282.773494720459,
"relativeCreated": 45286.28873825073,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device color temperature): result = 5 (<class 'int'>)",
"asctime": "2023-02-15 07:14:08,282"
}
],
"time_consumption": 0.00012183189392089844
},
{
"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": 1676441648.5844467,
"msecs": 584.4466686248779,
"relativeCreated": 45587.96191215515,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing light device color temperature to '5'",
"asctime": "2023-02-15 07:14:08,584",
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441648.2833014,
"msecs": 283.30135345458984,
"relativeCreated": 45286.81659698486,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffw/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0}",
"asctime": "2023-02-15 07:14:08,283"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441648.2845404,
"msecs": 284.54041481018066,
"relativeCreated": 45288.055658340454,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0}'",
"asctime": "2023-02-15 07:14:08,284"
},
{
"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'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441648.2869904,
"msecs": 286.9904041290283,
"relativeCreated": 45290.5056476593,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/livingroom/main_light/color_temp and payload b'8'",
"asctime": "2023-02-15 07:14:08,286"
}
],
"time_consumption": 0.2974562644958496
},
{
"name": "__tLogger__",
"msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
"args": [
"8",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441648.5851672,
"msecs": 585.1671695709229,
"relativeCreated": 45588.682413101196,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device color temperature is correct (Content 8 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:08,585",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device color temperature",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441648.5848975,
"msecs": 584.897518157959,
"relativeCreated": 45588.41276168823,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device color temperature): 8 (<class 'int'>)",
"asctime": "2023-02-15 07:14:08,584"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device color temperature",
"=",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441648.5850477,
"msecs": 585.047721862793,
"relativeCreated": 45588.56296539307,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device color temperature): result = 8 (<class 'int'>)",
"asctime": "2023-02-15 07:14:08,585"
}
],
"time_consumption": 0.00011944770812988281
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"8",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441648.585625,
"msecs": 585.6249332427979,
"relativeCreated": 45589.14017677307,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 8 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:08,585",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441648.5854156,
"msecs": 585.4156017303467,
"relativeCreated": 45588.93084526062,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 8 (<class 'int'>)",
"asctime": "2023-02-15 07:14:08,585"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441648.585526,
"msecs": 585.5259895324707,
"relativeCreated": 45589.041233062744,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 8 (<class 'int'>)",
"asctime": "2023-02-15 07:14:08,585"
}
],
"time_consumption": 9.894371032714844e-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": 1676441648.8871121,
"msecs": 887.1121406555176,
"relativeCreated": 45890.62738418579,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device color temperature to '5'",
"asctime": "2023-02-15 07:14:08,887",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.color_temp.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffw/livingroom/main_light/color_temp/set",
"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": 1676441648.5859523,
"msecs": 585.9522819519043,
"relativeCreated": 45589.46752548218,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffw/livingroom/main_light/color_temp/set and payload 5",
"asctime": "2023-02-15 07:14:08,585"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441648.5892882,
"msecs": 589.2882347106934,
"relativeCreated": 45592.80347824097,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/livingroom/main_light/set and payload b'{\"color_temp\": 352}'",
"asctime": "2023-02-15 07:14:08,589"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441648.5898588,
"msecs": 589.8587703704834,
"relativeCreated": 45593.37401390076,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffw/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:08,589"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441648.591076,
"msecs": 591.0758972167969,
"relativeCreated": 45594.59114074707,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:08,591"
},
{
"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": 1676441648.6351097,
"msecs": 635.1096630096436,
"relativeCreated": 45638.62490653992,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/livingroom/main_light/color_temp and payload b'5'",
"asctime": "2023-02-15 07:14:08,635"
}
],
"time_consumption": 0.252002477645874
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"5",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441648.8878403,
"msecs": 887.8402709960938,
"relativeCreated": 45891.35551452637,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 5 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:08,887",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441648.8875656,
"msecs": 887.5656127929688,
"relativeCreated": 45891.08085632324,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 5 (<class 'int'>)",
"asctime": "2023-02-15 07:14:08,887"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441648.8877192,
"msecs": 887.7191543579102,
"relativeCreated": 45891.23439788818,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 5 (<class 'int'>)",
"asctime": "2023-02-15 07:14:08,887"
}
],
"time_consumption": 0.00012111663818359375
},
{
"name": "__tLogger__",
"msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
"args": [
"5",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441648.8882391,
"msecs": 888.2391452789307,
"relativeCreated": 45891.754388809204,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device color temperature is correct (Content 5 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:08,888",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device color temperature",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441648.8880317,
"msecs": 888.0317211151123,
"relativeCreated": 45891.546964645386,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device color temperature): 5 (<class 'int'>)",
"asctime": "2023-02-15 07:14:08,888"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device color temperature",
"=",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441648.8881404,
"msecs": 888.1404399871826,
"relativeCreated": 45891.655683517456,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device color temperature): result = 5 (<class 'int'>)",
"asctime": "2023-02-15 07:14:08,888"
}
],
"time_consumption": 9.870529174804688e-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": 1676441649.1898036,
"msecs": 189.8036003112793,
"relativeCreated": 46193.31884384155,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing light device color temperature to '5'",
"asctime": "2023-02-15 07:14:09,189",
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441648.8886611,
"msecs": 888.6611461639404,
"relativeCreated": 45892.176389694214,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffw/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0}",
"asctime": "2023-02-15 07:14:08,888"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441648.8899314,
"msecs": 889.9314403533936,
"relativeCreated": 45893.44668388367,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0}'",
"asctime": "2023-02-15 07:14:08,889"
},
{
"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'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441648.8924127,
"msecs": 892.4126625061035,
"relativeCreated": 45895.92790603638,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/livingroom/main_light/color_temp and payload b'8'",
"asctime": "2023-02-15 07:14:08,892"
}
],
"time_consumption": 0.2973909378051758
},
{
"name": "__tLogger__",
"msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
"args": [
"8",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441649.1904576,
"msecs": 190.45758247375488,
"relativeCreated": 46193.97282600403,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device color temperature is correct (Content 8 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:09,190",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device color temperature",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441649.1901972,
"msecs": 190.19722938537598,
"relativeCreated": 46193.71247291565,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device color temperature): 8 (<class 'int'>)",
"asctime": "2023-02-15 07:14:09,190"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device color temperature",
"=",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441649.1903265,
"msecs": 190.32645225524902,
"relativeCreated": 46193.84169578552,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device color temperature): result = 8 (<class 'int'>)",
"asctime": "2023-02-15 07:14:09,190"
}
],
"time_consumption": 0.00013113021850585938
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"8",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441649.1908126,
"msecs": 190.8125877380371,
"relativeCreated": 46194.32783126831,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 8 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:09,190",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441649.1906364,
"msecs": 190.63639640808105,
"relativeCreated": 46194.151639938354,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 8 (<class 'int'>)",
"asctime": "2023-02-15 07:14:09,190"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441649.1907296,
"msecs": 190.72961807250977,
"relativeCreated": 46194.24486160278,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 8 (<class 'int'>)",
"asctime": "2023-02-15 07:14:09,190"
}
],
"time_consumption": 8.296966552734375e-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": 1676441649.492055,
"msecs": 492.05493927001953,
"relativeCreated": 46495.57018280029,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device color temperature to '5'",
"asctime": "2023-02-15 07:14:09,492",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.color_temp.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffw/livingroom/main_light/color_temp/set",
"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": 1676441649.1910856,
"msecs": 191.0855770111084,
"relativeCreated": 46194.60082054138,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffw/livingroom/main_light/color_temp/set and payload 5",
"asctime": "2023-02-15 07:14:09,191"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441649.194384,
"msecs": 194.38409805297852,
"relativeCreated": 46197.89934158325,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/livingroom/main_light/set and payload b'{\"color_temp\": 352}'",
"asctime": "2023-02-15 07:14:09,194"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441649.1950212,
"msecs": 195.0211524963379,
"relativeCreated": 46198.53639602661,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffw/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:09,195"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441649.196206,
"msecs": 196.20609283447266,
"relativeCreated": 46199.721336364746,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:09,196"
},
{
"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": 1676441649.2390776,
"msecs": 239.07756805419922,
"relativeCreated": 46242.59281158447,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/livingroom/main_light/color_temp and payload b'5'",
"asctime": "2023-02-15 07:14:09,239"
}
],
"time_consumption": 0.2529773712158203
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"5",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441649.4928544,
"msecs": 492.85435676574707,
"relativeCreated": 46496.36960029602,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 5 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:09,492",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441649.4925435,
"msecs": 492.54345893859863,
"relativeCreated": 46496.05870246887,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 5 (<class 'int'>)",
"asctime": "2023-02-15 07:14:09,492"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441649.4927163,
"msecs": 492.71631240844727,
"relativeCreated": 46496.23155593872,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 5 (<class 'int'>)",
"asctime": "2023-02-15 07:14:09,492"
}
],
"time_consumption": 0.0001380443572998047
},
{
"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": 1676441649.794051,
"msecs": 794.050931930542,
"relativeCreated": 46797.566175460815,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Resetting precondition (Power off)",
"asctime": "2023-02-15 07:14:09,794",
"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": 1676441649.4931772,
"msecs": 493.1771755218506,
"relativeCreated": 46496.692419052124,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffw/livingroom/main_light/relay/0 and payload off",
"asctime": "2023-02-15 07:14:09,493"
},
{
"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": 1676441649.4946904,
"msecs": 494.6904182434082,
"relativeCreated": 46498.20566177368,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffw/livingroom/main_light/relay/0 and payload b'off'",
"asctime": "2023-02-15 07:14:09,494"
},
{
"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": 1676441649.497178,
"msecs": 497.1780776977539,
"relativeCreated": 46500.69332122803,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/livingroom/main_light/state and payload b'false'",
"asctime": "2023-02-15 07:14:09,497"
}
],
"time_consumption": 0.2968728542327881
}
],
"time_consumption": 1.8132126331329346,
"time_start": "2023-02-15 07:14:07,980",
"time_finished": "2023-02-15 07:14:09,794"
},
"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": 1676441649.7944267,
"msecs": 794.426679611206,
"relativeCreated": 46797.94192314148,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Power On/ Off test for device and virtual device: shellies/ffw/livingroom/main_light",
"asctime": "2023-02-15 07:14:09,794",
"moduleLogger": [],
"testcaseLogger": [
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441649.7946424,
"msecs": 794.642448425293,
"relativeCreated": 46798.15769195557,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:09,794",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441649.794535,
"msecs": 794.5349216461182,
"relativeCreated": 46798.05016517639,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:09,794"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441649.794592,
"msecs": 794.5919036865234,
"relativeCreated": 46798.1071472168,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:09,794"
}
],
"time_consumption": 5.054473876953125e-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": 1676441650.0958757,
"msecs": 95.87574005126953,
"relativeCreated": 47099.39098358154,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing switching device state to 'True'",
"asctime": "2023-02-15 07:14:10,095",
"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": 1676441649.7947612,
"msecs": 794.7611808776855,
"relativeCreated": 46798.27642440796,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffw/livingroom/main_light/relay/0 and payload on",
"asctime": "2023-02-15 07:14:09,794"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441649.7950468,
"msecs": 795.0468063354492,
"relativeCreated": 46798.56204986572,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffw/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:09,795"
},
{
"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": 1676441649.7954793,
"msecs": 795.4792976379395,
"relativeCreated": 46798.99454116821,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffw/livingroom/main_light/relay/0 and payload b'on'",
"asctime": "2023-02-15 07:14:09,795"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441649.79575,
"msecs": 795.7499027252197,
"relativeCreated": 46799.26514625549,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:09,795"
},
{
"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": 1676441649.8388636,
"msecs": 838.8636112213135,
"relativeCreated": 46842.37885475159,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/livingroom/main_light/state and payload b'true'",
"asctime": "2023-02-15 07:14:09,838"
}
],
"time_consumption": 0.25701212882995605
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441650.0965111,
"msecs": 96.5111255645752,
"relativeCreated": 47100.02636909485,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:10,096",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441650.0962775,
"msecs": 96.27747535705566,
"relativeCreated": 47099.79271888733,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:10,096"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441650.0964077,
"msecs": 96.40765190124512,
"relativeCreated": 47099.92289543152,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:10,096"
}
],
"time_consumption": 0.00010347366333007812
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441650.0968862,
"msecs": 96.88615798950195,
"relativeCreated": 47100.401401519775,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:10,096",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441650.0966725,
"msecs": 96.67253494262695,
"relativeCreated": 47100.1877784729,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:10,096"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441650.0967689,
"msecs": 96.76885604858398,
"relativeCreated": 47100.28409957886,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:10,096"
}
],
"time_consumption": 0.00011730194091796875
},
{
"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": 1676441650.398277,
"msecs": 398.27704429626465,
"relativeCreated": 47401.79228782654,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device state to 'False'",
"asctime": "2023-02-15 07:14:10,398",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.state.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffw/livingroom/main_light/state/set",
"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": 1676441650.0971944,
"msecs": 97.19443321228027,
"relativeCreated": 47100.709676742554,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffw/livingroom/main_light/state/set and payload false",
"asctime": "2023-02-15 07:14:10,097"
},
{
"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": 1676441650.100579,
"msecs": 100.57902336120605,
"relativeCreated": 47104.09426689148,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffw/livingroom/main_light/relay/0/command and payload b'off'",
"asctime": "2023-02-15 07:14:10,100"
},
{
"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": 1676441650.1010084,
"msecs": 101.00841522216797,
"relativeCreated": 47104.52365875244,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffw/livingroom/main_light/relay/0 and payload off",
"asctime": "2023-02-15 07:14:10,101"
},
{
"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": 1676441650.1021276,
"msecs": 102.1275520324707,
"relativeCreated": 47105.642795562744,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffw/livingroom/main_light/relay/0 and payload b'off'",
"asctime": "2023-02-15 07:14:10,102"
},
{
"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": 1676441650.145505,
"msecs": 145.50495147705078,
"relativeCreated": 47149.020195007324,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/livingroom/main_light/state and payload b'false'",
"asctime": "2023-02-15 07:14:10,145"
}
],
"time_consumption": 0.25277209281921387
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441650.3990843,
"msecs": 399.08432960510254,
"relativeCreated": 47402.599573135376,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:10,399",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441650.398773,
"msecs": 398.7729549407959,
"relativeCreated": 47402.28819847107,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:10,398"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441650.3989594,
"msecs": 398.9593982696533,
"relativeCreated": 47402.47464179993,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:10,398"
}
],
"time_consumption": 0.00012493133544921875
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441650.399486,
"msecs": 399.4860649108887,
"relativeCreated": 47403.00130844116,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:10,399",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441650.3992798,
"msecs": 399.2798328399658,
"relativeCreated": 47402.79507637024,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:10,399"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441650.3993893,
"msecs": 399.38926696777344,
"relativeCreated": 47402.90451049805,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:10,399"
}
],
"time_consumption": 9.679794311523438e-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": 1676441650.701423,
"msecs": 701.422929763794,
"relativeCreated": 47704.93817329407,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing switching device state to 'True'",
"asctime": "2023-02-15 07:14:10,701",
"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": 1676441650.3997653,
"msecs": 399.7652530670166,
"relativeCreated": 47403.28049659729,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffw/livingroom/main_light/relay/0 and payload on",
"asctime": "2023-02-15 07:14:10,399"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441650.4003944,
"msecs": 400.3944396972656,
"relativeCreated": 47403.90968322754,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffw/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:10,400"
},
{
"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": 1676441650.401504,
"msecs": 401.5040397644043,
"relativeCreated": 47405.01928329468,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffw/livingroom/main_light/relay/0 and payload b'on'",
"asctime": "2023-02-15 07:14:10,401"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441650.4023316,
"msecs": 402.3315906524658,
"relativeCreated": 47405.84683418274,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:10,402"
},
{
"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": 1676441650.4434016,
"msecs": 443.401575088501,
"relativeCreated": 47446.916818618774,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/livingroom/main_light/state and payload b'true'",
"asctime": "2023-02-15 07:14:10,443"
}
],
"time_consumption": 0.25802135467529297
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441650.7021477,
"msecs": 702.1477222442627,
"relativeCreated": 47705.662965774536,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:10,702",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441650.7018807,
"msecs": 701.880693435669,
"relativeCreated": 47705.39593696594,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:10,701"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441650.7020285,
"msecs": 702.0285129547119,
"relativeCreated": 47705.543756484985,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:10,702"
}
],
"time_consumption": 0.00011920928955078125
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441650.702601,
"msecs": 702.6009559631348,
"relativeCreated": 47706.11619949341,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:10,702",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441650.702337,
"msecs": 702.3370265960693,
"relativeCreated": 47705.85227012634,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:10,702"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441650.7024944,
"msecs": 702.4943828582764,
"relativeCreated": 47706.00962638855,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:10,702"
}
],
"time_consumption": 0.00010657310485839844
},
{
"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": 1676441651.0037043,
"msecs": 3.7043094635009766,
"relativeCreated": 48007.219552993774,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device state to 'False'",
"asctime": "2023-02-15 07:14:11,003",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.state.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffw/livingroom/main_light/state/set",
"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": 1676441650.7029278,
"msecs": 702.927827835083,
"relativeCreated": 47706.44307136536,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffw/livingroom/main_light/state/set and payload false",
"asctime": "2023-02-15 07:14:10,702"
},
{
"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": 1676441650.7060862,
"msecs": 706.0861587524414,
"relativeCreated": 47709.601402282715,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffw/livingroom/main_light/relay/0/command and payload b'off'",
"asctime": "2023-02-15 07:14:10,706"
},
{
"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": 1676441650.7066314,
"msecs": 706.6314220428467,
"relativeCreated": 47710.14666557312,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffw/livingroom/main_light/relay/0 and payload off",
"asctime": "2023-02-15 07:14:10,706"
},
{
"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": 1676441650.7078896,
"msecs": 707.8895568847656,
"relativeCreated": 47711.40480041504,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffw/livingroom/main_light/relay/0 and payload b'off'",
"asctime": "2023-02-15 07:14:10,707"
},
{
"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": 1676441650.7510917,
"msecs": 751.091718673706,
"relativeCreated": 47754.60696220398,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/livingroom/main_light/state and payload b'false'",
"asctime": "2023-02-15 07:14:10,751"
}
],
"time_consumption": 0.2526125907897949
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441651.0039647,
"msecs": 3.964662551879883,
"relativeCreated": 48007.47990608215,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:11,003",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441651.0038772,
"msecs": 3.8771629333496094,
"relativeCreated": 48007.39240646362,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:11,003"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441651.0039186,
"msecs": 3.9186477661132812,
"relativeCreated": 48007.43389129639,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:11,003"
}
],
"time_consumption": 4.601478576660156e-05
}
],
"time_consumption": 1.2095379829406738,
"time_start": "2023-02-15 07:14:09,794",
"time_finished": "2023-02-15 07:14:11,003"
},
"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": 1676441651.0041304,
"msecs": 4.130363464355469,
"relativeCreated": 48007.64560699463,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Brightness test for device and virtual device: zigbee/ffw/sleep/main_light",
"asctime": "2023-02-15 07:14:11,004",
"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": 1676441651.3052657,
"msecs": 305.2656650543213,
"relativeCreated": 48308.780908584595,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Setting preconditions (Power on)",
"asctime": "2023-02-15 07:14:11,305",
"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": 1676441651.0042276,
"msecs": 4.227638244628906,
"relativeCreated": 48007.7428817749,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffw/sleep/main_light/relay/0 and payload on",
"asctime": "2023-02-15 07:14:11,004"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441651.0044465,
"msecs": 4.446506500244141,
"relativeCreated": 48007.96175003052,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffw/sleep/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:11,004"
},
{
"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": 1676441651.0048113,
"msecs": 4.811286926269531,
"relativeCreated": 48008.32653045654,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffw/sleep/main_light/relay/0 and payload b'on'",
"asctime": "2023-02-15 07:14:11,004"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441651.0050488,
"msecs": 5.0487518310546875,
"relativeCreated": 48008.56399536133,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/sleep/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:11,005"
},
{
"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": 1676441651.0470896,
"msecs": 47.089576721191406,
"relativeCreated": 48050.604820251465,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/sleep/main_light/state and payload b'true'",
"asctime": "2023-02-15 07:14:11,047"
},
{
"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": 1676441651.0477023,
"msecs": 47.70231246948242,
"relativeCreated": 48051.217555999756,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/sleep/main_light/brightness and payload b'50'",
"asctime": "2023-02-15 07:14:11,047"
}
],
"time_consumption": 0.25756335258483887
},
{
"name": "__tLogger__",
"msg": "Virtual device brightness is correct (Content %s and Type is %s).",
"args": [
"50",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441651.3059957,
"msecs": 305.9957027435303,
"relativeCreated": 48309.510946273804,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device brightness is correct (Content 50 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:11,305",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device brightness",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441651.305714,
"msecs": 305.7138919830322,
"relativeCreated": 48309.229135513306,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device brightness): 50 (<class 'int'>)",
"asctime": "2023-02-15 07:14:11,305"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device brightness",
"=",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441651.3058708,
"msecs": 305.87077140808105,
"relativeCreated": 48309.386014938354,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device brightness): result = 50 (<class 'int'>)",
"asctime": "2023-02-15 07:14:11,305"
}
],
"time_consumption": 0.00012493133544921875
},
{
"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": 1676441651.6075966,
"msecs": 607.5966358184814,
"relativeCreated": 48611.111879348755,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing light device brightness to '65'",
"asctime": "2023-02-15 07:14:11,607",
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441651.3063962,
"msecs": 306.3962459564209,
"relativeCreated": 48309.911489486694,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffw/sleep/main_light and payload {\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:11,306"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441651.30779,
"msecs": 307.79004096984863,
"relativeCreated": 48311.30528450012,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/sleep/main_light and payload b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:11,307"
},
{
"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'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441651.3105671,
"msecs": 310.56714057922363,
"relativeCreated": 48314.0823841095,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/sleep/main_light/brightness and payload b'65'",
"asctime": "2023-02-15 07:14:11,310"
}
],
"time_consumption": 0.2970294952392578
},
{
"name": "__tLogger__",
"msg": "Virtual device brightness is correct (Content %s and Type is %s).",
"args": [
"65",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441651.6083617,
"msecs": 608.3617210388184,
"relativeCreated": 48611.87696456909,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device brightness is correct (Content 65 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:11,608",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device brightness",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441651.6080859,
"msecs": 608.0858707427979,
"relativeCreated": 48611.60111427307,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device brightness): 65 (<class 'int'>)",
"asctime": "2023-02-15 07:14:11,608"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device brightness",
"=",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441651.6082408,
"msecs": 608.2408428192139,
"relativeCreated": 48611.75608634949,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device brightness): result = 65 (<class 'int'>)",
"asctime": "2023-02-15 07:14:11,608"
}
],
"time_consumption": 0.00012087821960449219
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"65",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441651.6087906,
"msecs": 608.7906360626221,
"relativeCreated": 48612.305879592896,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 65 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:11,608",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441651.6085563,
"msecs": 608.5562705993652,
"relativeCreated": 48612.07151412964,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 65 (<class 'int'>)",
"asctime": "2023-02-15 07:14:11,608"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441651.6086705,
"msecs": 608.6704730987549,
"relativeCreated": 48612.18571662903,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 65 (<class 'int'>)",
"asctime": "2023-02-15 07:14:11,608"
}
],
"time_consumption": 0.0001201629638671875
},
{
"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": 1676441651.9102936,
"msecs": 910.2935791015625,
"relativeCreated": 48913.808822631836,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device brightness to '50'",
"asctime": "2023-02-15 07:14:11,910",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffw.sleep.main_light.brightness.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffw/sleep/main_light/brightness/set",
"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": 1676441651.6091433,
"msecs": 609.1432571411133,
"relativeCreated": 48612.65850067139,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffw/sleep/main_light/brightness/set and payload 50",
"asctime": "2023-02-15 07:14:11,609"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441651.6125557,
"msecs": 612.555742263794,
"relativeCreated": 48616.07098579407,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/sleep/main_light/set and payload b'{\"brightness\": 128}'",
"asctime": "2023-02-15 07:14:11,612"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441651.6134017,
"msecs": 613.4016513824463,
"relativeCreated": 48616.91689491272,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffw/sleep/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:11,613"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441651.6147077,
"msecs": 614.7077083587646,
"relativeCreated": 48618.22295188904,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/sleep/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:11,614"
},
{
"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": 1676441651.6578834,
"msecs": 657.8834056854248,
"relativeCreated": 48661.3986492157,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/sleep/main_light/brightness and payload b'50'",
"asctime": "2023-02-15 07:14:11,657"
}
],
"time_consumption": 0.2524101734161377
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"50",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441651.9111075,
"msecs": 911.1075401306152,
"relativeCreated": 48914.62278366089,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 50 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:11,911",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441651.9108164,
"msecs": 910.8164310455322,
"relativeCreated": 48914.331674575806,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 50 (<class 'int'>)",
"asctime": "2023-02-15 07:14:11,910"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441651.91097,
"msecs": 910.9699726104736,
"relativeCreated": 48914.48521614075,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 50 (<class 'int'>)",
"asctime": "2023-02-15 07:14:11,910"
}
],
"time_consumption": 0.00013756752014160156
},
{
"name": "__tLogger__",
"msg": "Virtual device brightness is correct (Content %s and Type is %s).",
"args": [
"50",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441651.911513,
"msecs": 911.513090133667,
"relativeCreated": 48915.02833366394,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device brightness is correct (Content 50 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:11,911",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device brightness",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441651.9113054,
"msecs": 911.3054275512695,
"relativeCreated": 48914.82067108154,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device brightness): 50 (<class 'int'>)",
"asctime": "2023-02-15 07:14:11,911"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device brightness",
"=",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441651.9114158,
"msecs": 911.4158153533936,
"relativeCreated": 48914.93105888367,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device brightness): result = 50 (<class 'int'>)",
"asctime": "2023-02-15 07:14:11,911"
}
],
"time_consumption": 9.72747802734375e-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": 1676441652.213044,
"msecs": 213.0439281463623,
"relativeCreated": 49216.559171676636,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing light device brightness to '65'",
"asctime": "2023-02-15 07:14:12,213",
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441651.9118881,
"msecs": 911.8881225585938,
"relativeCreated": 48915.40336608887,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffw/sleep/main_light and payload {\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:11,911"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441651.9131918,
"msecs": 913.1917953491211,
"relativeCreated": 48916.707038879395,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/sleep/main_light and payload b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:11,913"
},
{
"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'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441651.915626,
"msecs": 915.626049041748,
"relativeCreated": 48919.14129257202,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/sleep/main_light/brightness and payload b'65'",
"asctime": "2023-02-15 07:14:11,915"
}
],
"time_consumption": 0.29741787910461426
},
{
"name": "__tLogger__",
"msg": "Virtual device brightness is correct (Content %s and Type is %s).",
"args": [
"65",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441652.2137089,
"msecs": 213.70887756347656,
"relativeCreated": 49217.22412109375,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device brightness is correct (Content 65 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:12,213",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device brightness",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441652.213437,
"msecs": 213.43708038330078,
"relativeCreated": 49216.952323913574,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device brightness): 65 (<class 'int'>)",
"asctime": "2023-02-15 07:14:12,213"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device brightness",
"=",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441652.2135675,
"msecs": 213.56749534606934,
"relativeCreated": 49217.08273887634,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device brightness): result = 65 (<class 'int'>)",
"asctime": "2023-02-15 07:14:12,213"
}
],
"time_consumption": 0.00014138221740722656
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"65",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441652.214074,
"msecs": 214.07389640808105,
"relativeCreated": 49217.589139938354,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 65 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:12,214",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441652.213887,
"msecs": 213.88697624206543,
"relativeCreated": 49217.40221977234,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 65 (<class 'int'>)",
"asctime": "2023-02-15 07:14:12,213"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441652.2139807,
"msecs": 213.98067474365234,
"relativeCreated": 49217.495918273926,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 65 (<class 'int'>)",
"asctime": "2023-02-15 07:14:12,213"
}
],
"time_consumption": 9.322166442871094e-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": 1676441652.5154605,
"msecs": 515.4604911804199,
"relativeCreated": 49518.97573471069,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device brightness to '50'",
"asctime": "2023-02-15 07:14:12,515",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffw.sleep.main_light.brightness.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffw/sleep/main_light/brightness/set",
"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": 1676441652.2143214,
"msecs": 214.32137489318848,
"relativeCreated": 49217.83661842346,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffw/sleep/main_light/brightness/set and payload 50",
"asctime": "2023-02-15 07:14:12,214"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441652.2173316,
"msecs": 217.3316478729248,
"relativeCreated": 49220.8468914032,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/sleep/main_light/set and payload b'{\"brightness\": 128}'",
"asctime": "2023-02-15 07:14:12,217"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441652.218096,
"msecs": 218.0960178375244,
"relativeCreated": 49221.6112613678,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffw/sleep/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:12,218"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441652.2192192,
"msecs": 219.21920776367188,
"relativeCreated": 49222.734451293945,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/sleep/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:12,219"
},
{
"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": 1676441652.2630892,
"msecs": 263.0891799926758,
"relativeCreated": 49266.60442352295,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/sleep/main_light/brightness and payload b'50'",
"asctime": "2023-02-15 07:14:12,263"
}
],
"time_consumption": 0.25237131118774414
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"50",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441652.5162368,
"msecs": 516.2367820739746,
"relativeCreated": 49519.75202560425,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 50 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:12,516",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441652.515918,
"msecs": 515.9180164337158,
"relativeCreated": 49519.43325996399,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 50 (<class 'int'>)",
"asctime": "2023-02-15 07:14:12,515"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441652.516072,
"msecs": 516.0720348358154,
"relativeCreated": 49519.58727836609,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 50 (<class 'int'>)",
"asctime": "2023-02-15 07:14:12,516"
}
],
"time_consumption": 0.0001647472381591797
},
{
"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": 1676441652.8177545,
"msecs": 817.7545070648193,
"relativeCreated": 49821.26975059509,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Resetting precondition (Power off)",
"asctime": "2023-02-15 07:14:12,817",
"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": 1676441652.5165312,
"msecs": 516.531229019165,
"relativeCreated": 49520.04647254944,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffw/sleep/main_light/relay/0 and payload off",
"asctime": "2023-02-15 07:14:12,516"
},
{
"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": 1676441652.5179112,
"msecs": 517.9111957550049,
"relativeCreated": 49521.42643928528,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffw/sleep/main_light/relay/0 and payload b'off'",
"asctime": "2023-02-15 07:14:12,517"
},
{
"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": 1676441652.520618,
"msecs": 520.6179618835449,
"relativeCreated": 49524.13320541382,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/sleep/main_light/state and payload b'false'",
"asctime": "2023-02-15 07:14:12,520"
}
],
"time_consumption": 0.2971365451812744
}
],
"time_consumption": 1.8136241436004639,
"time_start": "2023-02-15 07:14:11,004",
"time_finished": "2023-02-15 07:14:12,817"
},
"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": 1676441652.8186266,
"msecs": 818.6266422271729,
"relativeCreated": 49822.141885757446,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Power On/ Off test for device and virtual device: shellies/ffw/sleep/main_light",
"asctime": "2023-02-15 07:14:12,818",
"moduleLogger": [],
"testcaseLogger": [
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441652.819186,
"msecs": 819.1859722137451,
"relativeCreated": 49822.70121574402,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:12,819",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441652.818917,
"msecs": 818.9170360565186,
"relativeCreated": 49822.43227958679,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:12,818"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441652.819065,
"msecs": 819.0650939941406,
"relativeCreated": 49822.580337524414,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:12,819"
}
],
"time_consumption": 0.00012087821960449219
},
{
"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": 1676441653.121142,
"msecs": 121.14191055297852,
"relativeCreated": 50124.65715408325,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing switching device state to 'True'",
"asctime": "2023-02-15 07:14:13,121",
"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": 1676441652.8194976,
"msecs": 819.4975852966309,
"relativeCreated": 49823.012828826904,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffw/sleep/main_light/relay/0 and payload on",
"asctime": "2023-02-15 07:14:12,819"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441652.8201592,
"msecs": 820.1591968536377,
"relativeCreated": 49823.67444038391,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffw/sleep/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:12,820"
},
{
"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": 1676441652.8213556,
"msecs": 821.3555812835693,
"relativeCreated": 49824.87082481384,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffw/sleep/main_light/relay/0 and payload b'on'",
"asctime": "2023-02-15 07:14:12,821"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441652.8226979,
"msecs": 822.6978778839111,
"relativeCreated": 49826.213121414185,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/sleep/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:12,822"
},
{
"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": 1676441652.8632371,
"msecs": 863.2371425628662,
"relativeCreated": 49866.75238609314,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/sleep/main_light/state and payload b'true'",
"asctime": "2023-02-15 07:14:12,863"
}
],
"time_consumption": 0.2579047679901123
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441653.1215608,
"msecs": 121.56081199645996,
"relativeCreated": 50125.07605552673,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:13,121",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441653.1213965,
"msecs": 121.39654159545898,
"relativeCreated": 50124.91178512573,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:13,121"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441653.1214957,
"msecs": 121.49572372436523,
"relativeCreated": 50125.01096725464,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:13,121"
}
],
"time_consumption": 6.508827209472656e-05
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441653.1217763,
"msecs": 121.77634239196777,
"relativeCreated": 50125.29158592224,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:13,121",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441653.1216612,
"msecs": 121.66118621826172,
"relativeCreated": 50125.176429748535,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:13,121"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441653.121724,
"msecs": 121.72389030456543,
"relativeCreated": 50125.23913383484,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:13,121"
}
],
"time_consumption": 5.245208740234375e-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": 1676441653.4229295,
"msecs": 422.9295253753662,
"relativeCreated": 50426.44476890564,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device state to 'False'",
"asctime": "2023-02-15 07:14:13,422",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffw.sleep.main_light.state.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffw/sleep/main_light/state/set",
"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": 1676441653.1219525,
"msecs": 121.95253372192383,
"relativeCreated": 50125.4677772522,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffw/sleep/main_light/state/set and payload false",
"asctime": "2023-02-15 07:14:13,121"
},
{
"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": 1676441653.123824,
"msecs": 123.82388114929199,
"relativeCreated": 50127.339124679565,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffw/sleep/main_light/relay/0/command and payload b'off'",
"asctime": "2023-02-15 07:14:13,123"
},
{
"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": 1676441653.1242235,
"msecs": 124.22347068786621,
"relativeCreated": 50127.73871421814,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffw/sleep/main_light/relay/0 and payload off",
"asctime": "2023-02-15 07:14:13,124"
},
{
"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": 1676441653.124941,
"msecs": 124.94111061096191,
"relativeCreated": 50128.456354141235,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffw/sleep/main_light/relay/0 and payload b'off'",
"asctime": "2023-02-15 07:14:13,124"
},
{
"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": 1676441653.169471,
"msecs": 169.47102546691895,
"relativeCreated": 50172.98626899719,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/sleep/main_light/state and payload b'false'",
"asctime": "2023-02-15 07:14:13,169"
}
],
"time_consumption": 0.25345849990844727
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441653.423664,
"msecs": 423.6640930175781,
"relativeCreated": 50427.17933654785,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:13,423",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441653.4233866,
"msecs": 423.3865737915039,
"relativeCreated": 50426.90181732178,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:13,423"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441653.42354,
"msecs": 423.5401153564453,
"relativeCreated": 50427.05535888672,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:13,423"
}
],
"time_consumption": 0.0001239776611328125
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441653.42412,
"msecs": 424.1199493408203,
"relativeCreated": 50427.635192871094,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:13,424",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441653.4239025,
"msecs": 423.9025115966797,
"relativeCreated": 50427.41775512695,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:13,423"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441653.4240172,
"msecs": 424.01719093322754,
"relativeCreated": 50427.5324344635,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:13,424"
}
],
"time_consumption": 0.00010275840759277344
},
{
"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": 1676441653.7261252,
"msecs": 726.1252403259277,
"relativeCreated": 50729.6404838562,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing switching device state to 'True'",
"asctime": "2023-02-15 07:14:13,726",
"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": 1676441653.4243886,
"msecs": 424.3886470794678,
"relativeCreated": 50427.90389060974,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffw/sleep/main_light/relay/0 and payload on",
"asctime": "2023-02-15 07:14:13,424"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441653.4250555,
"msecs": 425.05550384521484,
"relativeCreated": 50428.57074737549,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/ffw/sleep/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:13,425"
},
{
"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": 1676441653.4262357,
"msecs": 426.2356758117676,
"relativeCreated": 50429.75091934204,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffw/sleep/main_light/relay/0 and payload b'on'",
"asctime": "2023-02-15 07:14:13,426"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441653.4275334,
"msecs": 427.5333881378174,
"relativeCreated": 50431.04863166809,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/ffw/sleep/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:13,427"
},
{
"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": 1676441653.4669085,
"msecs": 466.90845489501953,
"relativeCreated": 50470.42369842529,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/sleep/main_light/state and payload b'true'",
"asctime": "2023-02-15 07:14:13,466"
}
],
"time_consumption": 0.2592167854309082
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441653.7269437,
"msecs": 726.9437313079834,
"relativeCreated": 50730.45897483826,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:13,726",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441653.7266214,
"msecs": 726.6213893890381,
"relativeCreated": 50730.13663291931,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:13,726"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441653.7267816,
"msecs": 726.7816066741943,
"relativeCreated": 50730.29685020447,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:13,726"
}
],
"time_consumption": 0.0001621246337890625
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441653.7273648,
"msecs": 727.3647785186768,
"relativeCreated": 50730.88002204895,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:13,727",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441653.7271523,
"msecs": 727.1523475646973,
"relativeCreated": 50730.66759109497,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:13,727"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441653.7272651,
"msecs": 727.2651195526123,
"relativeCreated": 50730.780363082886,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:13,727"
}
],
"time_consumption": 9.965896606445312e-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": 1676441654.028794,
"msecs": 28.794050216674805,
"relativeCreated": 51032.30929374695,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device state to 'False'",
"asctime": "2023-02-15 07:14:14,028",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.ffw.sleep.main_light.state.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/ffw/sleep/main_light/state/set",
"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": 1676441653.7276473,
"msecs": 727.6473045349121,
"relativeCreated": 50731.162548065186,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/ffw/sleep/main_light/state/set and payload false",
"asctime": "2023-02-15 07:14:13,727"
},
{
"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": 1676441653.7308278,
"msecs": 730.827808380127,
"relativeCreated": 50734.3430519104,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffw/sleep/main_light/relay/0/command and payload b'off'",
"asctime": "2023-02-15 07:14:13,730"
},
{
"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": 1676441653.7316182,
"msecs": 731.6181659698486,
"relativeCreated": 50735.13340950012,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/ffw/sleep/main_light/relay/0 and payload off",
"asctime": "2023-02-15 07:14:13,731"
},
{
"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": 1676441653.7330084,
"msecs": 733.0083847045898,
"relativeCreated": 50736.52362823486,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/ffw/sleep/main_light/relay/0 and payload b'off'",
"asctime": "2023-02-15 07:14:13,733"
},
{
"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": 1676441653.7752342,
"msecs": 775.2342224121094,
"relativeCreated": 50778.74946594238,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/ffw/sleep/main_light/state and payload b'false'",
"asctime": "2023-02-15 07:14:13,775"
}
],
"time_consumption": 0.25355982780456543
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441654.0296168,
"msecs": 29.616832733154297,
"relativeCreated": 51033.13207626343,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:14,029",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441654.0293055,
"msecs": 29.305458068847656,
"relativeCreated": 51032.82070159912,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:14,029"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441654.0294771,
"msecs": 29.47711944580078,
"relativeCreated": 51032.992362976074,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:14,029"
}
],
"time_consumption": 0.00013971328735351562
}
],
"time_consumption": 1.2109901905059814,
"time_start": "2023-02-15 07:14:12,818",
"time_finished": "2023-02-15 07:14:14,029"
},
"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": 1676441654.030209,
"msecs": 30.209064483642578,
"relativeCreated": 51033.724308013916,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Power On/ Off test for device and virtual device: my_apps/gfw/dirk/powerplug/output/1",
"asctime": "2023-02-15 07:14:14,030",
"moduleLogger": [],
"testcaseLogger": [
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441654.030763,
"msecs": 30.762910842895508,
"relativeCreated": 51034.27815437317,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:14,030",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441654.0304964,
"msecs": 30.49635887145996,
"relativeCreated": 51034.01160240173,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:14,030"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441654.03064,
"msecs": 30.6398868560791,
"relativeCreated": 51034.15513038635,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:14,030"
}
],
"time_consumption": 0.00012302398681640625
},
{
"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": 1676441654.3323033,
"msecs": 332.3032855987549,
"relativeCreated": 51335.81852912903,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing switching device state to 'True'",
"asctime": "2023-02-15 07:14:14,332",
"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": 1676441654.0311472,
"msecs": 31.147241592407227,
"relativeCreated": 51034.66248512268,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/1 and payload true",
"asctime": "2023-02-15 07:14:14,031"
},
{
"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": 1676441654.0324368,
"msecs": 32.43684768676758,
"relativeCreated": 51035.95209121704,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic my_apps/gfw/dirk/powerplug/output/1 and payload b'true'",
"asctime": "2023-02-15 07:14:14,032"
},
{
"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": 1676441654.0353475,
"msecs": 35.34746170043945,
"relativeCreated": 51038.86270523071,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/amplifier/state and payload b'true'",
"asctime": "2023-02-15 07:14:14,035"
}
],
"time_consumption": 0.29695582389831543
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441654.3330739,
"msecs": 333.07385444641113,
"relativeCreated": 51336.589097976685,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:14,333",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441654.332754,
"msecs": 332.75389671325684,
"relativeCreated": 51336.26914024353,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:14,332"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441654.3329499,
"msecs": 332.9498767852783,
"relativeCreated": 51336.46512031555,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:14,332"
}
],
"time_consumption": 0.0001239776611328125
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441654.3334787,
"msecs": 333.4786891937256,
"relativeCreated": 51336.993932724,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:14,333",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441654.333271,
"msecs": 333.2710266113281,
"relativeCreated": 51336.7862701416,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:14,333"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441654.3333807,
"msecs": 333.38069915771484,
"relativeCreated": 51336.89594268799,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:14,333"
}
],
"time_consumption": 9.799003601074219e-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": 1676441654.6346607,
"msecs": 634.6607208251953,
"relativeCreated": 51638.17596435547,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device state to 'False'",
"asctime": "2023-02-15 07:14:14,634",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.gfw.dirk.amplifier.state.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/gfw/dirk/amplifier/state/set",
"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": 1676441654.3338156,
"msecs": 333.8155746459961,
"relativeCreated": 51337.33081817627,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/gfw/dirk/amplifier/state/set and payload false",
"asctime": "2023-02-15 07:14:14,333"
},
{
"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": 1676441654.3371742,
"msecs": 337.1741771697998,
"relativeCreated": 51340.68942070007,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic my_apps/gfw/dirk/powerplug/output/1/set and payload b'false'",
"asctime": "2023-02-15 07:14:14,337"
},
{
"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": 1676441654.3377697,
"msecs": 337.7697467803955,
"relativeCreated": 51341.28499031067,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/1 and payload false",
"asctime": "2023-02-15 07:14:14,337"
},
{
"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": 1676441654.3391907,
"msecs": 339.1907215118408,
"relativeCreated": 51342.705965042114,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic my_apps/gfw/dirk/powerplug/output/1 and payload b'false'",
"asctime": "2023-02-15 07:14:14,339"
},
{
"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": 1676441654.4277096,
"msecs": 427.70957946777344,
"relativeCreated": 51431.22482299805,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/amplifier/state and payload b'false'",
"asctime": "2023-02-15 07:14:14,427"
}
],
"time_consumption": 0.20695114135742188
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441654.6354527,
"msecs": 635.4527473449707,
"relativeCreated": 51638.967990875244,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:14,635",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441654.6351607,
"msecs": 635.1606845855713,
"relativeCreated": 51638.675928115845,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:14,635"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441654.6353295,
"msecs": 635.3294849395752,
"relativeCreated": 51638.84472846985,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:14,635"
}
],
"time_consumption": 0.0001232624053955078
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441654.6358764,
"msecs": 635.8764171600342,
"relativeCreated": 51639.39166069031,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:14,635",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441654.6356492,
"msecs": 635.6492042541504,
"relativeCreated": 51639.164447784424,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:14,635"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441654.6357758,
"msecs": 635.7758045196533,
"relativeCreated": 51639.29104804993,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:14,635"
}
],
"time_consumption": 0.00010061264038085938
},
{
"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": 1676441654.93719,
"msecs": 937.190055847168,
"relativeCreated": 51940.70529937744,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing switching device state to 'True'",
"asctime": "2023-02-15 07:14:14,937",
"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": 1676441654.6361783,
"msecs": 636.1782550811768,
"relativeCreated": 51639.69349861145,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/1 and payload true",
"asctime": "2023-02-15 07:14:14,636"
},
{
"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": 1676441654.6374633,
"msecs": 637.4633312225342,
"relativeCreated": 51640.97857475281,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic my_apps/gfw/dirk/powerplug/output/1 and payload b'true'",
"asctime": "2023-02-15 07:14:14,637"
},
{
"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": 1676441654.6404796,
"msecs": 640.479564666748,
"relativeCreated": 51643.99480819702,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/amplifier/state and payload b'true'",
"asctime": "2023-02-15 07:14:14,640"
}
],
"time_consumption": 0.2967104911804199
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441654.9380422,
"msecs": 938.042163848877,
"relativeCreated": 51941.55740737915,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:14,938",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441654.937677,
"msecs": 937.6769065856934,
"relativeCreated": 51941.19215011597,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:14,937"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441654.937846,
"msecs": 937.8459453582764,
"relativeCreated": 51941.36118888855,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:14,937"
}
],
"time_consumption": 0.00019621849060058594
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441654.9385703,
"msecs": 938.5702610015869,
"relativeCreated": 51942.08550453186,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:14,938",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441654.9382768,
"msecs": 938.2767677307129,
"relativeCreated": 51941.792011260986,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:14,938"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441654.938404,
"msecs": 938.4040832519531,
"relativeCreated": 51941.91932678223,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:14,938"
}
],
"time_consumption": 0.00016617774963378906
},
{
"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": 1676441655.2398221,
"msecs": 239.8221492767334,
"relativeCreated": 52243.33739280701,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device state to 'False'",
"asctime": "2023-02-15 07:14:15,239",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.gfw.dirk.amplifier.state.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/gfw/dirk/amplifier/state/set",
"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": 1676441654.9388843,
"msecs": 938.8842582702637,
"relativeCreated": 51942.39950180054,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/gfw/dirk/amplifier/state/set and payload false",
"asctime": "2023-02-15 07:14:14,938"
},
{
"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": 1676441654.9422777,
"msecs": 942.2776699066162,
"relativeCreated": 51945.79291343689,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic my_apps/gfw/dirk/powerplug/output/1/set and payload b'false'",
"asctime": "2023-02-15 07:14:14,942"
},
{
"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": 1676441654.9429069,
"msecs": 942.9068565368652,
"relativeCreated": 51946.42210006714,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/1 and payload false",
"asctime": "2023-02-15 07:14:14,942"
},
{
"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": 1676441654.9442983,
"msecs": 944.298267364502,
"relativeCreated": 51947.813510894775,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic my_apps/gfw/dirk/powerplug/output/1 and payload b'false'",
"asctime": "2023-02-15 07:14:14,944"
},
{
"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": 1676441655.031746,
"msecs": 31.74591064453125,
"relativeCreated": 52035.261154174805,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/amplifier/state and payload b'false'",
"asctime": "2023-02-15 07:14:15,031"
}
],
"time_consumption": 0.20807623863220215
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441655.2404912,
"msecs": 240.49115180969238,
"relativeCreated": 52244.006395339966,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:15,240",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441655.2402186,
"msecs": 240.2186393737793,
"relativeCreated": 52243.73388290405,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:15,240"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441655.2403517,
"msecs": 240.35167694091797,
"relativeCreated": 52243.86692047119,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:15,240"
}
],
"time_consumption": 0.00013947486877441406
}
],
"time_consumption": 1.2102820873260498,
"time_start": "2023-02-15 07:14:14,030",
"time_finished": "2023-02-15 07:14:15,240"
},
"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": 1676441655.2409544,
"msecs": 240.95439910888672,
"relativeCreated": 52244.46964263916,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Power On/ Off test for device and virtual device: my_apps/gfw/dirk/powerplug/output/3",
"asctime": "2023-02-15 07:14:15,240",
"moduleLogger": [],
"testcaseLogger": [
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441655.241352,
"msecs": 241.35208129882812,
"relativeCreated": 52244.8673248291,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:15,241",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441655.2411532,
"msecs": 241.15324020385742,
"relativeCreated": 52244.66848373413,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:15,241"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441655.2412603,
"msecs": 241.26029014587402,
"relativeCreated": 52244.77553367615,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:15,241"
}
],
"time_consumption": 9.179115295410156e-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": 1676441655.542599,
"msecs": 542.5989627838135,
"relativeCreated": 52546.11420631409,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing switching device state to 'True'",
"asctime": "2023-02-15 07:14:15,542",
"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": 1676441655.2416244,
"msecs": 241.6243553161621,
"relativeCreated": 52245.139598846436,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/3 and payload true",
"asctime": "2023-02-15 07:14:15,241"
},
{
"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": 1676441655.2427585,
"msecs": 242.75851249694824,
"relativeCreated": 52246.27375602722,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic my_apps/gfw/dirk/powerplug/output/3 and payload b'true'",
"asctime": "2023-02-15 07:14:15,242"
},
{
"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": 1676441655.2452817,
"msecs": 245.28169631958008,
"relativeCreated": 52248.79693984985,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic my_apps/gfw/dirk/powerplug/output/1/set and payload b'true'",
"asctime": "2023-02-15 07:14:15,245"
},
{
"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": 1676441655.2454312,
"msecs": 245.43118476867676,
"relativeCreated": 52248.94642829895,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/1 and payload true",
"asctime": "2023-02-15 07:14:15,245"
},
{
"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": 1676441655.245827,
"msecs": 245.82695960998535,
"relativeCreated": 52249.34220314026,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/cd_player/state and payload b'true'",
"asctime": "2023-02-15 07:14:15,245"
},
{
"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": 1676441655.2461677,
"msecs": 246.16765975952148,
"relativeCreated": 52249.682903289795,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic my_apps/gfw/dirk/powerplug/output/1 and payload b'true'",
"asctime": "2023-02-15 07:14:15,246"
},
{
"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": 1676441655.2914212,
"msecs": 291.42117500305176,
"relativeCreated": 52294.936418533325,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/amplifier/state and payload b'true'",
"asctime": "2023-02-15 07:14:15,291"
}
],
"time_consumption": 0.2511777877807617
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441655.5433283,
"msecs": 543.3282852172852,
"relativeCreated": 52546.84352874756,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:15,543",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441655.5430555,
"msecs": 543.055534362793,
"relativeCreated": 52546.57077789307,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:15,543"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441655.5432065,
"msecs": 543.2064533233643,
"relativeCreated": 52546.72169685364,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:15,543"
}
],
"time_consumption": 0.00012183189392089844
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441655.5437372,
"msecs": 543.7371730804443,
"relativeCreated": 52547.25241661072,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:15,543",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441655.5435266,
"msecs": 543.5266494750977,
"relativeCreated": 52547.04189300537,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:15,543"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441655.5436373,
"msecs": 543.6372756958008,
"relativeCreated": 52547.152519226074,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:15,543"
}
],
"time_consumption": 9.989738464355469e-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": 1676441655.844912,
"msecs": 844.912052154541,
"relativeCreated": 52848.427295684814,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device state to 'False'",
"asctime": "2023-02-15 07:14:15,844",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.gfw.dirk.cd_player.state.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/gfw/dirk/cd_player/state/set",
"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": 1676441655.544062,
"msecs": 544.0618991851807,
"relativeCreated": 52547.577142715454,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/gfw/dirk/cd_player/state/set and payload false",
"asctime": "2023-02-15 07:14:15,544"
},
{
"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": 1676441655.5474844,
"msecs": 547.4843978881836,
"relativeCreated": 52550.99964141846,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic my_apps/gfw/dirk/powerplug/output/3/set and payload b'false'",
"asctime": "2023-02-15 07:14:15,547"
},
{
"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": 1676441655.5480886,
"msecs": 548.088550567627,
"relativeCreated": 52551.6037940979,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/3 and payload false",
"asctime": "2023-02-15 07:14:15,548"
},
{
"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": 1676441655.5494537,
"msecs": 549.4537353515625,
"relativeCreated": 52552.968978881836,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic my_apps/gfw/dirk/powerplug/output/3 and payload b'false'",
"asctime": "2023-02-15 07:14:15,549"
},
{
"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": 1676441655.5945852,
"msecs": 594.5851802825928,
"relativeCreated": 52598.100423812866,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic my_apps/gfw/dirk/powerplug/output/1/set and payload b'false'",
"asctime": "2023-02-15 07:14:15,594"
},
{
"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": 1676441655.5952864,
"msecs": 595.2863693237305,
"relativeCreated": 52598.801612854004,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/1 and payload false",
"asctime": "2023-02-15 07:14:15,595"
},
{
"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": 1676441655.5962412,
"msecs": 596.2412357330322,
"relativeCreated": 52599.756479263306,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/cd_player/state and payload b'false'",
"asctime": "2023-02-15 07:14:15,596"
},
{
"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": 1676441655.597493,
"msecs": 597.4929332733154,
"relativeCreated": 52601.00817680359,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic my_apps/gfw/dirk/powerplug/output/1 and payload b'false'",
"asctime": "2023-02-15 07:14:15,597"
},
{
"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": 1676441655.6435313,
"msecs": 643.531322479248,
"relativeCreated": 52647.04656600952,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/amplifier/state and payload b'false'",
"asctime": "2023-02-15 07:14:15,643"
}
],
"time_consumption": 0.20138072967529297
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441655.8452008,
"msecs": 845.200777053833,
"relativeCreated": 52848.71602058411,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:15,845",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441655.8451068,
"msecs": 845.106840133667,
"relativeCreated": 52848.62208366394,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:15,845"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441655.8451564,
"msecs": 845.1564311981201,
"relativeCreated": 52848.67167472839,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:15,845"
}
],
"time_consumption": 4.4345855712890625e-05
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441655.8453693,
"msecs": 845.3693389892578,
"relativeCreated": 52848.88458251953,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:15,845",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441655.8452985,
"msecs": 845.2985286712646,
"relativeCreated": 52848.81377220154,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:15,845"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441655.8453422,
"msecs": 845.3421592712402,
"relativeCreated": 52848.857402801514,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:15,845"
}
],
"time_consumption": 2.7179718017578125e-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": 1676441656.1462958,
"msecs": 146.29578590393066,
"relativeCreated": 53149.811029434204,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing switching device state to 'True'",
"asctime": "2023-02-15 07:14:16,146",
"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": 1676441655.845477,
"msecs": 845.4771041870117,
"relativeCreated": 52848.992347717285,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/3 and payload true",
"asctime": "2023-02-15 07:14:15,845"
},
{
"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": 1676441655.8458428,
"msecs": 845.8428382873535,
"relativeCreated": 52849.35808181763,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic my_apps/gfw/dirk/powerplug/output/3 and payload b'true'",
"asctime": "2023-02-15 07:14:15,845"
},
{
"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": 1676441655.846788,
"msecs": 846.7879295349121,
"relativeCreated": 52850.303173065186,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic my_apps/gfw/dirk/powerplug/output/1/set and payload b'true'",
"asctime": "2023-02-15 07:14:15,846"
},
{
"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": 1676441655.8468928,
"msecs": 846.8928337097168,
"relativeCreated": 52850.40807723999,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/1 and payload true",
"asctime": "2023-02-15 07:14:15,846"
},
{
"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": 1676441655.8470724,
"msecs": 847.0723628997803,
"relativeCreated": 52850.587606430054,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/cd_player/state and payload b'true'",
"asctime": "2023-02-15 07:14:15,847"
},
{
"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": 1676441655.8473141,
"msecs": 847.3141193389893,
"relativeCreated": 52850.82936286926,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic my_apps/gfw/dirk/powerplug/output/1 and payload b'true'",
"asctime": "2023-02-15 07:14:15,847"
},
{
"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": 1676441655.935569,
"msecs": 935.5690479278564,
"relativeCreated": 52939.08429145813,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/amplifier/state and payload b'true'",
"asctime": "2023-02-15 07:14:15,935"
}
],
"time_consumption": 0.21072673797607422
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441656.14657,
"msecs": 146.56996726989746,
"relativeCreated": 53150.08521080017,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:16,146",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441656.1464899,
"msecs": 146.48985862731934,
"relativeCreated": 53150.00510215759,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:16,146"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441656.1465354,
"msecs": 146.53539657592773,
"relativeCreated": 53150.0506401062,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:16,146"
}
],
"time_consumption": 3.457069396972656e-05
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441656.1466982,
"msecs": 146.6982364654541,
"relativeCreated": 53150.21347999573,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:16,146",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441656.146624,
"msecs": 146.62408828735352,
"relativeCreated": 53150.13933181763,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:16,146"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441656.146654,
"msecs": 146.6538906097412,
"relativeCreated": 53150.169134140015,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:16,146"
}
],
"time_consumption": 4.4345855712890625e-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": 1676441656.4474094,
"msecs": 447.40939140319824,
"relativeCreated": 53450.92463493347,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device state to 'False'",
"asctime": "2023-02-15 07:14:16,447",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.gfw.dirk.cd_player.state.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/gfw/dirk/cd_player/state/set",
"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": 1676441656.1467881,
"msecs": 146.7881202697754,
"relativeCreated": 53150.30336380005,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/gfw/dirk/cd_player/state/set and payload false",
"asctime": "2023-02-15 07:14:16,146"
},
{
"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": 1676441656.1478984,
"msecs": 147.89843559265137,
"relativeCreated": 53151.413679122925,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic my_apps/gfw/dirk/powerplug/output/3/set and payload b'false'",
"asctime": "2023-02-15 07:14:16,147"
},
{
"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": 1676441656.1480453,
"msecs": 148.04530143737793,
"relativeCreated": 53151.56054496765,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/3 and payload false",
"asctime": "2023-02-15 07:14:16,148"
},
{
"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": 1676441656.1483812,
"msecs": 148.38123321533203,
"relativeCreated": 53151.896476745605,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic my_apps/gfw/dirk/powerplug/output/3 and payload b'false'",
"asctime": "2023-02-15 07:14:16,148"
},
{
"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": 1676441656.1935828,
"msecs": 193.58277320861816,
"relativeCreated": 53197.09801673889,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic my_apps/gfw/dirk/powerplug/output/1/set and payload b'false'",
"asctime": "2023-02-15 07:14:16,193"
},
{
"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": 1676441656.1939476,
"msecs": 193.94755363464355,
"relativeCreated": 53197.46279716492,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/1 and payload false",
"asctime": "2023-02-15 07:14:16,193"
},
{
"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": 1676441656.194603,
"msecs": 194.60296630859375,
"relativeCreated": 53198.11820983887,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/cd_player/state and payload b'false'",
"asctime": "2023-02-15 07:14:16,194"
},
{
"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": 1676441656.1953728,
"msecs": 195.3728199005127,
"relativeCreated": 53198.888063430786,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic my_apps/gfw/dirk/powerplug/output/1 and payload b'false'",
"asctime": "2023-02-15 07:14:16,195"
},
{
"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": 1676441656.2435067,
"msecs": 243.50666999816895,
"relativeCreated": 53247.02191352844,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/amplifier/state and payload b'false'",
"asctime": "2023-02-15 07:14:16,243"
}
],
"time_consumption": 0.2039027214050293
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441656.448177,
"msecs": 448.1770992279053,
"relativeCreated": 53451.69234275818,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:16,448",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441656.447888,
"msecs": 447.8878974914551,
"relativeCreated": 53451.40314102173,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:16,447"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441656.448052,
"msecs": 448.05192947387695,
"relativeCreated": 53451.56717300415,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:16,448"
}
],
"time_consumption": 0.0001251697540283203
}
],
"time_consumption": 1.2072227001190186,
"time_start": "2023-02-15 07:14:15,240",
"time_finished": "2023-02-15 07:14:16,448"
},
"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": 1676441656.4486804,
"msecs": 448.6804008483887,
"relativeCreated": 53452.19564437866,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Power On/ Off synchronisation test: my_apps/gfw/dirk/powerplug/output/3",
"asctime": "2023-02-15 07:14:16,448",
"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": 1676441656.7496142,
"msecs": 749.6142387390137,
"relativeCreated": 53753.12948226929,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Setting preconditions for master device 'False'",
"asctime": "2023-02-15 07:14:16,749",
"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": 1676441657.0512307,
"msecs": 51.230669021606445,
"relativeCreated": 54054.74591255188,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing master device state to 'True'",
"asctime": "2023-02-15 07:14:17,051",
"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": 1676441656.7502224,
"msecs": 750.2224445343018,
"relativeCreated": 53753.737688064575,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/3 and payload true",
"asctime": "2023-02-15 07:14:16,750"
},
{
"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": 1676441656.7515268,
"msecs": 751.5268325805664,
"relativeCreated": 53755.04207611084,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic my_apps/gfw/dirk/powerplug/output/3 and payload b'true'",
"asctime": "2023-02-15 07:14:16,751"
},
{
"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": 1676441656.754668,
"msecs": 754.6679973602295,
"relativeCreated": 53758.1832408905,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic my_apps/gfw/dirk/powerplug/output/1/set and payload b'true'",
"asctime": "2023-02-15 07:14:16,754"
},
{
"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": 1676441656.7550783,
"msecs": 755.0783157348633,
"relativeCreated": 53758.59355926514,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/1 and payload true",
"asctime": "2023-02-15 07:14:16,755"
},
{
"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": 1676441656.755887,
"msecs": 755.8870315551758,
"relativeCreated": 53759.40227508545,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/cd_player/state and payload b'true'",
"asctime": "2023-02-15 07:14:16,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'true'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441656.7570417,
"msecs": 757.0416927337646,
"relativeCreated": 53760.55693626404,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic my_apps/gfw/dirk/powerplug/output/1 and payload b'true'",
"asctime": "2023-02-15 07:14:16,757"
},
{
"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": 1676441656.803175,
"msecs": 803.1749725341797,
"relativeCreated": 53806.69021606445,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/amplifier/state and payload b'true'",
"asctime": "2023-02-15 07:14:16,803"
}
],
"time_consumption": 0.24805569648742676
},
{
"name": "__tLogger__",
"msg": "Follower device (my_apps/gfw/dirk/powerplug/output/1) state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441657.0519636,
"msecs": 51.96356773376465,
"relativeCreated": 54055.47881126404,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Follower device (my_apps/gfw/dirk/powerplug/output/1) state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:17,051",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Follower device (my_apps/gfw/dirk/powerplug/output/1) state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441657.0516858,
"msecs": 51.68581008911133,
"relativeCreated": 54055.201053619385,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Follower device (my_apps/gfw/dirk/powerplug/output/1) state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:17,051"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Follower device (my_apps/gfw/dirk/powerplug/output/1) state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441657.0518382,
"msecs": 51.83815956115723,
"relativeCreated": 54055.35340309143,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Follower device (my_apps/gfw/dirk/powerplug/output/1) state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:17,051"
}
],
"time_consumption": 0.00012540817260742188
},
{
"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": 1676441657.3534648,
"msecs": 353.46484184265137,
"relativeCreated": 54356.980085372925,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing master device state to 'False'",
"asctime": "2023-02-15 07:14:17,353",
"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": 1676441657.0522926,
"msecs": 52.292585372924805,
"relativeCreated": 54055.8078289032,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/3 and payload false",
"asctime": "2023-02-15 07:14:17,052"
},
{
"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": 1676441657.053345,
"msecs": 53.3449649810791,
"relativeCreated": 54056.86020851135,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic my_apps/gfw/dirk/powerplug/output/3 and payload b'false'",
"asctime": "2023-02-15 07:14:17,053"
},
{
"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": 1676441657.056614,
"msecs": 56.613922119140625,
"relativeCreated": 54060.129165649414,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic my_apps/gfw/dirk/powerplug/output/1/set and payload b'false'",
"asctime": "2023-02-15 07:14:17,056"
},
{
"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": 1676441657.0570312,
"msecs": 57.03115463256836,
"relativeCreated": 54060.54639816284,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/1 and payload false",
"asctime": "2023-02-15 07:14:17,057"
},
{
"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": 1676441657.0578933,
"msecs": 57.89327621459961,
"relativeCreated": 54061.40851974487,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/cd_player/state and payload b'false'",
"asctime": "2023-02-15 07:14:17,057"
},
{
"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": 1676441657.0590582,
"msecs": 59.058189392089844,
"relativeCreated": 54062.57343292236,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic my_apps/gfw/dirk/powerplug/output/1 and payload b'false'",
"asctime": "2023-02-15 07:14:17,059"
},
{
"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": 1676441657.1470006,
"msecs": 147.00055122375488,
"relativeCreated": 54150.51579475403,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/amplifier/state and payload b'false'",
"asctime": "2023-02-15 07:14:17,147"
}
],
"time_consumption": 0.20646429061889648
},
{
"name": "__tLogger__",
"msg": "Follower device (my_apps/gfw/dirk/powerplug/output/1) state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441657.354254,
"msecs": 354.25400733947754,
"relativeCreated": 54357.76925086975,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Follower device (my_apps/gfw/dirk/powerplug/output/1) state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:17,354",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Follower device (my_apps/gfw/dirk/powerplug/output/1) state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441657.3539622,
"msecs": 353.9621829986572,
"relativeCreated": 54357.47742652893,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Follower device (my_apps/gfw/dirk/powerplug/output/1) state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:17,353"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Follower device (my_apps/gfw/dirk/powerplug/output/1) state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441657.3541272,
"msecs": 354.1271686553955,
"relativeCreated": 54357.64241218567,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Follower device (my_apps/gfw/dirk/powerplug/output/1) state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:17,354"
}
],
"time_consumption": 0.00012683868408203125
}
],
"time_consumption": 0.9055736064910889,
"time_start": "2023-02-15 07:14:16,448",
"time_finished": "2023-02-15 07:14:17,354"
},
"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": 1676441657.3548212,
"msecs": 354.82120513916016,
"relativeCreated": 54358.33644866943,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Brightness test for device and virtual device: zigbee/gfw/dirk/desk_light",
"asctime": "2023-02-15 07:14:17,354",
"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": 1676441657.6566002,
"msecs": 656.6002368927002,
"relativeCreated": 54660.11548042297,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Setting preconditions (Power on)",
"asctime": "2023-02-15 07:14:17,656",
"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": 1676441657.3551702,
"msecs": 355.17024993896484,
"relativeCreated": 54358.68549346924,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/2 and payload true",
"asctime": "2023-02-15 07:14:17,355"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441657.3558526,
"msecs": 355.8526039123535,
"relativeCreated": 54359.36784744263,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/dirk/desk_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:17,355"
},
{
"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": 1676441657.3569422,
"msecs": 356.94217681884766,
"relativeCreated": 54360.45742034912,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic my_apps/gfw/dirk/powerplug/output/2 and payload b'true'",
"asctime": "2023-02-15 07:14:17,356"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441657.357669,
"msecs": 357.6691150665283,
"relativeCreated": 54361.1843585968,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/dirk/desk_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:17,357"
},
{
"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": 1676441657.403251,
"msecs": 403.25093269348145,
"relativeCreated": 54406.766176223755,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/desk_light/state and payload b'true'",
"asctime": "2023-02-15 07:14:17,403"
},
{
"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": 1676441657.4040942,
"msecs": 404.0942192077637,
"relativeCreated": 54407.60946273804,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/desk_light/brightness and payload b'50'",
"asctime": "2023-02-15 07:14:17,404"
},
{
"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": 1676441657.4047577,
"msecs": 404.7577381134033,
"relativeCreated": 54408.27298164368,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/desk_light/color_temp and payload b'5'",
"asctime": "2023-02-15 07:14:17,404"
}
],
"time_consumption": 0.2518424987792969
},
{
"name": "__tLogger__",
"msg": "Virtual device brightness is correct (Content %s and Type is %s).",
"args": [
"50",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441657.6573117,
"msecs": 657.3116779327393,
"relativeCreated": 54660.82692146301,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device brightness is correct (Content 50 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:17,657",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device brightness",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441657.6570306,
"msecs": 657.0305824279785,
"relativeCreated": 54660.54582595825,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device brightness): 50 (<class 'int'>)",
"asctime": "2023-02-15 07:14:17,657"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device brightness",
"=",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441657.6571877,
"msecs": 657.1877002716064,
"relativeCreated": 54660.70294380188,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device brightness): result = 50 (<class 'int'>)",
"asctime": "2023-02-15 07:14:17,657"
}
],
"time_consumption": 0.0001239776611328125
},
{
"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": 1676441657.9588926,
"msecs": 958.8925838470459,
"relativeCreated": 54962.40782737732,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing light device brightness to '65'",
"asctime": "2023-02-15 07:14:17,958",
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441657.657737,
"msecs": 657.7370166778564,
"relativeCreated": 54661.25226020813,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/dirk/desk_light and payload {\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:17,657"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441657.6589978,
"msecs": 658.9977741241455,
"relativeCreated": 54662.51301765442,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/dirk/desk_light and payload b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:17,658"
},
{
"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'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441657.66139,
"msecs": 661.3900661468506,
"relativeCreated": 54664.905309677124,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/desk_light/brightness and payload b'65'",
"asctime": "2023-02-15 07:14:17,661"
}
],
"time_consumption": 0.2975025177001953
},
{
"name": "__tLogger__",
"msg": "Virtual device brightness is correct (Content %s and Type is %s).",
"args": [
"65",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441657.9596214,
"msecs": 959.6214294433594,
"relativeCreated": 54963.13667297363,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device brightness is correct (Content 65 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:17,959",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device brightness",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441657.9593499,
"msecs": 959.3498706817627,
"relativeCreated": 54962.865114212036,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device brightness): 65 (<class 'int'>)",
"asctime": "2023-02-15 07:14:17,959"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device brightness",
"=",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441657.9595013,
"msecs": 959.5012664794922,
"relativeCreated": 54963.016510009766,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device brightness): result = 65 (<class 'int'>)",
"asctime": "2023-02-15 07:14:17,959"
}
],
"time_consumption": 0.0001201629638671875
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"65",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441657.960067,
"msecs": 960.0670337677002,
"relativeCreated": 54963.58227729797,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 65 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:17,960",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441657.9598162,
"msecs": 959.8162174224854,
"relativeCreated": 54963.33146095276,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 65 (<class 'int'>)",
"asctime": "2023-02-15 07:14:17,959"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441657.9599273,
"msecs": 959.9273204803467,
"relativeCreated": 54963.44256401062,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 65 (<class 'int'>)",
"asctime": "2023-02-15 07:14:17,959"
}
],
"time_consumption": 0.00013971328735351562
},
{
"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": 1676441658.2613478,
"msecs": 261.34777069091797,
"relativeCreated": 55264.86301422119,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device brightness to '50'",
"asctime": "2023-02-15 07:14:18,261",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.brightness.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/gfw/dirk/desk_light/brightness/set",
"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": 1676441657.9604192,
"msecs": 960.4191780090332,
"relativeCreated": 54963.93442153931,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/gfw/dirk/desk_light/brightness/set and payload 50",
"asctime": "2023-02-15 07:14:17,960"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441657.9637234,
"msecs": 963.7234210968018,
"relativeCreated": 54967.238664627075,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/dirk/desk_light/set and payload b'{\"brightness\": 128}'",
"asctime": "2023-02-15 07:14:17,963"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441657.964242,
"msecs": 964.2419815063477,
"relativeCreated": 54967.75722503662,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/dirk/desk_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:17,964"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441657.9653997,
"msecs": 965.3997421264648,
"relativeCreated": 54968.91498565674,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/dirk/desk_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:17,965"
},
{
"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": 1676441658.0097783,
"msecs": 9.778261184692383,
"relativeCreated": 55013.293504714966,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/desk_light/brightness and payload b'50'",
"asctime": "2023-02-15 07:14:18,009"
}
],
"time_consumption": 0.2515695095062256
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"50",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441658.2620816,
"msecs": 262.0816230773926,
"relativeCreated": 55265.596866607666,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 50 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:18,262",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441658.2618053,
"msecs": 261.80529594421387,
"relativeCreated": 55265.32053947449,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 50 (<class 'int'>)",
"asctime": "2023-02-15 07:14:18,261"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441658.2619731,
"msecs": 261.97314262390137,
"relativeCreated": 55265.488386154175,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 50 (<class 'int'>)",
"asctime": "2023-02-15 07:14:18,261"
}
],
"time_consumption": 0.00010848045349121094
},
{
"name": "__tLogger__",
"msg": "Virtual device brightness is correct (Content %s and Type is %s).",
"args": [
"50",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441658.2625,
"msecs": 262.5000476837158,
"relativeCreated": 55266.01529121399,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device brightness is correct (Content 50 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:18,262",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device brightness",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441658.262292,
"msecs": 262.29190826416016,
"relativeCreated": 55265.80715179443,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device brightness): 50 (<class 'int'>)",
"asctime": "2023-02-15 07:14:18,262"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device brightness",
"=",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441658.2623878,
"msecs": 262.387752532959,
"relativeCreated": 55265.90299606323,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device brightness): result = 50 (<class 'int'>)",
"asctime": "2023-02-15 07:14:18,262"
}
],
"time_consumption": 0.00011229515075683594
},
{
"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": 1676441658.5639443,
"msecs": 563.9443397521973,
"relativeCreated": 55567.45958328247,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing light device brightness to '65'",
"asctime": "2023-02-15 07:14:18,563",
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441658.2628217,
"msecs": 262.8216743469238,
"relativeCreated": 55266.3369178772,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/dirk/desk_light and payload {\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:18,262"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441658.2638257,
"msecs": 263.8256549835205,
"relativeCreated": 55267.340898513794,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/dirk/desk_light and payload b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:18,263"
},
{
"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'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441658.2659628,
"msecs": 265.9628391265869,
"relativeCreated": 55269.47808265686,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/desk_light/brightness and payload b'65'",
"asctime": "2023-02-15 07:14:18,265"
}
],
"time_consumption": 0.29798150062561035
},
{
"name": "__tLogger__",
"msg": "Virtual device brightness is correct (Content %s and Type is %s).",
"args": [
"65",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441658.5647242,
"msecs": 564.7242069244385,
"relativeCreated": 55568.23945045471,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device brightness is correct (Content 65 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:18,564",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device brightness",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441658.564393,
"msecs": 564.3930435180664,
"relativeCreated": 55567.90828704834,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device brightness): 65 (<class 'int'>)",
"asctime": "2023-02-15 07:14:18,564"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device brightness",
"=",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441658.564589,
"msecs": 564.5890235900879,
"relativeCreated": 55568.10426712036,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device brightness): result = 65 (<class 'int'>)",
"asctime": "2023-02-15 07:14:18,564"
}
],
"time_consumption": 0.00013518333435058594
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"65",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441658.5651455,
"msecs": 565.1454925537109,
"relativeCreated": 55568.660736083984,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 65 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:18,565",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441658.564922,
"msecs": 564.9220943450928,
"relativeCreated": 55568.437337875366,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 65 (<class 'int'>)",
"asctime": "2023-02-15 07:14:18,564"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441658.565033,
"msecs": 565.032958984375,
"relativeCreated": 55568.54820251465,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 65 (<class 'int'>)",
"asctime": "2023-02-15 07:14:18,565"
}
],
"time_consumption": 0.0001125335693359375
},
{
"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": 1676441658.866502,
"msecs": 866.502046585083,
"relativeCreated": 55870.01729011536,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device brightness to '50'",
"asctime": "2023-02-15 07:14:18,866",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.brightness.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/gfw/dirk/desk_light/brightness/set",
"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": 1676441658.56543,
"msecs": 565.4299259185791,
"relativeCreated": 55568.94516944885,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/gfw/dirk/desk_light/brightness/set and payload 50",
"asctime": "2023-02-15 07:14:18,565"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441658.5685747,
"msecs": 568.5746669769287,
"relativeCreated": 55572.0899105072,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/dirk/desk_light/set and payload b'{\"brightness\": 128}'",
"asctime": "2023-02-15 07:14:18,568"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441658.569135,
"msecs": 569.1349506378174,
"relativeCreated": 55572.65019416809,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/dirk/desk_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:18,569"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441658.5703065,
"msecs": 570.3065395355225,
"relativeCreated": 55573.821783065796,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/dirk/desk_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:18,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'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441658.6139405,
"msecs": 613.9404773712158,
"relativeCreated": 55617.45572090149,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/desk_light/brightness and payload b'50'",
"asctime": "2023-02-15 07:14:18,613"
}
],
"time_consumption": 0.2525615692138672
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"50",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441658.867281,
"msecs": 867.2809600830078,
"relativeCreated": 55870.79620361328,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 50 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:18,867",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441658.866963,
"msecs": 866.9629096984863,
"relativeCreated": 55870.47815322876,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 50 (<class 'int'>)",
"asctime": "2023-02-15 07:14:18,866"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441658.8671598,
"msecs": 867.1598434448242,
"relativeCreated": 55870.6750869751,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 50 (<class 'int'>)",
"asctime": "2023-02-15 07:14:18,867"
}
],
"time_consumption": 0.00012111663818359375
},
{
"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": 1676441659.16884,
"msecs": 168.8399314880371,
"relativeCreated": 56172.35517501831,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Resetting precondition (Power off)",
"asctime": "2023-02-15 07:14:19,168",
"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": 1676441658.8676105,
"msecs": 867.6104545593262,
"relativeCreated": 55871.1256980896,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/2 and payload false",
"asctime": "2023-02-15 07:14:18,867"
},
{
"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": 1676441658.8687801,
"msecs": 868.7801361083984,
"relativeCreated": 55872.29537963867,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic my_apps/gfw/dirk/powerplug/output/2 and payload b'false'",
"asctime": "2023-02-15 07:14:18,868"
},
{
"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": 1676441658.8737853,
"msecs": 873.7852573394775,
"relativeCreated": 55877.30050086975,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/desk_light/state and payload b'false'",
"asctime": "2023-02-15 07:14:18,873"
}
],
"time_consumption": 0.29505467414855957
}
],
"time_consumption": 1.814018726348877,
"time_start": "2023-02-15 07:14:17,354",
"time_finished": "2023-02-15 07:14:19,168"
},
"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": 1676441659.1696522,
"msecs": 169.65222358703613,
"relativeCreated": 56173.16746711731,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Color temperature test for device and virtual device: zigbee/gfw/dirk/desk_light",
"asctime": "2023-02-15 07:14:19,169",
"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": 1676441659.4718235,
"msecs": 471.82345390319824,
"relativeCreated": 56475.33869743347,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Setting preconditions (Power on)",
"asctime": "2023-02-15 07:14:19,471",
"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": 1676441659.1700542,
"msecs": 170.05419731140137,
"relativeCreated": 56173.569440841675,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/2 and payload true",
"asctime": "2023-02-15 07:14:19,170"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441659.1708012,
"msecs": 170.80116271972656,
"relativeCreated": 56174.31640625,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/dirk/desk_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:19,170"
},
{
"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": 1676441659.1717498,
"msecs": 171.74983024597168,
"relativeCreated": 56175.265073776245,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic my_apps/gfw/dirk/powerplug/output/2 and payload b'true'",
"asctime": "2023-02-15 07:14:19,171"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441659.1724737,
"msecs": 172.47366905212402,
"relativeCreated": 56175.9889125824,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/dirk/desk_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:19,172"
},
{
"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": 1676441659.2190025,
"msecs": 219.00248527526855,
"relativeCreated": 56222.51772880554,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/desk_light/state and payload b'true'",
"asctime": "2023-02-15 07:14:19,219"
}
],
"time_consumption": 0.2528209686279297
},
{
"name": "__tLogger__",
"msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
"args": [
"5",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441659.4725354,
"msecs": 472.5353717803955,
"relativeCreated": 56476.05061531067,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device color temperature is correct (Content 5 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:19,472",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device color temperature",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441659.4722595,
"msecs": 472.259521484375,
"relativeCreated": 56475.77476501465,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device color temperature): 5 (<class 'int'>)",
"asctime": "2023-02-15 07:14:19,472"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device color temperature",
"=",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441659.4724133,
"msecs": 472.4133014678955,
"relativeCreated": 56475.92854499817,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device color temperature): result = 5 (<class 'int'>)",
"asctime": "2023-02-15 07:14:19,472"
}
],
"time_consumption": 0.0001220703125
},
{
"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": 1676441659.774186,
"msecs": 774.1858959197998,
"relativeCreated": 56777.70113945007,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing light device color temperature to '5'",
"asctime": "2023-02-15 07:14:19,774",
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441659.4729955,
"msecs": 472.9955196380615,
"relativeCreated": 56476.510763168335,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/dirk/desk_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0}",
"asctime": "2023-02-15 07:14:19,472"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441659.4741611,
"msecs": 474.16114807128906,
"relativeCreated": 56477.67639160156,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/dirk/desk_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0}'",
"asctime": "2023-02-15 07:14:19,474"
},
{
"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'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441659.4766395,
"msecs": 476.6395092010498,
"relativeCreated": 56480.15475273132,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/desk_light/color_temp and payload b'8'",
"asctime": "2023-02-15 07:14:19,476"
}
],
"time_consumption": 0.29754638671875
},
{
"name": "__tLogger__",
"msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
"args": [
"8",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441659.7749662,
"msecs": 774.9662399291992,
"relativeCreated": 56778.48148345947,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device color temperature is correct (Content 8 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:19,774",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device color temperature",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441659.7746885,
"msecs": 774.6884822845459,
"relativeCreated": 56778.20372581482,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device color temperature): 8 (<class 'int'>)",
"asctime": "2023-02-15 07:14:19,774"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device color temperature",
"=",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441659.7748444,
"msecs": 774.8444080352783,
"relativeCreated": 56778.35965156555,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device color temperature): result = 8 (<class 'int'>)",
"asctime": "2023-02-15 07:14:19,774"
}
],
"time_consumption": 0.00012183189392089844
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"8",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441659.7753797,
"msecs": 775.3796577453613,
"relativeCreated": 56778.894901275635,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 8 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:19,775",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441659.7751625,
"msecs": 775.1624584197998,
"relativeCreated": 56778.67770195007,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 8 (<class 'int'>)",
"asctime": "2023-02-15 07:14:19,775"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441659.7752774,
"msecs": 775.2773761749268,
"relativeCreated": 56778.7926197052,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 8 (<class 'int'>)",
"asctime": "2023-02-15 07:14:19,775"
}
],
"time_consumption": 0.00010228157043457031
},
{
"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": 1676441660.0766494,
"msecs": 76.64942741394043,
"relativeCreated": 57080.164670944214,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device color temperature to '5'",
"asctime": "2023-02-15 07:14:20,076",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.color_temp.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/gfw/dirk/desk_light/color_temp/set",
"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": 1676441659.7757652,
"msecs": 775.7651805877686,
"relativeCreated": 56779.28042411804,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/gfw/dirk/desk_light/color_temp/set and payload 5",
"asctime": "2023-02-15 07:14:19,775"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441659.7789345,
"msecs": 778.9344787597656,
"relativeCreated": 56782.44972229004,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/dirk/desk_light/set and payload b'{\"color_temp\": 352}'",
"asctime": "2023-02-15 07:14:19,778"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441659.7794542,
"msecs": 779.454231262207,
"relativeCreated": 56782.96947479248,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/dirk/desk_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:19,779"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441659.780575,
"msecs": 780.5750370025635,
"relativeCreated": 56784.09028053284,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/dirk/desk_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:19,780"
},
{
"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": 1676441659.8259146,
"msecs": 825.9146213531494,
"relativeCreated": 56829.42986488342,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/desk_light/color_temp and payload b'5'",
"asctime": "2023-02-15 07:14:19,825"
}
],
"time_consumption": 0.250734806060791
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"5",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441660.07738,
"msecs": 77.37994194030762,
"relativeCreated": 57080.89518547058,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 5 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:20,077",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441660.0770893,
"msecs": 77.08930969238281,
"relativeCreated": 57080.604553222656,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 5 (<class 'int'>)",
"asctime": "2023-02-15 07:14:20,077"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441660.0772417,
"msecs": 77.24165916442871,
"relativeCreated": 57080.7569026947,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 5 (<class 'int'>)",
"asctime": "2023-02-15 07:14:20,077"
}
],
"time_consumption": 0.00013828277587890625
},
{
"name": "__tLogger__",
"msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
"args": [
"5",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441660.0777836,
"msecs": 77.78358459472656,
"relativeCreated": 57081.298828125,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device color temperature is correct (Content 5 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:20,077",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device color temperature",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441660.0775738,
"msecs": 77.57377624511719,
"relativeCreated": 57081.08901977539,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device color temperature): 5 (<class 'int'>)",
"asctime": "2023-02-15 07:14:20,077"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device color temperature",
"=",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441660.0776849,
"msecs": 77.68487930297852,
"relativeCreated": 57081.20012283325,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device color temperature): result = 5 (<class 'int'>)",
"asctime": "2023-02-15 07:14:20,077"
}
],
"time_consumption": 9.870529174804688e-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": 1676441660.3793285,
"msecs": 379.32848930358887,
"relativeCreated": 57382.84373283386,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing light device color temperature to '5'",
"asctime": "2023-02-15 07:14:20,379",
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441660.07817,
"msecs": 78.1700611114502,
"relativeCreated": 57081.68530464172,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/dirk/desk_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0}",
"asctime": "2023-02-15 07:14:20,078"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441660.0793347,
"msecs": 79.33473587036133,
"relativeCreated": 57082.849979400635,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/dirk/desk_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0}'",
"asctime": "2023-02-15 07:14:20,079"
},
{
"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'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441660.0817754,
"msecs": 81.77542686462402,
"relativeCreated": 57085.2906703949,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/desk_light/color_temp and payload b'8'",
"asctime": "2023-02-15 07:14:20,081"
}
],
"time_consumption": 0.29755306243896484
},
{
"name": "__tLogger__",
"msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
"args": [
"8",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441660.3799987,
"msecs": 379.99868392944336,
"relativeCreated": 57383.51392745972,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device color temperature is correct (Content 8 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:20,379",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device color temperature",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441660.379725,
"msecs": 379.72497940063477,
"relativeCreated": 57383.24022293091,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device color temperature): 8 (<class 'int'>)",
"asctime": "2023-02-15 07:14:20,379"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device color temperature",
"=",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441660.3798935,
"msecs": 379.89354133605957,
"relativeCreated": 57383.40878486633,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device color temperature): result = 8 (<class 'int'>)",
"asctime": "2023-02-15 07:14:20,379"
}
],
"time_consumption": 0.00010514259338378906
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"8",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441660.380363,
"msecs": 380.36298751831055,
"relativeCreated": 57383.878231048584,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 8 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:20,380",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441660.3801692,
"msecs": 380.169153213501,
"relativeCreated": 57383.684396743774,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 8 (<class 'int'>)",
"asctime": "2023-02-15 07:14:20,380"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441660.3802657,
"msecs": 380.2657127380371,
"relativeCreated": 57383.78095626831,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 8 (<class 'int'>)",
"asctime": "2023-02-15 07:14:20,380"
}
],
"time_consumption": 9.72747802734375e-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": 1676441660.6815364,
"msecs": 681.5364360809326,
"relativeCreated": 57685.051679611206,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device color temperature to '5'",
"asctime": "2023-02-15 07:14:20,681",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.color_temp.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/gfw/dirk/desk_light/color_temp/set",
"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": 1676441660.3806086,
"msecs": 380.60855865478516,
"relativeCreated": 57384.12380218506,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/gfw/dirk/desk_light/color_temp/set and payload 5",
"asctime": "2023-02-15 07:14:20,380"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441660.383315,
"msecs": 383.3150863647461,
"relativeCreated": 57386.83032989502,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/dirk/desk_light/set and payload b'{\"color_temp\": 352}'",
"asctime": "2023-02-15 07:14:20,383"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441660.3842597,
"msecs": 384.2597007751465,
"relativeCreated": 57387.77494430542,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/dirk/desk_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:20,384"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441660.3852396,
"msecs": 385.2396011352539,
"relativeCreated": 57388.75484466553,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/dirk/desk_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:20,385"
},
{
"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": 1676441660.429471,
"msecs": 429.4710159301758,
"relativeCreated": 57432.98625946045,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/desk_light/color_temp and payload b'5'",
"asctime": "2023-02-15 07:14:20,429"
}
],
"time_consumption": 0.25206542015075684
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"5",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441660.682247,
"msecs": 682.2469234466553,
"relativeCreated": 57685.76216697693,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 5 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:20,682",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441660.6819735,
"msecs": 681.9734573364258,
"relativeCreated": 57685.4887008667,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 5 (<class 'int'>)",
"asctime": "2023-02-15 07:14:20,681"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441660.6821275,
"msecs": 682.1274757385254,
"relativeCreated": 57685.6427192688,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 5 (<class 'int'>)",
"asctime": "2023-02-15 07:14:20,682"
}
],
"time_consumption": 0.00011944770812988281
},
{
"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": 1676441660.9838626,
"msecs": 983.8626384735107,
"relativeCreated": 57987.377882003784,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Resetting precondition (Power off)",
"asctime": "2023-02-15 07:14:20,983",
"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": 1676441660.682619,
"msecs": 682.6190948486328,
"relativeCreated": 57686.134338378906,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/2 and payload false",
"asctime": "2023-02-15 07:14:20,682"
},
{
"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": 1676441660.6838093,
"msecs": 683.8092803955078,
"relativeCreated": 57687.32452392578,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic my_apps/gfw/dirk/powerplug/output/2 and payload b'false'",
"asctime": "2023-02-15 07:14:20,683"
},
{
"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": 1676441660.6856554,
"msecs": 685.6553554534912,
"relativeCreated": 57689.170598983765,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/desk_light/state and payload b'false'",
"asctime": "2023-02-15 07:14:20,685"
}
],
"time_consumption": 0.29820728302001953
}
],
"time_consumption": 1.8142104148864746,
"time_start": "2023-02-15 07:14:19,169",
"time_finished": "2023-02-15 07:14:20,983"
},
"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": 1676441660.9846106,
"msecs": 984.6105575561523,
"relativeCreated": 57988.125801086426,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Power On/ Off test for device and virtual device: my_apps/gfw/dirk/powerplug/output/2",
"asctime": "2023-02-15 07:14:20,984",
"moduleLogger": [],
"testcaseLogger": [
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441660.9851894,
"msecs": 985.1894378662109,
"relativeCreated": 57988.704681396484,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:20,985",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441660.9849257,
"msecs": 984.9257469177246,
"relativeCreated": 57988.440990448,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:20,984"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441660.985072,
"msecs": 985.0718975067139,
"relativeCreated": 57988.58714103699,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:20,985"
}
],
"time_consumption": 0.00011754035949707031
},
{
"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": 1676441661.286924,
"msecs": 286.923885345459,
"relativeCreated": 58290.43912887573,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing switching device state to 'True'",
"asctime": "2023-02-15 07:14:21,286",
"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": 1676441660.9854944,
"msecs": 985.4943752288818,
"relativeCreated": 57989.009618759155,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/2 and payload true",
"asctime": "2023-02-15 07:14:20,985"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441660.986132,
"msecs": 986.1319065093994,
"relativeCreated": 57989.64715003967,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/dirk/desk_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:20,986"
},
{
"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": 1676441660.9871645,
"msecs": 987.1644973754883,
"relativeCreated": 57990.67974090576,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic my_apps/gfw/dirk/powerplug/output/2 and payload b'true'",
"asctime": "2023-02-15 07:14:20,987"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441660.9878657,
"msecs": 987.865686416626,
"relativeCreated": 57991.3809299469,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/dirk/desk_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:20,987"
},
{
"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": 1676441661.035341,
"msecs": 35.34102439880371,
"relativeCreated": 58038.85626792908,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/desk_light/state and payload b'true'",
"asctime": "2023-02-15 07:14:21,035"
}
],
"time_consumption": 0.2515828609466553
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441661.2875466,
"msecs": 287.54663467407227,
"relativeCreated": 58291.061878204346,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:21,287",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441661.2873096,
"msecs": 287.3096466064453,
"relativeCreated": 58290.82489013672,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:21,287"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441661.287442,
"msecs": 287.4419689178467,
"relativeCreated": 58290.95721244812,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:21,287"
}
],
"time_consumption": 0.00010466575622558594
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441661.2879298,
"msecs": 287.9297733306885,
"relativeCreated": 58291.44501686096,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:21,287",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441661.2877138,
"msecs": 287.71376609802246,
"relativeCreated": 58291.229009628296,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:21,287"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441661.2878082,
"msecs": 287.8081798553467,
"relativeCreated": 58291.32342338562,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:21,287"
}
],
"time_consumption": 0.00012159347534179688
},
{
"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": 1676441661.5891583,
"msecs": 589.158296585083,
"relativeCreated": 58592.67354011536,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device state to 'False'",
"asctime": "2023-02-15 07:14:21,589",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.state.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/gfw/dirk/desk_light/state/set",
"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": 1676441661.2882125,
"msecs": 288.21253776550293,
"relativeCreated": 58291.72778129578,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/gfw/dirk/desk_light/state/set and payload false",
"asctime": "2023-02-15 07:14:21,288"
},
{
"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": 1676441661.2909336,
"msecs": 290.93360900878906,
"relativeCreated": 58294.44885253906,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic my_apps/gfw/dirk/powerplug/output/2/set and payload b'false'",
"asctime": "2023-02-15 07:14:21,290"
},
{
"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": 1676441661.2912958,
"msecs": 291.29576683044434,
"relativeCreated": 58294.81101036072,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/2 and payload false",
"asctime": "2023-02-15 07:14:21,291"
},
{
"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": 1676441661.2923048,
"msecs": 292.30475425720215,
"relativeCreated": 58295.819997787476,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic my_apps/gfw/dirk/powerplug/output/2 and payload b'false'",
"asctime": "2023-02-15 07:14:21,292"
},
{
"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": 1676441661.3836157,
"msecs": 383.61573219299316,
"relativeCreated": 58387.13097572327,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/desk_light/state and payload b'false'",
"asctime": "2023-02-15 07:14:21,383"
}
],
"time_consumption": 0.20554256439208984
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441661.589956,
"msecs": 589.9560451507568,
"relativeCreated": 58593.47128868103,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:21,589",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441661.5896356,
"msecs": 589.6356105804443,
"relativeCreated": 58593.15085411072,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:21,589"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441661.5897906,
"msecs": 589.7905826568604,
"relativeCreated": 58593.305826187134,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:21,589"
}
],
"time_consumption": 0.00016546249389648438
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441661.590406,
"msecs": 590.4059410095215,
"relativeCreated": 58593.921184539795,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:21,590",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441661.5901601,
"msecs": 590.1601314544678,
"relativeCreated": 58593.67537498474,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:21,590"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441661.5902917,
"msecs": 590.2917385101318,
"relativeCreated": 58593.806982040405,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:21,590"
}
],
"time_consumption": 0.00011420249938964844
},
{
"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": 1676441661.8923237,
"msecs": 892.3237323760986,
"relativeCreated": 58895.83897590637,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing switching device state to 'True'",
"asctime": "2023-02-15 07:14:21,892",
"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": 1676441661.5907578,
"msecs": 590.7578468322754,
"relativeCreated": 58594.27309036255,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/2 and payload true",
"asctime": "2023-02-15 07:14:21,590"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441661.5914078,
"msecs": 591.4077758789062,
"relativeCreated": 58594.92301940918,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/dirk/desk_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:21,591"
},
{
"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": 1676441661.5923984,
"msecs": 592.3984050750732,
"relativeCreated": 58595.91364860535,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic my_apps/gfw/dirk/powerplug/output/2 and payload b'true'",
"asctime": "2023-02-15 07:14:21,592"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441661.5929015,
"msecs": 592.9014682769775,
"relativeCreated": 58596.41671180725,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/dirk/desk_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:21,592"
},
{
"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": 1676441661.6349454,
"msecs": 634.9453926086426,
"relativeCreated": 58638.460636138916,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/desk_light/state and payload b'true'",
"asctime": "2023-02-15 07:14:21,634"
}
],
"time_consumption": 0.25737833976745605
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441661.8930435,
"msecs": 893.0435180664062,
"relativeCreated": 58896.55876159668,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:21,893",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441661.8927624,
"msecs": 892.7624225616455,
"relativeCreated": 58896.27766609192,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:21,892"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441661.8929164,
"msecs": 892.9164409637451,
"relativeCreated": 58896.43168449402,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:21,892"
}
],
"time_consumption": 0.0001270771026611328
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441661.8934882,
"msecs": 893.4881687164307,
"relativeCreated": 58897.003412246704,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:21,893",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441661.8932376,
"msecs": 893.2375907897949,
"relativeCreated": 58896.75283432007,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:21,893"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441661.893346,
"msecs": 893.3460712432861,
"relativeCreated": 58896.86131477356,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:21,893"
}
],
"time_consumption": 0.00014209747314453125
},
{
"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": 1676441662.1949031,
"msecs": 194.90313529968262,
"relativeCreated": 59198.418378829956,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device state to 'False'",
"asctime": "2023-02-15 07:14:22,194",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.state.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/gfw/dirk/desk_light/state/set",
"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": 1676441661.8937724,
"msecs": 893.7723636627197,
"relativeCreated": 58897.28760719299,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/gfw/dirk/desk_light/state/set and payload false",
"asctime": "2023-02-15 07:14:21,893"
},
{
"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": 1676441661.8968673,
"msecs": 896.8672752380371,
"relativeCreated": 58900.38251876831,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic my_apps/gfw/dirk/powerplug/output/2/set and payload b'false'",
"asctime": "2023-02-15 07:14:21,896"
},
{
"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": 1676441661.8972912,
"msecs": 897.2911834716797,
"relativeCreated": 58900.80642700195,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/2 and payload false",
"asctime": "2023-02-15 07:14:21,897"
},
{
"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": 1676441661.8984787,
"msecs": 898.4787464141846,
"relativeCreated": 58901.99398994446,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic my_apps/gfw/dirk/powerplug/output/2 and payload b'false'",
"asctime": "2023-02-15 07:14:21,898"
},
{
"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": 1676441661.9876735,
"msecs": 987.6735210418701,
"relativeCreated": 58991.18876457214,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/desk_light/state and payload b'false'",
"asctime": "2023-02-15 07:14:21,987"
}
],
"time_consumption": 0.2072296142578125
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441662.1956298,
"msecs": 195.62983512878418,
"relativeCreated": 59199.14507865906,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:22,195",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441662.1953595,
"msecs": 195.359468460083,
"relativeCreated": 59198.87471199036,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:22,195"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441662.1955092,
"msecs": 195.5091953277588,
"relativeCreated": 59199.02443885803,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:22,195"
}
],
"time_consumption": 0.00012063980102539062
}
],
"time_consumption": 1.2110192775726318,
"time_start": "2023-02-15 07:14:20,984",
"time_finished": "2023-02-15 07:14:22,195"
},
"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": 1676441662.196222,
"msecs": 196.22206687927246,
"relativeCreated": 59199.737310409546,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Away mode test: zigbee/gfw/dirk/heating_valve",
"asctime": "2023-02-15 07:14:22,196",
"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": 1676441662.497546,
"msecs": 497.5459575653076,
"relativeCreated": 59501.06120109558,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Setting preconditions (Default setpoint)",
"asctime": "2023-02-15 07:14:22,497",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.set_default_temperature.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/gfw/dirk/heating_valve/set_default_temperature/set",
"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": 1676441662.1965947,
"msecs": 196.5947151184082,
"relativeCreated": 59200.10995864868,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/gfw/dirk/heating_valve/set_default_temperature/set and payload null",
"asctime": "2023-02-15 07:14:22,196"
},
{
"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": 1676441662.2029235,
"msecs": 202.92353630065918,
"relativeCreated": 59206.43877983093,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/heating_valve/user_temperature_setpoint and payload b'25'",
"asctime": "2023-02-15 07:14:22,202"
},
{
"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": 1676441662.203827,
"msecs": 203.826904296875,
"relativeCreated": 59207.34214782715,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{\"current_heating_setpoint\": 25}'",
"asctime": "2023-02-15 07:14:22,203"
},
{
"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, \"battery\": 97}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441662.2042584,
"msecs": 204.25844192504883,
"relativeCreated": 59207.77368545532,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/dirk/heating_valve and payload {\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"battery\": 97}",
"asctime": "2023-02-15 07:14:22,204"
},
{
"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": 1676441662.2050807,
"msecs": 205.08074760437012,
"relativeCreated": 59208.59599113464,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'25'",
"asctime": "2023-02-15 07:14:22,205"
},
{
"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, \"battery\": 97}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441662.2061512,
"msecs": 206.15124702453613,
"relativeCreated": 59209.66649055481,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"battery\": 97}'",
"asctime": "2023-02-15 07:14:22,206"
}
],
"time_consumption": 0.2913947105407715
},
{
"name": "__tLogger__",
"msg": "Away mode is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441662.4981515,
"msecs": 498.1515407562256,
"relativeCreated": 59501.6667842865,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Away mode is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:22,498",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Away mode",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441662.497915,
"msecs": 497.91502952575684,
"relativeCreated": 59501.43027305603,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Away mode): False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:22,497"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Away mode",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441662.498046,
"msecs": 498.0459213256836,
"relativeCreated": 59501.56116485596,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Away mode): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:22,498"
}
],
"time_consumption": 0.00010561943054199219
},
{
"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": 1676441662.799436,
"msecs": 799.436092376709,
"relativeCreated": 59802.95133590698,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Activating away mode",
"asctime": "2023-02-15 07:14:22,799",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.away_mode.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/gfw/dirk/heating_valve/away_mode/set",
"true"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441662.498486,
"msecs": 498.4860420227051,
"relativeCreated": 59502.00128555298,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/gfw/dirk/heating_valve/away_mode/set and payload true",
"asctime": "2023-02-15 07:14:22,498"
},
{
"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": 1676441662.5086603,
"msecs": 508.66031646728516,
"relativeCreated": 59512.17555999756,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{\"current_heating_setpoint\": 20}'",
"asctime": "2023-02-15 07:14:22,508"
},
{
"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, \"battery\": 97}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441662.5090816,
"msecs": 509.0816020965576,
"relativeCreated": 59512.59684562683,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/dirk/heating_valve and payload {\"current_heating_setpoint\": 20, \"local_temperature\": 20.7, \"battery\": 97}",
"asctime": "2023-02-15 07:14:22,509"
},
{
"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": 1676441662.5097973,
"msecs": 509.7973346710205,
"relativeCreated": 59513.312578201294,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'20'",
"asctime": "2023-02-15 07:14:22,509"
},
{
"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": 1676441662.5106936,
"msecs": 510.6935501098633,
"relativeCreated": 59514.20879364014,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/heating_valve/away_mode and payload b'true'",
"asctime": "2023-02-15 07:14:22,510"
},
{
"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, \"battery\": 97}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441662.5113437,
"msecs": 511.34371757507324,
"relativeCreated": 59514.85896110535,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{\"current_heating_setpoint\": 20, \"local_temperature\": 20.7, \"battery\": 97}'",
"asctime": "2023-02-15 07:14:22,511"
}
],
"time_consumption": 0.28809237480163574
},
{
"name": "__tLogger__",
"msg": "Away mode is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441662.800146,
"msecs": 800.1461029052734,
"relativeCreated": 59803.66134643555,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Away mode is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:22,800",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Away mode",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441662.7998674,
"msecs": 799.8673915863037,
"relativeCreated": 59803.38263511658,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Away mode): True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:22,799"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Away mode",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441662.8000221,
"msecs": 800.0221252441406,
"relativeCreated": 59803.537368774414,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Away mode): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:22,800"
}
],
"time_consumption": 0.0001239776611328125
},
{
"name": "__tLogger__",
"msg": "Temperature setpoint is correct (Content %s and Type is %s).",
"args": [
"20",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441662.8006012,
"msecs": 800.6012439727783,
"relativeCreated": 59804.11648750305,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Temperature setpoint is correct (Content 20 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:22,800",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Temperature setpoint",
"20",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441662.8003423,
"msecs": 800.342321395874,
"relativeCreated": 59803.85756492615,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Temperature setpoint): 20 (<class 'int'>)",
"asctime": "2023-02-15 07:14:22,800"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Temperature setpoint",
"=",
"20",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441662.8004973,
"msecs": 800.49729347229,
"relativeCreated": 59804.01253700256,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Temperature setpoint): result = 20 (<class 'int'>)",
"asctime": "2023-02-15 07:14:22,800"
}
],
"time_consumption": 0.00010395050048828125
},
{
"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": 1676441663.1017787,
"msecs": 101.77874565124512,
"relativeCreated": 60105.29398918152,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Deactivating away mode",
"asctime": "2023-02-15 07:14:23,101",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.away_mode.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/gfw/dirk/heating_valve/away_mode/set",
"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": 1676441662.8008964,
"msecs": 800.896406173706,
"relativeCreated": 59804.41164970398,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/gfw/dirk/heating_valve/away_mode/set and payload false",
"asctime": "2023-02-15 07:14:22,800"
},
{
"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": 1676441662.8137963,
"msecs": 813.7962818145752,
"relativeCreated": 59817.31152534485,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{\"current_heating_setpoint\": 25}'",
"asctime": "2023-02-15 07:14:22,813"
},
{
"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, \"battery\": 97}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441662.8144772,
"msecs": 814.4772052764893,
"relativeCreated": 59817.99244880676,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/dirk/heating_valve and payload {\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"battery\": 97}",
"asctime": "2023-02-15 07:14:22,814"
},
{
"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": 1676441662.8153112,
"msecs": 815.3111934661865,
"relativeCreated": 59818.82643699646,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'25'",
"asctime": "2023-02-15 07:14:22,815"
},
{
"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": 1676441662.8163164,
"msecs": 816.3163661956787,
"relativeCreated": 59819.83160972595,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/heating_valve/away_mode and payload b'false'",
"asctime": "2023-02-15 07:14:22,816"
},
{
"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, \"battery\": 97}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441662.81709,
"msecs": 817.0900344848633,
"relativeCreated": 59820.60527801514,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"battery\": 97}'",
"asctime": "2023-02-15 07:14:22,817"
}
],
"time_consumption": 0.28468871116638184
},
{
"name": "__tLogger__",
"msg": "Away mode is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441663.102515,
"msecs": 102.51498222351074,
"relativeCreated": 60106.030225753784,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Away mode is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:23,102",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Away mode",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441663.1021996,
"msecs": 102.19955444335938,
"relativeCreated": 60105.71479797363,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Away mode): False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:23,102"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Away mode",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441663.1023526,
"msecs": 102.35261917114258,
"relativeCreated": 60105.867862701416,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Away mode): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:23,102"
}
],
"time_consumption": 0.00016236305236816406
},
{
"name": "__tLogger__",
"msg": "Temperature setpoint is correct (Content %s and Type is %s).",
"args": [
"25",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441663.1029248,
"msecs": 102.92482376098633,
"relativeCreated": 60106.44006729126,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Temperature setpoint is correct (Content 25 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:23,102",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Temperature setpoint",
"25",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441663.102713,
"msecs": 102.71310806274414,
"relativeCreated": 60106.22835159302,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Temperature setpoint): 25 (<class 'int'>)",
"asctime": "2023-02-15 07:14:23,102"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Temperature setpoint",
"=",
"25",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441663.1028268,
"msecs": 102.82683372497559,
"relativeCreated": 60106.34207725525,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Temperature setpoint): result = 25 (<class 'int'>)",
"asctime": "2023-02-15 07:14:23,102"
}
],
"time_consumption": 9.799003601074219e-05
}
],
"time_consumption": 0.9067027568817139,
"time_start": "2023-02-15 07:14:22,196",
"time_finished": "2023-02-15 07:14:23,102"
},
"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": 1676441663.1033802,
"msecs": 103.38020324707031,
"relativeCreated": 60106.895446777344,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Boost mode test: zigbee/gfw/dirk/heating_valve",
"asctime": "2023-02-15 07:14:23,103",
"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": 1676441663.404831,
"msecs": 404.8309326171875,
"relativeCreated": 60408.34617614746,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Setting preconditions (Default setpoint)",
"asctime": "2023-02-15 07:14:23,404",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.set_default_temperature.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/gfw/dirk/heating_valve/set_default_temperature/set",
"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": 1676441663.1036813,
"msecs": 103.68132591247559,
"relativeCreated": 60107.19656944275,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/gfw/dirk/heating_valve/set_default_temperature/set and payload null",
"asctime": "2023-02-15 07:14:23,103"
}
],
"time_consumption": 0.3011496067047119
},
{
"name": "__tLogger__",
"msg": "Boost timer is correct (Content %s and Type is %s).",
"args": [
"0",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441663.40547,
"msecs": 405.4698944091797,
"relativeCreated": 60408.98513793945,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Boost timer is correct (Content 0 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:23,405",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Boost timer",
"0",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441663.405212,
"msecs": 405.2119255065918,
"relativeCreated": 60408.727169036865,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Boost timer): 0 (<class 'int'>)",
"asctime": "2023-02-15 07:14:23,405"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Boost timer",
"=",
"0",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441663.4053583,
"msecs": 405.35831451416016,
"relativeCreated": 60408.87355804443,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Boost timer): result = 0 (<class 'int'>)",
"asctime": "2023-02-15 07:14:23,405"
}
],
"time_consumption": 0.00011157989501953125
},
{
"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": 1676441663.7067063,
"msecs": 706.7062854766846,
"relativeCreated": 60710.22152900696,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Activating boost mode",
"asctime": "2023-02-15 07:14:23,706",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.start_boost.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/gfw/dirk/heating_valve/start_boost/set",
"true"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441663.4058273,
"msecs": 405.82728385925293,
"relativeCreated": 60409.34252738953,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/gfw/dirk/heating_valve/start_boost/set and payload true",
"asctime": "2023-02-15 07:14:23,405"
},
{
"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": 1676441663.4182577,
"msecs": 418.2577133178711,
"relativeCreated": 60421.772956848145,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/heating_valve/boost_timer and payload b'900'",
"asctime": "2023-02-15 07:14:23,418"
},
{
"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": 1676441663.4190876,
"msecs": 419.08764839172363,
"relativeCreated": 60422.602891922,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{\"current_heating_setpoint\": 30}'",
"asctime": "2023-02-15 07:14:23,419"
},
{
"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, \"battery\": 97}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441663.4194803,
"msecs": 419.4803237915039,
"relativeCreated": 60422.99556732178,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/dirk/heating_valve and payload {\"current_heating_setpoint\": 30, \"local_temperature\": 20.7, \"battery\": 97}",
"asctime": "2023-02-15 07:14:23,419"
},
{
"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": 1676441663.4201915,
"msecs": 420.19152641296387,
"relativeCreated": 60423.70676994324,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'30'",
"asctime": "2023-02-15 07:14:23,420"
},
{
"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, \"battery\": 97}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441663.4212196,
"msecs": 421.2195873260498,
"relativeCreated": 60424.73483085632,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{\"current_heating_setpoint\": 30, \"local_temperature\": 20.7, \"battery\": 97}'",
"asctime": "2023-02-15 07:14:23,421"
},
{
"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'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": 1676441663.640006,
"msecs": 640.0060653686523,
"relativeCreated": 60643.521308898926,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/heating_valve/boost_timer and payload b'899'",
"asctime": "2023-02-15 07:14:23,640"
}
],
"time_consumption": 0.06670022010803223
},
{
"name": "__tLogger__",
"msg": "Boost timer is greater expectation (Content %s and Type is %s).",
"args": [
"899",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/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": 1676441663.707408,
"msecs": 707.4079513549805,
"relativeCreated": 60710.923194885254,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Boost timer is greater expectation (Content 899 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:23,707",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Boost timer",
"899",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441663.7071307,
"msecs": 707.1306705474854,
"relativeCreated": 60710.64591407776,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Boost timer): 899 (<class 'int'>)",
"asctime": "2023-02-15 07:14:23,707"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Boost timer",
">",
"0",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441663.7072854,
"msecs": 707.2854042053223,
"relativeCreated": 60710.800647735596,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Boost timer): result > 0 (<class 'int'>)",
"asctime": "2023-02-15 07:14:23,707"
}
],
"time_consumption": 0.00012254714965820312
},
{
"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": 1676441664.008775,
"msecs": 8.774995803833008,
"relativeCreated": 61012.29023933411,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Setting postconditions (Default setpoint)",
"asctime": "2023-02-15 07:14:24,008",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.set_default_temperature.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/gfw/dirk/heating_valve/set_default_temperature/set",
"true"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441663.707707,
"msecs": 707.7069282531738,
"relativeCreated": 60711.22217178345,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/gfw/dirk/heating_valve/set_default_temperature/set and payload true",
"asctime": "2023-02-15 07:14:23,707"
},
{
"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": 1676441663.7198203,
"msecs": 719.8202610015869,
"relativeCreated": 60723.33550453186,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/heating_valve/boost_timer and payload b'0'",
"asctime": "2023-02-15 07:14:23,719"
},
{
"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": 1676441663.7207446,
"msecs": 720.7446098327637,
"relativeCreated": 60724.25985336304,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{\"current_heating_setpoint\": 25}'",
"asctime": "2023-02-15 07:14:23,720"
},
{
"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, \"battery\": 97}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441663.7212024,
"msecs": 721.2023735046387,
"relativeCreated": 60724.71761703491,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/dirk/heating_valve and payload {\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"battery\": 97}",
"asctime": "2023-02-15 07:14:23,721"
},
{
"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": 1676441663.7220154,
"msecs": 722.015380859375,
"relativeCreated": 60725.53062438965,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'25'",
"asctime": "2023-02-15 07:14:23,722"
},
{
"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, \"battery\": 97}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441663.723205,
"msecs": 723.2050895690918,
"relativeCreated": 60726.720333099365,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"battery\": 97}'",
"asctime": "2023-02-15 07:14:23,723"
}
],
"time_consumption": 0.2855699062347412
},
{
"name": "__tLogger__",
"msg": "Boost timer is correct (Content %s and Type is %s).",
"args": [
"0",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441664.009554,
"msecs": 9.553909301757812,
"relativeCreated": 61013.06915283203,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Boost timer is correct (Content 0 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:24,009",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Boost timer",
"0",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441664.0092137,
"msecs": 9.213685989379883,
"relativeCreated": 61012.72892951965,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Boost timer): 0 (<class 'int'>)",
"asctime": "2023-02-15 07:14:24,009"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Boost timer",
"=",
"0",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441664.009414,
"msecs": 9.413957595825195,
"relativeCreated": 61012.9292011261,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Boost timer): result = 0 (<class 'int'>)",
"asctime": "2023-02-15 07:14:24,009"
}
],
"time_consumption": 0.0001399517059326172
}
],
"time_consumption": 0.9061737060546875,
"time_start": "2023-02-15 07:14:23,103",
"time_finished": "2023-02-15 07:14:24,009"
},
"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": 1676441664.0100858,
"msecs": 10.085821151733398,
"relativeCreated": 61013.60106468201,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Default temperature test for device and virtual device: zigbee/gfw/dirk/heating_valve",
"asctime": "2023-02-15 07:14:24,010",
"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": 1676441664.3114452,
"msecs": 311.4452362060547,
"relativeCreated": 61314.96047973633,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Setting preconditions (Valve setpoint to 20.0)",
"asctime": "2023-02-15 07:14:24,311",
"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, \"battery\": 97}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441664.0106428,
"msecs": 10.642766952514648,
"relativeCreated": 61014.15801048279,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/dirk/heating_valve and payload {\"current_heating_setpoint\": 20, \"local_temperature\": 20.7, \"battery\": 97}",
"asctime": "2023-02-15 07:14:24,010"
},
{
"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, \"battery\": 97}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441664.0119236,
"msecs": 11.923551559448242,
"relativeCreated": 61015.43879508972,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{\"current_heating_setpoint\": 20, \"local_temperature\": 20.7, \"battery\": 97}'",
"asctime": "2023-02-15 07:14:24,011"
},
{
"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": 1676441664.0171921,
"msecs": 17.19212532043457,
"relativeCreated": 61020.70736885071,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{\"current_heating_setpoint\": 20}'",
"asctime": "2023-02-15 07:14:24,017"
},
{
"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": 1676441664.0175045,
"msecs": 17.504453659057617,
"relativeCreated": 61021.01969718933,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'20'",
"asctime": "2023-02-15 07:14:24,017"
},
{
"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": 1676441664.0177243,
"msecs": 17.724275588989258,
"relativeCreated": 61021.23951911926,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/heating_valve/user_temperature_setpoint and payload b'20'",
"asctime": "2023-02-15 07:14:24,017"
}
],
"time_consumption": 0.29372096061706543
},
{
"name": "__tLogger__",
"msg": "Valve temperature setpoint (is not default temperature) is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441664.311678,
"msecs": 311.6779327392578,
"relativeCreated": 61315.19317626953,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Valve temperature setpoint (is not default temperature) is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:24,311",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Valve temperature setpoint (is not default temperature)",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441664.3116124,
"msecs": 311.6123676300049,
"relativeCreated": 61315.12761116028,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Valve temperature setpoint (is not default temperature)): True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:24,311"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Valve temperature setpoint (is not default temperature)",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441664.3116486,
"msecs": 311.6486072540283,
"relativeCreated": 61315.1638507843,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Valve temperature setpoint (is not default temperature)): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:24,311"
}
],
"time_consumption": 2.9325485229492188e-05
},
{
"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": 1676441664.6123798,
"msecs": 612.379789352417,
"relativeCreated": 61615.89503288269,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Triggering set to default temperature (25.0)",
"asctime": "2023-02-15 07:14:24,612",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.set_default_temperature.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/gfw/dirk/heating_valve/set_default_temperature/set",
"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": 1676441664.3117597,
"msecs": 311.75971031188965,
"relativeCreated": 61315.27495384216,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/gfw/dirk/heating_valve/set_default_temperature/set and payload null",
"asctime": "2023-02-15 07:14:24,311"
},
{
"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": 1676441664.313448,
"msecs": 313.4479522705078,
"relativeCreated": 61316.96319580078,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/heating_valve/user_temperature_setpoint and payload b'25'",
"asctime": "2023-02-15 07:14:24,313"
},
{
"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": 1676441664.3550422,
"msecs": 355.0422191619873,
"relativeCreated": 61358.55746269226,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{\"current_heating_setpoint\": 25}'",
"asctime": "2023-02-15 07:14:24,355"
},
{
"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, \"battery\": 97}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441664.3553395,
"msecs": 355.33952713012695,
"relativeCreated": 61358.8547706604,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/dirk/heating_valve and payload {\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"battery\": 97}",
"asctime": "2023-02-15 07:14:24,355"
},
{
"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": 1676441664.3557775,
"msecs": 355.7775020599365,
"relativeCreated": 61359.29274559021,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'25'",
"asctime": "2023-02-15 07:14:24,355"
},
{
"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, \"battery\": 97}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441664.3563619,
"msecs": 356.36186599731445,
"relativeCreated": 61359.87710952759,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"battery\": 97}'",
"asctime": "2023-02-15 07:14:24,356"
}
],
"time_consumption": 0.25601792335510254
},
{
"name": "__tLogger__",
"msg": "Valve temperature setpoint is correct (Content %s and Type is %s).",
"args": [
"25",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441664.6131208,
"msecs": 613.1207942962646,
"relativeCreated": 61616.63603782654,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Valve temperature setpoint is correct (Content 25 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:24,613",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Valve temperature setpoint",
"25",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441664.6128423,
"msecs": 612.842321395874,
"relativeCreated": 61616.35756492615,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Valve temperature setpoint): 25 (<class 'int'>)",
"asctime": "2023-02-15 07:14:24,612"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Valve temperature setpoint",
"=",
"25",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441664.6129963,
"msecs": 612.9963397979736,
"relativeCreated": 61616.51158332825,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Valve temperature setpoint): result = 25 (<class 'int'>)",
"asctime": "2023-02-15 07:14:24,612"
}
],
"time_consumption": 0.00012445449829101562
}
],
"time_consumption": 0.6030349731445312,
"time_start": "2023-02-15 07:14:24,010",
"time_finished": "2023-02-15 07:14:24,613"
},
"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": 1676441664.6135857,
"msecs": 613.5857105255127,
"relativeCreated": 61617.100954055786,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Summer mode test: zigbee/gfw/dirk/heating_valve",
"asctime": "2023-02-15 07:14:24,613",
"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": 1676441664.9147394,
"msecs": 914.7393703460693,
"relativeCreated": 61918.25461387634,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Setting preconditions (Default setpoint)",
"asctime": "2023-02-15 07:14:24,914",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.set_default_temperature.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/gfw/dirk/heating_valve/set_default_temperature/set",
"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": 1676441664.613894,
"msecs": 613.893985748291,
"relativeCreated": 61617.409229278564,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/gfw/dirk/heating_valve/set_default_temperature/set and payload null",
"asctime": "2023-02-15 07:14:24,613"
}
],
"time_consumption": 0.3008453845977783
},
{
"name": "__tLogger__",
"msg": "Summer mode is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441664.9154437,
"msecs": 915.4436588287354,
"relativeCreated": 61918.95890235901,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Summer mode is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:24,915",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Summer mode",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441664.9151688,
"msecs": 915.1687622070312,
"relativeCreated": 61918.684005737305,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Summer mode): False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:24,915"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Summer mode",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441664.9153225,
"msecs": 915.3225421905518,
"relativeCreated": 61918.837785720825,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Summer mode): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:24,915"
}
],
"time_consumption": 0.00012111663818359375
},
{
"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": 1676441665.216922,
"msecs": 216.92204475402832,
"relativeCreated": 62220.4372882843,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Activating summer mode",
"asctime": "2023-02-15 07:14:25,216",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.summer_mode.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/gfw/dirk/heating_valve/summer_mode/set",
"true"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441664.9158132,
"msecs": 915.8132076263428,
"relativeCreated": 61919.328451156616,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/gfw/dirk/heating_valve/summer_mode/set and payload true",
"asctime": "2023-02-15 07:14:24,915"
},
{
"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": 1676441664.9287884,
"msecs": 928.788423538208,
"relativeCreated": 61932.30366706848,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{\"current_heating_setpoint\": 5}'",
"asctime": "2023-02-15 07:14:24,928"
},
{
"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, \"battery\": 97}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441664.9293802,
"msecs": 929.3801784515381,
"relativeCreated": 61932.89542198181,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/dirk/heating_valve and payload {\"current_heating_setpoint\": 5, \"local_temperature\": 20.7, \"battery\": 97}",
"asctime": "2023-02-15 07:14:24,929"
},
{
"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": 1676441664.9302294,
"msecs": 930.2294254302979,
"relativeCreated": 61933.74466896057,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'5'",
"asctime": "2023-02-15 07:14:24,930"
},
{
"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": 1676441664.9312153,
"msecs": 931.2152862548828,
"relativeCreated": 61934.730529785156,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/heating_valve/summer_mode and payload b'true'",
"asctime": "2023-02-15 07:14:24,931"
},
{
"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, \"battery\": 97}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441664.9319873,
"msecs": 931.9872856140137,
"relativeCreated": 61935.50252914429,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{\"current_heating_setpoint\": 5, \"local_temperature\": 20.7, \"battery\": 97}'",
"asctime": "2023-02-15 07:14:24,931"
}
],
"time_consumption": 0.28493475914001465
},
{
"name": "__tLogger__",
"msg": "Summer mode is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441665.2176902,
"msecs": 217.69022941589355,
"relativeCreated": 62221.20547294617,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Summer mode is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:25,217",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Summer mode",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441665.217387,
"msecs": 217.38696098327637,
"relativeCreated": 62220.90220451355,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Summer mode): True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:25,217"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Summer mode",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441665.2175553,
"msecs": 217.55528450012207,
"relativeCreated": 62221.070528030396,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Summer mode): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:25,217"
}
],
"time_consumption": 0.00013494491577148438
},
{
"name": "__tLogger__",
"msg": "Temperature setpoint is correct (Content %s and Type is %s).",
"args": [
"5",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441665.2181468,
"msecs": 218.14680099487305,
"relativeCreated": 62221.66204452515,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Temperature setpoint is correct (Content 5 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:25,218",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Temperature setpoint",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441665.2179081,
"msecs": 217.90814399719238,
"relativeCreated": 62221.423387527466,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Temperature setpoint): 5 (<class 'int'>)",
"asctime": "2023-02-15 07:14:25,217"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Temperature setpoint",
"=",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441665.218034,
"msecs": 218.034029006958,
"relativeCreated": 62221.54927253723,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Temperature setpoint): result = 5 (<class 'int'>)",
"asctime": "2023-02-15 07:14:25,218"
}
],
"time_consumption": 0.00011277198791503906
},
{
"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": 1676441665.5195389,
"msecs": 519.5388793945312,
"relativeCreated": 62523.054122924805,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Deactivating summer mode",
"asctime": "2023-02-15 07:14:25,519",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.summer_mode.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/gfw/dirk/heating_valve/summer_mode/set",
"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": 1676441665.2185426,
"msecs": 218.54257583618164,
"relativeCreated": 62222.057819366455,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/gfw/dirk/heating_valve/summer_mode/set and payload false",
"asctime": "2023-02-15 07:14:25,218"
},
{
"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": 1676441665.2314513,
"msecs": 231.45127296447754,
"relativeCreated": 62234.96651649475,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{\"current_heating_setpoint\": 25}'",
"asctime": "2023-02-15 07:14:25,231"
},
{
"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, \"battery\": 97}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441665.232005,
"msecs": 232.00488090515137,
"relativeCreated": 62235.520124435425,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/dirk/heating_valve and payload {\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"battery\": 97}",
"asctime": "2023-02-15 07:14:25,232"
},
{
"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": 1676441665.232857,
"msecs": 232.85698890686035,
"relativeCreated": 62236.372232437134,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'25'",
"asctime": "2023-02-15 07:14:25,232"
},
{
"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": 1676441665.2337637,
"msecs": 233.7636947631836,
"relativeCreated": 62237.27893829346,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/heating_valve/summer_mode and payload b'false'",
"asctime": "2023-02-15 07:14:25,233"
},
{
"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, \"battery\": 97}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441665.2345607,
"msecs": 234.56072807312012,
"relativeCreated": 62238.07597160339,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"battery\": 97}'",
"asctime": "2023-02-15 07:14:25,234"
}
],
"time_consumption": 0.28497815132141113
},
{
"name": "__tLogger__",
"msg": "Summer mode is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441665.5202842,
"msecs": 520.2841758728027,
"relativeCreated": 62523.799419403076,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Summer mode is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:25,520",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Summer mode",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441665.5199752,
"msecs": 519.9751853942871,
"relativeCreated": 62523.49042892456,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Summer mode): False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:25,519"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Summer mode",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441665.5201294,
"msecs": 520.1294422149658,
"relativeCreated": 62523.64468574524,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Summer mode): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:25,520"
}
],
"time_consumption": 0.00015473365783691406
},
{
"name": "__tLogger__",
"msg": "Temperature setpoint is correct (Content %s and Type is %s).",
"args": [
"25",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441665.5207007,
"msecs": 520.7006931304932,
"relativeCreated": 62524.21593666077,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Temperature setpoint is correct (Content 25 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:25,520",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Temperature setpoint",
"25",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441665.520489,
"msecs": 520.488977432251,
"relativeCreated": 62524.004220962524,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Temperature setpoint): 25 (<class 'int'>)",
"asctime": "2023-02-15 07:14:25,520"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Temperature setpoint",
"=",
"25",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441665.5205998,
"msecs": 520.5998420715332,
"relativeCreated": 62524.11508560181,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Temperature setpoint): result = 25 (<class 'int'>)",
"asctime": "2023-02-15 07:14:25,520"
}
],
"time_consumption": 0.00010085105895996094
}
],
"time_consumption": 0.9071149826049805,
"time_start": "2023-02-15 07:14:24,613",
"time_finished": "2023-02-15 07:14:25,520"
},
"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": 1676441665.5211828,
"msecs": 521.1827754974365,
"relativeCreated": 62524.69801902771,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "User temperature setpoint test for device and virtual device: zigbee/gfw/dirk/heating_valve",
"asctime": "2023-02-15 07:14:25,521",
"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": 1676441665.8225377,
"msecs": 822.5376605987549,
"relativeCreated": 62826.05290412903,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing valve temperature setpoint to '20.0'",
"asctime": "2023-02-15 07:14:25,822",
"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, \"battery\": 97}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441665.5216005,
"msecs": 521.6004848480225,
"relativeCreated": 62525.115728378296,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/dirk/heating_valve and payload {\"current_heating_setpoint\": 20, \"local_temperature\": 20.7, \"battery\": 97}",
"asctime": "2023-02-15 07:14:25,521"
},
{
"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, \"battery\": 97}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441665.522918,
"msecs": 522.9179859161377,
"relativeCreated": 62526.43322944641,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{\"current_heating_setpoint\": 20, \"local_temperature\": 20.7, \"battery\": 97}'",
"asctime": "2023-02-15 07:14:25,522"
},
{
"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": 1676441665.5275714,
"msecs": 527.571439743042,
"relativeCreated": 62531.086683273315,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{\"current_heating_setpoint\": 20}'",
"asctime": "2023-02-15 07:14:25,527"
},
{
"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": 1676441665.528169,
"msecs": 528.1689167022705,
"relativeCreated": 62531.684160232544,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'20'",
"asctime": "2023-02-15 07:14:25,528"
},
{
"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": 1676441665.5283856,
"msecs": 528.3856391906738,
"relativeCreated": 62531.90088272095,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/heating_valve/user_temperature_setpoint and payload b'20'",
"asctime": "2023-02-15 07:14:25,528"
}
],
"time_consumption": 0.29415202140808105
},
{
"name": "__tLogger__",
"msg": "Virtual device valve temperature is correct (Content %s and Type is %s).",
"args": [
"20",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441665.8231606,
"msecs": 823.1606483459473,
"relativeCreated": 62826.67589187622,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device valve temperature is correct (Content 20 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:25,823",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device valve temperature",
"20",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441665.822918,
"msecs": 822.9179382324219,
"relativeCreated": 62826.433181762695,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device valve temperature): 20 (<class 'int'>)",
"asctime": "2023-02-15 07:14:25,822"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device valve temperature",
"=",
"20",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441665.8230512,
"msecs": 823.0512142181396,
"relativeCreated": 62826.56645774841,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device valve temperature): result = 20 (<class 'int'>)",
"asctime": "2023-02-15 07:14:25,823"
}
],
"time_consumption": 0.00010943412780761719
},
{
"name": "__tLogger__",
"msg": "Virtual device user temperature is correct (Content %s and Type is %s).",
"args": [
"20",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441665.823511,
"msecs": 823.5108852386475,
"relativeCreated": 62827.02612876892,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device user temperature is correct (Content 20 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:25,823",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device user temperature",
"20",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441665.8233297,
"msecs": 823.3296871185303,
"relativeCreated": 62826.844930648804,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device user temperature): 20 (<class 'int'>)",
"asctime": "2023-02-15 07:14:25,823"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device user temperature",
"=",
"20",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441665.823425,
"msecs": 823.4250545501709,
"relativeCreated": 62826.940298080444,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device user temperature): result = 20 (<class 'int'>)",
"asctime": "2023-02-15 07:14:25,823"
}
],
"time_consumption": 8.58306884765625e-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": 1676441666.1246948,
"msecs": 124.69482421875,
"relativeCreated": 63128.21006774902,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing videv user temperature setpoint to '25.0'",
"asctime": "2023-02-15 07:14:26,124",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.user_temperature_setpoint.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/gfw/dirk/heating_valve/user_temperature_setpoint/set",
"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": 1676441665.823792,
"msecs": 823.7919807434082,
"relativeCreated": 62827.30722427368,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/gfw/dirk/heating_valve/user_temperature_setpoint/set and payload 25",
"asctime": "2023-02-15 07:14:25,823"
},
{
"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": 1676441665.8308828,
"msecs": 830.8827877044678,
"relativeCreated": 62834.39803123474,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{\"current_heating_setpoint\": 25}'",
"asctime": "2023-02-15 07:14:25,830"
},
{
"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, \"battery\": 97}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441665.8311594,
"msecs": 831.1593532562256,
"relativeCreated": 62834.6745967865,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/dirk/heating_valve and payload {\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"battery\": 97}",
"asctime": "2023-02-15 07:14:25,831"
},
{
"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": 1676441665.8316147,
"msecs": 831.6147327423096,
"relativeCreated": 62835.12997627258,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'25'",
"asctime": "2023-02-15 07:14:25,831"
},
{
"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, \"battery\": 97}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441665.83231,
"msecs": 832.3099613189697,
"relativeCreated": 62835.82520484924,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"battery\": 97}'",
"asctime": "2023-02-15 07:14:25,832"
},
{
"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": 1676441665.8749368,
"msecs": 874.9368190765381,
"relativeCreated": 62878.45206260681,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/heating_valve/user_temperature_setpoint and payload b'25'",
"asctime": "2023-02-15 07:14:25,874"
}
],
"time_consumption": 0.24975800514221191
},
{
"name": "__tLogger__",
"msg": "Valve device temperature setpoint is correct (Content %s and Type is %s).",
"args": [
"25",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441666.1253595,
"msecs": 125.35953521728516,
"relativeCreated": 63128.87477874756,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Valve device temperature setpoint is correct (Content 25 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:26,125",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Valve device temperature setpoint",
"25",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441666.1251209,
"msecs": 125.12087821960449,
"relativeCreated": 63128.63612174988,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Valve device temperature setpoint): 25 (<class 'int'>)",
"asctime": "2023-02-15 07:14:26,125"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Valve device temperature setpoint",
"=",
"25",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441666.125253,
"msecs": 125.25296211242676,
"relativeCreated": 63128.7682056427,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Valve device temperature setpoint): result = 25 (<class 'int'>)",
"asctime": "2023-02-15 07:14:26,125"
}
],
"time_consumption": 0.00010657310485839844
},
{
"name": "__tLogger__",
"msg": "Virtual device valve temperature is correct (Content %s and Type is %s).",
"args": [
"25",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441666.125708,
"msecs": 125.70810317993164,
"relativeCreated": 63129.223346710205,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device valve temperature is correct (Content 25 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:26,125",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device valve temperature",
"25",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441666.125529,
"msecs": 125.52905082702637,
"relativeCreated": 63129.0442943573,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device valve temperature): 25 (<class 'int'>)",
"asctime": "2023-02-15 07:14:26,125"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device valve temperature",
"=",
"25",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441666.1256232,
"msecs": 125.62322616577148,
"relativeCreated": 63129.138469696045,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device valve temperature): result = 25 (<class 'int'>)",
"asctime": "2023-02-15 07:14:26,125"
}
],
"time_consumption": 8.487701416015625e-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": 1676441666.4271753,
"msecs": 427.17528343200684,
"relativeCreated": 63430.69052696228,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing valve temperature setpoint to '20.0'",
"asctime": "2023-02-15 07:14:26,427",
"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, \"battery\": 97}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441666.1260843,
"msecs": 126.0843276977539,
"relativeCreated": 63129.59957122803,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/dirk/heating_valve and payload {\"current_heating_setpoint\": 20, \"local_temperature\": 20.7, \"battery\": 97}",
"asctime": "2023-02-15 07:14:26,126"
},
{
"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, \"battery\": 97}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441666.1273513,
"msecs": 127.35128402709961,
"relativeCreated": 63130.86652755737,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{\"current_heating_setpoint\": 20, \"local_temperature\": 20.7, \"battery\": 97}'",
"asctime": "2023-02-15 07:14:26,127"
},
{
"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": 1676441666.131771,
"msecs": 131.77108764648438,
"relativeCreated": 63135.28633117676,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{\"current_heating_setpoint\": 20}'",
"asctime": "2023-02-15 07:14:26,131"
},
{
"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": 1676441666.1324532,
"msecs": 132.45320320129395,
"relativeCreated": 63135.96844673157,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'20'",
"asctime": "2023-02-15 07:14:26,132"
},
{
"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": 1676441666.1331124,
"msecs": 133.11243057250977,
"relativeCreated": 63136.62767410278,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/heating_valve/user_temperature_setpoint and payload b'20'",
"asctime": "2023-02-15 07:14:26,133"
}
],
"time_consumption": 0.29406285285949707
},
{
"name": "__tLogger__",
"msg": "Virtual device valve temperature is correct (Content %s and Type is %s).",
"args": [
"20",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441666.427648,
"msecs": 427.64806747436523,
"relativeCreated": 63431.16331100464,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device valve temperature is correct (Content 20 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:26,427",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device valve temperature",
"20",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441666.4274814,
"msecs": 427.48141288757324,
"relativeCreated": 63430.99665641785,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device valve temperature): 20 (<class 'int'>)",
"asctime": "2023-02-15 07:14:26,427"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device valve temperature",
"=",
"20",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441666.4275734,
"msecs": 427.57344245910645,
"relativeCreated": 63431.08868598938,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device valve temperature): result = 20 (<class 'int'>)",
"asctime": "2023-02-15 07:14:26,427"
}
],
"time_consumption": 7.462501525878906e-05
},
{
"name": "__tLogger__",
"msg": "Virtual device user temperature is correct (Content %s and Type is %s).",
"args": [
"20",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441666.4278975,
"msecs": 427.89745330810547,
"relativeCreated": 63431.41269683838,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device user temperature is correct (Content 20 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:26,427",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device user temperature",
"20",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441666.4277632,
"msecs": 427.7632236480713,
"relativeCreated": 63431.278467178345,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device user temperature): 20 (<class 'int'>)",
"asctime": "2023-02-15 07:14:26,427"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device user temperature",
"=",
"20",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441666.4278295,
"msecs": 427.8295040130615,
"relativeCreated": 63431.344747543335,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device user temperature): result = 20 (<class 'int'>)",
"asctime": "2023-02-15 07:14:26,427"
}
],
"time_consumption": 6.794929504394531e-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": 1676441666.7289133,
"msecs": 728.9133071899414,
"relativeCreated": 63732.428550720215,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing videv user temperature setpoint to '25.0'",
"asctime": "2023-02-15 07:14:26,728",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.user_temperature_setpoint.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/gfw/dirk/heating_valve/user_temperature_setpoint/set",
"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": 1676441666.4280756,
"msecs": 428.07555198669434,
"relativeCreated": 63431.59079551697,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/gfw/dirk/heating_valve/user_temperature_setpoint/set and payload 25",
"asctime": "2023-02-15 07:14:26,428"
},
{
"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": 1676441666.431941,
"msecs": 431.94103240966797,
"relativeCreated": 63435.45627593994,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{\"current_heating_setpoint\": 25}'",
"asctime": "2023-02-15 07:14:26,431"
},
{
"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, \"battery\": 97}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441666.4322584,
"msecs": 432.25836753845215,
"relativeCreated": 63435.773611068726,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/dirk/heating_valve and payload {\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"battery\": 97}",
"asctime": "2023-02-15 07:14:26,432"
},
{
"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": 1676441666.432893,
"msecs": 432.8930377960205,
"relativeCreated": 63436.408281326294,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'25'",
"asctime": "2023-02-15 07:14:26,432"
},
{
"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": 1676441666.4336941,
"msecs": 433.69412422180176,
"relativeCreated": 63437.209367752075,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/heating_valve/user_temperature_setpoint and payload b'25'",
"asctime": "2023-02-15 07:14:26,433"
},
{
"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, \"battery\": 97}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441666.434345,
"msecs": 434.345006942749,
"relativeCreated": 63437.86025047302,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"battery\": 97}'",
"asctime": "2023-02-15 07:14:26,434"
}
],
"time_consumption": 0.2945683002471924
},
{
"name": "__tLogger__",
"msg": "Valve device temperature setpoint is correct (Content %s and Type is %s).",
"args": [
"25",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441666.7296517,
"msecs": 729.651689529419,
"relativeCreated": 63733.16693305969,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Valve device temperature setpoint is correct (Content 25 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:26,729",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Valve device temperature setpoint",
"25",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441666.7293773,
"msecs": 729.377269744873,
"relativeCreated": 63732.89251327515,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Valve device temperature setpoint): 25 (<class 'int'>)",
"asctime": "2023-02-15 07:14:26,729"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Valve device temperature setpoint",
"=",
"25",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441666.729531,
"msecs": 729.5310497283936,
"relativeCreated": 63733.04629325867,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Valve device temperature setpoint): result = 25 (<class 'int'>)",
"asctime": "2023-02-15 07:14:26,729"
}
],
"time_consumption": 0.00012063980102539062
},
{
"name": "__tLogger__",
"msg": "Virtual device valve temperature is correct (Content %s and Type is %s).",
"args": [
"25",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441666.730056,
"msecs": 730.0560474395752,
"relativeCreated": 63733.57129096985,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device valve temperature is correct (Content 25 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:26,730",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device valve temperature",
"25",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441666.7298446,
"msecs": 729.8445701599121,
"relativeCreated": 63733.359813690186,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device valve temperature): 25 (<class 'int'>)",
"asctime": "2023-02-15 07:14:26,729"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device valve temperature",
"=",
"25",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441666.7299569,
"msecs": 729.956865310669,
"relativeCreated": 63733.47210884094,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device valve temperature): result = 25 (<class 'int'>)",
"asctime": "2023-02-15 07:14:26,729"
}
],
"time_consumption": 9.918212890625e-05
}
],
"time_consumption": 1.2088732719421387,
"time_start": "2023-02-15 07:14:25,521",
"time_finished": "2023-02-15 07:14:26,730"
},
"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": 1676441666.7306707,
"msecs": 730.670690536499,
"relativeCreated": 63734.18593406677,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Brightness test for device and virtual device: zigbee/gfw/dirk/main_light",
"asctime": "2023-02-15 07:14:26,730",
"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": 1676441667.0327015,
"msecs": 32.70149230957031,
"relativeCreated": 64036.216735839844,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Setting preconditions (Power on)",
"asctime": "2023-02-15 07:14:27,032",
"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": 1676441666.730987,
"msecs": 730.9870719909668,
"relativeCreated": 63734.50231552124,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/gfw/dirk/main_light/relay/0 and payload on",
"asctime": "2023-02-15 07:14:26,730"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441666.7316542,
"msecs": 731.654167175293,
"relativeCreated": 63735.16941070557,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/dirk/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:26,731"
},
{
"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": 1676441666.7327929,
"msecs": 732.792854309082,
"relativeCreated": 63736.308097839355,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/gfw/dirk/main_light/relay/0 and payload b'on'",
"asctime": "2023-02-15 07:14:26,732"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441666.7336426,
"msecs": 733.642578125,
"relativeCreated": 63737.15782165527,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/dirk/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:26,733"
},
{
"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": 1676441666.7794025,
"msecs": 779.402494430542,
"relativeCreated": 63782.917737960815,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/main_light/state and payload b'true'",
"asctime": "2023-02-15 07:14:26,779"
},
{
"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": 1676441666.7802556,
"msecs": 780.2555561065674,
"relativeCreated": 63783.77079963684,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/main_light/brightness and payload b'50'",
"asctime": "2023-02-15 07:14:26,780"
},
{
"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": 1676441666.7808962,
"msecs": 780.8961868286133,
"relativeCreated": 63784.41143035889,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/main_light/color_temp and payload b'5'",
"asctime": "2023-02-15 07:14:26,780"
}
],
"time_consumption": 0.25180530548095703
},
{
"name": "__tLogger__",
"msg": "Virtual device brightness is correct (Content %s and Type is %s).",
"args": [
"50",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441667.0334425,
"msecs": 33.44249725341797,
"relativeCreated": 64036.95774078369,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device brightness is correct (Content 50 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:27,033",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device brightness",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441667.0331614,
"msecs": 33.16140174865723,
"relativeCreated": 64036.67664527893,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device brightness): 50 (<class 'int'>)",
"asctime": "2023-02-15 07:14:27,033"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device brightness",
"=",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441667.0333178,
"msecs": 33.31780433654785,
"relativeCreated": 64036.83304786682,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device brightness): result = 50 (<class 'int'>)",
"asctime": "2023-02-15 07:14:27,033"
}
],
"time_consumption": 0.0001246929168701172
},
{
"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": 1676441667.334744,
"msecs": 334.7439765930176,
"relativeCreated": 64338.25922012329,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing light device brightness to '65'",
"asctime": "2023-02-15 07:14:27,334",
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441667.0338418,
"msecs": 33.841848373413086,
"relativeCreated": 64037.35709190369,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/dirk/main_light and payload {\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:27,033"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441667.035163,
"msecs": 35.162925720214844,
"relativeCreated": 64038.67816925049,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/dirk/main_light and payload b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:27,035"
},
{
"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'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441667.0375204,
"msecs": 37.520408630371094,
"relativeCreated": 64041.035652160645,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/main_light/brightness and payload b'65'",
"asctime": "2023-02-15 07:14:27,037"
}
],
"time_consumption": 0.2972235679626465
},
{
"name": "__tLogger__",
"msg": "Virtual device brightness is correct (Content %s and Type is %s).",
"args": [
"65",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441667.3354971,
"msecs": 335.4971408843994,
"relativeCreated": 64339.01238441467,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device brightness is correct (Content 65 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:27,335",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device brightness",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441667.3351836,
"msecs": 335.18362045288086,
"relativeCreated": 64338.698863983154,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device brightness): 65 (<class 'int'>)",
"asctime": "2023-02-15 07:14:27,335"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device brightness",
"=",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441667.3353722,
"msecs": 335.3722095489502,
"relativeCreated": 64338.88745307922,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device brightness): result = 65 (<class 'int'>)",
"asctime": "2023-02-15 07:14:27,335"
}
],
"time_consumption": 0.00012493133544921875
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"65",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441667.3359046,
"msecs": 335.904598236084,
"relativeCreated": 64339.41984176636,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 65 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:27,335",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441667.3356948,
"msecs": 335.6947898864746,
"relativeCreated": 64339.21003341675,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 65 (<class 'int'>)",
"asctime": "2023-02-15 07:14:27,335"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441667.3358052,
"msecs": 335.80517768859863,
"relativeCreated": 64339.32042121887,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 65 (<class 'int'>)",
"asctime": "2023-02-15 07:14:27,335"
}
],
"time_consumption": 9.942054748535156e-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": 1676441667.6373587,
"msecs": 637.3586654663086,
"relativeCreated": 64640.87390899658,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device brightness to '50'",
"asctime": "2023-02-15 07:14:27,637",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.gfw.dirk.main_light.brightness.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/gfw/dirk/main_light/brightness/set",
"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": 1676441667.3362541,
"msecs": 336.2541198730469,
"relativeCreated": 64339.76936340332,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/gfw/dirk/main_light/brightness/set and payload 50",
"asctime": "2023-02-15 07:14:27,336"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441667.339667,
"msecs": 339.66708183288574,
"relativeCreated": 64343.18232536316,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/dirk/main_light/set and payload b'{\"brightness\": 128}'",
"asctime": "2023-02-15 07:14:27,339"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441667.3401837,
"msecs": 340.1837348937988,
"relativeCreated": 64343.69897842407,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/dirk/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:27,340"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441667.341436,
"msecs": 341.43590927124023,
"relativeCreated": 64344.951152801514,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/dirk/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:27,341"
},
{
"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": 1676441667.385187,
"msecs": 385.18691062927246,
"relativeCreated": 64388.702154159546,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/main_light/brightness and payload b'50'",
"asctime": "2023-02-15 07:14:27,385"
}
],
"time_consumption": 0.25217175483703613
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"50",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441667.6380858,
"msecs": 638.0858421325684,
"relativeCreated": 64641.60108566284,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 50 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:27,638",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441667.637813,
"msecs": 637.8130912780762,
"relativeCreated": 64641.32833480835,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 50 (<class 'int'>)",
"asctime": "2023-02-15 07:14:27,637"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441667.637966,
"msecs": 637.9659175872803,
"relativeCreated": 64641.481161117554,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 50 (<class 'int'>)",
"asctime": "2023-02-15 07:14:27,637"
}
],
"time_consumption": 0.00011992454528808594
},
{
"name": "__tLogger__",
"msg": "Virtual device brightness is correct (Content %s and Type is %s).",
"args": [
"50",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441667.6386003,
"msecs": 638.6003494262695,
"relativeCreated": 64642.11559295654,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device brightness is correct (Content 50 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:27,638",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device brightness",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441667.6382856,
"msecs": 638.2856369018555,
"relativeCreated": 64641.80088043213,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device brightness): 50 (<class 'int'>)",
"asctime": "2023-02-15 07:14:27,638"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device brightness",
"=",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441667.638399,
"msecs": 638.3988857269287,
"relativeCreated": 64641.9141292572,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device brightness): result = 50 (<class 'int'>)",
"asctime": "2023-02-15 07:14:27,638"
}
],
"time_consumption": 0.0002014636993408203
},
{
"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": 1676441667.9401498,
"msecs": 940.1497840881348,
"relativeCreated": 64943.66502761841,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing light device brightness to '65'",
"asctime": "2023-02-15 07:14:27,940",
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441667.6390119,
"msecs": 639.0118598937988,
"relativeCreated": 64642.52710342407,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/dirk/main_light and payload {\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:27,639"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441667.6402802,
"msecs": 640.2802467346191,
"relativeCreated": 64643.79549026489,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/dirk/main_light and payload b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:27,640"
},
{
"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'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441667.6431968,
"msecs": 643.1968212127686,
"relativeCreated": 64646.71206474304,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/main_light/brightness and payload b'65'",
"asctime": "2023-02-15 07:14:27,643"
}
],
"time_consumption": 0.2969529628753662
},
{
"name": "__tLogger__",
"msg": "Virtual device brightness is correct (Content %s and Type is %s).",
"args": [
"65",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441667.9408722,
"msecs": 940.8721923828125,
"relativeCreated": 64944.387435913086,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device brightness is correct (Content 65 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:27,940",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device brightness",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441667.940598,
"msecs": 940.5980110168457,
"relativeCreated": 64944.11325454712,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device brightness): 65 (<class 'int'>)",
"asctime": "2023-02-15 07:14:27,940"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device brightness",
"=",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441667.9407492,
"msecs": 940.7491683959961,
"relativeCreated": 64944.26441192627,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device brightness): result = 65 (<class 'int'>)",
"asctime": "2023-02-15 07:14:27,940"
}
],
"time_consumption": 0.00012302398681640625
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"65",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441667.9413197,
"msecs": 941.3197040557861,
"relativeCreated": 64944.83494758606,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 65 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:27,941",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441667.9411068,
"msecs": 941.1067962646484,
"relativeCreated": 64944.62203979492,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 65 (<class 'int'>)",
"asctime": "2023-02-15 07:14:27,941"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441667.941219,
"msecs": 941.2190914154053,
"relativeCreated": 64944.73433494568,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 65 (<class 'int'>)",
"asctime": "2023-02-15 07:14:27,941"
}
],
"time_consumption": 0.00010061264038085938
},
{
"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": 1676441668.2427437,
"msecs": 242.74373054504395,
"relativeCreated": 65246.25897407532,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device brightness to '50'",
"asctime": "2023-02-15 07:14:28,242",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.gfw.dirk.main_light.brightness.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/gfw/dirk/main_light/brightness/set",
"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": 1676441667.9415987,
"msecs": 941.598653793335,
"relativeCreated": 64945.11389732361,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/gfw/dirk/main_light/brightness/set and payload 50",
"asctime": "2023-02-15 07:14:27,941"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441667.9448597,
"msecs": 944.8597431182861,
"relativeCreated": 64948.37498664856,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/dirk/main_light/set and payload b'{\"brightness\": 128}'",
"asctime": "2023-02-15 07:14:27,944"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441667.9454083,
"msecs": 945.4083442687988,
"relativeCreated": 64948.92358779907,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/dirk/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:27,945"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441667.9466858,
"msecs": 946.685791015625,
"relativeCreated": 64950.2010345459,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/dirk/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:27,946"
},
{
"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": 1676441667.990006,
"msecs": 990.0059700012207,
"relativeCreated": 64993.521213531494,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/main_light/brightness and payload b'50'",
"asctime": "2023-02-15 07:14:27,990"
}
],
"time_consumption": 0.25273776054382324
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"50",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441668.243504,
"msecs": 243.50404739379883,
"relativeCreated": 65247.01929092407,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 50 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:28,243",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441668.243229,
"msecs": 243.22891235351562,
"relativeCreated": 65246.74415588379,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 50 (<class 'int'>)",
"asctime": "2023-02-15 07:14:28,243"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441668.2433844,
"msecs": 243.38436126708984,
"relativeCreated": 65246.89960479736,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 50 (<class 'int'>)",
"asctime": "2023-02-15 07:14:28,243"
}
],
"time_consumption": 0.00011968612670898438
},
{
"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": 1676441668.5450075,
"msecs": 545.0074672698975,
"relativeCreated": 65548.52271080017,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Resetting precondition (Power off)",
"asctime": "2023-02-15 07:14:28,545",
"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": 1676441668.243815,
"msecs": 243.81494522094727,
"relativeCreated": 65247.33018875122,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/gfw/dirk/main_light/relay/0 and payload off",
"asctime": "2023-02-15 07:14:28,243"
},
{
"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": 1676441668.2451947,
"msecs": 245.194673538208,
"relativeCreated": 65248.70991706848,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/gfw/dirk/main_light/relay/0 and payload b'off'",
"asctime": "2023-02-15 07:14:28,245"
},
{
"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": 1676441668.250086,
"msecs": 250.08606910705566,
"relativeCreated": 65253.60131263733,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/main_light/state and payload b'false'",
"asctime": "2023-02-15 07:14:28,250"
}
],
"time_consumption": 0.2949213981628418
}
],
"time_consumption": 1.8143367767333984,
"time_start": "2023-02-15 07:14:26,730",
"time_finished": "2023-02-15 07:14:28,545"
},
"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": 1676441668.5457728,
"msecs": 545.7727909088135,
"relativeCreated": 65549.28803443909,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Color temperature test for device and virtual device: zigbee/gfw/dirk/main_light",
"asctime": "2023-02-15 07:14:28,545",
"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": 1676441668.8478353,
"msecs": 847.8353023529053,
"relativeCreated": 65851.35054588318,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Setting preconditions (Power on)",
"asctime": "2023-02-15 07:14:28,847",
"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": 1676441668.5461137,
"msecs": 546.1137294769287,
"relativeCreated": 65549.6289730072,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/gfw/dirk/main_light/relay/0 and payload on",
"asctime": "2023-02-15 07:14:28,546"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441668.5468097,
"msecs": 546.8096733093262,
"relativeCreated": 65550.3249168396,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/dirk/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:28,546"
},
{
"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": 1676441668.5479991,
"msecs": 547.9991436004639,
"relativeCreated": 65551.51438713074,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/gfw/dirk/main_light/relay/0 and payload b'on'",
"asctime": "2023-02-15 07:14:28,547"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441668.5488493,
"msecs": 548.84934425354,
"relativeCreated": 65552.36458778381,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/dirk/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:28,548"
},
{
"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": 1676441668.5953872,
"msecs": 595.3872203826904,
"relativeCreated": 65598.90246391296,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/main_light/state and payload b'true'",
"asctime": "2023-02-15 07:14:28,595"
}
],
"time_consumption": 0.25244808197021484
},
{
"name": "__tLogger__",
"msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
"args": [
"5",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441668.84858,
"msecs": 848.5798835754395,
"relativeCreated": 65852.09512710571,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device color temperature is correct (Content 5 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:28,848",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device color temperature",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441668.848295,
"msecs": 848.2949733734131,
"relativeCreated": 65851.81021690369,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device color temperature): 5 (<class 'int'>)",
"asctime": "2023-02-15 07:14:28,848"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device color temperature",
"=",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441668.8484545,
"msecs": 848.454475402832,
"relativeCreated": 65851.9697189331,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device color temperature): result = 5 (<class 'int'>)",
"asctime": "2023-02-15 07:14:28,848"
}
],
"time_consumption": 0.00012540817260742188
},
{
"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": 1676441669.15016,
"msecs": 150.1600742340088,
"relativeCreated": 66153.67531776428,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing light device color temperature to '5'",
"asctime": "2023-02-15 07:14:29,150",
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441668.8489873,
"msecs": 848.987340927124,
"relativeCreated": 65852.5025844574,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/dirk/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0}",
"asctime": "2023-02-15 07:14:28,848"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441668.8502953,
"msecs": 850.2953052520752,
"relativeCreated": 65853.81054878235,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/dirk/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0}'",
"asctime": "2023-02-15 07:14:28,850"
},
{
"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'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441668.8528087,
"msecs": 852.8087139129639,
"relativeCreated": 65856.32395744324,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/main_light/color_temp and payload b'8'",
"asctime": "2023-02-15 07:14:28,852"
}
],
"time_consumption": 0.2973513603210449
},
{
"name": "__tLogger__",
"msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
"args": [
"8",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441669.1509342,
"msecs": 150.93421936035156,
"relativeCreated": 66154.44946289062,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device color temperature is correct (Content 8 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:29,150",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device color temperature",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441669.1506548,
"msecs": 150.65479278564453,
"relativeCreated": 66154.17003631592,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device color temperature): 8 (<class 'int'>)",
"asctime": "2023-02-15 07:14:29,150"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device color temperature",
"=",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441669.150812,
"msecs": 150.81191062927246,
"relativeCreated": 66154.32715415955,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device color temperature): result = 8 (<class 'int'>)",
"asctime": "2023-02-15 07:14:29,150"
}
],
"time_consumption": 0.00012230873107910156
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"8",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441669.151381,
"msecs": 151.3810157775879,
"relativeCreated": 66154.89625930786,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 8 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:29,151",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441669.1511695,
"msecs": 151.1695384979248,
"relativeCreated": 66154.6847820282,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 8 (<class 'int'>)",
"asctime": "2023-02-15 07:14:29,151"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441669.151281,
"msecs": 151.28111839294434,
"relativeCreated": 66154.79636192322,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 8 (<class 'int'>)",
"asctime": "2023-02-15 07:14:29,151"
}
],
"time_consumption": 9.989738464355469e-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": 1676441669.4526005,
"msecs": 452.60047912597656,
"relativeCreated": 66456.11572265625,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device color temperature to '5'",
"asctime": "2023-02-15 07:14:29,452",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.gfw.dirk.main_light.color_temp.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/gfw/dirk/main_light/color_temp/set",
"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": 1676441669.151714,
"msecs": 151.71408653259277,
"relativeCreated": 66155.22933006287,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/gfw/dirk/main_light/color_temp/set and payload 5",
"asctime": "2023-02-15 07:14:29,151"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441669.155029,
"msecs": 155.0290584564209,
"relativeCreated": 66158.5443019867,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/dirk/main_light/set and payload b'{\"color_temp\": 352}'",
"asctime": "2023-02-15 07:14:29,155"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441669.1555917,
"msecs": 155.5917263031006,
"relativeCreated": 66159.10696983337,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/dirk/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:29,155"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441669.156829,
"msecs": 156.8291187286377,
"relativeCreated": 66160.34436225891,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/dirk/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:29,156"
},
{
"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": 1676441669.2019517,
"msecs": 201.9517421722412,
"relativeCreated": 66205.46698570251,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/main_light/color_temp and payload b'5'",
"asctime": "2023-02-15 07:14:29,201"
}
],
"time_consumption": 0.25064873695373535
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"5",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441669.4532247,
"msecs": 453.22465896606445,
"relativeCreated": 66456.73990249634,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 5 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:29,453",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441669.4529934,
"msecs": 452.99339294433594,
"relativeCreated": 66456.50863647461,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 5 (<class 'int'>)",
"asctime": "2023-02-15 07:14:29,452"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441669.453122,
"msecs": 453.1219005584717,
"relativeCreated": 66456.63714408875,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 5 (<class 'int'>)",
"asctime": "2023-02-15 07:14:29,453"
}
],
"time_consumption": 0.00010275840759277344
},
{
"name": "__tLogger__",
"msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
"args": [
"5",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441669.4536014,
"msecs": 453.6013603210449,
"relativeCreated": 66457.11660385132,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device color temperature is correct (Content 5 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:29,453",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device color temperature",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441669.4533908,
"msecs": 453.39083671569824,
"relativeCreated": 66456.90608024597,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device color temperature): 5 (<class 'int'>)",
"asctime": "2023-02-15 07:14:29,453"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device color temperature",
"=",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441669.4535124,
"msecs": 453.51243019104004,
"relativeCreated": 66457.02767372131,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device color temperature): result = 5 (<class 'int'>)",
"asctime": "2023-02-15 07:14:29,453"
}
],
"time_consumption": 8.893013000488281e-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": 1676441669.7550132,
"msecs": 755.0132274627686,
"relativeCreated": 66758.52847099304,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing light device color temperature to '5'",
"asctime": "2023-02-15 07:14:29,755",
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441669.45393,
"msecs": 453.9299011230469,
"relativeCreated": 66457.44514465332,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/dirk/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0}",
"asctime": "2023-02-15 07:14:29,453"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441669.4550438,
"msecs": 455.0437927246094,
"relativeCreated": 66458.55903625488,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/dirk/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0}'",
"asctime": "2023-02-15 07:14:29,455"
},
{
"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'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441669.457141,
"msecs": 457.1409225463867,
"relativeCreated": 66460.65616607666,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/main_light/color_temp and payload b'8'",
"asctime": "2023-02-15 07:14:29,457"
}
],
"time_consumption": 0.29787230491638184
},
{
"name": "__tLogger__",
"msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
"args": [
"8",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441669.755738,
"msecs": 755.7380199432373,
"relativeCreated": 66759.25326347351,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device color temperature is correct (Content 8 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:29,755",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device color temperature",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441669.7554672,
"msecs": 755.4671764373779,
"relativeCreated": 66758.98241996765,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device color temperature): 8 (<class 'int'>)",
"asctime": "2023-02-15 07:14:29,755"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device color temperature",
"=",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441669.755619,
"msecs": 755.6190490722656,
"relativeCreated": 66759.13429260254,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device color temperature): result = 8 (<class 'int'>)",
"asctime": "2023-02-15 07:14:29,755"
}
],
"time_consumption": 0.00011897087097167969
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"8",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441669.756139,
"msecs": 756.1390399932861,
"relativeCreated": 66759.65428352356,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 8 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:29,756",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441669.75593,
"msecs": 755.9299468994141,
"relativeCreated": 66759.44519042969,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 8 (<class 'int'>)",
"asctime": "2023-02-15 07:14:29,755"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441669.7560394,
"msecs": 756.0393810272217,
"relativeCreated": 66759.5546245575,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 8 (<class 'int'>)",
"asctime": "2023-02-15 07:14:29,756"
}
],
"time_consumption": 9.965896606445312e-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": 1676441670.057558,
"msecs": 57.55805969238281,
"relativeCreated": 67061.07330322266,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device color temperature to '5'",
"asctime": "2023-02-15 07:14:30,057",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.gfw.dirk.main_light.color_temp.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/gfw/dirk/main_light/color_temp/set",
"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": 1676441669.7564166,
"msecs": 756.4165592193604,
"relativeCreated": 66759.93180274963,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/gfw/dirk/main_light/color_temp/set and payload 5",
"asctime": "2023-02-15 07:14:29,756"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441669.759773,
"msecs": 759.7730159759521,
"relativeCreated": 66763.28825950623,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/dirk/main_light/set and payload b'{\"color_temp\": 352}'",
"asctime": "2023-02-15 07:14:29,759"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441669.7603064,
"msecs": 760.3063583374023,
"relativeCreated": 66763.82160186768,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/dirk/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:29,760"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441669.761573,
"msecs": 761.573076248169,
"relativeCreated": 66765.08831977844,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/dirk/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:29,761"
},
{
"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": 1676441669.8040032,
"msecs": 804.0032386779785,
"relativeCreated": 66807.51848220825,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/main_light/color_temp and payload b'5'",
"asctime": "2023-02-15 07:14:29,804"
}
],
"time_consumption": 0.2535548210144043
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"5",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441670.0582893,
"msecs": 58.289289474487305,
"relativeCreated": 67061.80453300476,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 5 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:30,058",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441670.0580127,
"msecs": 58.01272392272949,
"relativeCreated": 67061.527967453,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 5 (<class 'int'>)",
"asctime": "2023-02-15 07:14:30,058"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441670.0581653,
"msecs": 58.16531181335449,
"relativeCreated": 67061.68055534363,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 5 (<class 'int'>)",
"asctime": "2023-02-15 07:14:30,058"
}
],
"time_consumption": 0.0001239776611328125
},
{
"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": 1676441670.3598008,
"msecs": 359.8008155822754,
"relativeCreated": 67363.31605911255,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Resetting precondition (Power off)",
"asctime": "2023-02-15 07:14:30,359",
"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": 1676441670.0586216,
"msecs": 58.62164497375488,
"relativeCreated": 67062.13688850403,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/gfw/dirk/main_light/relay/0 and payload off",
"asctime": "2023-02-15 07:14:30,058"
},
{
"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": 1676441670.0599477,
"msecs": 59.94772911071777,
"relativeCreated": 67063.46297264099,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/gfw/dirk/main_light/relay/0 and payload b'off'",
"asctime": "2023-02-15 07:14:30,059"
},
{
"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": 1676441670.0648332,
"msecs": 64.83316421508789,
"relativeCreated": 67068.34840774536,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/main_light/state and payload b'false'",
"asctime": "2023-02-15 07:14:30,064"
}
],
"time_consumption": 0.2949676513671875
}
],
"time_consumption": 1.814028024673462,
"time_start": "2023-02-15 07:14:28,545",
"time_finished": "2023-02-15 07:14:30,359"
},
"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": 1676441670.3605578,
"msecs": 360.55779457092285,
"relativeCreated": 67364.0730381012,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Power On/ Off test for device and virtual device: shellies/gfw/dirk/main_light",
"asctime": "2023-02-15 07:14:30,360",
"moduleLogger": [],
"testcaseLogger": [
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441670.3611376,
"msecs": 361.13762855529785,
"relativeCreated": 67364.65287208557,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:30,361",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441670.3608325,
"msecs": 360.83245277404785,
"relativeCreated": 67364.34769630432,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:30,360"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441670.361011,
"msecs": 361.0110282897949,
"relativeCreated": 67364.52627182007,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:30,361"
}
],
"time_consumption": 0.0001266002655029297
},
{
"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": 1676441670.6628563,
"msecs": 662.8563404083252,
"relativeCreated": 67666.3715839386,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing switching device state to 'True'",
"asctime": "2023-02-15 07:14:30,662",
"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": 1676441670.3614128,
"msecs": 361.41276359558105,
"relativeCreated": 67364.92800712585,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/gfw/dirk/main_light/relay/0 and payload on",
"asctime": "2023-02-15 07:14:30,361"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441670.3620436,
"msecs": 362.0436191558838,
"relativeCreated": 67365.55886268616,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/dirk/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:30,362"
},
{
"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": 1676441670.3632472,
"msecs": 363.2471561431885,
"relativeCreated": 67366.76239967346,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/gfw/dirk/main_light/relay/0 and payload b'on'",
"asctime": "2023-02-15 07:14:30,363"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441670.3641222,
"msecs": 364.1221523284912,
"relativeCreated": 67367.63739585876,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/dirk/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:30,364"
},
{
"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": 1676441670.4115777,
"msecs": 411.5777015686035,
"relativeCreated": 67415.09294509888,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/main_light/state and payload b'true'",
"asctime": "2023-02-15 07:14:30,411"
}
],
"time_consumption": 0.2512786388397217
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441670.6634893,
"msecs": 663.4893417358398,
"relativeCreated": 67667.00458526611,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:30,663",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441670.6632547,
"msecs": 663.2547378540039,
"relativeCreated": 67666.76998138428,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:30,663"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441670.6633844,
"msecs": 663.3844375610352,
"relativeCreated": 67666.89968109131,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:30,663"
}
],
"time_consumption": 0.0001049041748046875
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441670.6638374,
"msecs": 663.8374328613281,
"relativeCreated": 67667.3526763916,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:30,663",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441670.6636555,
"msecs": 663.6555194854736,
"relativeCreated": 67667.17076301575,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:30,663"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441670.6637518,
"msecs": 663.7518405914307,
"relativeCreated": 67667.2670841217,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:30,663"
}
],
"time_consumption": 8.559226989746094e-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": 1676441670.9651937,
"msecs": 965.1937484741211,
"relativeCreated": 67968.7089920044,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device state to 'False'",
"asctime": "2023-02-15 07:14:30,965",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.gfw.dirk.main_light.state.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/gfw/dirk/main_light/state/set",
"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": 1676441670.6641166,
"msecs": 664.116621017456,
"relativeCreated": 67667.63186454773,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/gfw/dirk/main_light/state/set and payload false",
"asctime": "2023-02-15 07:14:30,664"
},
{
"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": 1676441670.6672046,
"msecs": 667.2046184539795,
"relativeCreated": 67670.71986198425,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/gfw/dirk/main_light/relay/0/command and payload b'off'",
"asctime": "2023-02-15 07:14:30,667"
},
{
"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": 1676441670.6676028,
"msecs": 667.6027774810791,
"relativeCreated": 67671.11802101135,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/gfw/dirk/main_light/relay/0 and payload off",
"asctime": "2023-02-15 07:14:30,667"
},
{
"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": 1676441670.6687458,
"msecs": 668.745756149292,
"relativeCreated": 67672.26099967957,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/gfw/dirk/main_light/relay/0 and payload b'off'",
"asctime": "2023-02-15 07:14:30,668"
},
{
"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": 1676441670.7595632,
"msecs": 759.5632076263428,
"relativeCreated": 67763.07845115662,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/main_light/state and payload b'false'",
"asctime": "2023-02-15 07:14:30,759"
}
],
"time_consumption": 0.20563054084777832
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441670.9659648,
"msecs": 965.9647941589355,
"relativeCreated": 67969.48003768921,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:30,965",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441670.96565,
"msecs": 965.6500816345215,
"relativeCreated": 67969.1653251648,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:30,965"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441670.965802,
"msecs": 965.8019542694092,
"relativeCreated": 67969.31719779968,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:30,965"
}
],
"time_consumption": 0.0001628398895263672
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441670.9663954,
"msecs": 966.395378112793,
"relativeCreated": 67969.91062164307,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:30,966",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441670.9661648,
"msecs": 966.1648273468018,
"relativeCreated": 67969.68007087708,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:30,966"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441670.966275,
"msecs": 966.2749767303467,
"relativeCreated": 67969.79022026062,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:30,966"
}
],
"time_consumption": 0.00012040138244628906
},
{
"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": 1676441671.2684326,
"msecs": 268.4326171875,
"relativeCreated": 68271.94786071777,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing switching device state to 'True'",
"asctime": "2023-02-15 07:14:31,268",
"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": 1676441670.966723,
"msecs": 966.7229652404785,
"relativeCreated": 67970.23820877075,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/gfw/dirk/main_light/relay/0 and payload on",
"asctime": "2023-02-15 07:14:30,966"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441670.9673722,
"msecs": 967.3721790313721,
"relativeCreated": 67970.88742256165,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/dirk/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:30,967"
},
{
"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": 1676441670.9685833,
"msecs": 968.583345413208,
"relativeCreated": 67972.09858894348,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/gfw/dirk/main_light/relay/0 and payload b'on'",
"asctime": "2023-02-15 07:14:30,968"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441670.9698157,
"msecs": 969.815731048584,
"relativeCreated": 67973.33097457886,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/dirk/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:30,969"
},
{
"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": 1676441671.018992,
"msecs": 18.991947174072266,
"relativeCreated": 68022.50719070435,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/main_light/state and payload b'true'",
"asctime": "2023-02-15 07:14:31,018"
}
],
"time_consumption": 0.24944067001342773
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441671.269162,
"msecs": 269.1619396209717,
"relativeCreated": 68272.67718315125,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:31,269",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441671.2688904,
"msecs": 268.890380859375,
"relativeCreated": 68272.40562438965,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:31,268"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441671.2690406,
"msecs": 269.040584564209,
"relativeCreated": 68272.55582809448,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:31,269"
}
],
"time_consumption": 0.00012135505676269531
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441671.2695744,
"msecs": 269.5744037628174,
"relativeCreated": 68273.08964729309,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:31,269",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441671.2693589,
"msecs": 269.35887336730957,
"relativeCreated": 68272.87411689758,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:31,269"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441671.2694736,
"msecs": 269.4735527038574,
"relativeCreated": 68272.98879623413,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:31,269"
}
],
"time_consumption": 0.00010085105895996094
},
{
"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": 1676441671.5707057,
"msecs": 570.7056522369385,
"relativeCreated": 68574.22089576721,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device state to 'False'",
"asctime": "2023-02-15 07:14:31,570",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.gfw.dirk.main_light.state.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/gfw/dirk/main_light/state/set",
"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": 1676441671.269854,
"msecs": 269.8540687561035,
"relativeCreated": 68273.36931228638,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/gfw/dirk/main_light/state/set and payload false",
"asctime": "2023-02-15 07:14:31,269"
},
{
"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": 1676441671.2730775,
"msecs": 273.07748794555664,
"relativeCreated": 68276.59273147583,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/gfw/dirk/main_light/relay/0/command and payload b'off'",
"asctime": "2023-02-15 07:14:31,273"
},
{
"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": 1676441671.2736826,
"msecs": 273.6825942993164,
"relativeCreated": 68277.19783782959,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/gfw/dirk/main_light/relay/0 and payload off",
"asctime": "2023-02-15 07:14:31,273"
},
{
"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": 1676441671.275172,
"msecs": 275.17199516296387,
"relativeCreated": 68278.68723869324,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/gfw/dirk/main_light/relay/0 and payload b'off'",
"asctime": "2023-02-15 07:14:31,275"
},
{
"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": 1676441671.3596816,
"msecs": 359.6816062927246,
"relativeCreated": 68363.196849823,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/main_light/state and payload b'false'",
"asctime": "2023-02-15 07:14:31,359"
}
],
"time_consumption": 0.21102404594421387
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441671.571336,
"msecs": 571.336030960083,
"relativeCreated": 68574.85127449036,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:31,571",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441671.5711,
"msecs": 571.0999965667725,
"relativeCreated": 68574.61524009705,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:31,571"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441671.5712302,
"msecs": 571.2301731109619,
"relativeCreated": 68574.74541664124,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:31,571"
}
],
"time_consumption": 0.00010585784912109375
}
],
"time_consumption": 1.2107782363891602,
"time_start": "2023-02-15 07:14:30,360",
"time_finished": "2023-02-15 07:14:31,571"
},
"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": 1676441671.5718248,
"msecs": 571.8247890472412,
"relativeCreated": 68575.34003257751,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Power On/ Off test for device and virtual device: my_apps/gfw/dirk/powerplug/output/4",
"asctime": "2023-02-15 07:14:31,571",
"moduleLogger": [],
"testcaseLogger": [
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441671.572235,
"msecs": 572.235107421875,
"relativeCreated": 68575.75035095215,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:31,572",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441671.5720289,
"msecs": 572.0288753509521,
"relativeCreated": 68575.54411888123,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:31,572"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441671.5721369,
"msecs": 572.1368789672852,
"relativeCreated": 68575.65212249756,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:31,572"
}
],
"time_consumption": 9.822845458984375e-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": 1676441671.8736017,
"msecs": 873.6016750335693,
"relativeCreated": 68877.11691856384,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing switching device state to 'True'",
"asctime": "2023-02-15 07:14:31,873",
"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": 1676441671.572503,
"msecs": 572.5030899047852,
"relativeCreated": 68576.01833343506,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/4 and payload true",
"asctime": "2023-02-15 07:14:31,572"
},
{
"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": 1676441671.5736253,
"msecs": 573.6253261566162,
"relativeCreated": 68577.14056968689,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic my_apps/gfw/dirk/powerplug/output/4 and payload b'true'",
"asctime": "2023-02-15 07:14:31,573"
},
{
"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": 1676441671.5758154,
"msecs": 575.8154392242432,
"relativeCreated": 68579.33068275452,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/pc_dock/state and payload b'true'",
"asctime": "2023-02-15 07:14:31,575"
}
],
"time_consumption": 0.29778623580932617
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441671.8743994,
"msecs": 874.3994235992432,
"relativeCreated": 68877.91466712952,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:31,874",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441671.874095,
"msecs": 874.0949630737305,
"relativeCreated": 68877.610206604,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:31,874"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441671.8742635,
"msecs": 874.2635250091553,
"relativeCreated": 68877.77876853943,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:31,874"
}
],
"time_consumption": 0.00013589859008789062
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441671.8749337,
"msecs": 874.9337196350098,
"relativeCreated": 68878.44896316528,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:31,874",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441671.8746872,
"msecs": 874.6871948242188,
"relativeCreated": 68878.20243835449,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:31,874"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441671.8748171,
"msecs": 874.8171329498291,
"relativeCreated": 68878.3323764801,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:31,874"
}
],
"time_consumption": 0.00011658668518066406
},
{
"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": 1676441672.1764765,
"msecs": 176.47647857666016,
"relativeCreated": 69179.99172210693,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device state to 'False'",
"asctime": "2023-02-15 07:14:32,176",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.gfw.dirk.pc_dock.state.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/gfw/dirk/pc_dock/state/set",
"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": 1676441671.8753054,
"msecs": 875.3054141998291,
"relativeCreated": 68878.8206577301,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/gfw/dirk/pc_dock/state/set and payload false",
"asctime": "2023-02-15 07:14:31,875"
},
{
"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": 1676441671.8791049,
"msecs": 879.1048526763916,
"relativeCreated": 68882.62009620667,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic my_apps/gfw/dirk/powerplug/output/4/set and payload b'false'",
"asctime": "2023-02-15 07:14:31,879"
},
{
"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": 1676441671.879753,
"msecs": 879.7531127929688,
"relativeCreated": 68883.26835632324,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/4 and payload false",
"asctime": "2023-02-15 07:14:31,879"
},
{
"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": 1676441671.8811026,
"msecs": 881.1025619506836,
"relativeCreated": 68884.61780548096,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic my_apps/gfw/dirk/powerplug/output/4 and payload b'false'",
"asctime": "2023-02-15 07:14:31,881"
},
{
"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": 1676441671.9258678,
"msecs": 925.8677959442139,
"relativeCreated": 68929.38303947449,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/pc_dock/state and payload b'false'",
"asctime": "2023-02-15 07:14:31,925"
}
],
"time_consumption": 0.2506086826324463
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441672.1772087,
"msecs": 177.20866203308105,
"relativeCreated": 69180.72390556335,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:32,177",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441672.1769302,
"msecs": 176.93018913269043,
"relativeCreated": 69180.44543266296,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:32,176"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441672.1770835,
"msecs": 177.08349227905273,
"relativeCreated": 69180.59873580933,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:32,177"
}
],
"time_consumption": 0.0001251697540283203
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441672.177664,
"msecs": 177.66404151916504,
"relativeCreated": 69181.17928504944,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:32,177",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441672.1774049,
"msecs": 177.40488052368164,
"relativeCreated": 69180.92012405396,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:32,177"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441672.177521,
"msecs": 177.5209903717041,
"relativeCreated": 69181.03623390198,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:32,177"
}
],
"time_consumption": 0.0001430511474609375
},
{
"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": 1676441672.4790986,
"msecs": 479.0985584259033,
"relativeCreated": 69482.61380195618,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing switching device state to 'True'",
"asctime": "2023-02-15 07:14:32,479",
"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": 1676441672.177968,
"msecs": 177.96802520751953,
"relativeCreated": 69181.4832687378,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/4 and payload true",
"asctime": "2023-02-15 07:14:32,177"
},
{
"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": 1676441672.179309,
"msecs": 179.30889129638672,
"relativeCreated": 69182.82413482666,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic my_apps/gfw/dirk/powerplug/output/4 and payload b'true'",
"asctime": "2023-02-15 07:14:32,179"
},
{
"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": 1676441672.1818995,
"msecs": 181.8995475769043,
"relativeCreated": 69185.41479110718,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/pc_dock/state and payload b'true'",
"asctime": "2023-02-15 07:14:32,181"
}
],
"time_consumption": 0.297199010848999
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441672.4798267,
"msecs": 479.8266887664795,
"relativeCreated": 69483.34193229675,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:32,479",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441672.4795532,
"msecs": 479.55322265625,
"relativeCreated": 69483.06846618652,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:32,479"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441672.4797049,
"msecs": 479.7048568725586,
"relativeCreated": 69483.22010040283,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:32,479"
}
],
"time_consumption": 0.00012183189392089844
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441672.4803016,
"msecs": 480.3016185760498,
"relativeCreated": 69483.81686210632,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:32,480",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441672.4800663,
"msecs": 480.06629943847656,
"relativeCreated": 69483.58154296875,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:32,480"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441672.4801853,
"msecs": 480.18527030944824,
"relativeCreated": 69483.70051383972,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:32,480"
}
],
"time_consumption": 0.0001163482666015625
},
{
"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": 1676441672.781709,
"msecs": 781.7089557647705,
"relativeCreated": 69785.22419929504,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device state to 'False'",
"asctime": "2023-02-15 07:14:32,781",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.gfw.dirk.pc_dock.state.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/gfw/dirk/pc_dock/state/set",
"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": 1676441672.4805844,
"msecs": 480.58438301086426,
"relativeCreated": 69484.09962654114,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/gfw/dirk/pc_dock/state/set and payload false",
"asctime": "2023-02-15 07:14:32,480"
},
{
"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": 1676441672.4838674,
"msecs": 483.8674068450928,
"relativeCreated": 69487.38265037537,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic my_apps/gfw/dirk/powerplug/output/4/set and payload b'false'",
"asctime": "2023-02-15 07:14:32,483"
},
{
"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": 1676441672.4844742,
"msecs": 484.47418212890625,
"relativeCreated": 69487.98942565918,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/4 and payload false",
"asctime": "2023-02-15 07:14:32,484"
},
{
"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": 1676441672.4858294,
"msecs": 485.82935333251953,
"relativeCreated": 69489.3445968628,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic my_apps/gfw/dirk/powerplug/output/4 and payload b'false'",
"asctime": "2023-02-15 07:14:32,485"
},
{
"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": 1676441672.5295246,
"msecs": 529.524564743042,
"relativeCreated": 69533.03980827332,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/dirk/pc_dock/state and payload b'false'",
"asctime": "2023-02-15 07:14:32,529"
}
],
"time_consumption": 0.2521843910217285
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441672.7825224,
"msecs": 782.522439956665,
"relativeCreated": 69786.03768348694,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:32,782",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441672.7821643,
"msecs": 782.1643352508545,
"relativeCreated": 69785.67957878113,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:32,782"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441672.782318,
"msecs": 782.318115234375,
"relativeCreated": 69785.83335876465,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:32,782"
}
],
"time_consumption": 0.00020432472229003906
}
],
"time_consumption": 1.2106976509094238,
"time_start": "2023-02-15 07:14:31,571",
"time_finished": "2023-02-15 07:14:32,782"
},
"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": 1676441672.7830873,
"msecs": 783.0872535705566,
"relativeCreated": 69786.60249710083,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Brightness test for device and virtual device: zigbee/gfw/floor/main_light_1",
"asctime": "2023-02-15 07:14:32,783",
"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": 1676441673.0846357,
"msecs": 84.63573455810547,
"relativeCreated": 70088.15097808838,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Setting preconditions (Power on)",
"asctime": "2023-02-15 07:14:33,084",
"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": 1676441672.7834294,
"msecs": 783.4293842315674,
"relativeCreated": 69786.94462776184,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/gfw/floor/main_light/relay/0 and payload on",
"asctime": "2023-02-15 07:14:32,783"
},
{
"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": 1676441672.7848582,
"msecs": 784.858226776123,
"relativeCreated": 69788.3734703064,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/gfw/floor/main_light/relay/0 and payload b'on'",
"asctime": "2023-02-15 07:14:32,784"
},
{
"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": 1676441672.788493,
"msecs": 788.4929180145264,
"relativeCreated": 69792.0081615448,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/floor/main_light_1/get and payload b'{\"state\": \"\"}'",
"asctime": "2023-02-15 07:14:32,788"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441672.7890756,
"msecs": 789.0756130218506,
"relativeCreated": 69792.59085655212,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/floor/main_light_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:32,789"
},
{
"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": 1676441672.7905633,
"msecs": 790.5633449554443,
"relativeCreated": 69794.07858848572,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/floor/main_light_2/get and payload b'{\"state\": \"\"}'",
"asctime": "2023-02-15 07:14:32,790"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441672.7910676,
"msecs": 791.0676002502441,
"relativeCreated": 69794.58284378052,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/floor/main_light_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:32,791"
},
{
"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": 1676441672.7921062,
"msecs": 792.1061515808105,
"relativeCreated": 69795.62139511108,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/floor/main_light/state and payload b'true'",
"asctime": "2023-02-15 07:14:32,792"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441672.7928476,
"msecs": 792.8476333618164,
"relativeCreated": 69796.36287689209,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:32,792"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441672.7936823,
"msecs": 793.682336807251,
"relativeCreated": 69797.19758033752,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/floor/main_light_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:32,793"
},
{
"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": 1676441672.8390198,
"msecs": 839.019775390625,
"relativeCreated": 69842.5350189209,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/floor/main_light/brightness and payload b'50'",
"asctime": "2023-02-15 07:14:32,839"
},
{
"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": 1676441672.8756568,
"msecs": 875.6568431854248,
"relativeCreated": 69879.1720867157,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/floor/main_light/color_temp and payload b'5'",
"asctime": "2023-02-15 07:14:32,875"
}
],
"time_consumption": 0.20897889137268066
},
{
"name": "__tLogger__",
"msg": "Virtual device brightness is correct (Content %s and Type is %s).",
"args": [
"50",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441673.085401,
"msecs": 85.40105819702148,
"relativeCreated": 70088.9163017273,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device brightness is correct (Content 50 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:33,085",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device brightness",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441673.0850863,
"msecs": 85.08634567260742,
"relativeCreated": 70088.60158920288,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device brightness): 50 (<class 'int'>)",
"asctime": "2023-02-15 07:14:33,085"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device brightness",
"=",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441673.0852768,
"msecs": 85.27684211730957,
"relativeCreated": 70088.79208564758,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device brightness): result = 50 (<class 'int'>)",
"asctime": "2023-02-15 07:14:33,085"
}
],
"time_consumption": 0.00012421607971191406
},
{
"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": 1676441673.386983,
"msecs": 386.98291778564453,
"relativeCreated": 70390.49816131592,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing light device brightness to '65'",
"asctime": "2023-02-15 07:14:33,386",
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441673.0858033,
"msecs": 85.80327033996582,
"relativeCreated": 70089.31851387024,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/floor/main_light_1 and payload {\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:33,085"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441673.0870655,
"msecs": 87.06545829772949,
"relativeCreated": 70090.580701828,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:33,087"
},
{
"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'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441673.0895133,
"msecs": 89.51330184936523,
"relativeCreated": 70093.02854537964,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/floor/main_light/brightness and payload b'65'",
"asctime": "2023-02-15 07:14:33,089"
}
],
"time_consumption": 0.2974696159362793
},
{
"name": "__tLogger__",
"msg": "Virtual device brightness is correct (Content %s and Type is %s).",
"args": [
"65",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441673.387703,
"msecs": 387.70294189453125,
"relativeCreated": 70391.2181854248,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device brightness is correct (Content 65 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:33,387",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device brightness",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441673.3874333,
"msecs": 387.4332904815674,
"relativeCreated": 70390.94853401184,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device brightness): 65 (<class 'int'>)",
"asctime": "2023-02-15 07:14:33,387"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device brightness",
"=",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441673.3875825,
"msecs": 387.58254051208496,
"relativeCreated": 70391.09778404236,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device brightness): result = 65 (<class 'int'>)",
"asctime": "2023-02-15 07:14:33,387"
}
],
"time_consumption": 0.00012040138244628906
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"65",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441673.3881533,
"msecs": 388.1533145904541,
"relativeCreated": 70391.66855812073,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 65 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:33,388",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441673.387898,
"msecs": 387.8979682922363,
"relativeCreated": 70391.41321182251,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 65 (<class 'int'>)",
"asctime": "2023-02-15 07:14:33,387"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441673.3880067,
"msecs": 388.00668716430664,
"relativeCreated": 70391.52193069458,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 65 (<class 'int'>)",
"asctime": "2023-02-15 07:14:33,388"
}
],
"time_consumption": 0.00014662742614746094
},
{
"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": 1676441673.6896174,
"msecs": 689.617395401001,
"relativeCreated": 70693.13263893127,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device brightness to '50'",
"asctime": "2023-02-15 07:14:33,689",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.gfw.floor.main_light.brightness.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/gfw/floor/main_light/brightness/set",
"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": 1676441673.388487,
"msecs": 388.4871006011963,
"relativeCreated": 70392.00234413147,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/gfw/floor/main_light/brightness/set and payload 50",
"asctime": "2023-02-15 07:14:33,388"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441673.3924503,
"msecs": 392.45033264160156,
"relativeCreated": 70395.96557617188,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/floor/main_light_1/set and payload b'{\"brightness\": 128}'",
"asctime": "2023-02-15 07:14:33,392"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441673.3929257,
"msecs": 392.9257392883301,
"relativeCreated": 70396.4409828186,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/floor/main_light_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:33,392"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441673.3938618,
"msecs": 393.8617706298828,
"relativeCreated": 70397.37701416016,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/floor/main_light_2/set and payload b'{\"brightness\": 128}'",
"asctime": "2023-02-15 07:14:33,393"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441673.3950493,
"msecs": 395.0493335723877,
"relativeCreated": 70398.56457710266,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:33,395"
},
{
"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": 1676441673.439008,
"msecs": 439.0079975128174,
"relativeCreated": 70442.52324104309,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/floor/main_light/brightness and payload b'50'",
"asctime": "2023-02-15 07:14:33,439"
}
],
"time_consumption": 0.2506093978881836
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"50",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441673.6903648,
"msecs": 690.3648376464844,
"relativeCreated": 70693.88008117676,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 50 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:33,690",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441673.690089,
"msecs": 690.0889873504639,
"relativeCreated": 70693.60423088074,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 50 (<class 'int'>)",
"asctime": "2023-02-15 07:14:33,690"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441673.6902432,
"msecs": 690.2432441711426,
"relativeCreated": 70693.75848770142,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 50 (<class 'int'>)",
"asctime": "2023-02-15 07:14:33,690"
}
],
"time_consumption": 0.00012159347534179688
},
{
"name": "__tLogger__",
"msg": "Virtual device brightness is correct (Content %s and Type is %s).",
"args": [
"50",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441673.6908345,
"msecs": 690.8345222473145,
"relativeCreated": 70694.34976577759,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device brightness is correct (Content 50 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:33,690",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device brightness",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441673.6906085,
"msecs": 690.6085014343262,
"relativeCreated": 70694.1237449646,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device brightness): 50 (<class 'int'>)",
"asctime": "2023-02-15 07:14:33,690"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device brightness",
"=",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441673.690722,
"msecs": 690.7219886779785,
"relativeCreated": 70694.23723220825,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device brightness): result = 50 (<class 'int'>)",
"asctime": "2023-02-15 07:14:33,690"
}
],
"time_consumption": 0.0001125335693359375
},
{
"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": 1676441673.9922864,
"msecs": 992.2864437103271,
"relativeCreated": 70995.8016872406,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing light device brightness to '65'",
"asctime": "2023-02-15 07:14:33,992",
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441673.6911578,
"msecs": 691.1578178405762,
"relativeCreated": 70694.67306137085,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/floor/main_light_1 and payload {\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:33,691"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441673.6922905,
"msecs": 692.2905445098877,
"relativeCreated": 70695.80578804016,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:33,692"
},
{
"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'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441673.6943572,
"msecs": 694.35715675354,
"relativeCreated": 70697.87240028381,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/floor/main_light/brightness and payload b'65'",
"asctime": "2023-02-15 07:14:33,694"
}
],
"time_consumption": 0.2979292869567871
},
{
"name": "__tLogger__",
"msg": "Virtual device brightness is correct (Content %s and Type is %s).",
"args": [
"65",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441673.993057,
"msecs": 993.0570125579834,
"relativeCreated": 70996.57225608826,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device brightness is correct (Content 65 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:33,993",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device brightness",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441673.992787,
"msecs": 992.7868843078613,
"relativeCreated": 70996.30212783813,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device brightness): 65 (<class 'int'>)",
"asctime": "2023-02-15 07:14:33,992"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device brightness",
"=",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441673.9929383,
"msecs": 992.9382801055908,
"relativeCreated": 70996.45352363586,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device brightness): result = 65 (<class 'int'>)",
"asctime": "2023-02-15 07:14:33,992"
}
],
"time_consumption": 0.00011873245239257812
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"65",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441673.9934585,
"msecs": 993.4585094451904,
"relativeCreated": 70996.97375297546,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 65 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:33,993",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441673.9932518,
"msecs": 993.2518005371094,
"relativeCreated": 70996.76704406738,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 65 (<class 'int'>)",
"asctime": "2023-02-15 07:14:33,993"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"65",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441673.9933603,
"msecs": 993.3602809906006,
"relativeCreated": 70996.87552452087,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 65 (<class 'int'>)",
"asctime": "2023-02-15 07:14:33,993"
}
],
"time_consumption": 9.822845458984375e-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": 1676441674.294925,
"msecs": 294.9249744415283,
"relativeCreated": 71298.4402179718,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device brightness to '50'",
"asctime": "2023-02-15 07:14:34,294",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.gfw.floor.main_light.brightness.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/gfw/floor/main_light/brightness/set",
"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": 1676441673.9937384,
"msecs": 993.7384128570557,
"relativeCreated": 70997.25365638733,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/gfw/floor/main_light/brightness/set and payload 50",
"asctime": "2023-02-15 07:14:33,993"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441673.997556,
"msecs": 997.5559711456299,
"relativeCreated": 71001.0712146759,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/floor/main_light_1/set and payload b'{\"brightness\": 128}'",
"asctime": "2023-02-15 07:14:33,997"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441673.998035,
"msecs": 998.0349540710449,
"relativeCreated": 71001.55019760132,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/floor/main_light_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:33,998"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441673.998933,
"msecs": 998.9330768585205,
"relativeCreated": 71002.4483203888,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/floor/main_light_2/set and payload b'{\"brightness\": 128}'",
"asctime": "2023-02-15 07:14:33,998"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441674.0000832,
"msecs": 0.08320808410644531,
"relativeCreated": 71003.59845161438,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:34,000"
},
{
"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": 1676441674.0430593,
"msecs": 43.059349060058594,
"relativeCreated": 71046.57459259033,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/floor/main_light/brightness and payload b'50'",
"asctime": "2023-02-15 07:14:34,043"
}
],
"time_consumption": 0.2518656253814697
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"50",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441674.2956553,
"msecs": 295.6552505493164,
"relativeCreated": 71299.17049407959,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 50 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:34,295",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441674.2953808,
"msecs": 295.3808307647705,
"relativeCreated": 71298.89607429504,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 50 (<class 'int'>)",
"asctime": "2023-02-15 07:14:34,295"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441674.2955325,
"msecs": 295.5324649810791,
"relativeCreated": 71299.04770851135,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 50 (<class 'int'>)",
"asctime": "2023-02-15 07:14:34,295"
}
],
"time_consumption": 0.0001227855682373047
},
{
"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": 1676441674.5969188,
"msecs": 596.9188213348389,
"relativeCreated": 71600.43406486511,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Resetting precondition (Power off)",
"asctime": "2023-02-15 07:14:34,596",
"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": 1676441674.2959442,
"msecs": 295.9442138671875,
"relativeCreated": 71299.45945739746,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/gfw/floor/main_light/relay/0 and payload off",
"asctime": "2023-02-15 07:14:34,295"
},
{
"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": 1676441674.2973444,
"msecs": 297.344446182251,
"relativeCreated": 71300.85968971252,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/gfw/floor/main_light/relay/0 and payload b'off'",
"asctime": "2023-02-15 07:14:34,297"
},
{
"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": 1676441674.2997518,
"msecs": 299.75175857543945,
"relativeCreated": 71303.26700210571,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/floor/main_light/state and payload b'false'",
"asctime": "2023-02-15 07:14:34,299"
}
],
"time_consumption": 0.2971670627593994
}
],
"time_consumption": 1.8138315677642822,
"time_start": "2023-02-15 07:14:32,783",
"time_finished": "2023-02-15 07:14:34,596"
},
"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": 1676441674.5975647,
"msecs": 597.564697265625,
"relativeCreated": 71601.0799407959,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Color temperature test for device and virtual device: zigbee/gfw/floor/main_light_1",
"asctime": "2023-02-15 07:14:34,597",
"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": 1676441674.899058,
"msecs": 899.0581035614014,
"relativeCreated": 71902.57334709167,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Setting preconditions (Power on)",
"asctime": "2023-02-15 07:14:34,899",
"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": 1676441674.5978377,
"msecs": 597.8376865386963,
"relativeCreated": 71601.35293006897,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/gfw/floor/main_light/relay/0 and payload on",
"asctime": "2023-02-15 07:14:34,597"
},
{
"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": 1676441674.5990598,
"msecs": 599.0598201751709,
"relativeCreated": 71602.57506370544,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/gfw/floor/main_light/relay/0 and payload b'on'",
"asctime": "2023-02-15 07:14:34,599"
},
{
"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": 1676441674.6031063,
"msecs": 603.1062602996826,
"relativeCreated": 71606.62150382996,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/floor/main_light_1/get and payload b'{\"state\": \"\"}'",
"asctime": "2023-02-15 07:14:34,603"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441674.6034813,
"msecs": 603.4812927246094,
"relativeCreated": 71606.99653625488,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/floor/main_light_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:34,603"
},
{
"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": 1676441674.6039088,
"msecs": 603.9087772369385,
"relativeCreated": 71607.42402076721,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/floor/main_light_2/get and payload b'{\"state\": \"\"}'",
"asctime": "2023-02-15 07:14:34,603"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441674.6039865,
"msecs": 603.9865016937256,
"relativeCreated": 71607.501745224,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/floor/main_light_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:34,603"
},
{
"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": 1676441674.6042013,
"msecs": 604.2013168334961,
"relativeCreated": 71607.71656036377,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/floor/main_light/state and payload b'true'",
"asctime": "2023-02-15 07:14:34,604"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441674.6043735,
"msecs": 604.3734550476074,
"relativeCreated": 71607.88869857788,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:34,604"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441674.604528,
"msecs": 604.5279502868652,
"relativeCreated": 71608.04319381714,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/floor/main_light_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:34,604"
}
],
"time_consumption": 0.29453015327453613
},
{
"name": "__tLogger__",
"msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
"args": [
"5",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441674.8997889,
"msecs": 899.7888565063477,
"relativeCreated": 71903.30410003662,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device color temperature is correct (Content 5 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:34,899",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device color temperature",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441674.899509,
"msecs": 899.5089530944824,
"relativeCreated": 71903.02419662476,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device color temperature): 5 (<class 'int'>)",
"asctime": "2023-02-15 07:14:34,899"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device color temperature",
"=",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441674.8996658,
"msecs": 899.6658325195312,
"relativeCreated": 71903.1810760498,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device color temperature): result = 5 (<class 'int'>)",
"asctime": "2023-02-15 07:14:34,899"
}
],
"time_consumption": 0.00012302398681640625
},
{
"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": 1676441675.201397,
"msecs": 201.39694213867188,
"relativeCreated": 72204.91218566895,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing light device color temperature to '5'",
"asctime": "2023-02-15 07:14:35,201",
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441674.9002273,
"msecs": 900.2273082733154,
"relativeCreated": 71903.74255180359,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/floor/main_light_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0}",
"asctime": "2023-02-15 07:14:34,900"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441674.9014971,
"msecs": 901.4971256256104,
"relativeCreated": 71905.01236915588,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0}'",
"asctime": "2023-02-15 07:14:34,901"
},
{
"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'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441674.9039185,
"msecs": 903.9185047149658,
"relativeCreated": 71907.43374824524,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/floor/main_light/color_temp and payload b'8'",
"asctime": "2023-02-15 07:14:34,903"
}
],
"time_consumption": 0.29747843742370605
},
{
"name": "__tLogger__",
"msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
"args": [
"8",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441675.2022552,
"msecs": 202.2552490234375,
"relativeCreated": 72205.77049255371,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device color temperature is correct (Content 8 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:35,202",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device color temperature",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441675.2019475,
"msecs": 201.94745063781738,
"relativeCreated": 72205.46269416809,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device color temperature): 8 (<class 'int'>)",
"asctime": "2023-02-15 07:14:35,201"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device color temperature",
"=",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441675.2021172,
"msecs": 202.1172046661377,
"relativeCreated": 72205.63244819641,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device color temperature): result = 8 (<class 'int'>)",
"asctime": "2023-02-15 07:14:35,202"
}
],
"time_consumption": 0.0001380443572998047
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"8",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441675.2027879,
"msecs": 202.7878761291504,
"relativeCreated": 72206.30311965942,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 8 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:35,202",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441675.2025352,
"msecs": 202.53515243530273,
"relativeCreated": 72206.05039596558,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 8 (<class 'int'>)",
"asctime": "2023-02-15 07:14:35,202"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441675.2026713,
"msecs": 202.67128944396973,
"relativeCreated": 72206.18653297424,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 8 (<class 'int'>)",
"asctime": "2023-02-15 07:14:35,202"
}
],
"time_consumption": 0.00011658668518066406
},
{
"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": 1676441675.504343,
"msecs": 504.34303283691406,
"relativeCreated": 72507.85827636719,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device color temperature to '5'",
"asctime": "2023-02-15 07:14:35,504",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.gfw.floor.main_light.color_temp.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/gfw/floor/main_light/color_temp/set",
"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": 1676441675.2031767,
"msecs": 203.17673683166504,
"relativeCreated": 72206.69198036194,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/gfw/floor/main_light/color_temp/set and payload 5",
"asctime": "2023-02-15 07:14:35,203"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441675.2069905,
"msecs": 206.99048042297363,
"relativeCreated": 72210.50572395325,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/floor/main_light_1/set and payload b'{\"color_temp\": 352}'",
"asctime": "2023-02-15 07:14:35,206"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441675.2074692,
"msecs": 207.46922492980957,
"relativeCreated": 72210.98446846008,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/floor/main_light_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:35,207"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441675.208364,
"msecs": 208.36400985717773,
"relativeCreated": 72211.87925338745,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/floor/main_light_2/set and payload b'{\"color_temp\": 352}'",
"asctime": "2023-02-15 07:14:35,208"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441675.2095277,
"msecs": 209.52773094177246,
"relativeCreated": 72213.04297447205,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:35,209"
},
{
"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": 1676441675.2546413,
"msecs": 254.64129447937012,
"relativeCreated": 72258.15653800964,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/floor/main_light/color_temp and payload b'5'",
"asctime": "2023-02-15 07:14:35,254"
}
],
"time_consumption": 0.24970173835754395
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"5",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441675.5051877,
"msecs": 505.1877498626709,
"relativeCreated": 72508.70299339294,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 5 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:35,505",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441675.5048375,
"msecs": 504.8375129699707,
"relativeCreated": 72508.35275650024,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 5 (<class 'int'>)",
"asctime": "2023-02-15 07:14:35,504"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441675.5050483,
"msecs": 505.0482749938965,
"relativeCreated": 72508.56351852417,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 5 (<class 'int'>)",
"asctime": "2023-02-15 07:14:35,505"
}
],
"time_consumption": 0.00013947486877441406
},
{
"name": "__tLogger__",
"msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
"args": [
"5",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441675.5056624,
"msecs": 505.6624412536621,
"relativeCreated": 72509.17768478394,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device color temperature is correct (Content 5 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:35,505",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device color temperature",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441675.505426,
"msecs": 505.42593002319336,
"relativeCreated": 72508.94117355347,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device color temperature): 5 (<class 'int'>)",
"asctime": "2023-02-15 07:14:35,505"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device color temperature",
"=",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441675.5055509,
"msecs": 505.5508613586426,
"relativeCreated": 72509.06610488892,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device color temperature): result = 5 (<class 'int'>)",
"asctime": "2023-02-15 07:14:35,505"
}
],
"time_consumption": 0.00011157989501953125
},
{
"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": 1676441675.806949,
"msecs": 806.9489002227783,
"relativeCreated": 72810.46414375305,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing light device color temperature to '5'",
"asctime": "2023-02-15 07:14:35,806",
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441675.506078,
"msecs": 506.07800483703613,
"relativeCreated": 72509.59324836731,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/floor/main_light_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0}",
"asctime": "2023-02-15 07:14:35,506"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441675.5074074,
"msecs": 507.40742683410645,
"relativeCreated": 72510.92267036438,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0}'",
"asctime": "2023-02-15 07:14:35,507"
},
{
"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'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441675.509822,
"msecs": 509.82189178466797,
"relativeCreated": 72513.33713531494,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/floor/main_light/color_temp and payload b'8'",
"asctime": "2023-02-15 07:14:35,509"
}
],
"time_consumption": 0.29712700843811035
},
{
"name": "__tLogger__",
"msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
"args": [
"8",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441675.8071709,
"msecs": 807.1708679199219,
"relativeCreated": 72810.6861114502,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device color temperature is correct (Content 8 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:35,807",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device color temperature",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441675.8070977,
"msecs": 807.0976734161377,
"relativeCreated": 72810.61291694641,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device color temperature): 8 (<class 'int'>)",
"asctime": "2023-02-15 07:14:35,807"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device color temperature",
"=",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441675.807143,
"msecs": 807.142972946167,
"relativeCreated": 72810.65821647644,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device color temperature): result = 8 (<class 'int'>)",
"asctime": "2023-02-15 07:14:35,807"
}
],
"time_consumption": 2.7894973754882812e-05
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"8",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441675.8072617,
"msecs": 807.2617053985596,
"relativeCreated": 72810.77694892883,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 8 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:35,807",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441675.8072152,
"msecs": 807.2152137756348,
"relativeCreated": 72810.73045730591,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 8 (<class 'int'>)",
"asctime": "2023-02-15 07:14:35,807"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"8",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441675.8072398,
"msecs": 807.2397708892822,
"relativeCreated": 72810.75501441956,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 8 (<class 'int'>)",
"asctime": "2023-02-15 07:14:35,807"
}
],
"time_consumption": 2.193450927734375e-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": 1676441676.1081855,
"msecs": 108.1855297088623,
"relativeCreated": 73111.70077323914,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device color temperature to '5'",
"asctime": "2023-02-15 07:14:36,108",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.gfw.floor.main_light.color_temp.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/gfw/floor/main_light/color_temp/set",
"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": 1676441675.807336,
"msecs": 807.3360919952393,
"relativeCreated": 72810.85133552551,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/gfw/floor/main_light/color_temp/set and payload 5",
"asctime": "2023-02-15 07:14:35,807"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441675.8084443,
"msecs": 808.4442615509033,
"relativeCreated": 72811.95950508118,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/floor/main_light_1/set and payload b'{\"color_temp\": 352}'",
"asctime": "2023-02-15 07:14:35,808"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441675.8085744,
"msecs": 808.5744380950928,
"relativeCreated": 72812.08968162537,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/floor/main_light_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:35,808"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441675.8087811,
"msecs": 808.7811470031738,
"relativeCreated": 72812.29639053345,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/floor/main_light_2/set and payload b'{\"color_temp\": 352}'",
"asctime": "2023-02-15 07:14:35,808"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441675.8090842,
"msecs": 809.0841770172119,
"relativeCreated": 72812.59942054749,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:35,809"
},
{
"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": 1676441675.8518012,
"msecs": 851.8011569976807,
"relativeCreated": 72855.31640052795,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/floor/main_light/color_temp and payload b'5'",
"asctime": "2023-02-15 07:14:35,851"
}
],
"time_consumption": 0.25638437271118164
},
{
"name": "__tLogger__",
"msg": "Light device brightness is correct (Content %s and Type is %s).",
"args": [
"5",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441676.1089547,
"msecs": 108.95466804504395,
"relativeCreated": 73112.46991157532,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Light device brightness is correct (Content 5 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:36,108",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Light device brightness",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441676.1086683,
"msecs": 108.66832733154297,
"relativeCreated": 73112.18357086182,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Light device brightness): 5 (<class 'int'>)",
"asctime": "2023-02-15 07:14:36,108"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Light device brightness",
"=",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441676.1088204,
"msecs": 108.82043838500977,
"relativeCreated": 73112.33568191528,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Light device brightness): result = 5 (<class 'int'>)",
"asctime": "2023-02-15 07:14:36,108"
}
],
"time_consumption": 0.0001342296600341797
},
{
"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": 1676441676.4105265,
"msecs": 410.5265140533447,
"relativeCreated": 73414.04175758362,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Resetting precondition (Power off)",
"asctime": "2023-02-15 07:14:36,410",
"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": 1676441676.1092474,
"msecs": 109.24744606018066,
"relativeCreated": 73112.76268959045,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/gfw/floor/main_light/relay/0 and payload off",
"asctime": "2023-02-15 07:14:36,109"
},
{
"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": 1676441676.1111794,
"msecs": 111.17935180664062,
"relativeCreated": 73114.69459533691,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/gfw/floor/main_light/relay/0 and payload b'off'",
"asctime": "2023-02-15 07:14:36,111"
},
{
"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": 1676441676.1129858,
"msecs": 112.98584938049316,
"relativeCreated": 73116.50109291077,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/floor/main_light/state and payload b'false'",
"asctime": "2023-02-15 07:14:36,112"
}
],
"time_consumption": 0.29754066467285156
}
],
"time_consumption": 1.8129618167877197,
"time_start": "2023-02-15 07:14:34,597",
"time_finished": "2023-02-15 07:14:36,410"
},
"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": 1676441676.4112914,
"msecs": 411.29136085510254,
"relativeCreated": 73414.80660438538,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Power On/ Off test for device and virtual device: shellies/gfw/floor/main_light",
"asctime": "2023-02-15 07:14:36,411",
"moduleLogger": [],
"testcaseLogger": [
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441676.4118311,
"msecs": 411.8311405181885,
"relativeCreated": 73415.34638404846,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:36,411",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441676.4115677,
"msecs": 411.56768798828125,
"relativeCreated": 73415.08293151855,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:36,411"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441676.4117112,
"msecs": 411.7112159729004,
"relativeCreated": 73415.22645950317,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:36,411"
}
],
"time_consumption": 0.00011992454528808594
},
{
"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": 1676441676.713274,
"msecs": 713.2740020751953,
"relativeCreated": 73716.78924560547,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing switching device state to 'True'",
"asctime": "2023-02-15 07:14:36,713",
"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": 1676441676.4121017,
"msecs": 412.10174560546875,
"relativeCreated": 73415.61698913574,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/gfw/floor/main_light/relay/0 and payload on",
"asctime": "2023-02-15 07:14:36,412"
},
{
"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": 1676441676.4134448,
"msecs": 413.44475746154785,
"relativeCreated": 73416.96000099182,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/gfw/floor/main_light/relay/0 and payload b'on'",
"asctime": "2023-02-15 07:14:36,413"
},
{
"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": 1676441676.4164963,
"msecs": 416.49627685546875,
"relativeCreated": 73420.01152038574,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/floor/main_light_1/get and payload b'{\"state\": \"\"}'",
"asctime": "2023-02-15 07:14:36,416"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441676.4169118,
"msecs": 416.9118404388428,
"relativeCreated": 73420.42708396912,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/floor/main_light_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:36,416"
},
{
"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": 1676441676.4177728,
"msecs": 417.7727699279785,
"relativeCreated": 73421.28801345825,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/floor/main_light_2/get and payload b'{\"state\": \"\"}'",
"asctime": "2023-02-15 07:14:36,417"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441676.4181218,
"msecs": 418.1218147277832,
"relativeCreated": 73421.63705825806,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/floor/main_light_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:36,418"
},
{
"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": 1676441676.4191117,
"msecs": 419.1117286682129,
"relativeCreated": 73422.62697219849,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/floor/main_light/state and payload b'true'",
"asctime": "2023-02-15 07:14:36,419"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441676.4198499,
"msecs": 419.8498725891113,
"relativeCreated": 73423.36511611938,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:36,419"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441676.4205334,
"msecs": 420.5334186553955,
"relativeCreated": 73424.04866218567,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/floor/main_light_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:36,420"
}
],
"time_consumption": 0.2927405834197998
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441676.7139118,
"msecs": 713.911771774292,
"relativeCreated": 73717.42701530457,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:36,713",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441676.713674,
"msecs": 713.6740684509277,
"relativeCreated": 73717.1893119812,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:36,713"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441676.713806,
"msecs": 713.8059139251709,
"relativeCreated": 73717.32115745544,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:36,713"
}
],
"time_consumption": 0.00010585784912109375
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441676.714296,
"msecs": 714.2961025238037,
"relativeCreated": 73717.81134605408,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:36,714",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441676.714077,
"msecs": 714.0769958496094,
"relativeCreated": 73717.59223937988,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:36,714"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441676.7141716,
"msecs": 714.1716480255127,
"relativeCreated": 73717.68689155579,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:36,714"
}
],
"time_consumption": 0.00012445449829101562
},
{
"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": 1676441677.0156717,
"msecs": 15.671730041503906,
"relativeCreated": 74019.18697357178,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device state to 'False'",
"asctime": "2023-02-15 07:14:37,015",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.gfw.floor.main_light.state.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/gfw/floor/main_light/state/set",
"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": 1676441676.7146156,
"msecs": 714.6155834197998,
"relativeCreated": 73718.13082695007,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/gfw/floor/main_light/state/set and payload false",
"asctime": "2023-02-15 07:14:36,714"
},
{
"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": 1676441676.7174435,
"msecs": 717.4434661865234,
"relativeCreated": 73720.9587097168,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/gfw/floor/main_light/relay/0/command and payload b'off'",
"asctime": "2023-02-15 07:14:36,717"
},
{
"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": 1676441676.717792,
"msecs": 717.7920341491699,
"relativeCreated": 73721.30727767944,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/gfw/floor/main_light/relay/0 and payload off",
"asctime": "2023-02-15 07:14:36,717"
},
{
"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": 1676441676.7190306,
"msecs": 719.0306186676025,
"relativeCreated": 73722.54586219788,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/gfw/floor/main_light/relay/0 and payload b'off'",
"asctime": "2023-02-15 07:14:36,719"
},
{
"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": 1676441676.7631361,
"msecs": 763.1361484527588,
"relativeCreated": 73766.65139198303,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/floor/main_light/state and payload b'false'",
"asctime": "2023-02-15 07:14:36,763"
}
],
"time_consumption": 0.2525355815887451
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441677.0164037,
"msecs": 16.403675079345703,
"relativeCreated": 74019.91891860962,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:37,016",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441677.0161278,
"msecs": 16.127824783325195,
"relativeCreated": 74019.6430683136,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:37,016"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441677.0162814,
"msecs": 16.2813663482666,
"relativeCreated": 74019.79660987854,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:37,016"
}
],
"time_consumption": 0.00012230873107910156
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441677.0168536,
"msecs": 16.85357093811035,
"relativeCreated": 74020.36881446838,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:37,016",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441677.0166001,
"msecs": 16.60013198852539,
"relativeCreated": 74020.1153755188,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:37,016"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441677.0167167,
"msecs": 16.716718673706055,
"relativeCreated": 74020.23196220398,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:37,016"
}
],
"time_consumption": 0.00013685226440429688
},
{
"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": 1676441677.318393,
"msecs": 318.3929920196533,
"relativeCreated": 74321.90823554993,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing switching device state to 'True'",
"asctime": "2023-02-15 07:14:37,318",
"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": 1676441677.017124,
"msecs": 17.123937606811523,
"relativeCreated": 74020.63918113708,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/gfw/floor/main_light/relay/0 and payload on",
"asctime": "2023-02-15 07:14:37,017"
},
{
"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": 1676441677.0185385,
"msecs": 18.538475036621094,
"relativeCreated": 74022.0537185669,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/gfw/floor/main_light/relay/0 and payload b'on'",
"asctime": "2023-02-15 07:14:37,018"
},
{
"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": 1676441677.0215814,
"msecs": 21.581411361694336,
"relativeCreated": 74025.09665489197,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/floor/main_light_1/get and payload b'{\"state\": \"\"}'",
"asctime": "2023-02-15 07:14:37,021"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441677.0220008,
"msecs": 22.000789642333984,
"relativeCreated": 74025.51603317261,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/floor/main_light_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:37,022"
},
{
"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": 1676441677.0228908,
"msecs": 22.890806198120117,
"relativeCreated": 74026.4060497284,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/floor/main_light_2/get and payload b'{\"state\": \"\"}'",
"asctime": "2023-02-15 07:14:37,022"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441677.0232463,
"msecs": 23.246288299560547,
"relativeCreated": 74026.76153182983,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/floor/main_light_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:37,023"
},
{
"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": 1676441677.0242023,
"msecs": 24.202346801757812,
"relativeCreated": 74027.71759033203,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/floor/main_light/state and payload b'true'",
"asctime": "2023-02-15 07:14:37,024"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441677.0249577,
"msecs": 24.957656860351562,
"relativeCreated": 74028.47290039062,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:37,024"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441677.0256455,
"msecs": 25.64549446105957,
"relativeCreated": 74029.16073799133,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/floor/main_light_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:37,025"
}
],
"time_consumption": 0.29274749755859375
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441677.319229,
"msecs": 319.2288875579834,
"relativeCreated": 74322.74413108826,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:37,319",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441677.318923,
"msecs": 318.9229965209961,
"relativeCreated": 74322.43824005127,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:37,318"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441677.319092,
"msecs": 319.0920352935791,
"relativeCreated": 74322.60727882385,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:37,319"
}
],
"time_consumption": 0.00013685226440429688
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441677.3196423,
"msecs": 319.6423053741455,
"relativeCreated": 74323.15754890442,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:37,319",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441677.3194296,
"msecs": 319.4296360015869,
"relativeCreated": 74322.94487953186,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:37,319"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441677.319541,
"msecs": 319.54097747802734,
"relativeCreated": 74323.0562210083,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:37,319"
}
],
"time_consumption": 0.00010132789611816406
},
{
"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": 1676441677.621034,
"msecs": 621.0339069366455,
"relativeCreated": 74624.54915046692,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device state to 'False'",
"asctime": "2023-02-15 07:14:37,621",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.gfw.floor.main_light.state.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/gfw/floor/main_light/state/set",
"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": 1676441677.3199205,
"msecs": 319.92053985595703,
"relativeCreated": 74323.43578338623,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/gfw/floor/main_light/state/set and payload false",
"asctime": "2023-02-15 07:14:37,319"
},
{
"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": 1676441677.3230357,
"msecs": 323.03571701049805,
"relativeCreated": 74326.55096054077,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/gfw/floor/main_light/relay/0/command and payload b'off'",
"asctime": "2023-02-15 07:14:37,323"
},
{
"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": 1676441677.323447,
"msecs": 323.44698905944824,
"relativeCreated": 74326.96223258972,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/gfw/floor/main_light/relay/0 and payload off",
"asctime": "2023-02-15 07:14:37,323"
},
{
"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": 1676441677.3248432,
"msecs": 324.843168258667,
"relativeCreated": 74328.35841178894,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/gfw/floor/main_light/relay/0 and payload b'off'",
"asctime": "2023-02-15 07:14:37,324"
},
{
"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": 1676441677.3697157,
"msecs": 369.71569061279297,
"relativeCreated": 74373.23093414307,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/floor/main_light/state and payload b'false'",
"asctime": "2023-02-15 07:14:37,369"
}
],
"time_consumption": 0.25131821632385254
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441677.621821,
"msecs": 621.8209266662598,
"relativeCreated": 74625.33617019653,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:37,621",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441677.6215343,
"msecs": 621.5343475341797,
"relativeCreated": 74625.04959106445,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:37,621"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441677.6216996,
"msecs": 621.6995716094971,
"relativeCreated": 74625.21481513977,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:37,621"
}
],
"time_consumption": 0.00012135505676269531
}
],
"time_consumption": 1.2105295658111572,
"time_start": "2023-02-15 07:14:36,411",
"time_finished": "2023-02-15 07:14:37,621"
},
"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": 1676441677.6223564,
"msecs": 622.3564147949219,
"relativeCreated": 74625.8716583252,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Brightness synchronisation test: videv/gfw/floor/main_light",
"asctime": "2023-02-15 07:14:37,622",
"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": 1676441677.923926,
"msecs": 923.9261150360107,
"relativeCreated": 74927.44135856628,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Setting preconditions for master device 'True' (Power on)",
"asctime": "2023-02-15 07:14:37,923",
"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": 1676441677.622722,
"msecs": 622.7219104766846,
"relativeCreated": 74626.23715400696,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/gfw/floor/main_light/relay/0 and payload on",
"asctime": "2023-02-15 07:14:37,622"
},
{
"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": 1676441677.6240633,
"msecs": 624.06325340271,
"relativeCreated": 74627.57849693298,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/gfw/floor/main_light/relay/0 and payload b'on'",
"asctime": "2023-02-15 07:14:37,624"
},
{
"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": 1676441677.6270952,
"msecs": 627.0952224731445,
"relativeCreated": 74630.61046600342,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/floor/main_light_1/get and payload b'{\"state\": \"\"}'",
"asctime": "2023-02-15 07:14:37,627"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441677.627543,
"msecs": 627.5429725646973,
"relativeCreated": 74631.05821609497,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/floor/main_light_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:37,627"
},
{
"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": 1676441677.6284132,
"msecs": 628.413200378418,
"relativeCreated": 74631.92844390869,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/floor/main_light_2/get and payload b'{\"state\": \"\"}'",
"asctime": "2023-02-15 07:14:37,628"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441677.6287723,
"msecs": 628.7722587585449,
"relativeCreated": 74632.28750228882,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/floor/main_light_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:37,628"
},
{
"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": 1676441677.6297228,
"msecs": 629.7228336334229,
"relativeCreated": 74633.2380771637,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/floor/main_light/state and payload b'true'",
"asctime": "2023-02-15 07:14:37,629"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441677.630493,
"msecs": 630.4929256439209,
"relativeCreated": 74634.0081691742,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:37,630"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441677.6312084,
"msecs": 631.2084197998047,
"relativeCreated": 74634.72366333008,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/floor/main_light_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:37,631"
}
],
"time_consumption": 0.29271769523620605
},
{
"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": 1676441678.2255406,
"msecs": 225.5406379699707,
"relativeCreated": 75229.05588150024,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing master device brightness to '35'",
"asctime": "2023-02-15 07:14:38,225",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.gfw.floor.main_light.brightness.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/gfw/floor/main_light/brightness/set",
"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": 1676441677.9244297,
"msecs": 924.4296550750732,
"relativeCreated": 74927.94489860535,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/gfw/floor/main_light/brightness/set and payload 35",
"asctime": "2023-02-15 07:14:37,924"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441677.927731,
"msecs": 927.7310371398926,
"relativeCreated": 74931.24628067017,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/floor/main_light_1/set and payload b'{\"brightness\": 90}'",
"asctime": "2023-02-15 07:14:37,927"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441677.9281478,
"msecs": 928.1477928161621,
"relativeCreated": 74931.66303634644,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/floor/main_light_1 and payload {\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:37,928"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441677.9289305,
"msecs": 928.9305210113525,
"relativeCreated": 74932.44576454163,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/floor/main_light_2/set and payload b'{\"brightness\": 90}'",
"asctime": "2023-02-15 07:14:37,928"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441677.9292645,
"msecs": 929.2645454406738,
"relativeCreated": 74932.77978897095,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/floor/main_light_2 and payload {\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:37,929"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441677.9303048,
"msecs": 930.304765701294,
"relativeCreated": 74933.82000923157,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:37,930"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441677.9310033,
"msecs": 931.0033321380615,
"relativeCreated": 74934.51857566833,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/floor/main_light_2 and payload b'{\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:37,931"
},
{
"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": 1676441677.9743276,
"msecs": 974.327564239502,
"relativeCreated": 74977.84280776978,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/floor/main_light/brightness and payload b'35'",
"asctime": "2023-02-15 07:14:37,974"
}
],
"time_consumption": 0.25121307373046875
},
{
"name": "__tLogger__",
"msg": "Follower device (zigbee/gfw/floor/main_light_1) brightness is correct (Content %s and Type is %s).",
"args": [
"35",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441678.226335,
"msecs": 226.3350486755371,
"relativeCreated": 75229.85029220581,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Follower device (zigbee/gfw/floor/main_light_1) brightness is correct (Content 35 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:38,226",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Follower device (zigbee/gfw/floor/main_light_1) brightness",
"35",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441678.2260153,
"msecs": 226.0153293609619,
"relativeCreated": 75229.53057289124,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Follower device (zigbee/gfw/floor/main_light_1) brightness): 35 (<class 'int'>)",
"asctime": "2023-02-15 07:14:38,226"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Follower device (zigbee/gfw/floor/main_light_1) brightness",
"=",
"35",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441678.2261739,
"msecs": 226.17387771606445,
"relativeCreated": 75229.68912124634,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Follower device (zigbee/gfw/floor/main_light_1) brightness): result = 35 (<class 'int'>)",
"asctime": "2023-02-15 07:14:38,226"
}
],
"time_consumption": 0.00016117095947265625
},
{
"name": "__tLogger__",
"msg": "Follower device (zigbee/gfw/floor/main_light_2) brightness is correct (Content %s and Type is %s).",
"args": [
"35",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441678.2268002,
"msecs": 226.80020332336426,
"relativeCreated": 75230.31544685364,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Follower device (zigbee/gfw/floor/main_light_2) brightness is correct (Content 35 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:38,226",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Follower device (zigbee/gfw/floor/main_light_2) brightness",
"35",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441678.226581,
"msecs": 226.58109664916992,
"relativeCreated": 75230.09634017944,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Follower device (zigbee/gfw/floor/main_light_2) brightness): 35 (<class 'int'>)",
"asctime": "2023-02-15 07:14:38,226"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Follower device (zigbee/gfw/floor/main_light_2) brightness",
"=",
"35",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441678.226699,
"msecs": 226.6991138458252,
"relativeCreated": 75230.2143573761,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Follower device (zigbee/gfw/floor/main_light_2) brightness): result = 35 (<class 'int'>)",
"asctime": "2023-02-15 07:14:38,226"
}
],
"time_consumption": 0.0001010894775390625
},
{
"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": 1676441678.528231,
"msecs": 528.2309055328369,
"relativeCreated": 75531.74614906311,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing master device brightness to '50'",
"asctime": "2023-02-15 07:14:38,528",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.gfw.floor.main_light.brightness.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/gfw/floor/main_light/brightness/set",
"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": 1676441678.2271023,
"msecs": 227.10227966308594,
"relativeCreated": 75230.61752319336,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/gfw/floor/main_light/brightness/set and payload 50",
"asctime": "2023-02-15 07:14:38,227"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441678.2309077,
"msecs": 230.90767860412598,
"relativeCreated": 75234.4229221344,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/floor/main_light_1/set and payload b'{\"brightness\": 128}'",
"asctime": "2023-02-15 07:14:38,230"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441678.2313807,
"msecs": 231.38070106506348,
"relativeCreated": 75234.89594459534,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/floor/main_light_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:38,231"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441678.2322743,
"msecs": 232.27429389953613,
"relativeCreated": 75235.78953742981,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/floor/main_light_2/set and payload b'{\"brightness\": 128}'",
"asctime": "2023-02-15 07:14:38,232"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441678.2326593,
"msecs": 232.65933990478516,
"relativeCreated": 75236.17458343506,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/floor/main_light_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:38,232"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441678.2338533,
"msecs": 233.85334014892578,
"relativeCreated": 75237.3685836792,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:38,233"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441678.234668,
"msecs": 234.66801643371582,
"relativeCreated": 75238.18325996399,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/floor/main_light_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:38,234"
},
{
"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": 1676441678.279541,
"msecs": 279.541015625,
"relativeCreated": 75283.05625915527,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/floor/main_light/brightness and payload b'50'",
"asctime": "2023-02-15 07:14:38,279"
}
],
"time_consumption": 0.24868988990783691
},
{
"name": "__tLogger__",
"msg": "Follower device (zigbee/gfw/floor/main_light_1) brightness is correct (Content %s and Type is %s).",
"args": [
"50",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441678.528983,
"msecs": 528.9831161499023,
"relativeCreated": 75532.49835968018,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Follower device (zigbee/gfw/floor/main_light_1) brightness is correct (Content 50 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:38,528",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Follower device (zigbee/gfw/floor/main_light_1) brightness",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441678.528703,
"msecs": 528.702974319458,
"relativeCreated": 75532.21821784973,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Follower device (zigbee/gfw/floor/main_light_1) brightness): 50 (<class 'int'>)",
"asctime": "2023-02-15 07:14:38,528"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Follower device (zigbee/gfw/floor/main_light_1) brightness",
"=",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441678.5288577,
"msecs": 528.8577079772949,
"relativeCreated": 75532.37295150757,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Follower device (zigbee/gfw/floor/main_light_1) brightness): result = 50 (<class 'int'>)",
"asctime": "2023-02-15 07:14:38,528"
}
],
"time_consumption": 0.00012540817260742188
},
{
"name": "__tLogger__",
"msg": "Follower device (zigbee/gfw/floor/main_light_2) brightness is correct (Content %s and Type is %s).",
"args": [
"50",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441678.5293941,
"msecs": 529.3941497802734,
"relativeCreated": 75532.90939331055,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Follower device (zigbee/gfw/floor/main_light_2) brightness is correct (Content 50 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:38,529",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Follower device (zigbee/gfw/floor/main_light_2) brightness",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441678.5291853,
"msecs": 529.1852951049805,
"relativeCreated": 75532.70053863525,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Follower device (zigbee/gfw/floor/main_light_2) brightness): 50 (<class 'int'>)",
"asctime": "2023-02-15 07:14:38,529"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Follower device (zigbee/gfw/floor/main_light_2) brightness",
"=",
"50",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441678.529296,
"msecs": 529.2959213256836,
"relativeCreated": 75532.81116485596,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Follower device (zigbee/gfw/floor/main_light_2) brightness): result = 50 (<class 'int'>)",
"asctime": "2023-02-15 07:14:38,529"
}
],
"time_consumption": 9.822845458984375e-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": 1676441678.8309102,
"msecs": 830.9102058410645,
"relativeCreated": 75834.42544937134,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Resetting preconditions for master device 'False' (Power off)",
"asctime": "2023-02-15 07:14:38,830",
"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": 1676441678.529664,
"msecs": 529.6640396118164,
"relativeCreated": 75533.17928314209,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/gfw/floor/main_light/relay/0 and payload off",
"asctime": "2023-02-15 07:14:38,529"
},
{
"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": 1676441678.5310483,
"msecs": 531.0482978820801,
"relativeCreated": 75534.56354141235,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/gfw/floor/main_light/relay/0 and payload b'off'",
"asctime": "2023-02-15 07:14:38,531"
},
{
"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": 1676441678.5334342,
"msecs": 533.4341526031494,
"relativeCreated": 75536.94939613342,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/floor/main_light/state and payload b'false'",
"asctime": "2023-02-15 07:14:38,533"
}
],
"time_consumption": 0.29747605323791504
}
],
"time_consumption": 1.2085537910461426,
"time_start": "2023-02-15 07:14:37,622",
"time_finished": "2023-02-15 07:14:38,830"
},
"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": 1676441678.8315444,
"msecs": 831.5443992614746,
"relativeCreated": 75835.05964279175,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Color temperature synchronisation test: videv/gfw/floor/main_light",
"asctime": "2023-02-15 07:14:38,831",
"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": 1676441679.1330502,
"msecs": 133.05020332336426,
"relativeCreated": 76136.56544685364,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Setting preconditions for master device 'True' (Power on)",
"asctime": "2023-02-15 07:14:39,133",
"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": 1676441678.831841,
"msecs": 831.840991973877,
"relativeCreated": 75835.35623550415,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/gfw/floor/main_light/relay/0 and payload on",
"asctime": "2023-02-15 07:14:38,831"
},
{
"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": 1676441678.8330214,
"msecs": 833.0214023590088,
"relativeCreated": 75836.53664588928,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/gfw/floor/main_light/relay/0 and payload b'on'",
"asctime": "2023-02-15 07:14:38,833"
},
{
"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": 1676441678.8362622,
"msecs": 836.2622261047363,
"relativeCreated": 75839.77746963501,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/floor/main_light_1/get and payload b'{\"state\": \"\"}'",
"asctime": "2023-02-15 07:14:38,836"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441678.8366206,
"msecs": 836.620569229126,
"relativeCreated": 75840.1358127594,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/floor/main_light_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:38,836"
},
{
"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": 1676441678.8373563,
"msecs": 837.3563289642334,
"relativeCreated": 75840.8715724945,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/floor/main_light_2/get and payload b'{\"state\": \"\"}'",
"asctime": "2023-02-15 07:14:38,837"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441678.8376942,
"msecs": 837.6941680908203,
"relativeCreated": 75841.2094116211,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/floor/main_light_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:38,837"
},
{
"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": 1676441678.8386228,
"msecs": 838.6228084564209,
"relativeCreated": 75842.1380519867,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/floor/main_light/state and payload b'true'",
"asctime": "2023-02-15 07:14:38,838"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441678.8392773,
"msecs": 839.2772674560547,
"relativeCreated": 75842.79251098633,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:38,839"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441678.8398983,
"msecs": 839.8983478546143,
"relativeCreated": 75843.41359138489,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/floor/main_light_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:38,839"
}
],
"time_consumption": 0.29315185546875
},
{
"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": 1676441679.4346888,
"msecs": 434.6888065338135,
"relativeCreated": 76438.20405006409,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing master device color temperature to '2'",
"asctime": "2023-02-15 07:14:39,434",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.gfw.floor.main_light.color_temp.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/gfw/floor/main_light/color_temp/set",
"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": 1676441679.1336305,
"msecs": 133.63051414489746,
"relativeCreated": 76137.14575767517,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/gfw/floor/main_light/color_temp/set and payload 2",
"asctime": "2023-02-15 07:14:39,133"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441679.1374495,
"msecs": 137.4495029449463,
"relativeCreated": 76140.96474647522,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/floor/main_light_1/set and payload b'{\"color_temp\": 291}'",
"asctime": "2023-02-15 07:14:39,137"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441679.1379302,
"msecs": 137.93015480041504,
"relativeCreated": 76141.44539833069,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/floor/main_light_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0}",
"asctime": "2023-02-15 07:14:39,137"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441679.1388562,
"msecs": 138.8561725616455,
"relativeCreated": 76142.37141609192,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/floor/main_light_2/set and payload b'{\"color_temp\": 291}'",
"asctime": "2023-02-15 07:14:39,138"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441679.1392493,
"msecs": 139.24932479858398,
"relativeCreated": 76142.76456832886,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/floor/main_light_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0}",
"asctime": "2023-02-15 07:14:39,139"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441679.1404583,
"msecs": 140.458345413208,
"relativeCreated": 76143.97358894348,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0}'",
"asctime": "2023-02-15 07:14:39,140"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441679.1412385,
"msecs": 141.23845100402832,
"relativeCreated": 76144.7536945343,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/floor/main_light_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0}'",
"asctime": "2023-02-15 07:14:39,141"
},
{
"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": 1676441679.1829967,
"msecs": 182.9967498779297,
"relativeCreated": 76186.5119934082,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/floor/main_light/color_temp and payload b'2'",
"asctime": "2023-02-15 07:14:39,182"
}
],
"time_consumption": 0.2516920566558838
},
{
"name": "__tLogger__",
"msg": "Follower device (zigbee/gfw/floor/main_light_1) color temperature is correct (Content %s and Type is %s).",
"args": [
"2",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441679.4354765,
"msecs": 435.47654151916504,
"relativeCreated": 76438.99178504944,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Follower device (zigbee/gfw/floor/main_light_1) color temperature is correct (Content 2 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:39,435",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Follower device (zigbee/gfw/floor/main_light_1) color temperature",
"2",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441679.4351575,
"msecs": 435.15753746032715,
"relativeCreated": 76438.6727809906,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Follower device (zigbee/gfw/floor/main_light_1) color temperature): 2 (<class 'int'>)",
"asctime": "2023-02-15 07:14:39,435"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Follower device (zigbee/gfw/floor/main_light_1) color temperature",
"=",
"2",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441679.4353511,
"msecs": 435.3511333465576,
"relativeCreated": 76438.86637687683,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Follower device (zigbee/gfw/floor/main_light_1) color temperature): result = 2 (<class 'int'>)",
"asctime": "2023-02-15 07:14:39,435"
}
],
"time_consumption": 0.00012540817260742188
},
{
"name": "__tLogger__",
"msg": "Follower device (zigbee/gfw/floor/main_light_2) color temperature is correct (Content %s and Type is %s).",
"args": [
"2",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441679.4359767,
"msecs": 435.9767436981201,
"relativeCreated": 76439.4919872284,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Follower device (zigbee/gfw/floor/main_light_2) color temperature is correct (Content 2 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:39,435",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Follower device (zigbee/gfw/floor/main_light_2) color temperature",
"2",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441679.4356961,
"msecs": 435.6961250305176,
"relativeCreated": 76439.21136856079,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Follower device (zigbee/gfw/floor/main_light_2) color temperature): 2 (<class 'int'>)",
"asctime": "2023-02-15 07:14:39,435"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Follower device (zigbee/gfw/floor/main_light_2) color temperature",
"=",
"2",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441679.4358637,
"msecs": 435.863733291626,
"relativeCreated": 76439.3789768219,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Follower device (zigbee/gfw/floor/main_light_2) color temperature): result = 2 (<class 'int'>)",
"asctime": "2023-02-15 07:14:39,435"
}
],
"time_consumption": 0.00011301040649414062
},
{
"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": 1676441679.7374256,
"msecs": 737.4255657196045,
"relativeCreated": 76740.94080924988,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing master device color temperature to '5'",
"asctime": "2023-02-15 07:14:39,737",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.gfw.floor.main_light.color_temp.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/gfw/floor/main_light/color_temp/set",
"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": 1676441679.4362965,
"msecs": 436.2964630126953,
"relativeCreated": 76439.81170654297,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/gfw/floor/main_light/color_temp/set and payload 5",
"asctime": "2023-02-15 07:14:39,436"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441679.4400544,
"msecs": 440.05441665649414,
"relativeCreated": 76443.56966018677,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/floor/main_light_1/set and payload b'{\"color_temp\": 352}'",
"asctime": "2023-02-15 07:14:39,440"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441679.4405344,
"msecs": 440.5343532562256,
"relativeCreated": 76444.0495967865,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/floor/main_light_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:39,440"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441679.4414284,
"msecs": 441.42842292785645,
"relativeCreated": 76444.94366645813,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/floor/main_light_2/set and payload b'{\"color_temp\": 352}'",
"asctime": "2023-02-15 07:14:39,441"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441679.4418395,
"msecs": 441.83945655822754,
"relativeCreated": 76445.3547000885,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/floor/main_light_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:39,441"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441679.4429328,
"msecs": 442.9328441619873,
"relativeCreated": 76446.44808769226,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:39,442"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441679.4436712,
"msecs": 443.67122650146484,
"relativeCreated": 76447.18647003174,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/floor/main_light_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:39,443"
},
{
"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": 1676441679.4872732,
"msecs": 487.2732162475586,
"relativeCreated": 76490.78845977783,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/floor/main_light/color_temp and payload b'5'",
"asctime": "2023-02-15 07:14:39,487"
}
],
"time_consumption": 0.2501523494720459
},
{
"name": "__tLogger__",
"msg": "Follower device (zigbee/gfw/floor/main_light_1) color temperature is correct (Content %s and Type is %s).",
"args": [
"5",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441679.7382016,
"msecs": 738.2016181945801,
"relativeCreated": 76741.71686172485,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Follower device (zigbee/gfw/floor/main_light_1) color temperature is correct (Content 5 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:39,738",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Follower device (zigbee/gfw/floor/main_light_1) color temperature",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441679.73789,
"msecs": 737.8900051116943,
"relativeCreated": 76741.40524864197,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Follower device (zigbee/gfw/floor/main_light_1) color temperature): 5 (<class 'int'>)",
"asctime": "2023-02-15 07:14:39,737"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Follower device (zigbee/gfw/floor/main_light_1) color temperature",
"=",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441679.7380435,
"msecs": 738.0435466766357,
"relativeCreated": 76741.55879020691,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Follower device (zigbee/gfw/floor/main_light_1) color temperature): result = 5 (<class 'int'>)",
"asctime": "2023-02-15 07:14:39,738"
}
],
"time_consumption": 0.00015807151794433594
},
{
"name": "__tLogger__",
"msg": "Follower device (zigbee/gfw/floor/main_light_2) color temperature is correct (Content %s and Type is %s).",
"args": [
"5",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441679.7386742,
"msecs": 738.6741638183594,
"relativeCreated": 76742.18940734863,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Follower device (zigbee/gfw/floor/main_light_2) color temperature is correct (Content 5 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:39,738",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Follower device (zigbee/gfw/floor/main_light_2) color temperature",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441679.7384124,
"msecs": 738.4123802185059,
"relativeCreated": 76741.92762374878,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Follower device (zigbee/gfw/floor/main_light_2) color temperature): 5 (<class 'int'>)",
"asctime": "2023-02-15 07:14:39,738"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Follower device (zigbee/gfw/floor/main_light_2) color temperature",
"=",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441679.7385705,
"msecs": 738.5704517364502,
"relativeCreated": 76742.08569526672,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Follower device (zigbee/gfw/floor/main_light_2) color temperature): result = 5 (<class 'int'>)",
"asctime": "2023-02-15 07:14:39,738"
}
],
"time_consumption": 0.00010371208190917969
},
{
"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": 1676441680.0401947,
"msecs": 40.19474983215332,
"relativeCreated": 77043.70999336243,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Resetting preconditions for master device 'False' (Power off)",
"asctime": "2023-02-15 07:14:40,040",
"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": 1676441679.7389512,
"msecs": 738.9512062072754,
"relativeCreated": 76742.46644973755,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/gfw/floor/main_light/relay/0 and payload off",
"asctime": "2023-02-15 07:14:39,738"
},
{
"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": 1676441679.7402892,
"msecs": 740.2892112731934,
"relativeCreated": 76743.80445480347,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/gfw/floor/main_light/relay/0 and payload b'off'",
"asctime": "2023-02-15 07:14:39,740"
},
{
"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": 1676441679.7427142,
"msecs": 742.7141666412354,
"relativeCreated": 76746.22941017151,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/floor/main_light/state and payload b'false'",
"asctime": "2023-02-15 07:14:39,742"
}
],
"time_consumption": 0.29748058319091797
}
],
"time_consumption": 1.2086503505706787,
"time_start": "2023-02-15 07:14:38,831",
"time_finished": "2023-02-15 07:14:40,040"
},
"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": 1676441680.040956,
"msecs": 40.95602035522461,
"relativeCreated": 77044.4712638855,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Power On/ Off synchronisation test: shellies/gfw/floor/main_light",
"asctime": "2023-02-15 07:14:40,040",
"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": 1676441680.3419402,
"msecs": 341.94016456604004,
"relativeCreated": 77345.45540809631,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Setting preconditions for master device 'False'",
"asctime": "2023-02-15 07:14:40,341",
"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": 1676441680.643789,
"msecs": 643.7890529632568,
"relativeCreated": 77647.30429649353,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing master device state to 'True'",
"asctime": "2023-02-15 07:14:40,643",
"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": 1676441680.3425188,
"msecs": 342.51880645751953,
"relativeCreated": 77346.0340499878,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/gfw/floor/main_light/relay/0 and payload on",
"asctime": "2023-02-15 07:14:40,342"
},
{
"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": 1676441680.3439658,
"msecs": 343.9657688140869,
"relativeCreated": 77347.48101234436,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/gfw/floor/main_light/relay/0 and payload b'on'",
"asctime": "2023-02-15 07:14:40,343"
},
{
"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": 1676441680.3469868,
"msecs": 346.9867706298828,
"relativeCreated": 77350.50201416016,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/floor/main_light_1/get and payload b'{\"state\": \"\"}'",
"asctime": "2023-02-15 07:14:40,346"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441680.3474295,
"msecs": 347.4295139312744,
"relativeCreated": 77350.94475746155,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/floor/main_light_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:40,347"
},
{
"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": 1676441680.3482938,
"msecs": 348.2937812805176,
"relativeCreated": 77351.80902481079,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/floor/main_light_2/get and payload b'{\"state\": \"\"}'",
"asctime": "2023-02-15 07:14:40,348"
},
{
"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}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441680.348665,
"msecs": 348.6649990081787,
"relativeCreated": 77352.18024253845,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/floor/main_light_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
"asctime": "2023-02-15 07:14:40,348"
},
{
"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": 1676441680.3496141,
"msecs": 349.61414337158203,
"relativeCreated": 77353.12938690186,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/floor/main_light/state and payload b'true'",
"asctime": "2023-02-15 07:14:40,349"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441680.350352,
"msecs": 350.35204887390137,
"relativeCreated": 77353.86729240417,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:40,350"
},
{
"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}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441680.351087,
"msecs": 351.0870933532715,
"relativeCreated": 77354.60233688354,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/floor/main_light_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
"asctime": "2023-02-15 07:14:40,351"
}
],
"time_consumption": 0.29270195960998535
},
{
"name": "__tLogger__",
"msg": "Follower device (zigbee/gfw/floor/main_light_1) state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441680.6445353,
"msecs": 644.5353031158447,
"relativeCreated": 77648.05054664612,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Follower device (zigbee/gfw/floor/main_light_1) state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:40,644",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Follower device (zigbee/gfw/floor/main_light_1) state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441680.6442604,
"msecs": 644.2604064941406,
"relativeCreated": 77647.77565002441,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Follower device (zigbee/gfw/floor/main_light_1) state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:40,644"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Follower device (zigbee/gfw/floor/main_light_1) state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441680.6444125,
"msecs": 644.4125175476074,
"relativeCreated": 77647.92776107788,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Follower device (zigbee/gfw/floor/main_light_1) state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:40,644"
}
],
"time_consumption": 0.0001227855682373047
},
{
"name": "__tLogger__",
"msg": "Follower device (zigbee/gfw/floor/main_light_2) state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441680.644992,
"msecs": 644.9921131134033,
"relativeCreated": 77648.50735664368,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Follower device (zigbee/gfw/floor/main_light_2) state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:40,644",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Follower device (zigbee/gfw/floor/main_light_2) state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441680.6447742,
"msecs": 644.7741985321045,
"relativeCreated": 77648.28944206238,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Follower device (zigbee/gfw/floor/main_light_2) state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:40,644"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Follower device (zigbee/gfw/floor/main_light_2) state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441680.64489,
"msecs": 644.8900699615479,
"relativeCreated": 77648.40531349182,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Follower device (zigbee/gfw/floor/main_light_2) state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:40,644"
}
],
"time_consumption": 0.00010204315185546875
},
{
"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": 1676441680.9465547,
"msecs": 946.5546607971191,
"relativeCreated": 77950.06990432739,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing master device state to 'False'",
"asctime": "2023-02-15 07:14:40,946",
"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": 1676441680.6452842,
"msecs": 645.2841758728027,
"relativeCreated": 77648.79941940308,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/gfw/floor/main_light/relay/0 and payload off",
"asctime": "2023-02-15 07:14:40,645"
},
{
"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": 1676441680.646677,
"msecs": 646.6770172119141,
"relativeCreated": 77650.19226074219,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/gfw/floor/main_light/relay/0 and payload b'off'",
"asctime": "2023-02-15 07:14:40,646"
},
{
"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": 1676441680.65124,
"msecs": 651.2401103973389,
"relativeCreated": 77654.75535392761,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/floor/main_light/state and payload b'false'",
"asctime": "2023-02-15 07:14:40,651"
}
],
"time_consumption": 0.2953145503997803
},
{
"name": "__tLogger__",
"msg": "Follower device (zigbee/gfw/floor/main_light_1) state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441680.9472225,
"msecs": 947.2224712371826,
"relativeCreated": 77950.73771476746,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Follower device (zigbee/gfw/floor/main_light_1) state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:40,947",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Follower device (zigbee/gfw/floor/main_light_1) state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441680.9469533,
"msecs": 946.953296661377,
"relativeCreated": 77950.46854019165,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Follower device (zigbee/gfw/floor/main_light_1) state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:40,946"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Follower device (zigbee/gfw/floor/main_light_1) state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441680.94711,
"msecs": 947.1099376678467,
"relativeCreated": 77950.62518119812,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Follower device (zigbee/gfw/floor/main_light_1) state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:40,947"
}
],
"time_consumption": 0.0001125335693359375
},
{
"name": "__tLogger__",
"msg": "Follower device (zigbee/gfw/floor/main_light_2) state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441680.94759,
"msecs": 947.5901126861572,
"relativeCreated": 77951.10535621643,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Follower device (zigbee/gfw/floor/main_light_2) state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:40,947",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Follower device (zigbee/gfw/floor/main_light_2) state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441680.9473999,
"msecs": 947.3998546600342,
"relativeCreated": 77950.91509819031,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Follower device (zigbee/gfw/floor/main_light_2) state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:40,947"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Follower device (zigbee/gfw/floor/main_light_2) state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441680.9475005,
"msecs": 947.500467300415,
"relativeCreated": 77951.01571083069,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Follower device (zigbee/gfw/floor/main_light_2) state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:40,947"
}
],
"time_consumption": 8.96453857421875e-05
}
],
"time_consumption": 0.9066340923309326,
"time_start": "2023-02-15 07:14:40,040",
"time_finished": "2023-02-15 07:14:40,947"
},
"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": 1676441680.9480386,
"msecs": 948.0385780334473,
"relativeCreated": 77951.55382156372,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Away mode test: zigbee/gfw/marion/heating_valve",
"asctime": "2023-02-15 07:14:40,948",
"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": 1676441681.249963,
"msecs": 249.96304512023926,
"relativeCreated": 78253.47828865051,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Setting preconditions (Default setpoint)",
"asctime": "2023-02-15 07:14:41,249",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.set_default_temperature.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/gfw/marion/heating_valve/set_default_temperature/set",
"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": 1676441680.9483523,
"msecs": 948.3523368835449,
"relativeCreated": 77951.86758041382,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/gfw/marion/heating_valve/set_default_temperature/set and payload null",
"asctime": "2023-02-15 07:14:40,948"
},
{
"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": 1676441680.9551997,
"msecs": 955.1997184753418,
"relativeCreated": 77958.71496200562,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/marion/heating_valve/user_temperature_setpoint and payload b'23'",
"asctime": "2023-02-15 07:14:40,955"
},
{
"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": 1676441680.9557123,
"msecs": 955.7123184204102,
"relativeCreated": 77959.22756195068,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/marion/heating_valve/set and payload b'{\"current_heating_setpoint\": 23}'",
"asctime": "2023-02-15 07:14:40,955"
},
{
"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, \"battery\": 97}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441680.955821,
"msecs": 955.8210372924805,
"relativeCreated": 77959.33628082275,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/marion/heating_valve and payload {\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"battery\": 97}",
"asctime": "2023-02-15 07:14:40,955"
},
{
"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": 1676441680.9560626,
"msecs": 956.0625553131104,
"relativeCreated": 77959.57779884338,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/marion/heating_valve/valve_temperature_setpoint and payload b'23'",
"asctime": "2023-02-15 07:14:40,956"
},
{
"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, \"battery\": 97}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441680.9564035,
"msecs": 956.4034938812256,
"relativeCreated": 77959.9187374115,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/marion/heating_valve and payload b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"battery\": 97}'",
"asctime": "2023-02-15 07:14:40,956"
}
],
"time_consumption": 0.29355955123901367
},
{
"name": "__tLogger__",
"msg": "Away mode is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441681.2507699,
"msecs": 250.76985359191895,
"relativeCreated": 78254.28509712219,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Away mode is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:41,250",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Away mode",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441681.2504056,
"msecs": 250.40555000305176,
"relativeCreated": 78253.92079353333,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Away mode): False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:41,250"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Away mode",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441681.2506151,
"msecs": 250.61511993408203,
"relativeCreated": 78254.13036346436,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Away mode): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:41,250"
}
],
"time_consumption": 0.00015473365783691406
},
{
"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": 1676441681.5523305,
"msecs": 552.330493927002,
"relativeCreated": 78555.84573745728,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Activating away mode",
"asctime": "2023-02-15 07:14:41,552",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.away_mode.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/gfw/marion/heating_valve/away_mode/set",
"true"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441681.2511613,
"msecs": 251.1613368988037,
"relativeCreated": 78254.67658042908,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/gfw/marion/heating_valve/away_mode/set and payload true",
"asctime": "2023-02-15 07:14:41,251"
},
{
"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": 1676441681.2645388,
"msecs": 264.5387649536133,
"relativeCreated": 78268.05400848389,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/marion/heating_valve/set and payload b'{\"current_heating_setpoint\": 18}'",
"asctime": "2023-02-15 07:14:41,264"
},
{
"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, \"battery\": 97}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441681.2649996,
"msecs": 264.9996280670166,
"relativeCreated": 78268.51487159729,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/marion/heating_valve and payload {\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"battery\": 97}",
"asctime": "2023-02-15 07:14:41,264"
},
{
"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": 1676441681.2658656,
"msecs": 265.8655643463135,
"relativeCreated": 78269.38080787659,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/marion/heating_valve/valve_temperature_setpoint and payload b'18'",
"asctime": "2023-02-15 07:14:41,265"
},
{
"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, \"battery\": 97}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441681.2670877,
"msecs": 267.0876979827881,
"relativeCreated": 78270.60294151306,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/marion/heating_valve and payload b'{\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"battery\": 97}'",
"asctime": "2023-02-15 07:14:41,267"
},
{
"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": 1676441681.3111029,
"msecs": 311.10286712646484,
"relativeCreated": 78314.61811065674,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/marion/heating_valve/away_mode and payload b'true'",
"asctime": "2023-02-15 07:14:41,311"
}
],
"time_consumption": 0.2412276268005371
},
{
"name": "__tLogger__",
"msg": "Away mode is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441681.553051,
"msecs": 553.0509948730469,
"relativeCreated": 78556.56623840332,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Away mode is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:41,553",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Away mode",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441681.5527678,
"msecs": 552.7677536010742,
"relativeCreated": 78556.28299713135,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Away mode): True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:41,552"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Away mode",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441681.5529232,
"msecs": 552.9232025146484,
"relativeCreated": 78556.43844604492,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Away mode): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:41,552"
}
],
"time_consumption": 0.0001277923583984375
},
{
"name": "__tLogger__",
"msg": "Temperature setpoint is correct (Content %s and Type is %s).",
"args": [
"18",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441681.553505,
"msecs": 553.5049438476562,
"relativeCreated": 78557.02018737793,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Temperature setpoint is correct (Content 18 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:41,553",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Temperature setpoint",
"18",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441681.5532477,
"msecs": 553.2476902008057,
"relativeCreated": 78556.76293373108,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Temperature setpoint): 18 (<class 'int'>)",
"asctime": "2023-02-15 07:14:41,553"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Temperature setpoint",
"=",
"18",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441681.5533617,
"msecs": 553.3616542816162,
"relativeCreated": 78556.87689781189,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Temperature setpoint): result = 18 (<class 'int'>)",
"asctime": "2023-02-15 07:14:41,553"
}
],
"time_consumption": 0.00014328956604003906
},
{
"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": 1676441681.8547513,
"msecs": 854.7513484954834,
"relativeCreated": 78858.26659202576,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Deactivating away mode",
"asctime": "2023-02-15 07:14:41,854",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.away_mode.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/gfw/marion/heating_valve/away_mode/set",
"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": 1676441681.5538445,
"msecs": 553.8444519042969,
"relativeCreated": 78557.35969543457,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/gfw/marion/heating_valve/away_mode/set and payload false",
"asctime": "2023-02-15 07:14:41,553"
},
{
"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": 1676441681.5658908,
"msecs": 565.8907890319824,
"relativeCreated": 78569.40603256226,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/marion/heating_valve/set and payload b'{\"current_heating_setpoint\": 23}'",
"asctime": "2023-02-15 07:14:41,565"
},
{
"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, \"battery\": 97}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441681.5664115,
"msecs": 566.4114952087402,
"relativeCreated": 78569.92673873901,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/marion/heating_valve and payload {\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"battery\": 97}",
"asctime": "2023-02-15 07:14:41,566"
},
{
"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": 1676441681.5673282,
"msecs": 567.3282146453857,
"relativeCreated": 78570.84345817566,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/marion/heating_valve/valve_temperature_setpoint and payload b'23'",
"asctime": "2023-02-15 07:14:41,567"
},
{
"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": 1676441681.5682662,
"msecs": 568.2661533355713,
"relativeCreated": 78571.78139686584,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/marion/heating_valve/away_mode and payload b'false'",
"asctime": "2023-02-15 07:14:41,568"
},
{
"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, \"battery\": 97}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441681.569007,
"msecs": 569.0069198608398,
"relativeCreated": 78572.52216339111,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/marion/heating_valve and payload b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"battery\": 97}'",
"asctime": "2023-02-15 07:14:41,569"
}
],
"time_consumption": 0.28574442863464355
},
{
"name": "__tLogger__",
"msg": "Away mode is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441681.8553684,
"msecs": 855.3683757781982,
"relativeCreated": 78858.88361930847,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Away mode is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:41,855",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Away mode",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441681.8551288,
"msecs": 855.1287651062012,
"relativeCreated": 78858.64400863647,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Away mode): False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:41,855"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Away mode",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441681.8552604,
"msecs": 855.2603721618652,
"relativeCreated": 78858.77561569214,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Away mode): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:41,855"
}
],
"time_consumption": 0.00010800361633300781
},
{
"name": "__tLogger__",
"msg": "Temperature setpoint is correct (Content %s and Type is %s).",
"args": [
"23",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441681.8557749,
"msecs": 855.7748794555664,
"relativeCreated": 78859.29012298584,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Temperature setpoint is correct (Content 23 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:41,855",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Temperature setpoint",
"23",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441681.8555696,
"msecs": 855.56960105896,
"relativeCreated": 78859.08484458923,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Temperature setpoint): 23 (<class 'int'>)",
"asctime": "2023-02-15 07:14:41,855"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Temperature setpoint",
"=",
"23",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441681.8556855,
"msecs": 855.6854724884033,
"relativeCreated": 78859.20071601868,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Temperature setpoint): result = 23 (<class 'int'>)",
"asctime": "2023-02-15 07:14:41,855"
}
],
"time_consumption": 8.940696716308594e-05
}
],
"time_consumption": 0.9077363014221191,
"time_start": "2023-02-15 07:14:40,948",
"time_finished": "2023-02-15 07:14:41,855"
},
"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": 1676441681.8561769,
"msecs": 856.1768531799316,
"relativeCreated": 78859.6920967102,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Boost mode test: zigbee/gfw/marion/heating_valve",
"asctime": "2023-02-15 07:14:41,856",
"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": 1676441682.1575348,
"msecs": 157.53483772277832,
"relativeCreated": 79161.05008125305,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Setting preconditions (Default setpoint)",
"asctime": "2023-02-15 07:14:42,157",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.set_default_temperature.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/gfw/marion/heating_valve/set_default_temperature/set",
"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": 1676441681.856438,
"msecs": 856.4379215240479,
"relativeCreated": 78859.95316505432,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/gfw/marion/heating_valve/set_default_temperature/set and payload null",
"asctime": "2023-02-15 07:14:41,856"
}
],
"time_consumption": 0.30109691619873047
},
{
"name": "__tLogger__",
"msg": "Boost timer is correct (Content %s and Type is %s).",
"args": [
"0",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441682.158247,
"msecs": 158.2469940185547,
"relativeCreated": 79161.76223754883,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Boost timer is correct (Content 0 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:42,158",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Boost timer",
"0",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441682.157971,
"msecs": 157.97090530395508,
"relativeCreated": 79161.48614883423,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Boost timer): 0 (<class 'int'>)",
"asctime": "2023-02-15 07:14:42,157"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Boost timer",
"=",
"0",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441682.158121,
"msecs": 158.12110900878906,
"relativeCreated": 79161.63635253906,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Boost timer): result = 0 (<class 'int'>)",
"asctime": "2023-02-15 07:14:42,158"
}
],
"time_consumption": 0.000125885009765625
},
{
"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": 1676441682.459815,
"msecs": 459.81502532958984,
"relativeCreated": 79463.33026885986,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Activating boost mode",
"asctime": "2023-02-15 07:14:42,459",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.start_boost.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/gfw/marion/heating_valve/start_boost/set",
"true"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441682.1586616,
"msecs": 158.6616039276123,
"relativeCreated": 79162.17684745789,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/gfw/marion/heating_valve/start_boost/set and payload true",
"asctime": "2023-02-15 07:14:42,158"
},
{
"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": 1676441682.1693392,
"msecs": 169.33917999267578,
"relativeCreated": 79172.85442352295,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/marion/heating_valve/boost_timer and payload b'900'",
"asctime": "2023-02-15 07:14:42,169"
},
{
"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": 1676441682.1696646,
"msecs": 169.6646213531494,
"relativeCreated": 79173.17986488342,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/marion/heating_valve/set and payload b'{\"current_heating_setpoint\": 30}'",
"asctime": "2023-02-15 07:14:42,169"
},
{
"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, \"battery\": 97}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441682.169797,
"msecs": 169.79694366455078,
"relativeCreated": 79173.31218719482,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/marion/heating_valve and payload {\"current_heating_setpoint\": 30, \"local_temperature\": 20.7, \"battery\": 97}",
"asctime": "2023-02-15 07:14:42,169"
},
{
"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": 1676441682.1700704,
"msecs": 170.07040977478027,
"relativeCreated": 79173.58565330505,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/marion/heating_valve/valve_temperature_setpoint and payload b'30'",
"asctime": "2023-02-15 07:14:42,170"
},
{
"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, \"battery\": 97}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441682.1704848,
"msecs": 170.4847812652588,
"relativeCreated": 79174.00002479553,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/marion/heating_valve and payload b'{\"current_heating_setpoint\": 30, \"local_temperature\": 20.7, \"battery\": 97}'",
"asctime": "2023-02-15 07:14:42,170"
}
],
"time_consumption": 0.28933024406433105
},
{
"name": "__tLogger__",
"msg": "Boost timer is greater expectation (Content %s and Type is %s).",
"args": [
"900",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/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": 1676441682.4605315,
"msecs": 460.53147315979004,
"relativeCreated": 79464.04671669006,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Boost timer is greater expectation (Content 900 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:42,460",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Boost timer",
"900",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441682.4602497,
"msecs": 460.249662399292,
"relativeCreated": 79463.76490592957,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Boost timer): 900 (<class 'int'>)",
"asctime": "2023-02-15 07:14:42,460"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Boost timer",
">",
"0",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441682.4604027,
"msecs": 460.4027271270752,
"relativeCreated": 79463.91797065735,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Boost timer): result > 0 (<class 'int'>)",
"asctime": "2023-02-15 07:14:42,460"
}
],
"time_consumption": 0.00012874603271484375
},
{
"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": 1676441682.7618666,
"msecs": 761.866569519043,
"relativeCreated": 79765.38181304932,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Setting postconditions (Default setpoint)",
"asctime": "2023-02-15 07:14:42,761",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.set_default_temperature.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/gfw/marion/heating_valve/set_default_temperature/set",
"true"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441682.460838,
"msecs": 460.83807945251465,
"relativeCreated": 79464.35332298279,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/gfw/marion/heating_valve/set_default_temperature/set and payload true",
"asctime": "2023-02-15 07:14:42,460"
},
{
"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": 1676441682.4720478,
"msecs": 472.0478057861328,
"relativeCreated": 79475.5630493164,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/marion/heating_valve/boost_timer and payload b'0'",
"asctime": "2023-02-15 07:14:42,472"
},
{
"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": 1676441682.4729402,
"msecs": 472.94020652770996,
"relativeCreated": 79476.45545005798,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/marion/heating_valve/set and payload b'{\"current_heating_setpoint\": 23}'",
"asctime": "2023-02-15 07:14:42,472"
},
{
"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, \"battery\": 97}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441682.473328,
"msecs": 473.3281135559082,
"relativeCreated": 79476.84335708618,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/marion/heating_valve and payload {\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"battery\": 97}",
"asctime": "2023-02-15 07:14:42,473"
},
{
"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": 1676441682.4741626,
"msecs": 474.1625785827637,
"relativeCreated": 79477.67782211304,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/marion/heating_valve/valve_temperature_setpoint and payload b'23'",
"asctime": "2023-02-15 07:14:42,474"
},
{
"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, \"battery\": 97}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441682.4753928,
"msecs": 475.39281845092773,
"relativeCreated": 79478.9080619812,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/marion/heating_valve and payload b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"battery\": 97}'",
"asctime": "2023-02-15 07:14:42,475"
}
],
"time_consumption": 0.28647375106811523
},
{
"name": "__tLogger__",
"msg": "Boost timer is correct (Content %s and Type is %s).",
"args": [
"0",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441682.7626417,
"msecs": 762.6416683197021,
"relativeCreated": 79766.15691184998,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Boost timer is correct (Content 0 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:42,762",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Boost timer",
"0",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441682.762309,
"msecs": 762.3090744018555,
"relativeCreated": 79765.82431793213,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Boost timer): 0 (<class 'int'>)",
"asctime": "2023-02-15 07:14:42,762"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Boost timer",
"=",
"0",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441682.7625103,
"msecs": 762.5102996826172,
"relativeCreated": 79766.02554321289,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Boost timer): result = 0 (<class 'int'>)",
"asctime": "2023-02-15 07:14:42,762"
}
],
"time_consumption": 0.00013136863708496094
}
],
"time_consumption": 0.9064648151397705,
"time_start": "2023-02-15 07:14:41,856",
"time_finished": "2023-02-15 07:14:42,762"
},
"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": 1676441682.7631323,
"msecs": 763.1323337554932,
"relativeCreated": 79766.64757728577,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Default temperature test for device and virtual device: zigbee/gfw/marion/heating_valve",
"asctime": "2023-02-15 07:14:42,763",
"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": 1676441683.064703,
"msecs": 64.70298767089844,
"relativeCreated": 80068.21823120117,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Setting preconditions (Valve setpoint to 18.0)",
"asctime": "2023-02-15 07:14:43,064",
"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, \"battery\": 97}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441682.76354,
"msecs": 763.5400295257568,
"relativeCreated": 79767.05527305603,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/marion/heating_valve and payload {\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"battery\": 97}",
"asctime": "2023-02-15 07:14:42,763"
},
{
"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, \"battery\": 97}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441682.7647827,
"msecs": 764.7826671600342,
"relativeCreated": 79768.29791069031,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/marion/heating_valve and payload b'{\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"battery\": 97}'",
"asctime": "2023-02-15 07:14:42,764"
},
{
"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": 1676441682.7694921,
"msecs": 769.4921493530273,
"relativeCreated": 79773.0073928833,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/marion/heating_valve/set and payload b'{\"current_heating_setpoint\": 18}'",
"asctime": "2023-02-15 07:14:42,769"
},
{
"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": 1676441682.7697341,
"msecs": 769.7341442108154,
"relativeCreated": 79773.24938774109,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/marion/heating_valve/valve_temperature_setpoint and payload b'18'",
"asctime": "2023-02-15 07:14:42,769"
},
{
"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": 1676441682.7699564,
"msecs": 769.9563503265381,
"relativeCreated": 79773.47159385681,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/marion/heating_valve/user_temperature_setpoint and payload b'18'",
"asctime": "2023-02-15 07:14:42,769"
}
],
"time_consumption": 0.29474663734436035
},
{
"name": "__tLogger__",
"msg": "Valve temperature setpoint (is not default temperature) is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441683.065483,
"msecs": 65.48309326171875,
"relativeCreated": 80068.99833679199,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Valve temperature setpoint (is not default temperature) is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:43,065",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Valve temperature setpoint (is not default temperature)",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441683.0651677,
"msecs": 65.16766548156738,
"relativeCreated": 80068.68290901184,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Valve temperature setpoint (is not default temperature)): True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:43,065"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Valve temperature setpoint (is not default temperature)",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441683.065323,
"msecs": 65.3231143951416,
"relativeCreated": 80068.83835792542,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Valve temperature setpoint (is not default temperature)): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:43,065"
}
],
"time_consumption": 0.00015997886657714844
},
{
"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": 1676441683.3668513,
"msecs": 366.8513298034668,
"relativeCreated": 80370.36657333374,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Triggering set to default temperature (23.0)",
"asctime": "2023-02-15 07:14:43,366",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.set_default_temperature.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/gfw/marion/heating_valve/set_default_temperature/set",
"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": 1676441683.0658073,
"msecs": 65.80734252929688,
"relativeCreated": 80069.32258605957,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/gfw/marion/heating_valve/set_default_temperature/set and payload null",
"asctime": "2023-02-15 07:14:43,065"
},
{
"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": 1676441683.071983,
"msecs": 71.98309898376465,
"relativeCreated": 80075.49834251404,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/marion/heating_valve/user_temperature_setpoint and payload b'23'",
"asctime": "2023-02-15 07:14:43,071"
},
{
"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": 1676441683.1156251,
"msecs": 115.62514305114746,
"relativeCreated": 80119.14038658142,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/marion/heating_valve/set and payload b'{\"current_heating_setpoint\": 23}'",
"asctime": "2023-02-15 07:14:43,115"
},
{
"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, \"battery\": 97}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441683.1161673,
"msecs": 116.16730690002441,
"relativeCreated": 80119.6825504303,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/marion/heating_valve and payload {\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"battery\": 97}",
"asctime": "2023-02-15 07:14:43,116"
},
{
"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": 1676441683.1171167,
"msecs": 117.11668968200684,
"relativeCreated": 80120.63193321228,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/marion/heating_valve/valve_temperature_setpoint and payload b'23'",
"asctime": "2023-02-15 07:14:43,117"
},
{
"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, \"battery\": 97}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441683.1183386,
"msecs": 118.33858489990234,
"relativeCreated": 80121.85382843018,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/marion/heating_valve and payload b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"battery\": 97}'",
"asctime": "2023-02-15 07:14:43,118"
}
],
"time_consumption": 0.24851274490356445
},
{
"name": "__tLogger__",
"msg": "Valve temperature setpoint is correct (Content %s and Type is %s).",
"args": [
"23",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441683.3676207,
"msecs": 367.62070655822754,
"relativeCreated": 80371.1359500885,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Valve temperature setpoint is correct (Content 23 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:43,367",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Valve temperature setpoint",
"23",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441683.3673096,
"msecs": 367.3095703125,
"relativeCreated": 80370.82481384277,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Valve temperature setpoint): 23 (<class 'int'>)",
"asctime": "2023-02-15 07:14:43,367"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Valve temperature setpoint",
"=",
"23",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441683.367463,
"msecs": 367.4631118774414,
"relativeCreated": 80370.97835540771,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Valve temperature setpoint): result = 23 (<class 'int'>)",
"asctime": "2023-02-15 07:14:43,367"
}
],
"time_consumption": 0.0001575946807861328
}
],
"time_consumption": 0.6044883728027344,
"time_start": "2023-02-15 07:14:42,763",
"time_finished": "2023-02-15 07:14:43,367"
},
"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": 1676441683.3681467,
"msecs": 368.1466579437256,
"relativeCreated": 80371.661901474,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Summer mode test: zigbee/gfw/marion/heating_valve",
"asctime": "2023-02-15 07:14:43,368",
"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": 1676441683.66956,
"msecs": 669.5599555969238,
"relativeCreated": 80673.0751991272,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Setting preconditions (Default setpoint)",
"asctime": "2023-02-15 07:14:43,669",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.set_default_temperature.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/gfw/marion/heating_valve/set_default_temperature/set",
"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": 1676441683.3684912,
"msecs": 368.49117279052734,
"relativeCreated": 80372.0064163208,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/gfw/marion/heating_valve/set_default_temperature/set and payload null",
"asctime": "2023-02-15 07:14:43,368"
}
],
"time_consumption": 0.3010687828063965
},
{
"name": "__tLogger__",
"msg": "Summer mode is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441683.6702633,
"msecs": 670.2632904052734,
"relativeCreated": 80673.77853393555,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Summer mode is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:43,670",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Summer mode",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441683.66999,
"msecs": 669.990062713623,
"relativeCreated": 80673.5053062439,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Summer mode): False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:43,669"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Summer mode",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441683.6701415,
"msecs": 670.1414585113525,
"relativeCreated": 80673.65670204163,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Summer mode): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:43,670"
}
],
"time_consumption": 0.00012183189392089844
},
{
"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": 1676441683.9718974,
"msecs": 971.8973636627197,
"relativeCreated": 80975.412607193,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Activating summer mode",
"asctime": "2023-02-15 07:14:43,971",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.summer_mode.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/gfw/marion/heating_valve/summer_mode/set",
"true"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441683.6707447,
"msecs": 670.7446575164795,
"relativeCreated": 80674.25990104675,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/gfw/marion/heating_valve/summer_mode/set and payload true",
"asctime": "2023-02-15 07:14:43,670"
},
{
"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": 1676441683.681625,
"msecs": 681.6248893737793,
"relativeCreated": 80685.14013290405,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/marion/heating_valve/set and payload b'{\"current_heating_setpoint\": 5}'",
"asctime": "2023-02-15 07:14:43,681"
},
{
"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, \"battery\": 97}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441683.6821094,
"msecs": 682.1093559265137,
"relativeCreated": 80685.62459945679,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/marion/heating_valve and payload {\"current_heating_setpoint\": 5, \"local_temperature\": 20.7, \"battery\": 97}",
"asctime": "2023-02-15 07:14:43,682"
},
{
"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": 1676441683.6830127,
"msecs": 683.0127239227295,
"relativeCreated": 80686.527967453,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/marion/heating_valve/valve_temperature_setpoint and payload b'5'",
"asctime": "2023-02-15 07:14:43,683"
},
{
"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, \"battery\": 97}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441683.6840413,
"msecs": 684.0412616729736,
"relativeCreated": 80687.55650520325,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/marion/heating_valve and payload b'{\"current_heating_setpoint\": 5, \"local_temperature\": 20.7, \"battery\": 97}'",
"asctime": "2023-02-15 07:14:43,684"
},
{
"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": 1676441683.7267456,
"msecs": 726.74560546875,
"relativeCreated": 80730.26084899902,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/marion/heating_valve/summer_mode and payload b'true'",
"asctime": "2023-02-15 07:14:43,726"
}
],
"time_consumption": 0.24515175819396973
},
{
"name": "__tLogger__",
"msg": "Summer mode is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441683.9725118,
"msecs": 972.5117683410645,
"relativeCreated": 80976.02701187134,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Summer mode is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:43,972",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Summer mode",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441683.9722762,
"msecs": 972.2762107849121,
"relativeCreated": 80975.79145431519,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Summer mode): True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:43,972"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Summer mode",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441683.972407,
"msecs": 972.4071025848389,
"relativeCreated": 80975.92234611511,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Summer mode): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:43,972"
}
],
"time_consumption": 0.00010466575622558594
},
{
"name": "__tLogger__",
"msg": "Temperature setpoint is correct (Content %s and Type is %s).",
"args": [
"5",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441683.9728959,
"msecs": 972.8958606719971,
"relativeCreated": 80976.41110420227,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Temperature setpoint is correct (Content 5 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:43,972",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Temperature setpoint",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441683.9726772,
"msecs": 972.6772308349609,
"relativeCreated": 80976.19247436523,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Temperature setpoint): 5 (<class 'int'>)",
"asctime": "2023-02-15 07:14:43,972"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Temperature setpoint",
"=",
"5",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441683.972774,
"msecs": 972.7740287780762,
"relativeCreated": 80976.28927230835,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Temperature setpoint): result = 5 (<class 'int'>)",
"asctime": "2023-02-15 07:14:43,972"
}
],
"time_consumption": 0.00012183189392089844
},
{
"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": 1676441684.2742722,
"msecs": 274.27220344543457,
"relativeCreated": 81277.78744697571,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Deactivating summer mode",
"asctime": "2023-02-15 07:14:44,274",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.summer_mode.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/gfw/marion/heating_valve/summer_mode/set",
"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": 1676441683.9731534,
"msecs": 973.1533527374268,
"relativeCreated": 80976.6685962677,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/gfw/marion/heating_valve/summer_mode/set and payload false",
"asctime": "2023-02-15 07:14:43,973"
},
{
"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": 1676441683.9839816,
"msecs": 983.9816093444824,
"relativeCreated": 80987.49685287476,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/marion/heating_valve/set and payload b'{\"current_heating_setpoint\": 23}'",
"asctime": "2023-02-15 07:14:43,983"
},
{
"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, \"battery\": 97}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441683.9846253,
"msecs": 984.6253395080566,
"relativeCreated": 80988.14058303833,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/marion/heating_valve and payload {\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"battery\": 97}",
"asctime": "2023-02-15 07:14:43,984"
},
{
"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": 1676441683.9854453,
"msecs": 985.4452610015869,
"relativeCreated": 80988.96050453186,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/marion/heating_valve/valve_temperature_setpoint and payload b'23'",
"asctime": "2023-02-15 07:14:43,985"
},
{
"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": 1676441683.986299,
"msecs": 986.2990379333496,
"relativeCreated": 80989.81428146362,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/marion/heating_valve/summer_mode and payload b'false'",
"asctime": "2023-02-15 07:14:43,986"
},
{
"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, \"battery\": 97}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441683.987383,
"msecs": 987.3828887939453,
"relativeCreated": 80990.89813232422,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/marion/heating_valve and payload b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"battery\": 97}'",
"asctime": "2023-02-15 07:14:43,987"
}
],
"time_consumption": 0.28688931465148926
},
{
"name": "__tLogger__",
"msg": "Summer mode is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441684.275069,
"msecs": 275.068998336792,
"relativeCreated": 81278.58424186707,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Summer mode is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:44,275",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Summer mode",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441684.2747495,
"msecs": 274.7495174407959,
"relativeCreated": 81278.26476097107,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Summer mode): False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:44,274"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Summer mode",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441684.27491,
"msecs": 274.90997314453125,
"relativeCreated": 81278.4252166748,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Summer mode): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:44,274"
}
],
"time_consumption": 0.0001590251922607422
},
{
"name": "__tLogger__",
"msg": "Temperature setpoint is correct (Content %s and Type is %s).",
"args": [
"23",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441684.275514,
"msecs": 275.5138874053955,
"relativeCreated": 81279.02913093567,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Temperature setpoint is correct (Content 23 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:44,275",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Temperature setpoint",
"23",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441684.27527,
"msecs": 275.2699851989746,
"relativeCreated": 81278.78522872925,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Temperature setpoint): 23 (<class 'int'>)",
"asctime": "2023-02-15 07:14:44,275"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Temperature setpoint",
"=",
"23",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441684.2754107,
"msecs": 275.41065216064453,
"relativeCreated": 81278.92589569092,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Temperature setpoint): result = 23 (<class 'int'>)",
"asctime": "2023-02-15 07:14:44,275"
}
],
"time_consumption": 0.00010323524475097656
}
],
"time_consumption": 0.9073672294616699,
"time_start": "2023-02-15 07:14:43,368",
"time_finished": "2023-02-15 07:14:44,275"
},
"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": 1676441684.27598,
"msecs": 275.97999572753906,
"relativeCreated": 81279.49523925781,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "User temperature setpoint test for device and virtual device: zigbee/gfw/marion/heating_valve",
"asctime": "2023-02-15 07:14:44,275",
"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": 1676441684.57755,
"msecs": 577.549934387207,
"relativeCreated": 81581.06517791748,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing valve temperature setpoint to '18.0'",
"asctime": "2023-02-15 07:14:44,577",
"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, \"battery\": 97}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441684.2763882,
"msecs": 276.38816833496094,
"relativeCreated": 81279.90341186523,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/marion/heating_valve and payload {\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"battery\": 97}",
"asctime": "2023-02-15 07:14:44,276"
},
{
"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, \"battery\": 97}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441684.2776258,
"msecs": 277.62579917907715,
"relativeCreated": 81281.14104270935,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/marion/heating_valve and payload b'{\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"battery\": 97}'",
"asctime": "2023-02-15 07:14:44,277"
},
{
"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": 1676441684.282492,
"msecs": 282.49192237854004,
"relativeCreated": 81286.00716590881,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/marion/heating_valve/set and payload b'{\"current_heating_setpoint\": 18}'",
"asctime": "2023-02-15 07:14:44,282"
},
{
"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": 1676441684.282724,
"msecs": 282.72390365600586,
"relativeCreated": 81286.23914718628,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/marion/heating_valve/valve_temperature_setpoint and payload b'18'",
"asctime": "2023-02-15 07:14:44,282"
},
{
"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": 1676441684.2829387,
"msecs": 282.93871879577637,
"relativeCreated": 81286.45396232605,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/marion/heating_valve/user_temperature_setpoint and payload b'18'",
"asctime": "2023-02-15 07:14:44,282"
}
],
"time_consumption": 0.29461121559143066
},
{
"name": "__tLogger__",
"msg": "Virtual device valve temperature is correct (Content %s and Type is %s).",
"args": [
"18",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441684.5782928,
"msecs": 578.2928466796875,
"relativeCreated": 81581.80809020996,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device valve temperature is correct (Content 18 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:44,578",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device valve temperature",
"18",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441684.578015,
"msecs": 578.0150890350342,
"relativeCreated": 81581.53033256531,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device valve temperature): 18 (<class 'int'>)",
"asctime": "2023-02-15 07:14:44,578"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device valve temperature",
"=",
"18",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441684.5781696,
"msecs": 578.169584274292,
"relativeCreated": 81581.68482780457,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device valve temperature): result = 18 (<class 'int'>)",
"asctime": "2023-02-15 07:14:44,578"
}
],
"time_consumption": 0.0001232624053955078
},
{
"name": "__tLogger__",
"msg": "Virtual device user temperature is correct (Content %s and Type is %s).",
"args": [
"18",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441684.5787847,
"msecs": 578.784704208374,
"relativeCreated": 81582.29994773865,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device user temperature is correct (Content 18 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:44,578",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device user temperature",
"18",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441684.5785549,
"msecs": 578.5548686981201,
"relativeCreated": 81582.0701122284,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device user temperature): 18 (<class 'int'>)",
"asctime": "2023-02-15 07:14:44,578"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device user temperature",
"=",
"18",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441684.5786796,
"msecs": 578.6795616149902,
"relativeCreated": 81582.19480514526,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device user temperature): result = 18 (<class 'int'>)",
"asctime": "2023-02-15 07:14:44,578"
}
],
"time_consumption": 0.00010514259338378906
},
{
"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": 1676441684.880312,
"msecs": 880.3119659423828,
"relativeCreated": 81883.82720947266,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing videv user temperature setpoint to '23.0'",
"asctime": "2023-02-15 07:14:44,880",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.user_temperature_setpoint.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/gfw/marion/heating_valve/user_temperature_setpoint/set",
"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": 1676441684.5791507,
"msecs": 579.1506767272949,
"relativeCreated": 81582.66592025757,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/gfw/marion/heating_valve/user_temperature_setpoint/set and payload 23",
"asctime": "2023-02-15 07:14:44,579"
},
{
"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": 1676441684.5854213,
"msecs": 585.4213237762451,
"relativeCreated": 81588.93656730652,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/marion/heating_valve/set and payload b'{\"current_heating_setpoint\": 23}'",
"asctime": "2023-02-15 07:14:44,585"
},
{
"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, \"battery\": 97}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441684.5857685,
"msecs": 585.768461227417,
"relativeCreated": 81589.28370475769,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/marion/heating_valve and payload {\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"battery\": 97}",
"asctime": "2023-02-15 07:14:44,585"
},
{
"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": 1676441684.5860143,
"msecs": 586.0142707824707,
"relativeCreated": 81589.52951431274,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/marion/heating_valve/valve_temperature_setpoint and payload b'23'",
"asctime": "2023-02-15 07:14:44,586"
},
{
"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": 1676441684.5862765,
"msecs": 586.2765312194824,
"relativeCreated": 81589.79177474976,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/marion/heating_valve/user_temperature_setpoint and payload b'23'",
"asctime": "2023-02-15 07:14:44,586"
},
{
"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, \"battery\": 97}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441684.586511,
"msecs": 586.5108966827393,
"relativeCreated": 81590.02614021301,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/marion/heating_valve and payload b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"battery\": 97}'",
"asctime": "2023-02-15 07:14:44,586"
}
],
"time_consumption": 0.29380106925964355
},
{
"name": "__tLogger__",
"msg": "Valve device temperature setpoint is correct (Content %s and Type is %s).",
"args": [
"23",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441684.8810887,
"msecs": 881.0887336730957,
"relativeCreated": 81884.60397720337,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Valve device temperature setpoint is correct (Content 23 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:44,881",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Valve device temperature setpoint",
"23",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441684.8807743,
"msecs": 880.7742595672607,
"relativeCreated": 81884.28950309753,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Valve device temperature setpoint): 23 (<class 'int'>)",
"asctime": "2023-02-15 07:14:44,880"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Valve device temperature setpoint",
"=",
"23",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441684.880928,
"msecs": 880.9280395507812,
"relativeCreated": 81884.44328308105,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Valve device temperature setpoint): result = 23 (<class 'int'>)",
"asctime": "2023-02-15 07:14:44,880"
}
],
"time_consumption": 0.00016069412231445312
},
{
"name": "__tLogger__",
"msg": "Virtual device valve temperature is correct (Content %s and Type is %s).",
"args": [
"23",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441684.8815215,
"msecs": 881.521463394165,
"relativeCreated": 81885.03670692444,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device valve temperature is correct (Content 23 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:44,881",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device valve temperature",
"23",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441684.8812926,
"msecs": 881.2925815582275,
"relativeCreated": 81884.8078250885,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device valve temperature): 23 (<class 'int'>)",
"asctime": "2023-02-15 07:14:44,881"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device valve temperature",
"=",
"23",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441684.8814182,
"msecs": 881.4182281494141,
"relativeCreated": 81884.93347167969,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device valve temperature): result = 23 (<class 'int'>)",
"asctime": "2023-02-15 07:14:44,881"
}
],
"time_consumption": 0.00010323524475097656
},
{
"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": 1676441685.1830058,
"msecs": 183.00580978393555,
"relativeCreated": 82186.52105331421,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing valve temperature setpoint to '18.0'",
"asctime": "2023-02-15 07:14:45,183",
"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, \"battery\": 97}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441684.881869,
"msecs": 881.8690776824951,
"relativeCreated": 81885.38432121277,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/marion/heating_valve and payload {\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"battery\": 97}",
"asctime": "2023-02-15 07:14:44,881"
},
{
"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, \"battery\": 97}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441684.8831804,
"msecs": 883.1803798675537,
"relativeCreated": 81886.69562339783,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/marion/heating_valve and payload b'{\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"battery\": 97}'",
"asctime": "2023-02-15 07:14:44,883"
},
{
"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": 1676441684.887886,
"msecs": 887.8860473632812,
"relativeCreated": 81891.40129089355,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/marion/heating_valve/set and payload b'{\"current_heating_setpoint\": 18}'",
"asctime": "2023-02-15 07:14:44,887"
},
{
"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": 1676441684.888692,
"msecs": 888.6919021606445,
"relativeCreated": 81892.20714569092,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/marion/heating_valve/valve_temperature_setpoint and payload b'18'",
"asctime": "2023-02-15 07:14:44,888"
},
{
"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": 1676441684.8894892,
"msecs": 889.4891738891602,
"relativeCreated": 81893.00441741943,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/marion/heating_valve/user_temperature_setpoint and payload b'18'",
"asctime": "2023-02-15 07:14:44,889"
}
],
"time_consumption": 0.2935166358947754
},
{
"name": "__tLogger__",
"msg": "Virtual device valve temperature is correct (Content %s and Type is %s).",
"args": [
"18",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441685.1837568,
"msecs": 183.75682830810547,
"relativeCreated": 82187.27207183838,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device valve temperature is correct (Content 18 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:45,183",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device valve temperature",
"18",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441685.1834855,
"msecs": 183.4855079650879,
"relativeCreated": 82187.00075149536,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device valve temperature): 18 (<class 'int'>)",
"asctime": "2023-02-15 07:14:45,183"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device valve temperature",
"=",
"18",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441685.1836357,
"msecs": 183.63571166992188,
"relativeCreated": 82187.1509552002,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device valve temperature): result = 18 (<class 'int'>)",
"asctime": "2023-02-15 07:14:45,183"
}
],
"time_consumption": 0.00012111663818359375
},
{
"name": "__tLogger__",
"msg": "Virtual device user temperature is correct (Content %s and Type is %s).",
"args": [
"18",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441685.1841583,
"msecs": 184.1583251953125,
"relativeCreated": 82187.67356872559,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device user temperature is correct (Content 18 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:45,184",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device user temperature",
"18",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441685.1839488,
"msecs": 183.94875526428223,
"relativeCreated": 82187.46399879456,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device user temperature): 18 (<class 'int'>)",
"asctime": "2023-02-15 07:14:45,183"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device user temperature",
"=",
"18",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441685.18406,
"msecs": 184.06009674072266,
"relativeCreated": 82187.575340271,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device user temperature): result = 18 (<class 'int'>)",
"asctime": "2023-02-15 07:14:45,184"
}
],
"time_consumption": 9.822845458984375e-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": 1676441685.4856465,
"msecs": 485.64648628234863,
"relativeCreated": 82489.16172981262,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing videv user temperature setpoint to '23.0'",
"asctime": "2023-02-15 07:14:45,485",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.user_temperature_setpoint.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/gfw/marion/heating_valve/user_temperature_setpoint/set",
"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": 1676441685.184476,
"msecs": 184.47589874267578,
"relativeCreated": 82187.99114227295,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/gfw/marion/heating_valve/user_temperature_setpoint/set and payload 23",
"asctime": "2023-02-15 07:14:45,184"
},
{
"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": 1676441685.1907234,
"msecs": 190.72341918945312,
"relativeCreated": 82194.23866271973,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/marion/heating_valve/set and payload b'{\"current_heating_setpoint\": 23}'",
"asctime": "2023-02-15 07:14:45,190"
},
{
"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, \"battery\": 97}"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 75,
"funcName": "send",
"created": 1676441685.191118,
"msecs": 191.1180019378662,
"relativeCreated": 82194.63324546814,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic zigbee/gfw/marion/heating_valve and payload {\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"battery\": 97}",
"asctime": "2023-02-15 07:14:45,191"
},
{
"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": 1676441685.191354,
"msecs": 191.35403633117676,
"relativeCreated": 82194.86927986145,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/marion/heating_valve/valve_temperature_setpoint and payload b'23'",
"asctime": "2023-02-15 07:14:45,191"
},
{
"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": 1676441685.1916094,
"msecs": 191.60938262939453,
"relativeCreated": 82195.12462615967,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/marion/heating_valve/user_temperature_setpoint and payload b'23'",
"asctime": "2023-02-15 07:14:45,191"
},
{
"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, \"battery\": 97}'"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
"filename": "__init__.py",
"module": "__init__",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 91,
"funcName": "__receive__",
"created": 1676441685.191815,
"msecs": 191.81489944458008,
"relativeCreated": 82195.33014297485,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic zigbee/gfw/marion/heating_valve and payload b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"battery\": 97}'",
"asctime": "2023-02-15 07:14:45,191"
}
],
"time_consumption": 0.29383158683776855
},
{
"name": "__tLogger__",
"msg": "Valve device temperature setpoint is correct (Content %s and Type is %s).",
"args": [
"23",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441685.4863825,
"msecs": 486.38248443603516,
"relativeCreated": 82489.89772796631,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Valve device temperature setpoint is correct (Content 23 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:45,486",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Valve device temperature setpoint",
"23",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441685.4861078,
"msecs": 486.10782623291016,
"relativeCreated": 82489.62306976318,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Valve device temperature setpoint): 23 (<class 'int'>)",
"asctime": "2023-02-15 07:14:45,486"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Valve device temperature setpoint",
"=",
"23",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441685.48626,
"msecs": 486.25993728637695,
"relativeCreated": 82489.77518081665,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Valve device temperature setpoint): result = 23 (<class 'int'>)",
"asctime": "2023-02-15 07:14:45,486"
}
],
"time_consumption": 0.00012254714965820312
},
{
"name": "__tLogger__",
"msg": "Virtual device valve temperature is correct (Content %s and Type is %s).",
"args": [
"23",
"<class 'int'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441685.486838,
"msecs": 486.83810234069824,
"relativeCreated": 82490.35334587097,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device valve temperature is correct (Content 23 and Type is <class 'int'>).",
"asctime": "2023-02-15 07:14:45,486",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device valve temperature",
"23",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441685.4866242,
"msecs": 486.62424087524414,
"relativeCreated": 82490.13948440552,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device valve temperature): 23 (<class 'int'>)",
"asctime": "2023-02-15 07:14:45,486"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device valve temperature",
"=",
"23",
"<class 'int'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441685.486739,
"msecs": 486.738920211792,
"relativeCreated": 82490.25416374207,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device valve temperature): result = 23 (<class 'int'>)",
"asctime": "2023-02-15 07:14:45,486"
}
],
"time_consumption": 9.918212890625e-05
}
],
"time_consumption": 1.2108581066131592,
"time_start": "2023-02-15 07:14:44,275",
"time_finished": "2023-02-15 07:14:45,486"
},
"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": 1676441685.4873886,
"msecs": 487.38861083984375,
"relativeCreated": 82490.90385437012,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Power On/ Off test for device and virtual device: shellies/gfw/marion/main_light",
"asctime": "2023-02-15 07:14:45,487",
"moduleLogger": [],
"testcaseLogger": [
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441685.4878387,
"msecs": 487.8387451171875,
"relativeCreated": 82491.35398864746,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:45,487",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441685.4876165,
"msecs": 487.61653900146484,
"relativeCreated": 82491.13178253174,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:45,487"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441685.4877346,
"msecs": 487.7345561981201,
"relativeCreated": 82491.2497997284,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:45,487"
}
],
"time_consumption": 0.00010418891906738281
},
{
"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": 1676441685.7892766,
"msecs": 789.2765998840332,
"relativeCreated": 82792.7918434143,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing switching device state to 'True'",
"asctime": "2023-02-15 07:14:45,789",
"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": 1676441685.488112,
"msecs": 488.1119728088379,
"relativeCreated": 82491.62721633911,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/gfw/marion/main_light/relay/0 and payload on",
"asctime": "2023-02-15 07:14:45,488"
},
{
"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": 1676441685.4893448,
"msecs": 489.34483528137207,
"relativeCreated": 82492.86007881165,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/gfw/marion/main_light/relay/0 and payload b'on'",
"asctime": "2023-02-15 07:14:45,489"
},
{
"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": 1676441685.491745,
"msecs": 491.7449951171875,
"relativeCreated": 82495.26023864746,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/marion/main_light/state and payload b'true'",
"asctime": "2023-02-15 07:14:45,491"
}
],
"time_consumption": 0.2975316047668457
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441685.7900474,
"msecs": 790.0474071502686,
"relativeCreated": 82793.56265068054,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:45,790",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441685.7897298,
"msecs": 789.7298336029053,
"relativeCreated": 82793.24507713318,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:45,789"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441685.7899213,
"msecs": 789.9212837219238,
"relativeCreated": 82793.4365272522,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:45,789"
}
],
"time_consumption": 0.00012612342834472656
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441685.7906146,
"msecs": 790.6146049499512,
"relativeCreated": 82794.12984848022,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:45,790",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441685.7902439,
"msecs": 790.2438640594482,
"relativeCreated": 82793.75910758972,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:45,790"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441685.7903564,
"msecs": 790.3563976287842,
"relativeCreated": 82793.87164115906,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:45,790"
}
],
"time_consumption": 0.0002582073211669922
},
{
"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": 1676441686.0920339,
"msecs": 92.03386306762695,
"relativeCreated": 83095.5491065979,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device state to 'False'",
"asctime": "2023-02-15 07:14:46,092",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.gfw.marion.main_light.state.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/gfw/marion/main_light/state/set",
"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": 1676441685.7910092,
"msecs": 791.0091876983643,
"relativeCreated": 82794.52443122864,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/gfw/marion/main_light/state/set and payload false",
"asctime": "2023-02-15 07:14:45,791"
},
{
"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": 1676441685.79433,
"msecs": 794.3298816680908,
"relativeCreated": 82797.84512519836,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/gfw/marion/main_light/relay/0/command and payload b'off'",
"asctime": "2023-02-15 07:14:45,794"
},
{
"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": 1676441685.7947981,
"msecs": 794.7981357574463,
"relativeCreated": 82798.31337928772,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/gfw/marion/main_light/relay/0 and payload off",
"asctime": "2023-02-15 07:14:45,794"
},
{
"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": 1676441685.796121,
"msecs": 796.1208820343018,
"relativeCreated": 82799.63612556458,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/gfw/marion/main_light/relay/0 and payload b'off'",
"asctime": "2023-02-15 07:14:45,796"
},
{
"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": 1676441685.8388321,
"msecs": 838.8321399688721,
"relativeCreated": 82842.34738349915,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/marion/main_light/state and payload b'false'",
"asctime": "2023-02-15 07:14:45,838"
}
],
"time_consumption": 0.2532017230987549
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441686.092666,
"msecs": 92.6659107208252,
"relativeCreated": 83096.1811542511,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:46,092",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441686.0924308,
"msecs": 92.43083000183105,
"relativeCreated": 83095.9460735321,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:46,092"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441686.0925603,
"msecs": 92.5602912902832,
"relativeCreated": 83096.07553482056,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:46,092"
}
],
"time_consumption": 0.00010561943054199219
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441686.0935872,
"msecs": 93.58716011047363,
"relativeCreated": 83097.10240364075,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:46,093",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441686.0933752,
"msecs": 93.37520599365234,
"relativeCreated": 83096.89044952393,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:46,093"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441686.0934925,
"msecs": 93.49250793457031,
"relativeCreated": 83097.00775146484,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:46,093"
}
],
"time_consumption": 9.465217590332031e-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": 1676441686.3949633,
"msecs": 394.96326446533203,
"relativeCreated": 83398.4785079956,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing switching device state to 'True'",
"asctime": "2023-02-15 07:14:46,394",
"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": 1676441686.0938299,
"msecs": 93.82987022399902,
"relativeCreated": 83097.34511375427,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/gfw/marion/main_light/relay/0 and payload on",
"asctime": "2023-02-15 07:14:46,093"
},
{
"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": 1676441686.094962,
"msecs": 94.96188163757324,
"relativeCreated": 83098.47712516785,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/gfw/marion/main_light/relay/0 and payload b'on'",
"asctime": "2023-02-15 07:14:46,094"
},
{
"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": 1676441686.0969677,
"msecs": 96.96769714355469,
"relativeCreated": 83100.48294067383,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/marion/main_light/state and payload b'true'",
"asctime": "2023-02-15 07:14:46,096"
}
],
"time_consumption": 0.29799556732177734
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441686.3956926,
"msecs": 395.6925868988037,
"relativeCreated": 83399.20783042908,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:46,395",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441686.3954163,
"msecs": 395.416259765625,
"relativeCreated": 83398.9315032959,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:46,395"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441686.3955698,
"msecs": 395.5698013305664,
"relativeCreated": 83399.08504486084,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:46,395"
}
],
"time_consumption": 0.0001227855682373047
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441686.3961315,
"msecs": 396.1315155029297,
"relativeCreated": 83399.6467590332,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:46,396",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441686.39592,
"msecs": 395.9200382232666,
"relativeCreated": 83399.43528175354,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:46,395"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441686.3960319,
"msecs": 396.03185653686523,
"relativeCreated": 83399.54710006714,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:46,396"
}
],
"time_consumption": 9.965896606445312e-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": 1676441686.6975944,
"msecs": 697.594404220581,
"relativeCreated": 83701.10964775085,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device state to 'False'",
"asctime": "2023-02-15 07:14:46,697",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.gfw.marion.main_light.state.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/gfw/marion/main_light/state/set",
"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": 1676441686.3964126,
"msecs": 396.41261100769043,
"relativeCreated": 83399.92785453796,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/gfw/marion/main_light/state/set and payload false",
"asctime": "2023-02-15 07:14:46,396"
},
{
"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": 1676441686.3999045,
"msecs": 399.9044895172119,
"relativeCreated": 83403.41973304749,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/gfw/marion/main_light/relay/0/command and payload b'off'",
"asctime": "2023-02-15 07:14:46,399"
},
{
"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": 1676441686.4003534,
"msecs": 400.35343170166016,
"relativeCreated": 83403.86867523193,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/gfw/marion/main_light/relay/0 and payload off",
"asctime": "2023-02-15 07:14:46,400"
},
{
"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": 1676441686.4016693,
"msecs": 401.6692638397217,
"relativeCreated": 83405.18450737,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/gfw/marion/main_light/relay/0 and payload b'off'",
"asctime": "2023-02-15 07:14:46,401"
},
{
"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": 1676441686.4458814,
"msecs": 445.8813667297363,
"relativeCreated": 83449.39661026001,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/gfw/marion/main_light/state and payload b'false'",
"asctime": "2023-02-15 07:14:46,445"
}
],
"time_consumption": 0.2517130374908447
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441686.698371,
"msecs": 698.3709335327148,
"relativeCreated": 83701.88617706299,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:46,698",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441686.6980553,
"msecs": 698.0552673339844,
"relativeCreated": 83701.57051086426,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:46,698"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441686.698208,
"msecs": 698.2080936431885,
"relativeCreated": 83701.72333717346,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:46,698"
}
],
"time_consumption": 0.0001628398895263672
}
],
"time_consumption": 1.210982322692871,
"time_start": "2023-02-15 07:14:45,487",
"time_finished": "2023-02-15 07:14:46,698"
},
"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": 1676441686.6989608,
"msecs": 698.9607810974121,
"relativeCreated": 83702.47602462769,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Power On/ Off test for device and virtual device: shellies/stw/stairway/main_light",
"asctime": "2023-02-15 07:14:46,698",
"moduleLogger": [],
"testcaseLogger": [
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441686.6994174,
"msecs": 699.4173526763916,
"relativeCreated": 83702.93259620667,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:46,699",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441686.6991894,
"msecs": 699.1894245147705,
"relativeCreated": 83702.70466804504,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:46,699"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441686.6993117,
"msecs": 699.3117332458496,
"relativeCreated": 83702.82697677612,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:46,699"
}
],
"time_consumption": 0.00010561943054199219
},
{
"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": 1676441687.0005865,
"msecs": 0.5865097045898438,
"relativeCreated": 84004.10175323486,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing switching device state to 'True'",
"asctime": "2023-02-15 07:14:47,000",
"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": 1676441686.6997006,
"msecs": 699.7005939483643,
"relativeCreated": 83703.21583747864,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/stw/stairway/main_light/relay/0 and payload on",
"asctime": "2023-02-15 07:14:46,699"
},
{
"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": 1676441686.7009358,
"msecs": 700.9358406066895,
"relativeCreated": 83704.45108413696,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/stw/stairway/main_light/relay/0 and payload b'on'",
"asctime": "2023-02-15 07:14:46,700"
},
{
"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": 1676441686.7043884,
"msecs": 704.3883800506592,
"relativeCreated": 83707.90362358093,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/stw/stairway/main_light/timer and payload b'100'",
"asctime": "2023-02-15 07:14:46,704"
},
{
"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": 1676441686.70523,
"msecs": 705.2299976348877,
"relativeCreated": 83708.74524116516,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/stw/stairway/main_light/state and payload b'true'",
"asctime": "2023-02-15 07:14:46,705"
}
],
"time_consumption": 0.29535651206970215
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441687.0012367,
"msecs": 1.2366771697998047,
"relativeCreated": 84004.75192070007,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:47,001",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441687.0009756,
"msecs": 0.9756088256835938,
"relativeCreated": 84004.49085235596,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:47,000"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441687.0011282,
"msecs": 1.1281967163085938,
"relativeCreated": 84004.64344024658,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:47,001"
}
],
"time_consumption": 0.00010848045349121094
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441687.0015967,
"msecs": 1.596689224243164,
"relativeCreated": 84005.11193275452,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:47,001",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441687.0014079,
"msecs": 1.4078617095947266,
"relativeCreated": 84004.92310523987,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:47,001"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441687.0015073,
"msecs": 1.5072822570800781,
"relativeCreated": 84005.02252578735,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:47,001"
}
],
"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": 1676441687.3029647,
"msecs": 302.9646873474121,
"relativeCreated": 84306.47993087769,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device state to 'False'",
"asctime": "2023-02-15 07:14:47,302",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.stw.stairway.main_light.state.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/stw/stairway/main_light/state/set",
"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": 1676441687.0018828,
"msecs": 1.882791519165039,
"relativeCreated": 84005.39803504944,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/stw/stairway/main_light/state/set and payload false",
"asctime": "2023-02-15 07:14:47,001"
},
{
"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": 1676441687.00474,
"msecs": 4.739999771118164,
"relativeCreated": 84008.25524330139,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/stw/stairway/main_light/relay/0/command and payload b'off'",
"asctime": "2023-02-15 07:14:47,004"
},
{
"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": 1676441687.005294,
"msecs": 5.294084548950195,
"relativeCreated": 84008.80932807922,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/stw/stairway/main_light/relay/0 and payload off",
"asctime": "2023-02-15 07:14:47,005"
},
{
"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": 1676441687.0062606,
"msecs": 6.26063346862793,
"relativeCreated": 84009.7758769989,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/stw/stairway/main_light/relay/0 and payload b'off'",
"asctime": "2023-02-15 07:14:47,006"
},
{
"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": 1676441687.050679,
"msecs": 50.67896842956543,
"relativeCreated": 84054.19421195984,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/stw/stairway/main_light/relay/0/command and payload b'off'",
"asctime": "2023-02-15 07:14:47,050"
},
{
"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": 1676441687.0514657,
"msecs": 51.465749740600586,
"relativeCreated": 84054.98099327087,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/stw/stairway/main_light/timer and payload b'0'",
"asctime": "2023-02-15 07:14:47,051"
},
{
"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": 1676441687.0521317,
"msecs": 52.13165283203125,
"relativeCreated": 84055.6468963623,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/stw/stairway/main_light/state and payload b'false'",
"asctime": "2023-02-15 07:14:47,052"
}
],
"time_consumption": 0.25083303451538086
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441687.3037028,
"msecs": 303.70283126831055,
"relativeCreated": 84307.21807479858,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:47,303",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441687.3034253,
"msecs": 303.4253120422363,
"relativeCreated": 84306.94055557251,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:47,303"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441687.3035781,
"msecs": 303.57813835144043,
"relativeCreated": 84307.09338188171,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:47,303"
}
],
"time_consumption": 0.0001246929168701172
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441687.30411,
"msecs": 304.110050201416,
"relativeCreated": 84307.62529373169,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:47,304",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441687.3038993,
"msecs": 303.89928817749023,
"relativeCreated": 84307.41453170776,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:47,303"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441687.3040104,
"msecs": 304.01039123535156,
"relativeCreated": 84307.52563476562,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:47,304"
}
],
"time_consumption": 9.965896606445312e-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": 1676441687.6055937,
"msecs": 605.5936813354492,
"relativeCreated": 84609.10892486572,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing switching device state to 'True'",
"asctime": "2023-02-15 07:14:47,605",
"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": 1676441687.304377,
"msecs": 304.37707901000977,
"relativeCreated": 84307.89232254028,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/stw/stairway/main_light/relay/0 and payload on",
"asctime": "2023-02-15 07:14:47,304"
},
{
"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": 1676441687.3056984,
"msecs": 305.6983947753906,
"relativeCreated": 84309.21363830566,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/stw/stairway/main_light/relay/0 and payload b'on'",
"asctime": "2023-02-15 07:14:47,305"
},
{
"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": 1676441687.3089497,
"msecs": 308.94970893859863,
"relativeCreated": 84312.46495246887,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/stw/stairway/main_light/timer and payload b'100'",
"asctime": "2023-02-15 07:14:47,308"
},
{
"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": 1676441687.3097873,
"msecs": 309.7872734069824,
"relativeCreated": 84313.30251693726,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/stw/stairway/main_light/state and payload b'true'",
"asctime": "2023-02-15 07:14:47,309"
}
],
"time_consumption": 0.2958064079284668
},
{
"name": "__tLogger__",
"msg": "Virtual device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441687.6065016,
"msecs": 606.501579284668,
"relativeCreated": 84610.01682281494,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:47,606",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Virtual device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441687.6061063,
"msecs": 606.1062812805176,
"relativeCreated": 84609.62152481079,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Virtual device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:47,606"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Virtual device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441687.606312,
"msecs": 606.3120365142822,
"relativeCreated": 84609.82728004456,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:47,606"
}
],
"time_consumption": 0.0001895427703857422
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"True",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441687.6069727,
"msecs": 606.9726943969727,
"relativeCreated": 84610.48793792725,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:47,606",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441687.6067362,
"msecs": 606.7361831665039,
"relativeCreated": 84610.25142669678,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:47,606"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"True",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441687.60686,
"msecs": 606.8599224090576,
"relativeCreated": 84610.37516593933,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = True (<class 'bool'>)",
"asctime": "2023-02-15 07:14:47,606"
}
],
"time_consumption": 0.00011277198791503906
},
{
"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": 1676441687.90832,
"msecs": 908.3199501037598,
"relativeCreated": 84911.83519363403,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Changing virtual device state to 'False'",
"asctime": "2023-02-15 07:14:47,908",
"moduleLogger": [
{
"name": "smart_brain.mqtt.videv.stw.stairway.main_light.state.set",
"msg": "Sending message with topic %s and payload %s",
"args": [
"videv/stw/stairway/main_light/state/set",
"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": 1676441687.607284,
"msecs": 607.2840690612793,
"relativeCreated": 84610.79931259155,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic videv/stw/stairway/main_light/state/set and payload false",
"asctime": "2023-02-15 07:14:47,607"
},
{
"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": 1676441687.6107852,
"msecs": 610.7852458953857,
"relativeCreated": 84614.30048942566,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/stw/stairway/main_light/relay/0/command and payload b'off'",
"asctime": "2023-02-15 07:14:47,610"
},
{
"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": 1676441687.6114519,
"msecs": 611.4518642425537,
"relativeCreated": 84614.96710777283,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Sending message with topic shellies/stw/stairway/main_light/relay/0 and payload off",
"asctime": "2023-02-15 07:14:47,611"
},
{
"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": 1676441687.6125178,
"msecs": 612.5178337097168,
"relativeCreated": 84616.03307723999,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/stw/stairway/main_light/relay/0 and payload b'off'",
"asctime": "2023-02-15 07:14:47,612"
},
{
"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": 1676441687.6554933,
"msecs": 655.4932594299316,
"relativeCreated": 84659.0085029602,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic shellies/stw/stairway/main_light/relay/0/command and payload b'off'",
"asctime": "2023-02-15 07:14:47,655"
},
{
"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": 1676441687.6565604,
"msecs": 656.5604209899902,
"relativeCreated": 84660.07566452026,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/stw/stairway/main_light/timer and payload b'0'",
"asctime": "2023-02-15 07:14:47,656"
},
{
"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": 1676441687.699516,
"msecs": 699.5160579681396,
"relativeCreated": 84703.03130149841,
"thread": 140246884292160,
"threadName": "Thread-1 (_thread_main)",
"processName": "MainProcess",
"process": 509276,
"message": "Received message with topic videv/stw/stairway/main_light/state and payload b'false'",
"asctime": "2023-02-15 07:14:47,699"
}
],
"time_consumption": 0.20880389213562012
},
{
"name": "__tLogger__",
"msg": "Switching device state is correct (Content %s and Type is %s).",
"args": [
"False",
"<class 'bool'>"
],
"levelname": "INFO",
"levelno": 20,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 184,
"funcName": "equivalency_chk",
"created": 1676441687.9091496,
"msecs": 909.1496467590332,
"relativeCreated": 84912.6648902893,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
"asctime": "2023-02-15 07:14:47,909",
"moduleLogger": [
{
"name": "__unittest__",
"msg": "Result (%s): %s (%s)",
"args": [
"Switching device state",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 22,
"funcName": "__report_result__",
"created": 1676441687.9088385,
"msecs": 908.8385105133057,
"relativeCreated": 84912.35375404358,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Result (Switching device state): False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:47,908"
},
{
"name": "__unittest__",
"msg": "Expectation (%s): result %s %s (%s)",
"args": [
"Switching device state",
"=",
"False",
"<class 'bool'>"
],
"levelname": "DEBUG",
"levelno": 10,
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
"filename": "test.py",
"module": "test",
"exc_info": null,
"exc_text": null,
"stack_info": null,
"lineno": 26,
"funcName": "__report_expectation__",
"created": 1676441687.9090106,
"msecs": 909.010648727417,
"relativeCreated": 84912.52589225769,
"thread": 140246908178432,
"threadName": "MainThread",
"processName": "MainProcess",
"process": 509276,
"message": "Expectation (Switching device state): result = False (<class 'bool'>)",
"asctime": "2023-02-15 07:14:47,909"
}
],
"time_consumption": 0.00013899803161621094
}
],
"time_consumption": 1.210188865661621,
"time_start": "2023-02-15 07:14:46,698",
"time_finished": "2023-02-15 07:14:47,909"
}
},
"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.2.0",
"major": 1,
"minor": 2,
"patch": 0
},
"git": {
"url": "https://git.mount-mockery.de/smarthome/smart_brain.git",
"ref": "f3ed72974e5fd3bf932ab78acdf0a1d6154dd733"
}
}
}