22258 lines
1.3 MiB
22258 lines
1.3 MiB
{
|
|
"system_information": {
|
|
"Architecture": "64bit",
|
|
"Machine": "x86_64",
|
|
"Hostname": "erle",
|
|
"Distribution": "Debian GNU/Linux 13 (trixie)",
|
|
"System": "Linux",
|
|
"Kernel": "6.15.1-surface-2 (#2 SMP PREEMPT_DYNAMIC Tue Jun 24 21:02:07 UTC 2025)",
|
|
"Username": "dirk",
|
|
"Path": "/home/dirk/work/smarthome_collection/smart_brain_test"
|
|
},
|
|
"testobject_information": {
|
|
"Name": "smart_brain",
|
|
"Version": "1.3.0",
|
|
"Git URL": "https://git.mount-mockery.de/smarthome/smart_brain.git",
|
|
"Git REF": "84d989aa1fce81f88f4ffc2cdcc80d057f3d573b"
|
|
},
|
|
"unittest_information": {},
|
|
"specification": {},
|
|
"lost_souls": {
|
|
"item_list": [],
|
|
"testcase_list": [
|
|
"Clean-Up",
|
|
"REQ-0001",
|
|
"REQ-0002",
|
|
"REQ-0011",
|
|
"REQ-0012",
|
|
"REQ-0021",
|
|
"REQ-0022",
|
|
"REQ-0031",
|
|
"REQ-0032",
|
|
"REQ-0041",
|
|
"REQ-0042",
|
|
"REQ-0101",
|
|
"REQ-0102",
|
|
"REQ-0111",
|
|
"REQ-0112",
|
|
"REQ-0121",
|
|
"REQ-0122",
|
|
"REQ-0141",
|
|
"REQ-0142",
|
|
"REQ-0301",
|
|
"REQ-0302",
|
|
"REQ-0311",
|
|
"REQ-0312",
|
|
"REQ-0321",
|
|
"REQ-0322",
|
|
"REQ-0401",
|
|
"REQ-0402"
|
|
]
|
|
},
|
|
"testrun_list": [
|
|
{
|
|
"time_consumption": 16.202539920806885,
|
|
"number_of_possibly_failed_tests": 0,
|
|
"number_of_failed_tests": 0,
|
|
"number_of_tests": 27,
|
|
"testcase_execution_level": 90,
|
|
"testcase_names": {
|
|
"0": "Single Test",
|
|
"10": "Smoke Test (Minumum subset)",
|
|
"50": "Short Test (Subset)",
|
|
"90": "Full Test (all defined tests)"
|
|
},
|
|
"interpreter": "python3.13.5",
|
|
"number_of_successfull_tests": 27,
|
|
"name": "Default Testsession name",
|
|
"testcases": {
|
|
"Clean-Up": {
|
|
"name": "__tLogger__",
|
|
"msg": "Clean-Up",
|
|
"args": null,
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/report/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 329,
|
|
"funcName": "testCase",
|
|
"created": 1755547636.4685853,
|
|
"msecs": 468.0,
|
|
"relativeCreated": 252.307937,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Clean-Up",
|
|
"asctime": "2025-08-18 22:07:16,468",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "smart_brain.mqtt",
|
|
"msg": "Adding callback for topic %s",
|
|
"args": [
|
|
"__info__"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 70,
|
|
"funcName": "add_callback",
|
|
"created": 1755547636.468174,
|
|
"msecs": 468.0,
|
|
"relativeCreated": 251.896776,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Adding callback for topic __info__",
|
|
"asctime": "2025-08-18 22:07:16,468"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.__info__",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"__info__",
|
|
"null"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547636.4684525,
|
|
"msecs": 468.0,
|
|
"relativeCreated": 252.174933,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic __info__ and payload null",
|
|
"asctime": "2025-08-18 22:07:16,468"
|
|
}
|
|
],
|
|
"testcaseLogger": [
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Collecting startup logs...",
|
|
"args": [],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/testresults/../smart_brain_test.py",
|
|
"filename": "smart_brain_test.py",
|
|
"module": "smart_brain_test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 25,
|
|
"funcName": "cleanup",
|
|
"created": 1755547636.9689963,
|
|
"msecs": 968.0,
|
|
"relativeCreated": 752.718849,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Collecting startup logs...",
|
|
"asctime": "2025-08-18 22:07:16,968",
|
|
"moduleLogger": [
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547636.468777,
|
|
"msecs": 468.0,
|
|
"relativeCreated": 252.499622,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/ffe/livingroom/main_light/relay/0 and payload b'off'",
|
|
"asctime": "2025-08-18 22:07:16,468"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.1",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"shellies/ffe/livingroom/main_light/relay/1",
|
|
"b'off'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547636.4690568,
|
|
"msecs": 469.0,
|
|
"relativeCreated": 252.779316,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/ffe/livingroom/main_light/relay/1 and payload b'off'",
|
|
"asctime": "2025-08-18 22:07:16,469"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.xmas-tree",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/xmas-tree",
|
|
"b'{\"state\": \"off\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547636.4702077,
|
|
"msecs": 470.0,
|
|
"relativeCreated": 253.930326,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/livingroom/xmas-tree and payload b'{\"state\": \"off\"}'",
|
|
"asctime": "2025-08-18 22:07:16,470"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.xmas-star",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/xmas-star",
|
|
"b'{\"state\": \"off\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547636.4704838,
|
|
"msecs": 470.0,
|
|
"relativeCreated": 254.206363,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/livingroom/xmas-star and payload b'{\"state\": \"off\"}'",
|
|
"asctime": "2025-08-18 22:07:16,470"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.heating_valve",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/heating_valve",
|
|
"b'{\"current_heating_setpoint\": 20, \"local_temperature\": 20.7, \"battery\": 97}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547636.4707358,
|
|
"msecs": 470.0,
|
|
"relativeCreated": 254.45857,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/livingroom/heating_valve and payload b'{\"current_heating_setpoint\": 20, \"local_temperature\": 20.7, \"battery\": 97}'",
|
|
"asctime": "2025-08-18 22:07:16,470"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.shellies.stw.firstfloor.main_light.relay.0",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"shellies/stw/firstfloor/main_light/relay/0",
|
|
"b'off'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547636.4709995,
|
|
"msecs": 470.0,
|
|
"relativeCreated": 254.722243,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/stw/firstfloor/main_light/relay/0 and payload b'off'",
|
|
"asctime": "2025-08-18 22:07:16,470"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.shellies.stw.firstfloor.main_light.relay.1",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"shellies/stw/firstfloor/main_light/relay/1",
|
|
"b'off'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547636.4711864,
|
|
"msecs": 471.0,
|
|
"relativeCreated": 254.90895,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/stw/firstfloor/main_light/relay/1 and payload b'off'",
|
|
"asctime": "2025-08-18 22:07:16,471"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_gfw.gar.garden.garland",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_gfw/gar/garden/garland",
|
|
"b'{\"state\": \"off\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547636.4714646,
|
|
"msecs": 471.0,
|
|
"relativeCreated": 255.187264,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_gfw/gar/garden/garland and payload b'{\"state\": \"off\"}'",
|
|
"asctime": "2025-08-18 22:07:16,471"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_gfw.gar.garden.repeater",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_gfw/gar/garden/repeater",
|
|
"b'{\"state\": \"off\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547636.4717236,
|
|
"msecs": 471.0,
|
|
"relativeCreated": 255.446134,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_gfw/gar/garden/repeater and payload b'{\"state\": \"off\"}'",
|
|
"asctime": "2025-08-18 22:07:16,471"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547636.477511,
|
|
"msecs": 477.0,
|
|
"relativeCreated": 261.233572,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffw/julian/main_light/state and payload b'false'",
|
|
"asctime": "2025-08-18 22:07:16,477"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547636.4777877,
|
|
"msecs": 477.0,
|
|
"relativeCreated": 261.510222,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffw/livingroom/main_light/state and payload b'false'",
|
|
"asctime": "2025-08-18 22:07:16,477"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffw.ffw.sleep.window_light.set",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffw/ffw/sleep/window_light/set",
|
|
"b'{\"state\": \"off\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547636.4779618,
|
|
"msecs": 477.0,
|
|
"relativeCreated": 261.684238,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffw/ffw/sleep/window_light/set and payload b'{\"state\": \"off\"}'",
|
|
"asctime": "2025-08-18 22:07:16,477"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547636.4781234,
|
|
"msecs": 478.0,
|
|
"relativeCreated": 261.846211,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffw/sleep/main_light/state and payload b'false'",
|
|
"asctime": "2025-08-18 22:07:16,478"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547636.47831,
|
|
"msecs": 478.0,
|
|
"relativeCreated": 262.03269,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffe/floor/main_light/state and payload b'false'",
|
|
"asctime": "2025-08-18 22:07:16,478"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547636.4784646,
|
|
"msecs": 478.0,
|
|
"relativeCreated": 262.187006,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffe/kitchen/main_light/state and payload b'false'",
|
|
"asctime": "2025-08-18 22:07:16,478"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547636.4786227,
|
|
"msecs": 478.0,
|
|
"relativeCreated": 262.345205,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffe/kitchen/circulation_pump/state and payload b'false'",
|
|
"asctime": "2025-08-18 22:07:16,478"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.diningroom.floor_light.set",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/diningroom/floor_light/set",
|
|
"b'{\"state\": \"off\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547636.4787793,
|
|
"msecs": 478.0,
|
|
"relativeCreated": 262.502025,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/diningroom/floor_light/set and payload b'{\"state\": \"off\"}'",
|
|
"asctime": "2025-08-18 22:07:16,478"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547636.478942,
|
|
"msecs": 478.0,
|
|
"relativeCreated": 262.664656,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffe/diningroom/main_light/state and payload b'false'",
|
|
"asctime": "2025-08-18 22:07:16,478"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547636.4790938,
|
|
"msecs": 479.0,
|
|
"relativeCreated": 262.816445,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffe/diningroom/floorlamp/state and payload b'false'",
|
|
"asctime": "2025-08-18 22:07:16,479"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.ffe.diningroom.garland.state",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/ffe/diningroom/garland/state",
|
|
"b'false'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547636.479264,
|
|
"msecs": 479.0,
|
|
"relativeCreated": 262.986613,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffe/diningroom/garland/state and payload b'false'",
|
|
"asctime": "2025-08-18 22:07:16,479"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547636.4794178,
|
|
"msecs": 479.0,
|
|
"relativeCreated": 263.140497,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffe/sleep/main_light/state and payload b'false'",
|
|
"asctime": "2025-08-18 22:07:16,479"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547636.4795637,
|
|
"msecs": 479.0,
|
|
"relativeCreated": 263.286353,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffe/sleep/bed_light_ma/state and payload b'false'",
|
|
"asctime": "2025-08-18 22:07:16,479"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_1.set",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_1/set",
|
|
"b'{\"state\": \"off\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547636.4797153,
|
|
"msecs": 479.0,
|
|
"relativeCreated": 263.437959,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/livingroom/floor_light_1/set and payload b'{\"state\": \"off\"}'",
|
|
"asctime": "2025-08-18 22:07:16,479"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_2.set",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_2/set",
|
|
"b'{\"state\": \"off\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547636.4798691,
|
|
"msecs": 479.0,
|
|
"relativeCreated": 263.59178,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/livingroom/floor_light_2/set and payload b'{\"state\": \"off\"}'",
|
|
"asctime": "2025-08-18 22:07:16,479"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_3.set",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_3/set",
|
|
"b'{\"state\": \"off\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547636.480018,
|
|
"msecs": 480.0,
|
|
"relativeCreated": 263.740593,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/livingroom/floor_light_3/set and payload b'{\"state\": \"off\"}'",
|
|
"asctime": "2025-08-18 22:07:16,480"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_4.set",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_4/set",
|
|
"b'{\"state\": \"off\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547636.480173,
|
|
"msecs": 480.0,
|
|
"relativeCreated": 263.895638,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/livingroom/floor_light_4/set and payload b'{\"state\": \"off\"}'",
|
|
"asctime": "2025-08-18 22:07:16,480"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_5.set",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_5/set",
|
|
"b'{\"state\": \"off\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547636.4803226,
|
|
"msecs": 480.0,
|
|
"relativeCreated": 264.04514,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/livingroom/floor_light_5/set and payload b'{\"state\": \"off\"}'",
|
|
"asctime": "2025-08-18 22:07:16,480"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_6.set",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_6/set",
|
|
"b'{\"state\": \"off\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547636.4804652,
|
|
"msecs": 480.0,
|
|
"relativeCreated": 264.187661,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/livingroom/floor_light_6/set and payload b'{\"state\": \"off\"}'",
|
|
"asctime": "2025-08-18 22:07:16,480"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547636.4806132,
|
|
"msecs": 480.0,
|
|
"relativeCreated": 264.335853,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffe/livingroom/main_light/state and payload b'false'",
|
|
"asctime": "2025-08-18 22:07:16,480"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.ffe.livingroom.xmas_tree.state",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/ffe/livingroom/xmas_tree/state",
|
|
"b'false'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547636.480768,
|
|
"msecs": 480.0,
|
|
"relativeCreated": 264.490676,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffe/livingroom/xmas_tree/state and payload b'false'",
|
|
"asctime": "2025-08-18 22:07:16,480"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547636.4809253,
|
|
"msecs": 480.0,
|
|
"relativeCreated": 264.647993,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/stw/stairway/main_light/state and payload b'false'",
|
|
"asctime": "2025-08-18 22:07:16,480"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547636.511617,
|
|
"msecs": 511.0,
|
|
"relativeCreated": 295.339578,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic __info__ and payload b'null'",
|
|
"asctime": "2025-08-18 22:07:16,511"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.__info__",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"__info__",
|
|
"b'{\"app_name\": \"smart_brain\", \"version\": {\"readable\": \"1.3.0\", \"major\": 1, \"minor\": 3, \"patch\": 0}, \"git\": {\"url\": \"https://git.mount-mockery.de/smarthome/smart_brain.git\", \"ref\": \"84d989aa1fce81f88f4ffc2cdcc80d057f3d573b\"}}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547636.5119083,
|
|
"msecs": 511.0,
|
|
"relativeCreated": 295.631035,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic __info__ and payload b'{\"app_name\": \"smart_brain\", \"version\": {\"readable\": \"1.3.0\", \"major\": 1, \"minor\": 3, \"patch\": 0}, \"git\": {\"url\": \"https://git.mount-mockery.de/smarthome/smart_brain.git\", \"ref\": \"84d989aa1fce81f88f4ffc2cdcc80d057f3d573b\"}}'",
|
|
"asctime": "2025-08-18 22:07:16,511"
|
|
}
|
|
],
|
|
"time_consumption": 0.45708799362182617
|
|
}
|
|
],
|
|
"time_consumption": 0.5004110336303711,
|
|
"time_start": "2025-08-18 22:07:16,468",
|
|
"time_finished": "2025-08-18 22:07:16,968"
|
|
},
|
|
"REQ-0001": {
|
|
"name": "__tLogger__",
|
|
"msg": "REQ-0001",
|
|
"args": null,
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/report/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 329,
|
|
"funcName": "testCase",
|
|
"created": 1755547636.9694364,
|
|
"msecs": 969.0,
|
|
"relativeCreated": 753.158954,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "REQ-0001",
|
|
"asctime": "2025-08-18 22:07:16,969",
|
|
"moduleLogger": [],
|
|
"testcaseLogger": [
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Prepare: Setting devices to last state %s",
|
|
"args": [
|
|
"False"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 14,
|
|
"funcName": "device_follow",
|
|
"created": 1755547637.0702424,
|
|
"msecs": 70.0,
|
|
"relativeCreated": 853.965044,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Prepare: Setting devices to last state False",
|
|
"asctime": "2025-08-18 22:07:17,070",
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547636.9696054,
|
|
"msecs": 969.0,
|
|
"relativeCreated": 753.327968,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic videv/ffe/livingroom/main_light/state/set and payload false",
|
|
"asctime": "2025-08-18 22:07:16,969"
|
|
},
|
|
{
|
|
"name": "smart_brain.devices.shellies.ffe.livingroom.main_light",
|
|
"msg": "Unexpected key %s",
|
|
"args": [
|
|
"state"
|
|
],
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/base.py",
|
|
"filename": "base.py",
|
|
"module": "base",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 42,
|
|
"funcName": "set",
|
|
"created": 1755547636.9698386,
|
|
"msecs": 969.0,
|
|
"relativeCreated": 753.561135,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Unexpected key state",
|
|
"asctime": "2025-08-18 22:07:16,969"
|
|
}
|
|
],
|
|
"time_consumption": 0.1004037857055664
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Start state (master, slave) is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547637.1708019,
|
|
"msecs": 170.0,
|
|
"relativeCreated": 954.524539,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Start state (master, slave) is correct (Content (False, False) and Type is <class 'tuple'>).",
|
|
"asctime": "2025-08-18 22:07:17,170",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Start state (master, slave)",
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547637.1706161,
|
|
"msecs": 170.0,
|
|
"relativeCreated": 954.338636,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Start state (master, slave)): (False, False) (<class 'tuple'>)",
|
|
"asctime": "2025-08-18 22:07:17,170"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Start state (master, slave)",
|
|
"=",
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547637.1707451,
|
|
"msecs": 170.0,
|
|
"relativeCreated": 954.467635,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Start state (master, slave)): result = (False, False) (<class 'tuple'>)",
|
|
"asctime": "2025-08-18 22:07:17,170"
|
|
}
|
|
],
|
|
"time_consumption": 5.6743621826171875e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Setting state of %s to %s",
|
|
"args": [
|
|
"videv/ffe/livingroom/main_light",
|
|
"True"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "device_follow",
|
|
"created": 1755547637.170899,
|
|
"msecs": 170.0,
|
|
"relativeCreated": 954.621604,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Setting state of videv/ffe/livingroom/main_light to True",
|
|
"asctime": "2025-08-18 22:07:17,170",
|
|
"moduleLogger": [],
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Value for shellies/ffe/livingroom/main_light is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547637.374746,
|
|
"msecs": 374.0,
|
|
"relativeCreated": 1158.46869,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Value for shellies/ffe/livingroom/main_light is correct (Content True and Type is <class 'bool'>).",
|
|
"asctime": "2025-08-18 22:07:17,374",
|
|
"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",
|
|
"true"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547637.1710005,
|
|
"msecs": 171.0,
|
|
"relativeCreated": 954.723247,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic videv/ffe/livingroom/main_light/state/set and payload true",
|
|
"asctime": "2025-08-18 22:07:17,171"
|
|
},
|
|
{
|
|
"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'on'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.1730967,
|
|
"msecs": 173.0,
|
|
"relativeCreated": 956.819219,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/ffe/livingroom/main_light/relay/0/command and payload b'on'",
|
|
"asctime": "2025-08-18 22:07:17,173"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547637.17343,
|
|
"msecs": 173.0,
|
|
"relativeCreated": 957.152679,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic shellies/ffe/livingroom/main_light/relay/0 and payload on",
|
|
"asctime": "2025-08-18 22:07:17,173"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.main_light",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/main_light",
|
|
"{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547637.1738431,
|
|
"msecs": 173.0,
|
|
"relativeCreated": 957.565885,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic zigbee_ffe/ffe/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
|
|
"asctime": "2025-08-18 22:07:17,173"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.1744747,
|
|
"msecs": 174.0,
|
|
"relativeCreated": 958.197414,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/ffe/livingroom/main_light/relay/0 and payload b'on'",
|
|
"asctime": "2025-08-18 22:07:17,174"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.main_light",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/main_light",
|
|
"b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.1747215,
|
|
"msecs": 174.0,
|
|
"relativeCreated": 958.444268,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
|
|
"asctime": "2025-08-18 22:07:17,174"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_1.set",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_1/set",
|
|
"b'{\"state\": \"on\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.2175038,
|
|
"msecs": 217.0,
|
|
"relativeCreated": 1001.226471,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/livingroom/floor_light_1/set and payload b'{\"state\": \"on\"}'",
|
|
"asctime": "2025-08-18 22:07:17,217"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_1",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_1",
|
|
"{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547637.2179422,
|
|
"msecs": 217.0,
|
|
"relativeCreated": 1001.664834,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic zigbee_ffe/ffe/livingroom/floor_light_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
|
|
"asctime": "2025-08-18 22:07:17,217"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_2.set",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_2/set",
|
|
"b'{\"state\": \"on\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.2182891,
|
|
"msecs": 218.0,
|
|
"relativeCreated": 1002.011757,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/livingroom/floor_light_2/set and payload b'{\"state\": \"on\"}'",
|
|
"asctime": "2025-08-18 22:07:17,218"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_2",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_2",
|
|
"{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547637.218601,
|
|
"msecs": 218.0,
|
|
"relativeCreated": 1002.323533,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic zigbee_ffe/ffe/livingroom/floor_light_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
|
|
"asctime": "2025-08-18 22:07:17,218"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_3.set",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_3/set",
|
|
"b'{\"state\": \"on\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.218907,
|
|
"msecs": 218.0,
|
|
"relativeCreated": 1002.629649,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/livingroom/floor_light_3/set and payload b'{\"state\": \"on\"}'",
|
|
"asctime": "2025-08-18 22:07:17,218"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_3",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_3",
|
|
"{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547637.2192137,
|
|
"msecs": 219.0,
|
|
"relativeCreated": 1002.936425,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic zigbee_ffe/ffe/livingroom/floor_light_3 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
|
|
"asctime": "2025-08-18 22:07:17,219"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_4.set",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_4/set",
|
|
"b'{\"state\": \"on\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.2194495,
|
|
"msecs": 219.0,
|
|
"relativeCreated": 1003.172094,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/livingroom/floor_light_4/set and payload b'{\"state\": \"on\"}'",
|
|
"asctime": "2025-08-18 22:07:17,219"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_4",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_4",
|
|
"{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547637.2196996,
|
|
"msecs": 219.0,
|
|
"relativeCreated": 1003.422374,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic zigbee_ffe/ffe/livingroom/floor_light_4 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
|
|
"asctime": "2025-08-18 22:07:17,219"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_5.set",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_5/set",
|
|
"b'{\"state\": \"on\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.219961,
|
|
"msecs": 219.0,
|
|
"relativeCreated": 1003.683435,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/livingroom/floor_light_5/set and payload b'{\"state\": \"on\"}'",
|
|
"asctime": "2025-08-18 22:07:17,219"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_5",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_5",
|
|
"{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547637.2202334,
|
|
"msecs": 220.0,
|
|
"relativeCreated": 1003.956189,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic zigbee_ffe/ffe/livingroom/floor_light_5 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
|
|
"asctime": "2025-08-18 22:07:17,220"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_6.set",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_6/set",
|
|
"b'{\"state\": \"on\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.2204454,
|
|
"msecs": 220.0,
|
|
"relativeCreated": 1004.168166,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/livingroom/floor_light_6/set and payload b'{\"state\": \"on\"}'",
|
|
"asctime": "2025-08-18 22:07:17,220"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_6",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_6",
|
|
"{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547637.2206848,
|
|
"msecs": 220.0,
|
|
"relativeCreated": 1004.407419,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic zigbee_ffe/ffe/livingroom/floor_light_6 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
|
|
"asctime": "2025-08-18 22:07:17,220"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.2209265,
|
|
"msecs": 220.0,
|
|
"relativeCreated": 1004.648971,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffe/livingroom/main_light/state and payload b'true'",
|
|
"asctime": "2025-08-18 22:07:17,220"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.221225,
|
|
"msecs": 221.0,
|
|
"relativeCreated": 1004.947551,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffe/livingroom/main_light/brightness and payload b'50'",
|
|
"asctime": "2025-08-18 22:07:17,221"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.221433,
|
|
"msecs": 221.0,
|
|
"relativeCreated": 1005.155547,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffe/livingroom/main_light/color_temp and payload b'5'",
|
|
"asctime": "2025-08-18 22:07:17,221"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_1",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_1",
|
|
"b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.2216053,
|
|
"msecs": 221.0,
|
|
"relativeCreated": 1005.328079,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/livingroom/floor_light_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
|
|
"asctime": "2025-08-18 22:07:17,221"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_2",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_2",
|
|
"b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.221773,
|
|
"msecs": 221.0,
|
|
"relativeCreated": 1005.495419,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/livingroom/floor_light_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
|
|
"asctime": "2025-08-18 22:07:17,221"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_3",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_3",
|
|
"b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.221935,
|
|
"msecs": 221.0,
|
|
"relativeCreated": 1005.657782,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/livingroom/floor_light_3 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
|
|
"asctime": "2025-08-18 22:07:17,221"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_4",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_4",
|
|
"b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.2220864,
|
|
"msecs": 222.0,
|
|
"relativeCreated": 1005.808944,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/livingroom/floor_light_4 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
|
|
"asctime": "2025-08-18 22:07:17,222"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_5",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_5",
|
|
"b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.2222598,
|
|
"msecs": 222.0,
|
|
"relativeCreated": 1005.98227,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/livingroom/floor_light_5 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
|
|
"asctime": "2025-08-18 22:07:17,222"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_6",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_6",
|
|
"b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.222414,
|
|
"msecs": 222.0,
|
|
"relativeCreated": 1006.136603,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/livingroom/floor_light_6 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
|
|
"asctime": "2025-08-18 22:07:17,222"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.268822,
|
|
"msecs": 268.0,
|
|
"relativeCreated": 1052.544551,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'true'",
|
|
"asctime": "2025-08-18 22:07:17,268"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.3076062,
|
|
"msecs": 307.0,
|
|
"relativeCreated": 1091.32901,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffe/livingroom/floorlamp/brightness and payload b'50'",
|
|
"asctime": "2025-08-18 22:07:17,307"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.3078997,
|
|
"msecs": 307.0,
|
|
"relativeCreated": 1091.62216,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffe/livingroom/floorlamp/color_temp and payload b'5'",
|
|
"asctime": "2025-08-18 22:07:17,307"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Value for shellies/ffe/livingroom/main_light",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547637.3745205,
|
|
"msecs": 374.0,
|
|
"relativeCreated": 1158.243157,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Value for shellies/ffe/livingroom/main_light): True (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:17,374"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Value for shellies/ffe/livingroom/main_light",
|
|
"=",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547637.3746624,
|
|
"msecs": 374.0,
|
|
"relativeCreated": 1158.384926,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Value for shellies/ffe/livingroom/main_light): result = True (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:17,374"
|
|
}
|
|
],
|
|
"time_consumption": 8.368492126464844e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Setting state of %s to %s",
|
|
"args": [
|
|
"videv/ffe/livingroom/main_light",
|
|
"False"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "device_follow",
|
|
"created": 1755547637.3748682,
|
|
"msecs": 374.0,
|
|
"relativeCreated": 1158.590747,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Setting state of videv/ffe/livingroom/main_light to False",
|
|
"asctime": "2025-08-18 22:07:17,374",
|
|
"moduleLogger": [],
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Value for shellies/ffe/livingroom/main_light is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547637.5757058,
|
|
"msecs": 575.0,
|
|
"relativeCreated": 1359.428371,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Value for shellies/ffe/livingroom/main_light is correct (Content False and Type is <class 'bool'>).",
|
|
"asctime": "2025-08-18 22:07:17,575",
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547637.3749747,
|
|
"msecs": 374.0,
|
|
"relativeCreated": 1158.697324,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic videv/ffe/livingroom/main_light/state/set and payload false",
|
|
"asctime": "2025-08-18 22:07:17,374"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.3773942,
|
|
"msecs": 377.0,
|
|
"relativeCreated": 1161.116868,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/ffe/livingroom/main_light/relay/0/command and payload b'off'",
|
|
"asctime": "2025-08-18 22:07:17,377"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547637.3777268,
|
|
"msecs": 377.0,
|
|
"relativeCreated": 1161.449295,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic shellies/ffe/livingroom/main_light/relay/0 and payload off",
|
|
"asctime": "2025-08-18 22:07:17,377"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.3784814,
|
|
"msecs": 378.0,
|
|
"relativeCreated": 1162.20405,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/ffe/livingroom/main_light/relay/0 and payload b'off'",
|
|
"asctime": "2025-08-18 22:07:17,378"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_1.set",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_1/set",
|
|
"b'{\"state\": \"off\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.4200697,
|
|
"msecs": 420.0,
|
|
"relativeCreated": 1203.792233,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/livingroom/floor_light_1/set and payload b'{\"state\": \"off\"}'",
|
|
"asctime": "2025-08-18 22:07:17,420"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_1",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_1",
|
|
"{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547637.4205372,
|
|
"msecs": 420.0,
|
|
"relativeCreated": 1204.259936,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic zigbee_ffe/ffe/livingroom/floor_light_1 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
|
|
"asctime": "2025-08-18 22:07:17,420"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_2.set",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_2/set",
|
|
"b'{\"state\": \"off\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.4208906,
|
|
"msecs": 420.0,
|
|
"relativeCreated": 1204.613161,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/livingroom/floor_light_2/set and payload b'{\"state\": \"off\"}'",
|
|
"asctime": "2025-08-18 22:07:17,420"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_2",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_2",
|
|
"{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547637.4212375,
|
|
"msecs": 421.0,
|
|
"relativeCreated": 1204.960215,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic zigbee_ffe/ffe/livingroom/floor_light_2 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
|
|
"asctime": "2025-08-18 22:07:17,421"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_3.set",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_3/set",
|
|
"b'{\"state\": \"off\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.421618,
|
|
"msecs": 421.0,
|
|
"relativeCreated": 1205.340495,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/livingroom/floor_light_3/set and payload b'{\"state\": \"off\"}'",
|
|
"asctime": "2025-08-18 22:07:17,421"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_3",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_3",
|
|
"{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547637.4219675,
|
|
"msecs": 421.0,
|
|
"relativeCreated": 1205.690223,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic zigbee_ffe/ffe/livingroom/floor_light_3 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
|
|
"asctime": "2025-08-18 22:07:17,421"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_4.set",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_4/set",
|
|
"b'{\"state\": \"off\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.4223094,
|
|
"msecs": 422.0,
|
|
"relativeCreated": 1206.032053,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/livingroom/floor_light_4/set and payload b'{\"state\": \"off\"}'",
|
|
"asctime": "2025-08-18 22:07:17,422"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_4",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_4",
|
|
"{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547637.422549,
|
|
"msecs": 422.0,
|
|
"relativeCreated": 1206.271493,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic zigbee_ffe/ffe/livingroom/floor_light_4 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
|
|
"asctime": "2025-08-18 22:07:17,422"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_5.set",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_5/set",
|
|
"b'{\"state\": \"off\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.4228315,
|
|
"msecs": 422.0,
|
|
"relativeCreated": 1206.554208,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/livingroom/floor_light_5/set and payload b'{\"state\": \"off\"}'",
|
|
"asctime": "2025-08-18 22:07:17,422"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_5",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_5",
|
|
"{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547637.4231038,
|
|
"msecs": 423.0,
|
|
"relativeCreated": 1206.826344,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic zigbee_ffe/ffe/livingroom/floor_light_5 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
|
|
"asctime": "2025-08-18 22:07:17,423"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_6.set",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_6/set",
|
|
"b'{\"state\": \"off\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.4233444,
|
|
"msecs": 423.0,
|
|
"relativeCreated": 1207.06712,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/livingroom/floor_light_6/set and payload b'{\"state\": \"off\"}'",
|
|
"asctime": "2025-08-18 22:07:17,423"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_6",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_6",
|
|
"{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547637.4235713,
|
|
"msecs": 423.0,
|
|
"relativeCreated": 1207.294121,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic zigbee_ffe/ffe/livingroom/floor_light_6 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
|
|
"asctime": "2025-08-18 22:07:17,423"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.4238455,
|
|
"msecs": 423.0,
|
|
"relativeCreated": 1207.568298,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffe/livingroom/main_light/state and payload b'false'",
|
|
"asctime": "2025-08-18 22:07:17,423"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_1",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_1",
|
|
"b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.4241345,
|
|
"msecs": 424.0,
|
|
"relativeCreated": 1207.857054,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/livingroom/floor_light_1 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
|
|
"asctime": "2025-08-18 22:07:17,424"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_2",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_2",
|
|
"b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.4244518,
|
|
"msecs": 424.0,
|
|
"relativeCreated": 1208.174506,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/livingroom/floor_light_2 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
|
|
"asctime": "2025-08-18 22:07:17,424"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_3",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_3",
|
|
"b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.4246283,
|
|
"msecs": 424.0,
|
|
"relativeCreated": 1208.350918,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/livingroom/floor_light_3 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
|
|
"asctime": "2025-08-18 22:07:17,424"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_4",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_4",
|
|
"b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.424793,
|
|
"msecs": 424.0,
|
|
"relativeCreated": 1208.515675,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/livingroom/floor_light_4 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
|
|
"asctime": "2025-08-18 22:07:17,424"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_5",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_5",
|
|
"b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.4249659,
|
|
"msecs": 424.0,
|
|
"relativeCreated": 1208.688499,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/livingroom/floor_light_5 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
|
|
"asctime": "2025-08-18 22:07:17,424"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_6",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_6",
|
|
"b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.425139,
|
|
"msecs": 425.0,
|
|
"relativeCreated": 1208.861591,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/livingroom/floor_light_6 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
|
|
"asctime": "2025-08-18 22:07:17,425"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.4644628,
|
|
"msecs": 464.0,
|
|
"relativeCreated": 1248.185468,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'false'",
|
|
"asctime": "2025-08-18 22:07:17,464"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Value for shellies/ffe/livingroom/main_light",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547637.5754812,
|
|
"msecs": 575.0,
|
|
"relativeCreated": 1359.203654,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Value for shellies/ffe/livingroom/main_light): False (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:17,575"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Value for shellies/ffe/livingroom/main_light",
|
|
"=",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547637.5756335,
|
|
"msecs": 575.0,
|
|
"relativeCreated": 1359.355943,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Value for shellies/ffe/livingroom/main_light): result = False (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:17,575"
|
|
}
|
|
],
|
|
"time_consumption": 7.224082946777344e-05
|
|
}
|
|
],
|
|
"time_consumption": 0.606269359588623,
|
|
"time_start": "2025-08-18 22:07:16,969",
|
|
"time_finished": "2025-08-18 22:07:17,575"
|
|
},
|
|
"REQ-0002": {
|
|
"name": "__tLogger__",
|
|
"msg": "REQ-0002",
|
|
"args": null,
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/report/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 329,
|
|
"funcName": "testCase",
|
|
"created": 1755547637.576027,
|
|
"msecs": 576.0,
|
|
"relativeCreated": 1359.749479,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "REQ-0002",
|
|
"asctime": "2025-08-18 22:07:17,576",
|
|
"moduleLogger": [],
|
|
"testcaseLogger": [
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Prepare: Setting devices to last state %s",
|
|
"args": [
|
|
"False"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 14,
|
|
"funcName": "device_follow",
|
|
"created": 1755547637.676594,
|
|
"msecs": 676.0,
|
|
"relativeCreated": 1460.316441,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Prepare: Setting devices to last state False",
|
|
"asctime": "2025-08-18 22:07:17,676",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.relay.0.set",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/ffe/livingroom/main_light/relay/0/set",
|
|
"false"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547637.576267,
|
|
"msecs": 576.0,
|
|
"relativeCreated": 1359.989554,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic videv/ffe/livingroom/main_light/relay/0/set and payload false",
|
|
"asctime": "2025-08-18 22:07:17,576"
|
|
}
|
|
],
|
|
"time_consumption": 0.1003270149230957
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Start state (master, slave) is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547637.7773118,
|
|
"msecs": 777.0,
|
|
"relativeCreated": 1561.034284,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Start state (master, slave) is correct (Content (False, False) and Type is <class 'tuple'>).",
|
|
"asctime": "2025-08-18 22:07:17,777",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Start state (master, slave)",
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547637.777032,
|
|
"msecs": 777.0,
|
|
"relativeCreated": 1560.754521,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Start state (master, slave)): (False, False) (<class 'tuple'>)",
|
|
"asctime": "2025-08-18 22:07:17,777"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Start state (master, slave)",
|
|
"=",
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547637.7772462,
|
|
"msecs": 777.0,
|
|
"relativeCreated": 1560.968729,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Start state (master, slave)): result = (False, False) (<class 'tuple'>)",
|
|
"asctime": "2025-08-18 22:07:17,777"
|
|
}
|
|
],
|
|
"time_consumption": 6.556510925292969e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Setting state of %s to %s",
|
|
"args": [
|
|
"shellies/ffe/livingroom/main_light",
|
|
"True"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "device_follow",
|
|
"created": 1755547637.7774262,
|
|
"msecs": 777.0,
|
|
"relativeCreated": 1561.148792,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Setting state of shellies/ffe/livingroom/main_light to True",
|
|
"asctime": "2025-08-18 22:07:17,777",
|
|
"moduleLogger": [],
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Value for videv/ffe/livingroom/main_light is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547637.978963,
|
|
"msecs": 978.0,
|
|
"relativeCreated": 1762.68567,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Value for videv/ffe/livingroom/main_light is correct (Content True and Type is <class 'bool'>).",
|
|
"asctime": "2025-08-18 22:07:17,978",
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547637.777662,
|
|
"msecs": 777.0,
|
|
"relativeCreated": 1561.384649,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic shellies/ffe/livingroom/main_light/relay/0 and payload on",
|
|
"asctime": "2025-08-18 22:07:17,777"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.main_light",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/main_light",
|
|
"{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547637.778177,
|
|
"msecs": 778.0,
|
|
"relativeCreated": 1561.899669,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic zigbee_ffe/ffe/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
|
|
"asctime": "2025-08-18 22:07:17,778"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.778631,
|
|
"msecs": 778.0,
|
|
"relativeCreated": 1562.353504,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/ffe/livingroom/main_light/relay/0 and payload b'on'",
|
|
"asctime": "2025-08-18 22:07:17,778"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.main_light",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/main_light",
|
|
"b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.77896,
|
|
"msecs": 778.0,
|
|
"relativeCreated": 1562.68257,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
|
|
"asctime": "2025-08-18 22:07:17,778"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_1.set",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_1/set",
|
|
"b'{\"state\": \"on\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.8206165,
|
|
"msecs": 820.0,
|
|
"relativeCreated": 1604.339104,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/livingroom/floor_light_1/set and payload b'{\"state\": \"on\"}'",
|
|
"asctime": "2025-08-18 22:07:17,820"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_1",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_1",
|
|
"{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547637.8210454,
|
|
"msecs": 821.0,
|
|
"relativeCreated": 1604.768044,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic zigbee_ffe/ffe/livingroom/floor_light_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
|
|
"asctime": "2025-08-18 22:07:17,821"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_2.set",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_2/set",
|
|
"b'{\"state\": \"on\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.8213983,
|
|
"msecs": 821.0,
|
|
"relativeCreated": 1605.120961,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/livingroom/floor_light_2/set and payload b'{\"state\": \"on\"}'",
|
|
"asctime": "2025-08-18 22:07:17,821"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_2",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_2",
|
|
"{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547637.8216622,
|
|
"msecs": 821.0,
|
|
"relativeCreated": 1605.384701,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic zigbee_ffe/ffe/livingroom/floor_light_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
|
|
"asctime": "2025-08-18 22:07:17,821"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_3.set",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_3/set",
|
|
"b'{\"state\": \"on\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.8219604,
|
|
"msecs": 821.0,
|
|
"relativeCreated": 1605.683136,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/livingroom/floor_light_3/set and payload b'{\"state\": \"on\"}'",
|
|
"asctime": "2025-08-18 22:07:17,821"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_3",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_3",
|
|
"{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547637.8222506,
|
|
"msecs": 822.0,
|
|
"relativeCreated": 1605.973235,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic zigbee_ffe/ffe/livingroom/floor_light_3 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
|
|
"asctime": "2025-08-18 22:07:17,822"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_4.set",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_4/set",
|
|
"b'{\"state\": \"on\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.8224902,
|
|
"msecs": 822.0,
|
|
"relativeCreated": 1606.212852,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/livingroom/floor_light_4/set and payload b'{\"state\": \"on\"}'",
|
|
"asctime": "2025-08-18 22:07:17,822"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_4",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_4",
|
|
"{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547637.8227344,
|
|
"msecs": 822.0,
|
|
"relativeCreated": 1606.456962,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic zigbee_ffe/ffe/livingroom/floor_light_4 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
|
|
"asctime": "2025-08-18 22:07:17,822"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_5.set",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_5/set",
|
|
"b'{\"state\": \"on\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.8230305,
|
|
"msecs": 823.0,
|
|
"relativeCreated": 1606.753267,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/livingroom/floor_light_5/set and payload b'{\"state\": \"on\"}'",
|
|
"asctime": "2025-08-18 22:07:17,823"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_5",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_5",
|
|
"{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547637.8233378,
|
|
"msecs": 823.0,
|
|
"relativeCreated": 1607.060273,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic zigbee_ffe/ffe/livingroom/floor_light_5 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
|
|
"asctime": "2025-08-18 22:07:17,823"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_6.set",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_6/set",
|
|
"b'{\"state\": \"on\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.8235655,
|
|
"msecs": 823.0,
|
|
"relativeCreated": 1607.288238,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/livingroom/floor_light_6/set and payload b'{\"state\": \"on\"}'",
|
|
"asctime": "2025-08-18 22:07:17,823"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_6",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_6",
|
|
"{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547637.823831,
|
|
"msecs": 823.0,
|
|
"relativeCreated": 1607.553732,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic zigbee_ffe/ffe/livingroom/floor_light_6 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
|
|
"asctime": "2025-08-18 22:07:17,823"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.8241096,
|
|
"msecs": 824.0,
|
|
"relativeCreated": 1607.832276,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffe/livingroom/main_light/state and payload b'true'",
|
|
"asctime": "2025-08-18 22:07:17,824"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_1",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_1",
|
|
"b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.8244317,
|
|
"msecs": 824.0,
|
|
"relativeCreated": 1608.154259,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/livingroom/floor_light_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
|
|
"asctime": "2025-08-18 22:07:17,824"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_2",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_2",
|
|
"b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.8246417,
|
|
"msecs": 824.0,
|
|
"relativeCreated": 1608.364462,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/livingroom/floor_light_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
|
|
"asctime": "2025-08-18 22:07:17,824"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_3",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_3",
|
|
"b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.8248353,
|
|
"msecs": 824.0,
|
|
"relativeCreated": 1608.557833,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/livingroom/floor_light_3 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
|
|
"asctime": "2025-08-18 22:07:17,824"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_4",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_4",
|
|
"b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.825033,
|
|
"msecs": 825.0,
|
|
"relativeCreated": 1608.755694,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/livingroom/floor_light_4 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
|
|
"asctime": "2025-08-18 22:07:17,825"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_5",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_5",
|
|
"b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.8252454,
|
|
"msecs": 825.0,
|
|
"relativeCreated": 1608.968146,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/livingroom/floor_light_5 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
|
|
"asctime": "2025-08-18 22:07:17,825"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_6",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_6",
|
|
"b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.8254528,
|
|
"msecs": 825.0,
|
|
"relativeCreated": 1609.17539,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/livingroom/floor_light_6 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
|
|
"asctime": "2025-08-18 22:07:17,825"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.state",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/ffe/livingroom/floorlamp/state",
|
|
"b'true'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.865603,
|
|
"msecs": 865.0,
|
|
"relativeCreated": 1649.32581,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'true'",
|
|
"asctime": "2025-08-18 22:07:17,865"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Value for videv/ffe/livingroom/main_light",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547637.978762,
|
|
"msecs": 978.0,
|
|
"relativeCreated": 1762.484534,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Value for videv/ffe/livingroom/main_light): True (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:17,978"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Value for videv/ffe/livingroom/main_light",
|
|
"=",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547637.978909,
|
|
"msecs": 978.0,
|
|
"relativeCreated": 1762.631504,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Value for videv/ffe/livingroom/main_light): result = True (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:17,978"
|
|
}
|
|
],
|
|
"time_consumption": 5.3882598876953125e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Setting state of %s to %s",
|
|
"args": [
|
|
"shellies/ffe/livingroom/main_light",
|
|
"False"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "device_follow",
|
|
"created": 1755547637.9790857,
|
|
"msecs": 979.0,
|
|
"relativeCreated": 1762.808216,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Setting state of shellies/ffe/livingroom/main_light to False",
|
|
"asctime": "2025-08-18 22:07:17,979",
|
|
"moduleLogger": [],
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Value for videv/ffe/livingroom/main_light is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547638.1802573,
|
|
"msecs": 180.0,
|
|
"relativeCreated": 1963.979978,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Value for videv/ffe/livingroom/main_light is correct (Content False and Type is <class 'bool'>).",
|
|
"asctime": "2025-08-18 22:07:18,180",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.0",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"shellies/ffe/livingroom/main_light/relay/0",
|
|
"off"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547637.979361,
|
|
"msecs": 979.0,
|
|
"relativeCreated": 1763.083625,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic shellies/ffe/livingroom/main_light/relay/0 and payload off",
|
|
"asctime": "2025-08-18 22:07:17,979"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.9802818,
|
|
"msecs": 980.0,
|
|
"relativeCreated": 1764.004402,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/ffe/livingroom/main_light/relay/0 and payload b'off'",
|
|
"asctime": "2025-08-18 22:07:17,980"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_1.set",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_1/set",
|
|
"b'{\"state\": \"off\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.9828422,
|
|
"msecs": 982.0,
|
|
"relativeCreated": 1766.564799,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/livingroom/floor_light_1/set and payload b'{\"state\": \"off\"}'",
|
|
"asctime": "2025-08-18 22:07:17,982"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_1",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_1",
|
|
"{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547637.9832473,
|
|
"msecs": 983.0,
|
|
"relativeCreated": 1766.970009,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic zigbee_ffe/ffe/livingroom/floor_light_1 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
|
|
"asctime": "2025-08-18 22:07:17,983"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_2.set",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_2/set",
|
|
"b'{\"state\": \"off\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.9835439,
|
|
"msecs": 983.0,
|
|
"relativeCreated": 1767.266336,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/livingroom/floor_light_2/set and payload b'{\"state\": \"off\"}'",
|
|
"asctime": "2025-08-18 22:07:17,983"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_2",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_2",
|
|
"{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547637.9838257,
|
|
"msecs": 983.0,
|
|
"relativeCreated": 1767.548217,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic zigbee_ffe/ffe/livingroom/floor_light_2 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
|
|
"asctime": "2025-08-18 22:07:17,983"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_3.set",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_3/set",
|
|
"b'{\"state\": \"off\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.9841468,
|
|
"msecs": 984.0,
|
|
"relativeCreated": 1767.869528,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/livingroom/floor_light_3/set and payload b'{\"state\": \"off\"}'",
|
|
"asctime": "2025-08-18 22:07:17,984"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_3",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_3",
|
|
"{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547637.984473,
|
|
"msecs": 984.0,
|
|
"relativeCreated": 1768.195785,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic zigbee_ffe/ffe/livingroom/floor_light_3 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
|
|
"asctime": "2025-08-18 22:07:17,984"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_4.set",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_4/set",
|
|
"b'{\"state\": \"off\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.9847105,
|
|
"msecs": 984.0,
|
|
"relativeCreated": 1768.433063,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/livingroom/floor_light_4/set and payload b'{\"state\": \"off\"}'",
|
|
"asctime": "2025-08-18 22:07:17,984"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_4",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_4",
|
|
"{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547637.9850242,
|
|
"msecs": 985.0,
|
|
"relativeCreated": 1768.746759,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic zigbee_ffe/ffe/livingroom/floor_light_4 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
|
|
"asctime": "2025-08-18 22:07:17,985"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_5.set",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_5/set",
|
|
"b'{\"state\": \"off\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.9854815,
|
|
"msecs": 985.0,
|
|
"relativeCreated": 1769.203985,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/livingroom/floor_light_5/set and payload b'{\"state\": \"off\"}'",
|
|
"asctime": "2025-08-18 22:07:17,985"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_5",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_5",
|
|
"{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547637.9858246,
|
|
"msecs": 985.0,
|
|
"relativeCreated": 1769.547163,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic zigbee_ffe/ffe/livingroom/floor_light_5 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
|
|
"asctime": "2025-08-18 22:07:17,985"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_6.set",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_6/set",
|
|
"b'{\"state\": \"off\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.9860933,
|
|
"msecs": 986.0,
|
|
"relativeCreated": 1769.815955,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/livingroom/floor_light_6/set and payload b'{\"state\": \"off\"}'",
|
|
"asctime": "2025-08-18 22:07:17,986"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_6",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_6",
|
|
"{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547637.986408,
|
|
"msecs": 986.0,
|
|
"relativeCreated": 1770.130548,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic zigbee_ffe/ffe/livingroom/floor_light_6 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
|
|
"asctime": "2025-08-18 22:07:17,986"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.9867287,
|
|
"msecs": 986.0,
|
|
"relativeCreated": 1770.451373,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffe/livingroom/main_light/state and payload b'false'",
|
|
"asctime": "2025-08-18 22:07:17,986"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_1",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_1",
|
|
"b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.9870768,
|
|
"msecs": 987.0,
|
|
"relativeCreated": 1770.799515,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/livingroom/floor_light_1 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
|
|
"asctime": "2025-08-18 22:07:17,987"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_2",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_2",
|
|
"b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.9873238,
|
|
"msecs": 987.0,
|
|
"relativeCreated": 1771.046272,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/livingroom/floor_light_2 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
|
|
"asctime": "2025-08-18 22:07:17,987"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_3",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_3",
|
|
"b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.9875252,
|
|
"msecs": 987.0,
|
|
"relativeCreated": 1771.247689,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/livingroom/floor_light_3 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
|
|
"asctime": "2025-08-18 22:07:17,987"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_4",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_4",
|
|
"b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.987731,
|
|
"msecs": 987.0,
|
|
"relativeCreated": 1771.453442,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/livingroom/floor_light_4 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
|
|
"asctime": "2025-08-18 22:07:17,987"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_5",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_5",
|
|
"b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.9879308,
|
|
"msecs": 987.0,
|
|
"relativeCreated": 1771.653504,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/livingroom/floor_light_5 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
|
|
"asctime": "2025-08-18 22:07:17,987"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.livingroom.floor_light_6",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/livingroom/floor_light_6",
|
|
"b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547637.9881341,
|
|
"msecs": 988.0,
|
|
"relativeCreated": 1771.85667,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/livingroom/floor_light_6 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
|
|
"asctime": "2025-08-18 22:07:17,988"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547638.0275102,
|
|
"msecs": 27.0,
|
|
"relativeCreated": 1811.232985,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'false'",
|
|
"asctime": "2025-08-18 22:07:18,027"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Value for videv/ffe/livingroom/main_light",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547638.1800504,
|
|
"msecs": 180.0,
|
|
"relativeCreated": 1963.773159,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Value for videv/ffe/livingroom/main_light): False (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:18,180"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Value for videv/ffe/livingroom/main_light",
|
|
"=",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547638.180206,
|
|
"msecs": 180.0,
|
|
"relativeCreated": 1963.928619,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Value for videv/ffe/livingroom/main_light): result = False (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:18,180"
|
|
}
|
|
],
|
|
"time_consumption": 5.125999450683594e-05
|
|
}
|
|
],
|
|
"time_consumption": 0.6042304039001465,
|
|
"time_start": "2025-08-18 22:07:17,576",
|
|
"time_finished": "2025-08-18 22:07:18,180"
|
|
},
|
|
"REQ-0011": {
|
|
"name": "__tLogger__",
|
|
"msg": "REQ-0011",
|
|
"args": null,
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/report/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 329,
|
|
"funcName": "testCase",
|
|
"created": 1755547638.180497,
|
|
"msecs": 180.0,
|
|
"relativeCreated": 1964.2194,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "REQ-0011",
|
|
"asctime": "2025-08-18 22:07:18,180",
|
|
"moduleLogger": [],
|
|
"testcaseLogger": [
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Prepare: Setting devices to last state %s",
|
|
"args": [
|
|
"False"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 14,
|
|
"funcName": "device_follow",
|
|
"created": 1755547638.2812665,
|
|
"msecs": 281.0,
|
|
"relativeCreated": 2064.989077,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Prepare: Setting devices to last state False",
|
|
"asctime": "2025-08-18 22:07:18,281",
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547638.1806626,
|
|
"msecs": 180.0,
|
|
"relativeCreated": 1964.385076,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic videv/ffe/sleep/main_light/state/set and payload false",
|
|
"asctime": "2025-08-18 22:07:18,180"
|
|
},
|
|
{
|
|
"name": "smart_brain.devices.shellies.ffe.sleep.main_light",
|
|
"msg": "Unexpected key %s",
|
|
"args": [
|
|
"state"
|
|
],
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/base.py",
|
|
"filename": "base.py",
|
|
"module": "base",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 42,
|
|
"funcName": "set",
|
|
"created": 1755547638.1809514,
|
|
"msecs": 180.0,
|
|
"relativeCreated": 1964.673855,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Unexpected key state",
|
|
"asctime": "2025-08-18 22:07:18,180"
|
|
}
|
|
],
|
|
"time_consumption": 0.10031509399414062
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Start state (master, slave) is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547638.3818314,
|
|
"msecs": 381.0,
|
|
"relativeCreated": 2165.553951,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Start state (master, slave) is correct (Content (False, False) and Type is <class 'tuple'>).",
|
|
"asctime": "2025-08-18 22:07:18,381",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Start state (master, slave)",
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547638.381634,
|
|
"msecs": 381.0,
|
|
"relativeCreated": 2165.356668,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Start state (master, slave)): (False, False) (<class 'tuple'>)",
|
|
"asctime": "2025-08-18 22:07:18,381"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Start state (master, slave)",
|
|
"=",
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547638.3817797,
|
|
"msecs": 381.0,
|
|
"relativeCreated": 2165.502332,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Start state (master, slave)): result = (False, False) (<class 'tuple'>)",
|
|
"asctime": "2025-08-18 22:07:18,381"
|
|
}
|
|
],
|
|
"time_consumption": 5.173683166503906e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Setting state of %s to %s",
|
|
"args": [
|
|
"videv/ffe/sleep/main_light",
|
|
"True"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "device_follow",
|
|
"created": 1755547638.3819394,
|
|
"msecs": 381.0,
|
|
"relativeCreated": 2165.66211,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Setting state of videv/ffe/sleep/main_light to True",
|
|
"asctime": "2025-08-18 22:07:18,381",
|
|
"moduleLogger": [],
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Value for shellies/ffe/sleep/main_light is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547638.5827558,
|
|
"msecs": 582.0,
|
|
"relativeCreated": 2366.478525,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Value for shellies/ffe/sleep/main_light is correct (Content True and Type is <class 'bool'>).",
|
|
"asctime": "2025-08-18 22:07:18,582",
|
|
"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",
|
|
"true"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547638.3820484,
|
|
"msecs": 382.0,
|
|
"relativeCreated": 2165.770943,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic videv/ffe/sleep/main_light/state/set and payload true",
|
|
"asctime": "2025-08-18 22:07:18,382"
|
|
},
|
|
{
|
|
"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'on'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547638.3845015,
|
|
"msecs": 384.0,
|
|
"relativeCreated": 2168.224087,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/ffe/sleep/main_light/relay/0/command and payload b'on'",
|
|
"asctime": "2025-08-18 22:07:18,384"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547638.384817,
|
|
"msecs": 384.0,
|
|
"relativeCreated": 2168.53943,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic shellies/ffe/sleep/main_light/relay/0 and payload on",
|
|
"asctime": "2025-08-18 22:07:18,384"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.sleep.main_light",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/sleep/main_light",
|
|
"{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547638.3852122,
|
|
"msecs": 385.0,
|
|
"relativeCreated": 2168.934658,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic zigbee_ffe/ffe/sleep/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
|
|
"asctime": "2025-08-18 22:07:18,385"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547638.3857033,
|
|
"msecs": 385.0,
|
|
"relativeCreated": 2169.42593,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/ffe/sleep/main_light/relay/0 and payload b'on'",
|
|
"asctime": "2025-08-18 22:07:18,385"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.sleep.main_light",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/sleep/main_light",
|
|
"b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547638.3859615,
|
|
"msecs": 385.0,
|
|
"relativeCreated": 2169.684173,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/sleep/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
|
|
"asctime": "2025-08-18 22:07:18,385"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547638.4691923,
|
|
"msecs": 469.0,
|
|
"relativeCreated": 2252.91493,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffe/sleep/main_light/state and payload b'true'",
|
|
"asctime": "2025-08-18 22:07:18,469"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547638.4696708,
|
|
"msecs": 469.0,
|
|
"relativeCreated": 2253.393305,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffe/sleep/main_light/brightness and payload b'50'",
|
|
"asctime": "2025-08-18 22:07:18,469"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547638.4699287,
|
|
"msecs": 469.0,
|
|
"relativeCreated": 2253.651206,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffe/sleep/main_light/color_temp and payload b'5'",
|
|
"asctime": "2025-08-18 22:07:18,469"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Value for shellies/ffe/sleep/main_light",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547638.5825326,
|
|
"msecs": 582.0,
|
|
"relativeCreated": 2366.255314,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Value for shellies/ffe/sleep/main_light): True (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:18,582"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Value for shellies/ffe/sleep/main_light",
|
|
"=",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547638.5826979,
|
|
"msecs": 582.0,
|
|
"relativeCreated": 2366.420558,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Value for shellies/ffe/sleep/main_light): result = True (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:18,582"
|
|
}
|
|
],
|
|
"time_consumption": 5.793571472167969e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Setting state of %s to %s",
|
|
"args": [
|
|
"videv/ffe/sleep/main_light",
|
|
"False"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "device_follow",
|
|
"created": 1755547638.5828738,
|
|
"msecs": 582.0,
|
|
"relativeCreated": 2366.596582,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Setting state of videv/ffe/sleep/main_light to False",
|
|
"asctime": "2025-08-18 22:07:18,582",
|
|
"moduleLogger": [],
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Value for shellies/ffe/sleep/main_light is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547638.7837594,
|
|
"msecs": 783.0,
|
|
"relativeCreated": 2567.481968,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Value for shellies/ffe/sleep/main_light is correct (Content False and Type is <class 'bool'>).",
|
|
"asctime": "2025-08-18 22:07:18,783",
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547638.5829864,
|
|
"msecs": 582.0,
|
|
"relativeCreated": 2366.708795,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic videv/ffe/sleep/main_light/state/set and payload false",
|
|
"asctime": "2025-08-18 22:07:18,582"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547638.5853941,
|
|
"msecs": 585.0,
|
|
"relativeCreated": 2369.116813,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/ffe/sleep/main_light/relay/0/command and payload b'off'",
|
|
"asctime": "2025-08-18 22:07:18,585"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547638.5857067,
|
|
"msecs": 585.0,
|
|
"relativeCreated": 2369.429411,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic shellies/ffe/sleep/main_light/relay/0 and payload off",
|
|
"asctime": "2025-08-18 22:07:18,585"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547638.5864673,
|
|
"msecs": 586.0,
|
|
"relativeCreated": 2370.189885,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/ffe/sleep/main_light/relay/0 and payload b'off'",
|
|
"asctime": "2025-08-18 22:07:18,586"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547638.6679573,
|
|
"msecs": 667.0,
|
|
"relativeCreated": 2451.67997,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffe/sleep/main_light/state and payload b'false'",
|
|
"asctime": "2025-08-18 22:07:18,667"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Value for shellies/ffe/sleep/main_light",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547638.7835588,
|
|
"msecs": 783.0,
|
|
"relativeCreated": 2567.281437,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Value for shellies/ffe/sleep/main_light): False (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:18,783"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Value for shellies/ffe/sleep/main_light",
|
|
"=",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547638.783706,
|
|
"msecs": 783.0,
|
|
"relativeCreated": 2567.428379,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Value for shellies/ffe/sleep/main_light): result = False (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:18,783"
|
|
}
|
|
],
|
|
"time_consumption": 5.340576171875e-05
|
|
}
|
|
],
|
|
"time_consumption": 0.6032624244689941,
|
|
"time_start": "2025-08-18 22:07:18,180",
|
|
"time_finished": "2025-08-18 22:07:18,783"
|
|
},
|
|
"REQ-0012": {
|
|
"name": "__tLogger__",
|
|
"msg": "REQ-0012",
|
|
"args": null,
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/report/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 329,
|
|
"funcName": "testCase",
|
|
"created": 1755547638.784001,
|
|
"msecs": 784.0,
|
|
"relativeCreated": 2567.723599,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "REQ-0012",
|
|
"asctime": "2025-08-18 22:07:18,784",
|
|
"moduleLogger": [],
|
|
"testcaseLogger": [
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Prepare: Setting devices to last state %s",
|
|
"args": [
|
|
"False"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 14,
|
|
"funcName": "device_follow",
|
|
"created": 1755547638.8846214,
|
|
"msecs": 884.0,
|
|
"relativeCreated": 2668.344008,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Prepare: Setting devices to last state False",
|
|
"asctime": "2025-08-18 22:07:18,884",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "smart_brain.mqtt.videv.ffe.sleep.main_light.relay.0.set",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/ffe/sleep/main_light/relay/0/set",
|
|
"false"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547638.7842143,
|
|
"msecs": 784.0,
|
|
"relativeCreated": 2567.936893,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic videv/ffe/sleep/main_light/relay/0/set and payload false",
|
|
"asctime": "2025-08-18 22:07:18,784"
|
|
}
|
|
],
|
|
"time_consumption": 0.10040712356567383
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Start state (master, slave) is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547638.9852746,
|
|
"msecs": 985.0,
|
|
"relativeCreated": 2768.997116,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Start state (master, slave) is correct (Content (False, False) and Type is <class 'tuple'>).",
|
|
"asctime": "2025-08-18 22:07:18,985",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Start state (master, slave)",
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547638.9850395,
|
|
"msecs": 985.0,
|
|
"relativeCreated": 2768.762067,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Start state (master, slave)): (False, False) (<class 'tuple'>)",
|
|
"asctime": "2025-08-18 22:07:18,985"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Start state (master, slave)",
|
|
"=",
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547638.985217,
|
|
"msecs": 985.0,
|
|
"relativeCreated": 2768.93976,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Start state (master, slave)): result = (False, False) (<class 'tuple'>)",
|
|
"asctime": "2025-08-18 22:07:18,985"
|
|
}
|
|
],
|
|
"time_consumption": 5.745887756347656e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Setting state of %s to %s",
|
|
"args": [
|
|
"shellies/ffe/sleep/main_light",
|
|
"True"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "device_follow",
|
|
"created": 1755547638.9854095,
|
|
"msecs": 985.0,
|
|
"relativeCreated": 2769.132218,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Setting state of shellies/ffe/sleep/main_light to True",
|
|
"asctime": "2025-08-18 22:07:18,985",
|
|
"moduleLogger": [],
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Value for videv/ffe/sleep/main_light is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547639.1869643,
|
|
"msecs": 186.0,
|
|
"relativeCreated": 2970.686811,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Value for videv/ffe/sleep/main_light is correct (Content True and Type is <class 'bool'>).",
|
|
"asctime": "2025-08-18 22:07:19,186",
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547638.985647,
|
|
"msecs": 985.0,
|
|
"relativeCreated": 2769.369494,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic shellies/ffe/sleep/main_light/relay/0 and payload on",
|
|
"asctime": "2025-08-18 22:07:18,985"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.sleep.main_light",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/sleep/main_light",
|
|
"{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547638.9862757,
|
|
"msecs": 986.0,
|
|
"relativeCreated": 2769.998281,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic zigbee_ffe/ffe/sleep/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
|
|
"asctime": "2025-08-18 22:07:18,986"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547638.986823,
|
|
"msecs": 986.0,
|
|
"relativeCreated": 2770.545722,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/ffe/sleep/main_light/relay/0 and payload b'on'",
|
|
"asctime": "2025-08-18 22:07:18,986"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.sleep.main_light",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/sleep/main_light",
|
|
"b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547638.987245,
|
|
"msecs": 987.0,
|
|
"relativeCreated": 2770.967661,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/sleep/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
|
|
"asctime": "2025-08-18 22:07:18,987"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547639.027553,
|
|
"msecs": 27.0,
|
|
"relativeCreated": 2811.275523,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffe/sleep/main_light/state and payload b'true'",
|
|
"asctime": "2025-08-18 22:07:19,027"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Value for videv/ffe/sleep/main_light",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547639.18675,
|
|
"msecs": 186.0,
|
|
"relativeCreated": 2970.472688,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Value for videv/ffe/sleep/main_light): True (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:19,186"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Value for videv/ffe/sleep/main_light",
|
|
"=",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547639.186912,
|
|
"msecs": 186.0,
|
|
"relativeCreated": 2970.634517,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Value for videv/ffe/sleep/main_light): result = True (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:19,186"
|
|
}
|
|
],
|
|
"time_consumption": 5.221366882324219e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Setting state of %s to %s",
|
|
"args": [
|
|
"shellies/ffe/sleep/main_light",
|
|
"False"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "device_follow",
|
|
"created": 1755547639.1870701,
|
|
"msecs": 187.0,
|
|
"relativeCreated": 2970.79287,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Setting state of shellies/ffe/sleep/main_light to False",
|
|
"asctime": "2025-08-18 22:07:19,187",
|
|
"moduleLogger": [],
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Value for videv/ffe/sleep/main_light is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547639.3884945,
|
|
"msecs": 388.0,
|
|
"relativeCreated": 3172.217126,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Value for videv/ffe/sleep/main_light is correct (Content False and Type is <class 'bool'>).",
|
|
"asctime": "2025-08-18 22:07:19,388",
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547639.187311,
|
|
"msecs": 187.0,
|
|
"relativeCreated": 2971.033536,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic shellies/ffe/sleep/main_light/relay/0 and payload off",
|
|
"asctime": "2025-08-18 22:07:19,187"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547639.1884184,
|
|
"msecs": 188.0,
|
|
"relativeCreated": 2972.141033,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/ffe/sleep/main_light/relay/0 and payload b'off'",
|
|
"asctime": "2025-08-18 22:07:19,188"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547639.2308812,
|
|
"msecs": 230.0,
|
|
"relativeCreated": 3014.603932,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffe/sleep/main_light/state and payload b'false'",
|
|
"asctime": "2025-08-18 22:07:19,230"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Value for videv/ffe/sleep/main_light",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547639.3882675,
|
|
"msecs": 388.0,
|
|
"relativeCreated": 3171.990178,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Value for videv/ffe/sleep/main_light): False (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:19,388"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Value for videv/ffe/sleep/main_light",
|
|
"=",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547639.388418,
|
|
"msecs": 388.0,
|
|
"relativeCreated": 3172.140538,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Value for videv/ffe/sleep/main_light): result = False (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:19,388"
|
|
}
|
|
],
|
|
"time_consumption": 7.653236389160156e-05
|
|
}
|
|
],
|
|
"time_consumption": 0.6044933795928955,
|
|
"time_start": "2025-08-18 22:07:18,784",
|
|
"time_finished": "2025-08-18 22:07:19,388"
|
|
},
|
|
"REQ-0021": {
|
|
"name": "__tLogger__",
|
|
"msg": "REQ-0021",
|
|
"args": null,
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/report/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 329,
|
|
"funcName": "testCase",
|
|
"created": 1755547639.3887417,
|
|
"msecs": 388.0,
|
|
"relativeCreated": 3172.46431,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "REQ-0021",
|
|
"asctime": "2025-08-18 22:07:19,388",
|
|
"moduleLogger": [],
|
|
"testcaseLogger": [
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Prepare: Setting devices to last state %s",
|
|
"args": [
|
|
"False"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 14,
|
|
"funcName": "device_follow",
|
|
"created": 1755547639.4895108,
|
|
"msecs": 489.0,
|
|
"relativeCreated": 3273.233387,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Prepare: Setting devices to last state False",
|
|
"asctime": "2025-08-18 22:07:19,489",
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547639.3888783,
|
|
"msecs": 388.0,
|
|
"relativeCreated": 3172.600906,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic videv/ffe/diningroom/main_light/state/set and payload false",
|
|
"asctime": "2025-08-18 22:07:19,388"
|
|
},
|
|
{
|
|
"name": "smart_brain.devices.shellies.ffe.diningroom.main_light",
|
|
"msg": "Unexpected key %s",
|
|
"args": [
|
|
"state"
|
|
],
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/base.py",
|
|
"filename": "base.py",
|
|
"module": "base",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 42,
|
|
"funcName": "set",
|
|
"created": 1755547639.3891325,
|
|
"msecs": 389.0,
|
|
"relativeCreated": 3172.855072,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Unexpected key state",
|
|
"asctime": "2025-08-18 22:07:19,389"
|
|
}
|
|
],
|
|
"time_consumption": 0.10037827491760254
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Start state (master, slave) is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547639.5901115,
|
|
"msecs": 590.0,
|
|
"relativeCreated": 3373.834176,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Start state (master, slave) is correct (Content (False, False) and Type is <class 'tuple'>).",
|
|
"asctime": "2025-08-18 22:07:19,590",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Start state (master, slave)",
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547639.5899127,
|
|
"msecs": 589.0,
|
|
"relativeCreated": 3373.635175,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Start state (master, slave)): (False, False) (<class 'tuple'>)",
|
|
"asctime": "2025-08-18 22:07:19,589"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Start state (master, slave)",
|
|
"=",
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547639.5900562,
|
|
"msecs": 590.0,
|
|
"relativeCreated": 3373.778716,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Start state (master, slave)): result = (False, False) (<class 'tuple'>)",
|
|
"asctime": "2025-08-18 22:07:19,590"
|
|
}
|
|
],
|
|
"time_consumption": 5.53131103515625e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Setting state of %s to %s",
|
|
"args": [
|
|
"videv/ffe/diningroom/main_light",
|
|
"True"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "device_follow",
|
|
"created": 1755547639.5902865,
|
|
"msecs": 590.0,
|
|
"relativeCreated": 3374.009158,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Setting state of videv/ffe/diningroom/main_light to True",
|
|
"asctime": "2025-08-18 22:07:19,590",
|
|
"moduleLogger": [],
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Value for shellies/ffe/diningroom/main_light is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547639.7910953,
|
|
"msecs": 791.0,
|
|
"relativeCreated": 3574.817824,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Value for shellies/ffe/diningroom/main_light is correct (Content True and Type is <class 'bool'>).",
|
|
"asctime": "2025-08-18 22:07:19,791",
|
|
"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",
|
|
"true"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547639.5904026,
|
|
"msecs": 590.0,
|
|
"relativeCreated": 3374.125058,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic videv/ffe/diningroom/main_light/state/set and payload true",
|
|
"asctime": "2025-08-18 22:07:19,590"
|
|
},
|
|
{
|
|
"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'on'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547639.5931041,
|
|
"msecs": 593.0,
|
|
"relativeCreated": 3376.82681,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/ffe/diningroom/main_light/relay/0/command and payload b'on'",
|
|
"asctime": "2025-08-18 22:07:19,593"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547639.5934532,
|
|
"msecs": 593.0,
|
|
"relativeCreated": 3377.175738,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic shellies/ffe/diningroom/main_light/relay/0 and payload on",
|
|
"asctime": "2025-08-18 22:07:19,593"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547639.5941322,
|
|
"msecs": 594.0,
|
|
"relativeCreated": 3377.854712,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/ffe/diningroom/main_light/relay/0 and payload b'on'",
|
|
"asctime": "2025-08-18 22:07:19,594"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.diningroom.floor_light.set",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/diningroom/floor_light/set",
|
|
"b'{\"state\": \"on\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547639.6360047,
|
|
"msecs": 636.0,
|
|
"relativeCreated": 3419.727182,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/diningroom/floor_light/set and payload b'{\"state\": \"on\"}'",
|
|
"asctime": "2025-08-18 22:07:19,636"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.diningroom.floor_light",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/diningroom/floor_light",
|
|
"{\"state\": \"on\"}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547639.6363447,
|
|
"msecs": 636.0,
|
|
"relativeCreated": 3420.067147,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic zigbee_ffe/ffe/diningroom/floor_light and payload {\"state\": \"on\"}",
|
|
"asctime": "2025-08-18 22:07:19,636"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547639.6366715,
|
|
"msecs": 636.0,
|
|
"relativeCreated": 3420.394094,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffe/diningroom/main_light/state and payload b'true'",
|
|
"asctime": "2025-08-18 22:07:19,636"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.diningroom.floor_light",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/diningroom/floor_light",
|
|
"b'{\"state\": \"on\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547639.637197,
|
|
"msecs": 637.0,
|
|
"relativeCreated": 3420.919563,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/diningroom/floor_light and payload b'{\"state\": \"on\"}'",
|
|
"asctime": "2025-08-18 22:07:19,637"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547639.6775837,
|
|
"msecs": 677.0,
|
|
"relativeCreated": 3461.306311,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffe/diningroom/floorlamp/state and payload b'true'",
|
|
"asctime": "2025-08-18 22:07:19,677"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Value for shellies/ffe/diningroom/main_light",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547639.7909102,
|
|
"msecs": 790.0,
|
|
"relativeCreated": 3574.632747,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Value for shellies/ffe/diningroom/main_light): True (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:19,790"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Value for shellies/ffe/diningroom/main_light",
|
|
"=",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547639.7910466,
|
|
"msecs": 791.0,
|
|
"relativeCreated": 3574.769244,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Value for shellies/ffe/diningroom/main_light): result = True (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:19,791"
|
|
}
|
|
],
|
|
"time_consumption": 4.863739013671875e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Setting state of %s to %s",
|
|
"args": [
|
|
"videv/ffe/diningroom/main_light",
|
|
"False"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "device_follow",
|
|
"created": 1755547639.791238,
|
|
"msecs": 791.0,
|
|
"relativeCreated": 3574.96079,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Setting state of videv/ffe/diningroom/main_light to False",
|
|
"asctime": "2025-08-18 22:07:19,791",
|
|
"moduleLogger": [],
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Value for shellies/ffe/diningroom/main_light is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547639.9920433,
|
|
"msecs": 992.0,
|
|
"relativeCreated": 3775.765952,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Value for shellies/ffe/diningroom/main_light is correct (Content False and Type is <class 'bool'>).",
|
|
"asctime": "2025-08-18 22:07:19,992",
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547639.791347,
|
|
"msecs": 791.0,
|
|
"relativeCreated": 3575.069671,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic videv/ffe/diningroom/main_light/state/set and payload false",
|
|
"asctime": "2025-08-18 22:07:19,791"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547639.7937772,
|
|
"msecs": 793.0,
|
|
"relativeCreated": 3577.499891,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/ffe/diningroom/main_light/relay/0/command and payload b'off'",
|
|
"asctime": "2025-08-18 22:07:19,793"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547639.7940977,
|
|
"msecs": 794.0,
|
|
"relativeCreated": 3577.820396,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic shellies/ffe/diningroom/main_light/relay/0 and payload off",
|
|
"asctime": "2025-08-18 22:07:19,794"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547639.7948036,
|
|
"msecs": 794.0,
|
|
"relativeCreated": 3578.526448,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/ffe/diningroom/main_light/relay/0 and payload b'off'",
|
|
"asctime": "2025-08-18 22:07:19,794"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.diningroom.floor_light.set",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/diningroom/floor_light/set",
|
|
"b'{\"state\": \"off\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547639.8363016,
|
|
"msecs": 836.0,
|
|
"relativeCreated": 3620.024184,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/diningroom/floor_light/set and payload b'{\"state\": \"off\"}'",
|
|
"asctime": "2025-08-18 22:07:19,836"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.diningroom.floor_light",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/diningroom/floor_light",
|
|
"{\"state\": \"off\"}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547639.8365998,
|
|
"msecs": 836.0,
|
|
"relativeCreated": 3620.322489,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic zigbee_ffe/ffe/diningroom/floor_light and payload {\"state\": \"off\"}",
|
|
"asctime": "2025-08-18 22:07:19,836"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547639.8368938,
|
|
"msecs": 836.0,
|
|
"relativeCreated": 3620.616289,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffe/diningroom/main_light/state and payload b'false'",
|
|
"asctime": "2025-08-18 22:07:19,836"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.diningroom.floor_light",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/diningroom/floor_light",
|
|
"b'{\"state\": \"off\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547639.8373363,
|
|
"msecs": 837.0,
|
|
"relativeCreated": 3621.059023,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/diningroom/floor_light and payload b'{\"state\": \"off\"}'",
|
|
"asctime": "2025-08-18 22:07:19,837"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547639.878706,
|
|
"msecs": 878.0,
|
|
"relativeCreated": 3662.428556,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffe/diningroom/floorlamp/state and payload b'false'",
|
|
"asctime": "2025-08-18 22:07:19,878"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Value for shellies/ffe/diningroom/main_light",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547639.9918225,
|
|
"msecs": 991.0,
|
|
"relativeCreated": 3775.545114,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Value for shellies/ffe/diningroom/main_light): False (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:19,991"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Value for shellies/ffe/diningroom/main_light",
|
|
"=",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547639.991966,
|
|
"msecs": 991.0,
|
|
"relativeCreated": 3775.688578,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Value for shellies/ffe/diningroom/main_light): result = False (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:19,991"
|
|
}
|
|
],
|
|
"time_consumption": 7.724761962890625e-05
|
|
}
|
|
],
|
|
"time_consumption": 0.6033015251159668,
|
|
"time_start": "2025-08-18 22:07:19,388",
|
|
"time_finished": "2025-08-18 22:07:19,992"
|
|
},
|
|
"REQ-0022": {
|
|
"name": "__tLogger__",
|
|
"msg": "REQ-0022",
|
|
"args": null,
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/report/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 329,
|
|
"funcName": "testCase",
|
|
"created": 1755547639.992318,
|
|
"msecs": 992.0,
|
|
"relativeCreated": 3776.040436,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "REQ-0022",
|
|
"asctime": "2025-08-18 22:07:19,992",
|
|
"moduleLogger": [],
|
|
"testcaseLogger": [
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Prepare: Setting devices to last state %s",
|
|
"args": [
|
|
"False"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 14,
|
|
"funcName": "device_follow",
|
|
"created": 1755547640.0930424,
|
|
"msecs": 93.0,
|
|
"relativeCreated": 3876.765013,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Prepare: Setting devices to last state False",
|
|
"asctime": "2025-08-18 22:07:20,093",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "smart_brain.mqtt.videv.ffe.diningroom.main_light.relay.0.set",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/ffe/diningroom/main_light/relay/0/set",
|
|
"false"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547639.9925027,
|
|
"msecs": 992.0,
|
|
"relativeCreated": 3776.225353,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic videv/ffe/diningroom/main_light/relay/0/set and payload false",
|
|
"asctime": "2025-08-18 22:07:19,992"
|
|
}
|
|
],
|
|
"time_consumption": 0.1005396842956543
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Start state (master, slave) is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547640.1936307,
|
|
"msecs": 193.0,
|
|
"relativeCreated": 3977.353438,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Start state (master, slave) is correct (Content (False, False) and Type is <class 'tuple'>).",
|
|
"asctime": "2025-08-18 22:07:20,193",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Start state (master, slave)",
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547640.19344,
|
|
"msecs": 193.0,
|
|
"relativeCreated": 3977.162726,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Start state (master, slave)): (False, False) (<class 'tuple'>)",
|
|
"asctime": "2025-08-18 22:07:20,193"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Start state (master, slave)",
|
|
"=",
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547640.1935794,
|
|
"msecs": 193.0,
|
|
"relativeCreated": 3977.302056,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Start state (master, slave)): result = (False, False) (<class 'tuple'>)",
|
|
"asctime": "2025-08-18 22:07:20,193"
|
|
}
|
|
],
|
|
"time_consumption": 5.125999450683594e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Setting state of %s to %s",
|
|
"args": [
|
|
"shellies/ffe/diningroom/main_light",
|
|
"True"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "device_follow",
|
|
"created": 1755547640.1937451,
|
|
"msecs": 193.0,
|
|
"relativeCreated": 3977.467779,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Setting state of shellies/ffe/diningroom/main_light to True",
|
|
"asctime": "2025-08-18 22:07:20,193",
|
|
"moduleLogger": [],
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Value for videv/ffe/diningroom/main_light is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547640.3948355,
|
|
"msecs": 394.0,
|
|
"relativeCreated": 4178.557946,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Value for videv/ffe/diningroom/main_light is correct (Content True and Type is <class 'bool'>).",
|
|
"asctime": "2025-08-18 22:07:20,394",
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547640.1939464,
|
|
"msecs": 193.0,
|
|
"relativeCreated": 3977.669069,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic shellies/ffe/diningroom/main_light/relay/0 and payload on",
|
|
"asctime": "2025-08-18 22:07:20,193"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547640.2002008,
|
|
"msecs": 200.0,
|
|
"relativeCreated": 3983.923444,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/ffe/diningroom/main_light/relay/0 and payload b'on'",
|
|
"asctime": "2025-08-18 22:07:20,200"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.diningroom.floor_light.set",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/diningroom/floor_light/set",
|
|
"b'{\"state\": \"on\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547640.2006178,
|
|
"msecs": 200.0,
|
|
"relativeCreated": 3984.340422,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/diningroom/floor_light/set and payload b'{\"state\": \"on\"}'",
|
|
"asctime": "2025-08-18 22:07:20,200"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.diningroom.floor_light",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/diningroom/floor_light",
|
|
"{\"state\": \"on\"}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547640.20088,
|
|
"msecs": 200.0,
|
|
"relativeCreated": 3984.602662,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic zigbee_ffe/ffe/diningroom/floor_light and payload {\"state\": \"on\"}",
|
|
"asctime": "2025-08-18 22:07:20,200"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547640.2012818,
|
|
"msecs": 201.0,
|
|
"relativeCreated": 3985.004294,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffe/diningroom/main_light/state and payload b'true'",
|
|
"asctime": "2025-08-18 22:07:20,201"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.diningroom.floor_light",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/diningroom/floor_light",
|
|
"b'{\"state\": \"on\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547640.201921,
|
|
"msecs": 201.0,
|
|
"relativeCreated": 3985.643579,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/diningroom/floor_light and payload b'{\"state\": \"on\"}'",
|
|
"asctime": "2025-08-18 22:07:20,201"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547640.243742,
|
|
"msecs": 243.0,
|
|
"relativeCreated": 4027.464602,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffe/diningroom/floorlamp/state and payload b'true'",
|
|
"asctime": "2025-08-18 22:07:20,243"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Value for videv/ffe/diningroom/main_light",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547640.394637,
|
|
"msecs": 394.0,
|
|
"relativeCreated": 4178.359709,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Value for videv/ffe/diningroom/main_light): True (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:20,394"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Value for videv/ffe/diningroom/main_light",
|
|
"=",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547640.3947835,
|
|
"msecs": 394.0,
|
|
"relativeCreated": 4178.506222,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Value for videv/ffe/diningroom/main_light): result = True (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:20,394"
|
|
}
|
|
],
|
|
"time_consumption": 5.1975250244140625e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Setting state of %s to %s",
|
|
"args": [
|
|
"shellies/ffe/diningroom/main_light",
|
|
"False"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "device_follow",
|
|
"created": 1755547640.3949523,
|
|
"msecs": 394.0,
|
|
"relativeCreated": 4178.674931,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Setting state of shellies/ffe/diningroom/main_light to False",
|
|
"asctime": "2025-08-18 22:07:20,394",
|
|
"moduleLogger": [],
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Value for videv/ffe/diningroom/main_light is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547640.5960116,
|
|
"msecs": 596.0,
|
|
"relativeCreated": 4379.734249,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Value for videv/ffe/diningroom/main_light is correct (Content False and Type is <class 'bool'>).",
|
|
"asctime": "2025-08-18 22:07:20,596",
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547640.395225,
|
|
"msecs": 395.0,
|
|
"relativeCreated": 4178.94763,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic shellies/ffe/diningroom/main_light/relay/0 and payload off",
|
|
"asctime": "2025-08-18 22:07:20,395"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547640.3962402,
|
|
"msecs": 396.0,
|
|
"relativeCreated": 4179.962621,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/ffe/diningroom/main_light/relay/0 and payload b'off'",
|
|
"asctime": "2025-08-18 22:07:20,396"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.diningroom.floor_light.set",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/diningroom/floor_light/set",
|
|
"b'{\"state\": \"off\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547640.3977346,
|
|
"msecs": 397.0,
|
|
"relativeCreated": 4181.457262,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/diningroom/floor_light/set and payload b'{\"state\": \"off\"}'",
|
|
"asctime": "2025-08-18 22:07:20,397"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.diningroom.floor_light",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/diningroom/floor_light",
|
|
"{\"state\": \"off\"}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547640.3980434,
|
|
"msecs": 398.0,
|
|
"relativeCreated": 4181.766035,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic zigbee_ffe/ffe/diningroom/floor_light and payload {\"state\": \"off\"}",
|
|
"asctime": "2025-08-18 22:07:20,398"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547640.3983798,
|
|
"msecs": 398.0,
|
|
"relativeCreated": 4182.102409,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffe/diningroom/main_light/state and payload b'false'",
|
|
"asctime": "2025-08-18 22:07:20,398"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffe.ffe.diningroom.floor_light",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffe/ffe/diningroom/floor_light",
|
|
"b'{\"state\": \"off\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547640.3988883,
|
|
"msecs": 398.0,
|
|
"relativeCreated": 4182.611113,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffe/ffe/diningroom/floor_light and payload b'{\"state\": \"off\"}'",
|
|
"asctime": "2025-08-18 22:07:20,398"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547640.4410608,
|
|
"msecs": 441.0,
|
|
"relativeCreated": 4224.783538,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffe/diningroom/floorlamp/state and payload b'false'",
|
|
"asctime": "2025-08-18 22:07:20,441"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Value for videv/ffe/diningroom/main_light",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547640.595835,
|
|
"msecs": 595.0,
|
|
"relativeCreated": 4379.557408,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Value for videv/ffe/diningroom/main_light): False (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:20,595"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Value for videv/ffe/diningroom/main_light",
|
|
"=",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547640.5959628,
|
|
"msecs": 595.0,
|
|
"relativeCreated": 4379.685514,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Value for videv/ffe/diningroom/main_light): result = False (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:20,595"
|
|
}
|
|
],
|
|
"time_consumption": 4.887580871582031e-05
|
|
}
|
|
],
|
|
"time_consumption": 0.6036937236785889,
|
|
"time_start": "2025-08-18 22:07:19,992",
|
|
"time_finished": "2025-08-18 22:07:20,596"
|
|
},
|
|
"REQ-0031": {
|
|
"name": "__tLogger__",
|
|
"msg": "REQ-0031",
|
|
"args": null,
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/report/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 329,
|
|
"funcName": "testCase",
|
|
"created": 1755547640.596267,
|
|
"msecs": 596.0,
|
|
"relativeCreated": 4379.989556,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "REQ-0031",
|
|
"asctime": "2025-08-18 22:07:20,596",
|
|
"moduleLogger": [],
|
|
"testcaseLogger": [
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Prepare: Setting devices to last state %s",
|
|
"args": [
|
|
"False"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 14,
|
|
"funcName": "device_follow",
|
|
"created": 1755547640.6969728,
|
|
"msecs": 696.0,
|
|
"relativeCreated": 4480.695454,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Prepare: Setting devices to last state False",
|
|
"asctime": "2025-08-18 22:07:20,696",
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547640.5963986,
|
|
"msecs": 596.0,
|
|
"relativeCreated": 4380.121192,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic videv/ffe/kitchen/main_light/state/set and payload false",
|
|
"asctime": "2025-08-18 22:07:20,596"
|
|
},
|
|
{
|
|
"name": "smart_brain.devices.shellies.ffe.kitchen.main_light",
|
|
"msg": "Unexpected key %s",
|
|
"args": [
|
|
"state"
|
|
],
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/base.py",
|
|
"filename": "base.py",
|
|
"module": "base",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 42,
|
|
"funcName": "set",
|
|
"created": 1755547640.5966132,
|
|
"msecs": 596.0,
|
|
"relativeCreated": 4380.335667,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Unexpected key state",
|
|
"asctime": "2025-08-18 22:07:20,596"
|
|
}
|
|
],
|
|
"time_consumption": 0.10035967826843262
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Start state (master, slave) is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547640.7977622,
|
|
"msecs": 797.0,
|
|
"relativeCreated": 4581.484714,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Start state (master, slave) is correct (Content (False, False) and Type is <class 'tuple'>).",
|
|
"asctime": "2025-08-18 22:07:20,797",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Start state (master, slave)",
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547640.7975688,
|
|
"msecs": 797.0,
|
|
"relativeCreated": 4581.291473,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Start state (master, slave)): (False, False) (<class 'tuple'>)",
|
|
"asctime": "2025-08-18 22:07:20,797"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Start state (master, slave)",
|
|
"=",
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547640.79771,
|
|
"msecs": 797.0,
|
|
"relativeCreated": 4581.432545,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Start state (master, slave)): result = (False, False) (<class 'tuple'>)",
|
|
"asctime": "2025-08-18 22:07:20,797"
|
|
}
|
|
],
|
|
"time_consumption": 5.221366882324219e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Setting state of %s to %s",
|
|
"args": [
|
|
"videv/ffe/kitchen/main_light",
|
|
"True"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "device_follow",
|
|
"created": 1755547640.7978709,
|
|
"msecs": 797.0,
|
|
"relativeCreated": 4581.5935,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Setting state of videv/ffe/kitchen/main_light to True",
|
|
"asctime": "2025-08-18 22:07:20,797",
|
|
"moduleLogger": [],
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Value for shellies/ffe/kitchen/main_light is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547640.9989033,
|
|
"msecs": 998.0,
|
|
"relativeCreated": 4782.625859,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Value for shellies/ffe/kitchen/main_light is correct (Content True and Type is <class 'bool'>).",
|
|
"asctime": "2025-08-18 22:07:20,998",
|
|
"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",
|
|
"true"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547640.7979832,
|
|
"msecs": 797.0,
|
|
"relativeCreated": 4581.705791,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic videv/ffe/kitchen/main_light/state/set and payload true",
|
|
"asctime": "2025-08-18 22:07:20,797"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547640.8005557,
|
|
"msecs": 800.0,
|
|
"relativeCreated": 4584.278368,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/ffe/kitchen/main_light/relay/0/command and payload b'on'",
|
|
"asctime": "2025-08-18 22:07:20,800"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547640.8009295,
|
|
"msecs": 800.0,
|
|
"relativeCreated": 4584.652227,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic shellies/ffe/kitchen/main_light/relay/0 and payload on",
|
|
"asctime": "2025-08-18 22:07:20,800"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547640.8017218,
|
|
"msecs": 801.0,
|
|
"relativeCreated": 4585.444533,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/ffe/kitchen/main_light/relay/0 and payload b'on'",
|
|
"asctime": "2025-08-18 22:07:20,801"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547640.843475,
|
|
"msecs": 843.0,
|
|
"relativeCreated": 4627.197731,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffe/kitchen/main_light/state and payload b'true'",
|
|
"asctime": "2025-08-18 22:07:20,843"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Value for shellies/ffe/kitchen/main_light",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547640.9987047,
|
|
"msecs": 998.0,
|
|
"relativeCreated": 4782.427201,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Value for shellies/ffe/kitchen/main_light): True (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:20,998"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Value for shellies/ffe/kitchen/main_light",
|
|
"=",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547640.9988506,
|
|
"msecs": 998.0,
|
|
"relativeCreated": 4782.573051,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Value for shellies/ffe/kitchen/main_light): result = True (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:20,998"
|
|
}
|
|
],
|
|
"time_consumption": 5.269050598144531e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Setting state of %s to %s",
|
|
"args": [
|
|
"videv/ffe/kitchen/main_light",
|
|
"False"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "device_follow",
|
|
"created": 1755547640.999019,
|
|
"msecs": 999.0,
|
|
"relativeCreated": 4782.741542,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Setting state of videv/ffe/kitchen/main_light to False",
|
|
"asctime": "2025-08-18 22:07:20,999",
|
|
"moduleLogger": [],
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Value for shellies/ffe/kitchen/main_light is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547641.2000291,
|
|
"msecs": 200.0,
|
|
"relativeCreated": 4983.751801,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Value for shellies/ffe/kitchen/main_light is correct (Content False and Type is <class 'bool'>).",
|
|
"asctime": "2025-08-18 22:07:21,200",
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547640.9991353,
|
|
"msecs": 999.0,
|
|
"relativeCreated": 4782.857916,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic videv/ffe/kitchen/main_light/state/set and payload false",
|
|
"asctime": "2025-08-18 22:07:20,999"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547641.0016468,
|
|
"msecs": 1.0,
|
|
"relativeCreated": 4785.369517,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/ffe/kitchen/main_light/relay/0/command and payload b'off'",
|
|
"asctime": "2025-08-18 22:07:21,001"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547641.0019732,
|
|
"msecs": 1.0,
|
|
"relativeCreated": 4785.695733,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic shellies/ffe/kitchen/main_light/relay/0 and payload off",
|
|
"asctime": "2025-08-18 22:07:21,001"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547641.0025237,
|
|
"msecs": 2.0,
|
|
"relativeCreated": 4786.24623,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/ffe/kitchen/main_light/relay/0 and payload b'off'",
|
|
"asctime": "2025-08-18 22:07:21,002"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547641.0450861,
|
|
"msecs": 45.0,
|
|
"relativeCreated": 4828.808726,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffe/kitchen/main_light/state and payload b'false'",
|
|
"asctime": "2025-08-18 22:07:21,045"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Value for shellies/ffe/kitchen/main_light",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547641.19983,
|
|
"msecs": 199.0,
|
|
"relativeCreated": 4983.552567,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Value for shellies/ffe/kitchen/main_light): False (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:21,199"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Value for shellies/ffe/kitchen/main_light",
|
|
"=",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547641.1999762,
|
|
"msecs": 199.0,
|
|
"relativeCreated": 4983.698899,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Value for shellies/ffe/kitchen/main_light): result = False (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:21,199"
|
|
}
|
|
],
|
|
"time_consumption": 5.2928924560546875e-05
|
|
}
|
|
],
|
|
"time_consumption": 0.603762149810791,
|
|
"time_start": "2025-08-18 22:07:20,596",
|
|
"time_finished": "2025-08-18 22:07:21,200"
|
|
},
|
|
"REQ-0032": {
|
|
"name": "__tLogger__",
|
|
"msg": "REQ-0032",
|
|
"args": null,
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/report/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 329,
|
|
"funcName": "testCase",
|
|
"created": 1755547641.2003171,
|
|
"msecs": 200.0,
|
|
"relativeCreated": 4984.039741,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "REQ-0032",
|
|
"asctime": "2025-08-18 22:07:21,200",
|
|
"moduleLogger": [],
|
|
"testcaseLogger": [
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Prepare: Setting devices to last state %s",
|
|
"args": [
|
|
"False"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 14,
|
|
"funcName": "device_follow",
|
|
"created": 1755547641.3008752,
|
|
"msecs": 300.0,
|
|
"relativeCreated": 5084.597866,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Prepare: Setting devices to last state False",
|
|
"asctime": "2025-08-18 22:07:21,300",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "smart_brain.mqtt.videv.ffe.kitchen.main_light.relay.0.set",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/ffe/kitchen/main_light/relay/0/set",
|
|
"false"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547641.2004788,
|
|
"msecs": 200.0,
|
|
"relativeCreated": 4984.201232,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic videv/ffe/kitchen/main_light/relay/0/set and payload false",
|
|
"asctime": "2025-08-18 22:07:21,200"
|
|
}
|
|
],
|
|
"time_consumption": 0.10039639472961426
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Start state (master, slave) is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547641.4015734,
|
|
"msecs": 401.0,
|
|
"relativeCreated": 5185.296044,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Start state (master, slave) is correct (Content (False, False) and Type is <class 'tuple'>).",
|
|
"asctime": "2025-08-18 22:07:21,401",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Start state (master, slave)",
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547641.4013643,
|
|
"msecs": 401.0,
|
|
"relativeCreated": 5185.086823,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Start state (master, slave)): (False, False) (<class 'tuple'>)",
|
|
"asctime": "2025-08-18 22:07:21,401"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Start state (master, slave)",
|
|
"=",
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547641.4015155,
|
|
"msecs": 401.0,
|
|
"relativeCreated": 5185.238133,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Start state (master, slave)): result = (False, False) (<class 'tuple'>)",
|
|
"asctime": "2025-08-18 22:07:21,401"
|
|
}
|
|
],
|
|
"time_consumption": 5.793571472167969e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Setting state of %s to %s",
|
|
"args": [
|
|
"shellies/ffe/kitchen/main_light",
|
|
"True"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "device_follow",
|
|
"created": 1755547641.4016914,
|
|
"msecs": 401.0,
|
|
"relativeCreated": 5185.414019,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Setting state of shellies/ffe/kitchen/main_light to True",
|
|
"asctime": "2025-08-18 22:07:21,401",
|
|
"moduleLogger": [],
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Value for videv/ffe/kitchen/main_light is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547641.6028924,
|
|
"msecs": 602.0,
|
|
"relativeCreated": 5386.614892,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Value for videv/ffe/kitchen/main_light is correct (Content True and Type is <class 'bool'>).",
|
|
"asctime": "2025-08-18 22:07:21,602",
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547641.4019375,
|
|
"msecs": 401.0,
|
|
"relativeCreated": 5185.660054,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic shellies/ffe/kitchen/main_light/relay/0 and payload on",
|
|
"asctime": "2025-08-18 22:07:21,401"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547641.4030623,
|
|
"msecs": 403.0,
|
|
"relativeCreated": 5186.784787,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/ffe/kitchen/main_light/relay/0 and payload b'on'",
|
|
"asctime": "2025-08-18 22:07:21,403"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547641.4048545,
|
|
"msecs": 404.0,
|
|
"relativeCreated": 5188.577039,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffe/kitchen/main_light/state and payload b'true'",
|
|
"asctime": "2025-08-18 22:07:21,404"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Value for videv/ffe/kitchen/main_light",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547641.602655,
|
|
"msecs": 602.0,
|
|
"relativeCreated": 5386.377633,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Value for videv/ffe/kitchen/main_light): True (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:21,602"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Value for videv/ffe/kitchen/main_light",
|
|
"=",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547641.6028354,
|
|
"msecs": 602.0,
|
|
"relativeCreated": 5386.558066,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Value for videv/ffe/kitchen/main_light): result = True (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:21,602"
|
|
}
|
|
],
|
|
"time_consumption": 5.698204040527344e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Setting state of %s to %s",
|
|
"args": [
|
|
"shellies/ffe/kitchen/main_light",
|
|
"False"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "device_follow",
|
|
"created": 1755547641.6030042,
|
|
"msecs": 603.0,
|
|
"relativeCreated": 5386.726894,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Setting state of shellies/ffe/kitchen/main_light to False",
|
|
"asctime": "2025-08-18 22:07:21,603",
|
|
"moduleLogger": [],
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Value for videv/ffe/kitchen/main_light is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547641.8043294,
|
|
"msecs": 804.0,
|
|
"relativeCreated": 5588.05203,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Value for videv/ffe/kitchen/main_light is correct (Content False and Type is <class 'bool'>).",
|
|
"asctime": "2025-08-18 22:07:21,804",
|
|
"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",
|
|
"off"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547641.603278,
|
|
"msecs": 603.0,
|
|
"relativeCreated": 5387.000462,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic shellies/ffe/kitchen/main_light/relay/0 and payload off",
|
|
"asctime": "2025-08-18 22:07:21,603"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547641.6042268,
|
|
"msecs": 604.0,
|
|
"relativeCreated": 5387.94941,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/ffe/kitchen/main_light/relay/0 and payload b'off'",
|
|
"asctime": "2025-08-18 22:07:21,604"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547641.605536,
|
|
"msecs": 605.0,
|
|
"relativeCreated": 5389.258545,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffe/kitchen/main_light/state and payload b'false'",
|
|
"asctime": "2025-08-18 22:07:21,605"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Value for videv/ffe/kitchen/main_light",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547641.804082,
|
|
"msecs": 804.0,
|
|
"relativeCreated": 5587.804566,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Value for videv/ffe/kitchen/main_light): False (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:21,804"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Value for videv/ffe/kitchen/main_light",
|
|
"=",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547641.8042727,
|
|
"msecs": 804.0,
|
|
"relativeCreated": 5587.995165,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Value for videv/ffe/kitchen/main_light): result = False (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:21,804"
|
|
}
|
|
],
|
|
"time_consumption": 5.6743621826171875e-05
|
|
}
|
|
],
|
|
"time_consumption": 0.6040122509002686,
|
|
"time_start": "2025-08-18 22:07:21,200",
|
|
"time_finished": "2025-08-18 22:07:21,804"
|
|
},
|
|
"REQ-0041": {
|
|
"name": "__tLogger__",
|
|
"msg": "REQ-0041",
|
|
"args": null,
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/report/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 329,
|
|
"funcName": "testCase",
|
|
"created": 1755547641.8045728,
|
|
"msecs": 804.0,
|
|
"relativeCreated": 5588.295619,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "REQ-0041",
|
|
"asctime": "2025-08-18 22:07:21,804",
|
|
"moduleLogger": [],
|
|
"testcaseLogger": [
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Prepare: Setting devices to last state %s",
|
|
"args": [
|
|
"False"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 14,
|
|
"funcName": "device_follow",
|
|
"created": 1755547641.9052842,
|
|
"msecs": 905.0,
|
|
"relativeCreated": 5689.006609,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Prepare: Setting devices to last state False",
|
|
"asctime": "2025-08-18 22:07:21,905",
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547641.80471,
|
|
"msecs": 804.0,
|
|
"relativeCreated": 5588.432624,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic videv/ffe/kitchen/main_light/state/set and payload false",
|
|
"asctime": "2025-08-18 22:07:21,804"
|
|
},
|
|
{
|
|
"name": "smart_brain.devices.shellies.ffe.kitchen.main_light",
|
|
"msg": "Unexpected key %s",
|
|
"args": [
|
|
"state"
|
|
],
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/base.py",
|
|
"filename": "base.py",
|
|
"module": "base",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 42,
|
|
"funcName": "set",
|
|
"created": 1755547641.804923,
|
|
"msecs": 804.0,
|
|
"relativeCreated": 5588.645808,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Unexpected key state",
|
|
"asctime": "2025-08-18 22:07:21,804"
|
|
}
|
|
],
|
|
"time_consumption": 0.10036110877990723
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Start state (master, slave) is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547642.0060477,
|
|
"msecs": 6.0,
|
|
"relativeCreated": 5789.770298,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Start state (master, slave) is correct (Content (False, False) and Type is <class 'tuple'>).",
|
|
"asctime": "2025-08-18 22:07:22,006",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Start state (master, slave)",
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547642.005818,
|
|
"msecs": 5.0,
|
|
"relativeCreated": 5789.540392,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Start state (master, slave)): (False, False) (<class 'tuple'>)",
|
|
"asctime": "2025-08-18 22:07:22,005"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Start state (master, slave)",
|
|
"=",
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547642.0059924,
|
|
"msecs": 5.0,
|
|
"relativeCreated": 5789.715045,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Start state (master, slave)): result = (False, False) (<class 'tuple'>)",
|
|
"asctime": "2025-08-18 22:07:22,005"
|
|
}
|
|
],
|
|
"time_consumption": 5.53131103515625e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Setting state of %s to %s",
|
|
"args": [
|
|
"videv/ffe/kitchen/main_light",
|
|
"True"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "device_follow",
|
|
"created": 1755547642.0061824,
|
|
"msecs": 6.0,
|
|
"relativeCreated": 5789.905057,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Setting state of videv/ffe/kitchen/main_light to True",
|
|
"asctime": "2025-08-18 22:07:22,006",
|
|
"moduleLogger": [],
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Value for shellies/ffe/kitchen/main_light is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547642.2072885,
|
|
"msecs": 207.0,
|
|
"relativeCreated": 5991.011256,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Value for shellies/ffe/kitchen/main_light is correct (Content True and Type is <class 'bool'>).",
|
|
"asctime": "2025-08-18 22:07:22,207",
|
|
"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",
|
|
"true"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547642.0062983,
|
|
"msecs": 6.0,
|
|
"relativeCreated": 5790.020937,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic videv/ffe/kitchen/main_light/state/set and payload true",
|
|
"asctime": "2025-08-18 22:07:22,006"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547642.0085132,
|
|
"msecs": 8.0,
|
|
"relativeCreated": 5792.236006,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/ffe/kitchen/main_light/relay/0/command and payload b'on'",
|
|
"asctime": "2025-08-18 22:07:22,008"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547642.0088348,
|
|
"msecs": 8.0,
|
|
"relativeCreated": 5792.557484,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic shellies/ffe/kitchen/main_light/relay/0 and payload on",
|
|
"asctime": "2025-08-18 22:07:22,008"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547642.0095794,
|
|
"msecs": 9.0,
|
|
"relativeCreated": 5793.302198,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/ffe/kitchen/main_light/relay/0 and payload b'on'",
|
|
"asctime": "2025-08-18 22:07:22,009"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547642.0512705,
|
|
"msecs": 51.0,
|
|
"relativeCreated": 5834.993038,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffe/kitchen/main_light/state and payload b'true'",
|
|
"asctime": "2025-08-18 22:07:22,051"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Value for shellies/ffe/kitchen/main_light",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547642.2070377,
|
|
"msecs": 207.0,
|
|
"relativeCreated": 5990.76022,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Value for shellies/ffe/kitchen/main_light): True (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:22,207"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Value for shellies/ffe/kitchen/main_light",
|
|
"=",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547642.2072263,
|
|
"msecs": 207.0,
|
|
"relativeCreated": 5990.949043,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Value for shellies/ffe/kitchen/main_light): result = True (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:22,207"
|
|
}
|
|
],
|
|
"time_consumption": 6.222724914550781e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Setting state of %s to %s",
|
|
"args": [
|
|
"videv/ffe/kitchen/main_light",
|
|
"False"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "device_follow",
|
|
"created": 1755547642.2074006,
|
|
"msecs": 207.0,
|
|
"relativeCreated": 5991.123114,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Setting state of videv/ffe/kitchen/main_light to False",
|
|
"asctime": "2025-08-18 22:07:22,207",
|
|
"moduleLogger": [],
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Value for shellies/ffe/kitchen/main_light is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547642.4084942,
|
|
"msecs": 408.0,
|
|
"relativeCreated": 6192.217033,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Value for shellies/ffe/kitchen/main_light is correct (Content False and Type is <class 'bool'>).",
|
|
"asctime": "2025-08-18 22:07:22,408",
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547642.2075117,
|
|
"msecs": 207.0,
|
|
"relativeCreated": 5991.234145,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic videv/ffe/kitchen/main_light/state/set and payload false",
|
|
"asctime": "2025-08-18 22:07:22,207"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547642.2099066,
|
|
"msecs": 209.0,
|
|
"relativeCreated": 5993.629213,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/ffe/kitchen/main_light/relay/0/command and payload b'off'",
|
|
"asctime": "2025-08-18 22:07:22,209"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547642.2102294,
|
|
"msecs": 210.0,
|
|
"relativeCreated": 5993.952003,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic shellies/ffe/kitchen/main_light/relay/0 and payload off",
|
|
"asctime": "2025-08-18 22:07:22,210"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547642.210923,
|
|
"msecs": 210.0,
|
|
"relativeCreated": 5994.645639,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/ffe/kitchen/main_light/relay/0 and payload b'off'",
|
|
"asctime": "2025-08-18 22:07:22,210"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547642.2530124,
|
|
"msecs": 253.0,
|
|
"relativeCreated": 6036.735014,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffe/kitchen/main_light/state and payload b'false'",
|
|
"asctime": "2025-08-18 22:07:22,253"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Value for shellies/ffe/kitchen/main_light",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547642.4082925,
|
|
"msecs": 408.0,
|
|
"relativeCreated": 6192.015332,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Value for shellies/ffe/kitchen/main_light): False (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:22,408"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Value for shellies/ffe/kitchen/main_light",
|
|
"=",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547642.408439,
|
|
"msecs": 408.0,
|
|
"relativeCreated": 6192.16175,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Value for shellies/ffe/kitchen/main_light): result = False (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:22,408"
|
|
}
|
|
],
|
|
"time_consumption": 5.53131103515625e-05
|
|
}
|
|
],
|
|
"time_consumption": 0.6039214134216309,
|
|
"time_start": "2025-08-18 22:07:21,804",
|
|
"time_finished": "2025-08-18 22:07:22,408"
|
|
},
|
|
"REQ-0042": {
|
|
"name": "__tLogger__",
|
|
"msg": "REQ-0042",
|
|
"args": null,
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/report/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 329,
|
|
"funcName": "testCase",
|
|
"created": 1755547642.4087422,
|
|
"msecs": 408.0,
|
|
"relativeCreated": 6192.464663,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "REQ-0042",
|
|
"asctime": "2025-08-18 22:07:22,408",
|
|
"moduleLogger": [],
|
|
"testcaseLogger": [
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Prepare: Setting devices to last state %s",
|
|
"args": [
|
|
"False"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 14,
|
|
"funcName": "device_follow",
|
|
"created": 1755547642.5092316,
|
|
"msecs": 509.0,
|
|
"relativeCreated": 6292.95433,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Prepare: Setting devices to last state False",
|
|
"asctime": "2025-08-18 22:07:22,509",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "smart_brain.mqtt.videv.ffe.kitchen.main_light.relay.0.set",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/ffe/kitchen/main_light/relay/0/set",
|
|
"false"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547642.4088795,
|
|
"msecs": 408.0,
|
|
"relativeCreated": 6192.602241,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic videv/ffe/kitchen/main_light/relay/0/set and payload false",
|
|
"asctime": "2025-08-18 22:07:22,408"
|
|
}
|
|
],
|
|
"time_consumption": 0.10035204887390137
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Start state (master, slave) is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547642.60982,
|
|
"msecs": 609.0,
|
|
"relativeCreated": 6393.542632,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Start state (master, slave) is correct (Content (False, False) and Type is <class 'tuple'>).",
|
|
"asctime": "2025-08-18 22:07:22,609",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Start state (master, slave)",
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547642.6095936,
|
|
"msecs": 609.0,
|
|
"relativeCreated": 6393.316177,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Start state (master, slave)): (False, False) (<class 'tuple'>)",
|
|
"asctime": "2025-08-18 22:07:22,609"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Start state (master, slave)",
|
|
"=",
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547642.609764,
|
|
"msecs": 609.0,
|
|
"relativeCreated": 6393.486758,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Start state (master, slave)): result = (False, False) (<class 'tuple'>)",
|
|
"asctime": "2025-08-18 22:07:22,609"
|
|
}
|
|
],
|
|
"time_consumption": 5.5789947509765625e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Setting state of %s to %s",
|
|
"args": [
|
|
"shellies/ffe/kitchen/main_light",
|
|
"True"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "device_follow",
|
|
"created": 1755547642.6099317,
|
|
"msecs": 609.0,
|
|
"relativeCreated": 6393.654399,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Setting state of shellies/ffe/kitchen/main_light to True",
|
|
"asctime": "2025-08-18 22:07:22,609",
|
|
"moduleLogger": [],
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Value for videv/ffe/kitchen/main_light is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547642.810998,
|
|
"msecs": 810.0,
|
|
"relativeCreated": 6594.720655,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Value for videv/ffe/kitchen/main_light is correct (Content True and Type is <class 'bool'>).",
|
|
"asctime": "2025-08-18 22:07:22,810",
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547642.6101816,
|
|
"msecs": 610.0,
|
|
"relativeCreated": 6393.904343,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic shellies/ffe/kitchen/main_light/relay/0 and payload on",
|
|
"asctime": "2025-08-18 22:07:22,610"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547642.6111307,
|
|
"msecs": 611.0,
|
|
"relativeCreated": 6394.853152,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/ffe/kitchen/main_light/relay/0 and payload b'on'",
|
|
"asctime": "2025-08-18 22:07:22,611"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547642.6130123,
|
|
"msecs": 613.0,
|
|
"relativeCreated": 6396.734913,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffe/kitchen/main_light/state and payload b'true'",
|
|
"asctime": "2025-08-18 22:07:22,613"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Value for videv/ffe/kitchen/main_light",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547642.810809,
|
|
"msecs": 810.0,
|
|
"relativeCreated": 6594.531494,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Value for videv/ffe/kitchen/main_light): True (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:22,810"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Value for videv/ffe/kitchen/main_light",
|
|
"=",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547642.8109467,
|
|
"msecs": 810.0,
|
|
"relativeCreated": 6594.669441,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Value for videv/ffe/kitchen/main_light): result = True (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:22,810"
|
|
}
|
|
],
|
|
"time_consumption": 5.125999450683594e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Setting state of %s to %s",
|
|
"args": [
|
|
"shellies/ffe/kitchen/main_light",
|
|
"False"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "device_follow",
|
|
"created": 1755547642.8111014,
|
|
"msecs": 811.0,
|
|
"relativeCreated": 6594.824071,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Setting state of shellies/ffe/kitchen/main_light to False",
|
|
"asctime": "2025-08-18 22:07:22,811",
|
|
"moduleLogger": [],
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Value for videv/ffe/kitchen/main_light is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547643.0124614,
|
|
"msecs": 12.0,
|
|
"relativeCreated": 6796.184035,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Value for videv/ffe/kitchen/main_light is correct (Content False and Type is <class 'bool'>).",
|
|
"asctime": "2025-08-18 22:07:23,012",
|
|
"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",
|
|
"off"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547642.8113744,
|
|
"msecs": 811.0,
|
|
"relativeCreated": 6595.096954,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic shellies/ffe/kitchen/main_light/relay/0 and payload off",
|
|
"asctime": "2025-08-18 22:07:22,811"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547642.8122396,
|
|
"msecs": 812.0,
|
|
"relativeCreated": 6595.962301,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/ffe/kitchen/main_light/relay/0 and payload b'off'",
|
|
"asctime": "2025-08-18 22:07:22,812"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547642.8137112,
|
|
"msecs": 813.0,
|
|
"relativeCreated": 6597.433827,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffe/kitchen/main_light/state and payload b'false'",
|
|
"asctime": "2025-08-18 22:07:22,813"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Value for videv/ffe/kitchen/main_light",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547643.0122101,
|
|
"msecs": 12.0,
|
|
"relativeCreated": 6795.932767,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Value for videv/ffe/kitchen/main_light): False (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:23,012"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Value for videv/ffe/kitchen/main_light",
|
|
"=",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547643.0124013,
|
|
"msecs": 12.0,
|
|
"relativeCreated": 6796.123976,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Value for videv/ffe/kitchen/main_light): result = False (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:23,012"
|
|
}
|
|
],
|
|
"time_consumption": 6.008148193359375e-05
|
|
}
|
|
],
|
|
"time_consumption": 0.6037192344665527,
|
|
"time_start": "2025-08-18 22:07:22,408",
|
|
"time_finished": "2025-08-18 22:07:23,012"
|
|
},
|
|
"REQ-0101": {
|
|
"name": "__tLogger__",
|
|
"msg": "REQ-0101",
|
|
"args": null,
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/report/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 329,
|
|
"funcName": "testCase",
|
|
"created": 1755547643.0127153,
|
|
"msecs": 12.0,
|
|
"relativeCreated": 6796.437982,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "REQ-0101",
|
|
"asctime": "2025-08-18 22:07:23,012",
|
|
"moduleLogger": [],
|
|
"testcaseLogger": [
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Prepare: Setting devices to last state %s",
|
|
"args": [
|
|
"False"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 14,
|
|
"funcName": "device_follow",
|
|
"created": 1755547643.1133006,
|
|
"msecs": 113.0,
|
|
"relativeCreated": 6897.02309,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Prepare: Setting devices to last state False",
|
|
"asctime": "2025-08-18 22:07:23,113",
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547643.0128553,
|
|
"msecs": 12.0,
|
|
"relativeCreated": 6796.577821,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic videv/ffw/livingroom/main_light/state/set and payload false",
|
|
"asctime": "2025-08-18 22:07:23,012"
|
|
},
|
|
{
|
|
"name": "smart_brain.devices.shellies.ffw.livingroom.main_light",
|
|
"msg": "Unexpected key %s",
|
|
"args": [
|
|
"state"
|
|
],
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/base.py",
|
|
"filename": "base.py",
|
|
"module": "base",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 42,
|
|
"funcName": "set",
|
|
"created": 1755547643.013082,
|
|
"msecs": 13.0,
|
|
"relativeCreated": 6796.804662,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Unexpected key state",
|
|
"asctime": "2025-08-18 22:07:23,013"
|
|
}
|
|
],
|
|
"time_consumption": 0.10021853446960449
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Start state (master, slave) is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547643.2140312,
|
|
"msecs": 214.0,
|
|
"relativeCreated": 6997.753656,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Start state (master, slave) is correct (Content (False, False) and Type is <class 'tuple'>).",
|
|
"asctime": "2025-08-18 22:07:23,214",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Start state (master, slave)",
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547643.2138295,
|
|
"msecs": 213.0,
|
|
"relativeCreated": 6997.552285,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Start state (master, slave)): (False, False) (<class 'tuple'>)",
|
|
"asctime": "2025-08-18 22:07:23,213"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Start state (master, slave)",
|
|
"=",
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547643.2139773,
|
|
"msecs": 213.0,
|
|
"relativeCreated": 6997.699841,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Start state (master, slave)): result = (False, False) (<class 'tuple'>)",
|
|
"asctime": "2025-08-18 22:07:23,213"
|
|
}
|
|
],
|
|
"time_consumption": 5.3882598876953125e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Setting state of %s to %s",
|
|
"args": [
|
|
"videv/ffw/livingroom/main_light",
|
|
"True"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "device_follow",
|
|
"created": 1755547643.2141397,
|
|
"msecs": 214.0,
|
|
"relativeCreated": 6997.862133,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Setting state of videv/ffw/livingroom/main_light to True",
|
|
"asctime": "2025-08-18 22:07:23,214",
|
|
"moduleLogger": [],
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Value for shellies/ffw/livingroom/main_light is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547643.4152856,
|
|
"msecs": 415.0,
|
|
"relativeCreated": 7199.008228,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Value for shellies/ffw/livingroom/main_light is correct (Content True and Type is <class 'bool'>).",
|
|
"asctime": "2025-08-18 22:07:23,415",
|
|
"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",
|
|
"true"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547643.2143252,
|
|
"msecs": 214.0,
|
|
"relativeCreated": 6998.047757,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic videv/ffw/livingroom/main_light/state/set and payload true",
|
|
"asctime": "2025-08-18 22:07:23,214"
|
|
},
|
|
{
|
|
"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'on'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547643.216397,
|
|
"msecs": 216.0,
|
|
"relativeCreated": 7000.119659,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/ffw/livingroom/main_light/relay/0/command and payload b'on'",
|
|
"asctime": "2025-08-18 22:07:23,216"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547643.2167256,
|
|
"msecs": 216.0,
|
|
"relativeCreated": 7000.448002,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic shellies/ffw/livingroom/main_light/relay/0 and payload on",
|
|
"asctime": "2025-08-18 22:07:23,216"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffw.ffw.livingroom.main_light",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffw/ffw/livingroom/main_light",
|
|
"{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547643.2171264,
|
|
"msecs": 217.0,
|
|
"relativeCreated": 7000.849057,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic zigbee_ffw/ffw/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
|
|
"asctime": "2025-08-18 22:07:23,217"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547643.2177968,
|
|
"msecs": 217.0,
|
|
"relativeCreated": 7001.519446,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/ffw/livingroom/main_light/relay/0 and payload b'on'",
|
|
"asctime": "2025-08-18 22:07:23,217"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffw.ffw.livingroom.main_light",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffw/ffw/livingroom/main_light",
|
|
"b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547643.2180715,
|
|
"msecs": 218.0,
|
|
"relativeCreated": 7001.794129,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffw/ffw/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
|
|
"asctime": "2025-08-18 22:07:23,218"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547643.2597358,
|
|
"msecs": 259.0,
|
|
"relativeCreated": 7043.458493,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffw/livingroom/main_light/state and payload b'true'",
|
|
"asctime": "2025-08-18 22:07:23,259"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547643.3008115,
|
|
"msecs": 300.0,
|
|
"relativeCreated": 7084.534215,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffw/livingroom/main_light/brightness and payload b'50'",
|
|
"asctime": "2025-08-18 22:07:23,300"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547643.3011792,
|
|
"msecs": 301.0,
|
|
"relativeCreated": 7084.901646,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffw/livingroom/main_light/color_temp and payload b'5'",
|
|
"asctime": "2025-08-18 22:07:23,301"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Value for shellies/ffw/livingroom/main_light",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547643.4150264,
|
|
"msecs": 415.0,
|
|
"relativeCreated": 7198.749071,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Value for shellies/ffw/livingroom/main_light): True (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:23,415"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Value for shellies/ffw/livingroom/main_light",
|
|
"=",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547643.4152198,
|
|
"msecs": 415.0,
|
|
"relativeCreated": 7198.942302,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Value for shellies/ffw/livingroom/main_light): result = True (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:23,415"
|
|
}
|
|
],
|
|
"time_consumption": 6.580352783203125e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Setting state of %s to %s",
|
|
"args": [
|
|
"videv/ffw/livingroom/main_light",
|
|
"False"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "device_follow",
|
|
"created": 1755547643.4154205,
|
|
"msecs": 415.0,
|
|
"relativeCreated": 7199.142984,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Setting state of videv/ffw/livingroom/main_light to False",
|
|
"asctime": "2025-08-18 22:07:23,415",
|
|
"moduleLogger": [],
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Value for shellies/ffw/livingroom/main_light is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547643.6163986,
|
|
"msecs": 616.0,
|
|
"relativeCreated": 7400.12133,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Value for shellies/ffw/livingroom/main_light is correct (Content False and Type is <class 'bool'>).",
|
|
"asctime": "2025-08-18 22:07:23,616",
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547643.4155324,
|
|
"msecs": 415.0,
|
|
"relativeCreated": 7199.254871,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic videv/ffw/livingroom/main_light/state/set and payload false",
|
|
"asctime": "2025-08-18 22:07:23,415"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547643.417473,
|
|
"msecs": 417.0,
|
|
"relativeCreated": 7201.195652,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/ffw/livingroom/main_light/relay/0/command and payload b'off'",
|
|
"asctime": "2025-08-18 22:07:23,417"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547643.4177794,
|
|
"msecs": 417.0,
|
|
"relativeCreated": 7201.50204,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic shellies/ffw/livingroom/main_light/relay/0 and payload off",
|
|
"asctime": "2025-08-18 22:07:23,417"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547643.4186974,
|
|
"msecs": 418.0,
|
|
"relativeCreated": 7202.420159,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/ffw/livingroom/main_light/relay/0 and payload b'off'",
|
|
"asctime": "2025-08-18 22:07:23,418"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547643.460913,
|
|
"msecs": 460.0,
|
|
"relativeCreated": 7244.635411,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffw/livingroom/main_light/state and payload b'false'",
|
|
"asctime": "2025-08-18 22:07:23,460"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Value for shellies/ffw/livingroom/main_light",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547643.6161892,
|
|
"msecs": 616.0,
|
|
"relativeCreated": 7399.911848,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Value for shellies/ffw/livingroom/main_light): False (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:23,616"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Value for shellies/ffw/livingroom/main_light",
|
|
"=",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547643.616343,
|
|
"msecs": 616.0,
|
|
"relativeCreated": 7400.065542,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Value for shellies/ffw/livingroom/main_light): result = False (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:23,616"
|
|
}
|
|
],
|
|
"time_consumption": 5.555152893066406e-05
|
|
}
|
|
],
|
|
"time_consumption": 0.6036832332611084,
|
|
"time_start": "2025-08-18 22:07:23,012",
|
|
"time_finished": "2025-08-18 22:07:23,616"
|
|
},
|
|
"REQ-0102": {
|
|
"name": "__tLogger__",
|
|
"msg": "REQ-0102",
|
|
"args": null,
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/report/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 329,
|
|
"funcName": "testCase",
|
|
"created": 1755547643.6166425,
|
|
"msecs": 616.0,
|
|
"relativeCreated": 7400.36517,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "REQ-0102",
|
|
"asctime": "2025-08-18 22:07:23,616",
|
|
"moduleLogger": [],
|
|
"testcaseLogger": [
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Prepare: Setting devices to last state %s",
|
|
"args": [
|
|
"False"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 14,
|
|
"funcName": "device_follow",
|
|
"created": 1755547643.717238,
|
|
"msecs": 717.0,
|
|
"relativeCreated": 7500.960632,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Prepare: Setting devices to last state False",
|
|
"asctime": "2025-08-18 22:07:23,717",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.relay.0.set",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/ffw/livingroom/main_light/relay/0/set",
|
|
"false"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547643.6168258,
|
|
"msecs": 616.0,
|
|
"relativeCreated": 7400.548576,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic videv/ffw/livingroom/main_light/relay/0/set and payload false",
|
|
"asctime": "2025-08-18 22:07:23,616"
|
|
}
|
|
],
|
|
"time_consumption": 0.10041213035583496
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Start state (master, slave) is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547643.8178766,
|
|
"msecs": 817.0,
|
|
"relativeCreated": 7601.599202,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Start state (master, slave) is correct (Content (False, False) and Type is <class 'tuple'>).",
|
|
"asctime": "2025-08-18 22:07:23,817",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Start state (master, slave)",
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547643.8176491,
|
|
"msecs": 817.0,
|
|
"relativeCreated": 7601.371851,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Start state (master, slave)): (False, False) (<class 'tuple'>)",
|
|
"asctime": "2025-08-18 22:07:23,817"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Start state (master, slave)",
|
|
"=",
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547643.8178225,
|
|
"msecs": 817.0,
|
|
"relativeCreated": 7601.544989,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Start state (master, slave)): result = (False, False) (<class 'tuple'>)",
|
|
"asctime": "2025-08-18 22:07:23,817"
|
|
}
|
|
],
|
|
"time_consumption": 5.412101745605469e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Setting state of %s to %s",
|
|
"args": [
|
|
"shellies/ffw/livingroom/main_light",
|
|
"True"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "device_follow",
|
|
"created": 1755547643.8179862,
|
|
"msecs": 817.0,
|
|
"relativeCreated": 7601.708803,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Setting state of shellies/ffw/livingroom/main_light to True",
|
|
"asctime": "2025-08-18 22:07:23,817",
|
|
"moduleLogger": [],
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Value for videv/ffw/livingroom/main_light is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547644.0199237,
|
|
"msecs": 19.0,
|
|
"relativeCreated": 7803.646428,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Value for videv/ffw/livingroom/main_light is correct (Content True and Type is <class 'bool'>).",
|
|
"asctime": "2025-08-18 22:07:24,019",
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547643.8183784,
|
|
"msecs": 818.0,
|
|
"relativeCreated": 7602.101025,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic shellies/ffw/livingroom/main_light/relay/0 and payload on",
|
|
"asctime": "2025-08-18 22:07:23,818"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffw.ffw.livingroom.main_light",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffw/ffw/livingroom/main_light",
|
|
"{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547643.8192356,
|
|
"msecs": 819.0,
|
|
"relativeCreated": 7602.95824,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic zigbee_ffw/ffw/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
|
|
"asctime": "2025-08-18 22:07:23,819"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547643.8196166,
|
|
"msecs": 819.0,
|
|
"relativeCreated": 7603.339232,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/ffw/livingroom/main_light/relay/0 and payload b'on'",
|
|
"asctime": "2025-08-18 22:07:23,819"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffw.ffw.livingroom.main_light",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffw/ffw/livingroom/main_light",
|
|
"b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547643.8202276,
|
|
"msecs": 820.0,
|
|
"relativeCreated": 7603.950153,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffw/ffw/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
|
|
"asctime": "2025-08-18 22:07:23,820"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547643.86156,
|
|
"msecs": 861.0,
|
|
"relativeCreated": 7645.282766,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffw/livingroom/main_light/state and payload b'true'",
|
|
"asctime": "2025-08-18 22:07:23,861"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Value for videv/ffw/livingroom/main_light",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547644.0197122,
|
|
"msecs": 19.0,
|
|
"relativeCreated": 7803.434752,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Value for videv/ffw/livingroom/main_light): True (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:24,019"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Value for videv/ffw/livingroom/main_light",
|
|
"=",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547644.019852,
|
|
"msecs": 19.0,
|
|
"relativeCreated": 7803.574744,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Value for videv/ffw/livingroom/main_light): result = True (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:24,019"
|
|
}
|
|
],
|
|
"time_consumption": 7.176399230957031e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Setting state of %s to %s",
|
|
"args": [
|
|
"shellies/ffw/livingroom/main_light",
|
|
"False"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "device_follow",
|
|
"created": 1755547644.0200424,
|
|
"msecs": 20.0,
|
|
"relativeCreated": 7803.765172,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Setting state of shellies/ffw/livingroom/main_light to False",
|
|
"asctime": "2025-08-18 22:07:24,020",
|
|
"moduleLogger": [],
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Value for videv/ffw/livingroom/main_light is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547644.2214365,
|
|
"msecs": 221.0,
|
|
"relativeCreated": 8005.159008,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Value for videv/ffw/livingroom/main_light is correct (Content False and Type is <class 'bool'>).",
|
|
"asctime": "2025-08-18 22:07:24,221",
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547644.0202818,
|
|
"msecs": 20.0,
|
|
"relativeCreated": 7804.004378,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic shellies/ffw/livingroom/main_light/relay/0 and payload off",
|
|
"asctime": "2025-08-18 22:07:24,020"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547644.0211017,
|
|
"msecs": 21.0,
|
|
"relativeCreated": 7804.82451,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/ffw/livingroom/main_light/relay/0 and payload b'off'",
|
|
"asctime": "2025-08-18 22:07:24,021"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547644.022418,
|
|
"msecs": 22.0,
|
|
"relativeCreated": 7806.140482,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffw/livingroom/main_light/state and payload b'false'",
|
|
"asctime": "2025-08-18 22:07:24,022"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Value for videv/ffw/livingroom/main_light",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547644.221246,
|
|
"msecs": 221.0,
|
|
"relativeCreated": 8004.968607,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Value for videv/ffw/livingroom/main_light): False (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:24,221"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Value for videv/ffw/livingroom/main_light",
|
|
"=",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547644.2213845,
|
|
"msecs": 221.0,
|
|
"relativeCreated": 8005.107155,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Value for videv/ffw/livingroom/main_light): result = False (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:24,221"
|
|
}
|
|
],
|
|
"time_consumption": 5.1975250244140625e-05
|
|
}
|
|
],
|
|
"time_consumption": 0.6047940254211426,
|
|
"time_start": "2025-08-18 22:07:23,616",
|
|
"time_finished": "2025-08-18 22:07:24,221"
|
|
},
|
|
"REQ-0111": {
|
|
"name": "__tLogger__",
|
|
"msg": "REQ-0111",
|
|
"args": null,
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/report/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 329,
|
|
"funcName": "testCase",
|
|
"created": 1755547644.2216694,
|
|
"msecs": 221.0,
|
|
"relativeCreated": 8005.391978,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "REQ-0111",
|
|
"asctime": "2025-08-18 22:07:24,221",
|
|
"moduleLogger": [],
|
|
"testcaseLogger": [
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Prepare: Setting devices to last state %s",
|
|
"args": [
|
|
"False"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 14,
|
|
"funcName": "device_follow",
|
|
"created": 1755547644.3222287,
|
|
"msecs": 322.0,
|
|
"relativeCreated": 8105.951363,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Prepare: Setting devices to last state False",
|
|
"asctime": "2025-08-18 22:07:24,322",
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547644.2218053,
|
|
"msecs": 221.0,
|
|
"relativeCreated": 8005.527839,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic videv/ffw/sleep/main_light/state/set and payload false",
|
|
"asctime": "2025-08-18 22:07:24,221"
|
|
},
|
|
{
|
|
"name": "smart_brain.devices.shellies.ffw.sleep.main_light",
|
|
"msg": "Unexpected key %s",
|
|
"args": [
|
|
"state"
|
|
],
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/base.py",
|
|
"filename": "base.py",
|
|
"module": "base",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 42,
|
|
"funcName": "set",
|
|
"created": 1755547644.222028,
|
|
"msecs": 222.0,
|
|
"relativeCreated": 8005.75065,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Unexpected key state",
|
|
"asctime": "2025-08-18 22:07:24,222"
|
|
}
|
|
],
|
|
"time_consumption": 0.10020065307617188
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Start state (master, slave) is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547644.422998,
|
|
"msecs": 422.0,
|
|
"relativeCreated": 8206.72068,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Start state (master, slave) is correct (Content (False, False) and Type is <class 'tuple'>).",
|
|
"asctime": "2025-08-18 22:07:24,422",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Start state (master, slave)",
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547644.4227886,
|
|
"msecs": 422.0,
|
|
"relativeCreated": 8206.511173,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Start state (master, slave)): (False, False) (<class 'tuple'>)",
|
|
"asctime": "2025-08-18 22:07:24,422"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Start state (master, slave)",
|
|
"=",
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547644.4229429,
|
|
"msecs": 422.0,
|
|
"relativeCreated": 8206.665667,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Start state (master, slave)): result = (False, False) (<class 'tuple'>)",
|
|
"asctime": "2025-08-18 22:07:24,422"
|
|
}
|
|
],
|
|
"time_consumption": 5.507469177246094e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Setting state of %s to %s",
|
|
"args": [
|
|
"videv/ffw/sleep/main_light",
|
|
"True"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "device_follow",
|
|
"created": 1755547644.4231052,
|
|
"msecs": 423.0,
|
|
"relativeCreated": 8206.827919,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Setting state of videv/ffw/sleep/main_light to True",
|
|
"asctime": "2025-08-18 22:07:24,423",
|
|
"moduleLogger": [],
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Value for shellies/ffw/sleep/main_light is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547644.6239302,
|
|
"msecs": 623.0,
|
|
"relativeCreated": 8407.652708,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Value for shellies/ffw/sleep/main_light is correct (Content True and Type is <class 'bool'>).",
|
|
"asctime": "2025-08-18 22:07:24,623",
|
|
"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",
|
|
"true"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547644.423249,
|
|
"msecs": 423.0,
|
|
"relativeCreated": 8206.971437,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic videv/ffw/sleep/main_light/state/set and payload true",
|
|
"asctime": "2025-08-18 22:07:24,423"
|
|
},
|
|
{
|
|
"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'on'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547644.4256916,
|
|
"msecs": 425.0,
|
|
"relativeCreated": 8209.414317,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/ffw/sleep/main_light/relay/0/command and payload b'on'",
|
|
"asctime": "2025-08-18 22:07:24,425"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547644.425994,
|
|
"msecs": 425.0,
|
|
"relativeCreated": 8209.716502,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic shellies/ffw/sleep/main_light/relay/0 and payload on",
|
|
"asctime": "2025-08-18 22:07:24,425"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffw.ffw.sleep.main_light",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffw/ffw/sleep/main_light",
|
|
"{\"state\": \"on\", \"brightness\": 127.0}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547644.4263651,
|
|
"msecs": 426.0,
|
|
"relativeCreated": 8210.087899,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic zigbee_ffw/ffw/sleep/main_light and payload {\"state\": \"on\", \"brightness\": 127.0}",
|
|
"asctime": "2025-08-18 22:07:24,426"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547644.4269545,
|
|
"msecs": 426.0,
|
|
"relativeCreated": 8210.677031,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/ffw/sleep/main_light/relay/0 and payload b'on'",
|
|
"asctime": "2025-08-18 22:07:24,426"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffw.ffw.sleep.main_light",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffw/ffw/sleep/main_light",
|
|
"b'{\"state\": \"on\", \"brightness\": 127.0}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547644.4272373,
|
|
"msecs": 427.0,
|
|
"relativeCreated": 8210.960056,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffw/ffw/sleep/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0}'",
|
|
"asctime": "2025-08-18 22:07:24,427"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffw.ffw.sleep.window_light.set",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffw/ffw/sleep/window_light/set",
|
|
"b'{\"state\": \"on\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547644.4690108,
|
|
"msecs": 469.0,
|
|
"relativeCreated": 8252.733572,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffw/ffw/sleep/window_light/set and payload b'{\"state\": \"on\"}'",
|
|
"asctime": "2025-08-18 22:07:24,469"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffw.ffw.sleep.window_light",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffw/ffw/sleep/window_light",
|
|
"{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547644.4694421,
|
|
"msecs": 469.0,
|
|
"relativeCreated": 8253.164744,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic zigbee_ffw/ffw/sleep/window_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
|
|
"asctime": "2025-08-18 22:07:24,469"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547644.4697647,
|
|
"msecs": 469.0,
|
|
"relativeCreated": 8253.487191,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffw/sleep/main_light/state and payload b'true'",
|
|
"asctime": "2025-08-18 22:07:24,469"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.ffw.sleep.main_light.brightness",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/ffw/sleep/main_light/brightness",
|
|
"b'50'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547644.4701207,
|
|
"msecs": 470.0,
|
|
"relativeCreated": 8253.843318,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffw/sleep/main_light/brightness and payload b'50'",
|
|
"asctime": "2025-08-18 22:07:24,470"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffw.ffw.sleep.window_light",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffw/ffw/sleep/window_light",
|
|
"b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547644.4703672,
|
|
"msecs": 470.0,
|
|
"relativeCreated": 8254.089962,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffw/ffw/sleep/window_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
|
|
"asctime": "2025-08-18 22:07:24,470"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Value for shellies/ffw/sleep/main_light",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547644.6237159,
|
|
"msecs": 623.0,
|
|
"relativeCreated": 8407.438366,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Value for shellies/ffw/sleep/main_light): True (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:24,623"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Value for shellies/ffw/sleep/main_light",
|
|
"=",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547644.6238737,
|
|
"msecs": 623.0,
|
|
"relativeCreated": 8407.596369,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Value for shellies/ffw/sleep/main_light): result = True (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:24,623"
|
|
}
|
|
],
|
|
"time_consumption": 5.650520324707031e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Setting state of %s to %s",
|
|
"args": [
|
|
"videv/ffw/sleep/main_light",
|
|
"False"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "device_follow",
|
|
"created": 1755547644.6240425,
|
|
"msecs": 624.0,
|
|
"relativeCreated": 8407.765194,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Setting state of videv/ffw/sleep/main_light to False",
|
|
"asctime": "2025-08-18 22:07:24,624",
|
|
"moduleLogger": [],
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Value for shellies/ffw/sleep/main_light is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547644.82511,
|
|
"msecs": 825.0,
|
|
"relativeCreated": 8608.832572,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Value for shellies/ffw/sleep/main_light is correct (Content False and Type is <class 'bool'>).",
|
|
"asctime": "2025-08-18 22:07:24,825",
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547644.6241667,
|
|
"msecs": 624.0,
|
|
"relativeCreated": 8407.889276,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic videv/ffw/sleep/main_light/state/set and payload false",
|
|
"asctime": "2025-08-18 22:07:24,624"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547644.626258,
|
|
"msecs": 626.0,
|
|
"relativeCreated": 8409.980646,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/ffw/sleep/main_light/relay/0/command and payload b'off'",
|
|
"asctime": "2025-08-18 22:07:24,626"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547644.6265574,
|
|
"msecs": 626.0,
|
|
"relativeCreated": 8410.280097,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic shellies/ffw/sleep/main_light/relay/0 and payload off",
|
|
"asctime": "2025-08-18 22:07:24,626"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547644.6273105,
|
|
"msecs": 627.0,
|
|
"relativeCreated": 8411.033218,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/ffw/sleep/main_light/relay/0 and payload b'off'",
|
|
"asctime": "2025-08-18 22:07:24,627"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffw.ffw.sleep.window_light.set",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffw/ffw/sleep/window_light/set",
|
|
"b'{\"state\": \"off\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547644.6680834,
|
|
"msecs": 668.0,
|
|
"relativeCreated": 8451.806086,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffw/ffw/sleep/window_light/set and payload b'{\"state\": \"off\"}'",
|
|
"asctime": "2025-08-18 22:07:24,668"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffw.ffw.sleep.window_light",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffw/ffw/sleep/window_light",
|
|
"{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547644.6685572,
|
|
"msecs": 668.0,
|
|
"relativeCreated": 8452.279565,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic zigbee_ffw/ffw/sleep/window_light and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
|
|
"asctime": "2025-08-18 22:07:24,668"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547644.668915,
|
|
"msecs": 668.0,
|
|
"relativeCreated": 8452.637548,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffw/sleep/main_light/state and payload b'false'",
|
|
"asctime": "2025-08-18 22:07:24,668"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffw.ffw.sleep.window_light",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffw/ffw/sleep/window_light",
|
|
"b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547644.6694567,
|
|
"msecs": 669.0,
|
|
"relativeCreated": 8453.179239,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffw/ffw/sleep/window_light and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
|
|
"asctime": "2025-08-18 22:07:24,669"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Value for shellies/ffw/sleep/main_light",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547644.8248725,
|
|
"msecs": 824.0,
|
|
"relativeCreated": 8608.595071,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Value for shellies/ffw/sleep/main_light): False (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:24,824"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Value for shellies/ffw/sleep/main_light",
|
|
"=",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547644.8250232,
|
|
"msecs": 825.0,
|
|
"relativeCreated": 8608.745895,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Value for shellies/ffw/sleep/main_light): result = False (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:24,825"
|
|
}
|
|
],
|
|
"time_consumption": 8.678436279296875e-05
|
|
}
|
|
],
|
|
"time_consumption": 0.603440523147583,
|
|
"time_start": "2025-08-18 22:07:24,221",
|
|
"time_finished": "2025-08-18 22:07:24,825"
|
|
},
|
|
"REQ-0112": {
|
|
"name": "__tLogger__",
|
|
"msg": "REQ-0112",
|
|
"args": null,
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/report/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 329,
|
|
"funcName": "testCase",
|
|
"created": 1755547644.8253937,
|
|
"msecs": 825.0,
|
|
"relativeCreated": 8609.116308,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "REQ-0112",
|
|
"asctime": "2025-08-18 22:07:24,825",
|
|
"moduleLogger": [],
|
|
"testcaseLogger": [
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Prepare: Setting devices to last state %s",
|
|
"args": [
|
|
"False"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 14,
|
|
"funcName": "device_follow",
|
|
"created": 1755547644.9259048,
|
|
"msecs": 925.0,
|
|
"relativeCreated": 8709.627143,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Prepare: Setting devices to last state False",
|
|
"asctime": "2025-08-18 22:07:24,925",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "smart_brain.mqtt.videv.ffw.sleep.main_light.relay.0.set",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/ffw/sleep/main_light/relay/0/set",
|
|
"false"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547644.8255653,
|
|
"msecs": 825.0,
|
|
"relativeCreated": 8609.288044,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic videv/ffw/sleep/main_light/relay/0/set and payload false",
|
|
"asctime": "2025-08-18 22:07:24,825"
|
|
}
|
|
],
|
|
"time_consumption": 0.10033941268920898
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Start state (master, slave) is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547645.026477,
|
|
"msecs": 26.0,
|
|
"relativeCreated": 8810.199621,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Start state (master, slave) is correct (Content (False, False) and Type is <class 'tuple'>).",
|
|
"asctime": "2025-08-18 22:07:25,026",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Start state (master, slave)",
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547645.0262825,
|
|
"msecs": 26.0,
|
|
"relativeCreated": 8810.005082,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Start state (master, slave)): (False, False) (<class 'tuple'>)",
|
|
"asctime": "2025-08-18 22:07:25,026"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Start state (master, slave)",
|
|
"=",
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547645.0264232,
|
|
"msecs": 26.0,
|
|
"relativeCreated": 8810.145902,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Start state (master, slave)): result = (False, False) (<class 'tuple'>)",
|
|
"asctime": "2025-08-18 22:07:25,026"
|
|
}
|
|
],
|
|
"time_consumption": 5.3882598876953125e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Setting state of %s to %s",
|
|
"args": [
|
|
"shellies/ffw/sleep/main_light",
|
|
"True"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "device_follow",
|
|
"created": 1755547645.0265927,
|
|
"msecs": 26.0,
|
|
"relativeCreated": 8810.315377,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Setting state of shellies/ffw/sleep/main_light to True",
|
|
"asctime": "2025-08-18 22:07:25,026",
|
|
"moduleLogger": [],
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Value for videv/ffw/sleep/main_light is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547645.228227,
|
|
"msecs": 228.0,
|
|
"relativeCreated": 9011.949411,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Value for videv/ffw/sleep/main_light is correct (Content True and Type is <class 'bool'>).",
|
|
"asctime": "2025-08-18 22:07:25,228",
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547645.026843,
|
|
"msecs": 26.0,
|
|
"relativeCreated": 8810.565722,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic shellies/ffw/sleep/main_light/relay/0 and payload on",
|
|
"asctime": "2025-08-18 22:07:25,026"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffw.ffw.sleep.main_light",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffw/ffw/sleep/main_light",
|
|
"{\"state\": \"on\", \"brightness\": 127.0}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547645.0274925,
|
|
"msecs": 27.0,
|
|
"relativeCreated": 8811.21518,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic zigbee_ffw/ffw/sleep/main_light and payload {\"state\": \"on\", \"brightness\": 127.0}",
|
|
"asctime": "2025-08-18 22:07:25,027"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547645.027905,
|
|
"msecs": 27.0,
|
|
"relativeCreated": 8811.627692,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/ffw/sleep/main_light/relay/0 and payload b'on'",
|
|
"asctime": "2025-08-18 22:07:25,027"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffw.ffw.sleep.main_light",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffw/ffw/sleep/main_light",
|
|
"b'{\"state\": \"on\", \"brightness\": 127.0}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547645.0282757,
|
|
"msecs": 28.0,
|
|
"relativeCreated": 8811.998293,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffw/ffw/sleep/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0}'",
|
|
"asctime": "2025-08-18 22:07:25,028"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffw.ffw.sleep.window_light.set",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffw/ffw/sleep/window_light/set",
|
|
"b'{\"state\": \"on\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547645.0685234,
|
|
"msecs": 68.0,
|
|
"relativeCreated": 8852.246228,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffw/ffw/sleep/window_light/set and payload b'{\"state\": \"on\"}'",
|
|
"asctime": "2025-08-18 22:07:25,068"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffw.ffw.sleep.window_light",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffw/ffw/sleep/window_light",
|
|
"{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547645.0689294,
|
|
"msecs": 68.0,
|
|
"relativeCreated": 8852.65226,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic zigbee_ffw/ffw/sleep/window_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
|
|
"asctime": "2025-08-18 22:07:25,068"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547645.0692778,
|
|
"msecs": 69.0,
|
|
"relativeCreated": 8853.00022,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffw/sleep/main_light/state and payload b'true'",
|
|
"asctime": "2025-08-18 22:07:25,069"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffw.ffw.sleep.window_light",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffw/ffw/sleep/window_light",
|
|
"b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547645.0698268,
|
|
"msecs": 69.0,
|
|
"relativeCreated": 8853.549497,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffw/ffw/sleep/window_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
|
|
"asctime": "2025-08-18 22:07:25,069"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Value for videv/ffw/sleep/main_light",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547645.2280173,
|
|
"msecs": 228.0,
|
|
"relativeCreated": 9011.739938,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Value for videv/ffw/sleep/main_light): True (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:25,228"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Value for videv/ffw/sleep/main_light",
|
|
"=",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547645.2281475,
|
|
"msecs": 228.0,
|
|
"relativeCreated": 9011.870067,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Value for videv/ffw/sleep/main_light): result = True (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:25,228"
|
|
}
|
|
],
|
|
"time_consumption": 7.939338684082031e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Setting state of %s to %s",
|
|
"args": [
|
|
"shellies/ffw/sleep/main_light",
|
|
"False"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "device_follow",
|
|
"created": 1755547645.228346,
|
|
"msecs": 228.0,
|
|
"relativeCreated": 9012.06879,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Setting state of shellies/ffw/sleep/main_light to False",
|
|
"asctime": "2025-08-18 22:07:25,228",
|
|
"moduleLogger": [],
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Value for videv/ffw/sleep/main_light is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547645.4296918,
|
|
"msecs": 429.0,
|
|
"relativeCreated": 9213.41444,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Value for videv/ffw/sleep/main_light is correct (Content False and Type is <class 'bool'>).",
|
|
"asctime": "2025-08-18 22:07:25,429",
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547645.2285717,
|
|
"msecs": 228.0,
|
|
"relativeCreated": 9012.294271,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic shellies/ffw/sleep/main_light/relay/0 and payload off",
|
|
"asctime": "2025-08-18 22:07:25,228"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547645.2294333,
|
|
"msecs": 229.0,
|
|
"relativeCreated": 9013.155908,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/ffw/sleep/main_light/relay/0 and payload b'off'",
|
|
"asctime": "2025-08-18 22:07:25,229"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffw.ffw.sleep.window_light.set",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffw/ffw/sleep/window_light/set",
|
|
"b'{\"state\": \"off\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547645.2312772,
|
|
"msecs": 231.0,
|
|
"relativeCreated": 9014.999891,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffw/ffw/sleep/window_light/set and payload b'{\"state\": \"off\"}'",
|
|
"asctime": "2025-08-18 22:07:25,231"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffw.ffw.sleep.window_light",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffw/ffw/sleep/window_light",
|
|
"{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547645.2318342,
|
|
"msecs": 231.0,
|
|
"relativeCreated": 9015.556725,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic zigbee_ffw/ffw/sleep/window_light and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
|
|
"asctime": "2025-08-18 22:07:25,231"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547645.2321973,
|
|
"msecs": 232.0,
|
|
"relativeCreated": 9015.920034,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffw/sleep/main_light/state and payload b'false'",
|
|
"asctime": "2025-08-18 22:07:25,232"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffw.ffw.sleep.window_light",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffw/ffw/sleep/window_light",
|
|
"b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547645.2327757,
|
|
"msecs": 232.0,
|
|
"relativeCreated": 9016.498184,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffw/ffw/sleep/window_light and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
|
|
"asctime": "2025-08-18 22:07:25,232"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Value for videv/ffw/sleep/main_light",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547645.4294996,
|
|
"msecs": 429.0,
|
|
"relativeCreated": 9213.222235,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Value for videv/ffw/sleep/main_light): False (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:25,429"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Value for videv/ffw/sleep/main_light",
|
|
"=",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547645.429639,
|
|
"msecs": 429.0,
|
|
"relativeCreated": 9213.361805,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Value for videv/ffw/sleep/main_light): result = False (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:25,429"
|
|
}
|
|
],
|
|
"time_consumption": 5.269050598144531e-05
|
|
}
|
|
],
|
|
"time_consumption": 0.6042981147766113,
|
|
"time_start": "2025-08-18 22:07:24,825",
|
|
"time_finished": "2025-08-18 22:07:25,429"
|
|
},
|
|
"REQ-0121": {
|
|
"name": "__tLogger__",
|
|
"msg": "REQ-0121",
|
|
"args": null,
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/report/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 329,
|
|
"funcName": "testCase",
|
|
"created": 1755547645.429959,
|
|
"msecs": 429.0,
|
|
"relativeCreated": 9213.681689,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "REQ-0121",
|
|
"asctime": "2025-08-18 22:07:25,429",
|
|
"moduleLogger": [],
|
|
"testcaseLogger": [
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Prepare: Setting devices to last state %s",
|
|
"args": [
|
|
"False"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 14,
|
|
"funcName": "device_follow",
|
|
"created": 1755547645.530652,
|
|
"msecs": 530.0,
|
|
"relativeCreated": 9314.374807,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Prepare: Setting devices to last state False",
|
|
"asctime": "2025-08-18 22:07:25,530",
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547645.430105,
|
|
"msecs": 430.0,
|
|
"relativeCreated": 9213.827732,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic videv/ffw/julian/main_light/state/set and payload false",
|
|
"asctime": "2025-08-18 22:07:25,430"
|
|
},
|
|
{
|
|
"name": "smart_brain.devices.shellies.ffw.julian.main_light",
|
|
"msg": "Unexpected key %s",
|
|
"args": [
|
|
"state"
|
|
],
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/base.py",
|
|
"filename": "base.py",
|
|
"module": "base",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 42,
|
|
"funcName": "set",
|
|
"created": 1755547645.4304237,
|
|
"msecs": 430.0,
|
|
"relativeCreated": 9214.146471,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Unexpected key state",
|
|
"asctime": "2025-08-18 22:07:25,430"
|
|
}
|
|
],
|
|
"time_consumption": 0.10022830963134766
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Start state (master, slave) is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547645.6312997,
|
|
"msecs": 631.0,
|
|
"relativeCreated": 9415.022399,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Start state (master, slave) is correct (Content (False, False) and Type is <class 'tuple'>).",
|
|
"asctime": "2025-08-18 22:07:25,631",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Start state (master, slave)",
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547645.6310399,
|
|
"msecs": 631.0,
|
|
"relativeCreated": 9414.762358,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Start state (master, slave)): (False, False) (<class 'tuple'>)",
|
|
"asctime": "2025-08-18 22:07:25,631"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Start state (master, slave)",
|
|
"=",
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547645.6312225,
|
|
"msecs": 631.0,
|
|
"relativeCreated": 9414.94522,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Start state (master, slave)): result = (False, False) (<class 'tuple'>)",
|
|
"asctime": "2025-08-18 22:07:25,631"
|
|
}
|
|
],
|
|
"time_consumption": 7.724761962890625e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Setting state of %s to %s",
|
|
"args": [
|
|
"videv/ffw/julian/main_light",
|
|
"True"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "device_follow",
|
|
"created": 1755547645.6314166,
|
|
"msecs": 631.0,
|
|
"relativeCreated": 9415.139285,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Setting state of videv/ffw/julian/main_light to True",
|
|
"asctime": "2025-08-18 22:07:25,631",
|
|
"moduleLogger": [],
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Value for shellies/ffw/julian/main_light is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547645.8322613,
|
|
"msecs": 832.0,
|
|
"relativeCreated": 9615.983945,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Value for shellies/ffw/julian/main_light is correct (Content True and Type is <class 'bool'>).",
|
|
"asctime": "2025-08-18 22:07:25,832",
|
|
"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",
|
|
"true"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547645.631526,
|
|
"msecs": 631.0,
|
|
"relativeCreated": 9415.248381,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic videv/ffw/julian/main_light/state/set and payload true",
|
|
"asctime": "2025-08-18 22:07:25,631"
|
|
},
|
|
{
|
|
"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'on'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547645.633585,
|
|
"msecs": 633.0,
|
|
"relativeCreated": 9417.307476,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/ffw/julian/main_light/relay/0/command and payload b'on'",
|
|
"asctime": "2025-08-18 22:07:25,633"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547645.63395,
|
|
"msecs": 633.0,
|
|
"relativeCreated": 9417.67259,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic shellies/ffw/julian/main_light/relay/0 and payload on",
|
|
"asctime": "2025-08-18 22:07:25,633"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffw.ffw.julian.main_light",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffw/ffw/julian/main_light",
|
|
"{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547645.634401,
|
|
"msecs": 634.0,
|
|
"relativeCreated": 9418.123651,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic zigbee_ffw/ffw/julian/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
|
|
"asctime": "2025-08-18 22:07:25,634"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547645.635001,
|
|
"msecs": 635.0,
|
|
"relativeCreated": 9418.723512,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/ffw/julian/main_light/relay/0 and payload b'on'",
|
|
"asctime": "2025-08-18 22:07:25,635"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffw.ffw.julian.main_light",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffw/ffw/julian/main_light",
|
|
"b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547645.6353285,
|
|
"msecs": 635.0,
|
|
"relativeCreated": 9419.051119,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffw/ffw/julian/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
|
|
"asctime": "2025-08-18 22:07:25,635"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547645.6777647,
|
|
"msecs": 677.0,
|
|
"relativeCreated": 9461.487338,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffw/julian/main_light/state and payload b'true'",
|
|
"asctime": "2025-08-18 22:07:25,677"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547645.7186,
|
|
"msecs": 718.0,
|
|
"relativeCreated": 9502.322432,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffw/julian/main_light/brightness and payload b'50'",
|
|
"asctime": "2025-08-18 22:07:25,718"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547645.7189038,
|
|
"msecs": 718.0,
|
|
"relativeCreated": 9502.626294,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffw/julian/main_light/color_temp and payload b'5'",
|
|
"asctime": "2025-08-18 22:07:25,718"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Value for shellies/ffw/julian/main_light",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547645.832043,
|
|
"msecs": 832.0,
|
|
"relativeCreated": 9615.765565,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Value for shellies/ffw/julian/main_light): True (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:25,832"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Value for shellies/ffw/julian/main_light",
|
|
"=",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547645.8322082,
|
|
"msecs": 832.0,
|
|
"relativeCreated": 9615.930684,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Value for shellies/ffw/julian/main_light): result = True (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:25,832"
|
|
}
|
|
],
|
|
"time_consumption": 5.316734313964844e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Setting state of %s to %s",
|
|
"args": [
|
|
"videv/ffw/julian/main_light",
|
|
"False"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "device_follow",
|
|
"created": 1755547645.8323674,
|
|
"msecs": 832.0,
|
|
"relativeCreated": 9616.089965,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Setting state of videv/ffw/julian/main_light to False",
|
|
"asctime": "2025-08-18 22:07:25,832",
|
|
"moduleLogger": [],
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Value for shellies/ffw/julian/main_light is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547646.0331419,
|
|
"msecs": 33.0,
|
|
"relativeCreated": 9816.864471,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Value for shellies/ffw/julian/main_light is correct (Content False and Type is <class 'bool'>).",
|
|
"asctime": "2025-08-18 22:07:26,033",
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547645.8324685,
|
|
"msecs": 832.0,
|
|
"relativeCreated": 9616.191034,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic videv/ffw/julian/main_light/state/set and payload false",
|
|
"asctime": "2025-08-18 22:07:25,832"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547645.8346908,
|
|
"msecs": 834.0,
|
|
"relativeCreated": 9618.413431,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/ffw/julian/main_light/relay/0/command and payload b'off'",
|
|
"asctime": "2025-08-18 22:07:25,834"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547645.8349674,
|
|
"msecs": 834.0,
|
|
"relativeCreated": 9618.689932,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic shellies/ffw/julian/main_light/relay/0 and payload off",
|
|
"asctime": "2025-08-18 22:07:25,834"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547645.8357232,
|
|
"msecs": 835.0,
|
|
"relativeCreated": 9619.445982,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/ffw/julian/main_light/relay/0 and payload b'off'",
|
|
"asctime": "2025-08-18 22:07:25,835"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547645.8782754,
|
|
"msecs": 878.0,
|
|
"relativeCreated": 9661.997904,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffw/julian/main_light/state and payload b'false'",
|
|
"asctime": "2025-08-18 22:07:25,878"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Value for shellies/ffw/julian/main_light",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547646.0329447,
|
|
"msecs": 32.0,
|
|
"relativeCreated": 9816.667169,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Value for shellies/ffw/julian/main_light): False (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:26,032"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Value for shellies/ffw/julian/main_light",
|
|
"=",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547646.0330749,
|
|
"msecs": 33.0,
|
|
"relativeCreated": 9816.797591,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Value for shellies/ffw/julian/main_light): result = False (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:26,033"
|
|
}
|
|
],
|
|
"time_consumption": 6.699562072753906e-05
|
|
}
|
|
],
|
|
"time_consumption": 0.6031827926635742,
|
|
"time_start": "2025-08-18 22:07:25,429",
|
|
"time_finished": "2025-08-18 22:07:26,033"
|
|
},
|
|
"REQ-0122": {
|
|
"name": "__tLogger__",
|
|
"msg": "REQ-0122",
|
|
"args": null,
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/report/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 329,
|
|
"funcName": "testCase",
|
|
"created": 1755547646.0333896,
|
|
"msecs": 33.0,
|
|
"relativeCreated": 9817.112145,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "REQ-0122",
|
|
"asctime": "2025-08-18 22:07:26,033",
|
|
"moduleLogger": [],
|
|
"testcaseLogger": [
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Prepare: Setting devices to last state %s",
|
|
"args": [
|
|
"False"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 14,
|
|
"funcName": "device_follow",
|
|
"created": 1755547646.1338866,
|
|
"msecs": 133.0,
|
|
"relativeCreated": 9917.609189,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Prepare: Setting devices to last state False",
|
|
"asctime": "2025-08-18 22:07:26,133",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "smart_brain.mqtt.videv.ffw.julian.main_light.relay.0.set",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/ffw/julian/main_light/relay/0/set",
|
|
"false"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547646.0335584,
|
|
"msecs": 33.0,
|
|
"relativeCreated": 9817.280884,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic videv/ffw/julian/main_light/relay/0/set and payload false",
|
|
"asctime": "2025-08-18 22:07:26,033"
|
|
}
|
|
],
|
|
"time_consumption": 0.10032820701599121
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Start state (master, slave) is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547646.2345066,
|
|
"msecs": 234.0,
|
|
"relativeCreated": 10018.22912,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Start state (master, slave) is correct (Content (False, False) and Type is <class 'tuple'>).",
|
|
"asctime": "2025-08-18 22:07:26,234",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Start state (master, slave)",
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547646.2343042,
|
|
"msecs": 234.0,
|
|
"relativeCreated": 10018.026873,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Start state (master, slave)): (False, False) (<class 'tuple'>)",
|
|
"asctime": "2025-08-18 22:07:26,234"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Start state (master, slave)",
|
|
"=",
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547646.2344537,
|
|
"msecs": 234.0,
|
|
"relativeCreated": 10018.17643,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Start state (master, slave)): result = (False, False) (<class 'tuple'>)",
|
|
"asctime": "2025-08-18 22:07:26,234"
|
|
}
|
|
],
|
|
"time_consumption": 5.2928924560546875e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Setting state of %s to %s",
|
|
"args": [
|
|
"shellies/ffw/julian/main_light",
|
|
"True"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "device_follow",
|
|
"created": 1755547646.2346256,
|
|
"msecs": 234.0,
|
|
"relativeCreated": 10018.348198,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Setting state of shellies/ffw/julian/main_light to True",
|
|
"asctime": "2025-08-18 22:07:26,234",
|
|
"moduleLogger": [],
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Value for videv/ffw/julian/main_light is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547646.4363165,
|
|
"msecs": 436.0,
|
|
"relativeCreated": 10220.039114,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Value for videv/ffw/julian/main_light is correct (Content True and Type is <class 'bool'>).",
|
|
"asctime": "2025-08-18 22:07:26,436",
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547646.234865,
|
|
"msecs": 234.0,
|
|
"relativeCreated": 10018.587407,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic shellies/ffw/julian/main_light/relay/0 and payload on",
|
|
"asctime": "2025-08-18 22:07:26,234"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffw.ffw.julian.main_light",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffw/ffw/julian/main_light",
|
|
"{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547646.2355247,
|
|
"msecs": 235.0,
|
|
"relativeCreated": 10019.247189,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic zigbee_ffw/ffw/julian/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
|
|
"asctime": "2025-08-18 22:07:26,235"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547646.2358074,
|
|
"msecs": 235.0,
|
|
"relativeCreated": 10019.5301,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/ffw/julian/main_light/relay/0 and payload b'on'",
|
|
"asctime": "2025-08-18 22:07:26,235"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_ffw.ffw.julian.main_light",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_ffw/ffw/julian/main_light",
|
|
"b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547646.2364256,
|
|
"msecs": 236.0,
|
|
"relativeCreated": 10020.148236,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_ffw/ffw/julian/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
|
|
"asctime": "2025-08-18 22:07:26,236"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547646.2775903,
|
|
"msecs": 277.0,
|
|
"relativeCreated": 10061.312835,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffw/julian/main_light/state and payload b'true'",
|
|
"asctime": "2025-08-18 22:07:26,277"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Value for videv/ffw/julian/main_light",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547646.436081,
|
|
"msecs": 436.0,
|
|
"relativeCreated": 10219.803478,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Value for videv/ffw/julian/main_light): True (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:26,436"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Value for videv/ffw/julian/main_light",
|
|
"=",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547646.4362612,
|
|
"msecs": 436.0,
|
|
"relativeCreated": 10219.983775,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Value for videv/ffw/julian/main_light): result = True (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:26,436"
|
|
}
|
|
],
|
|
"time_consumption": 5.53131103515625e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Setting state of %s to %s",
|
|
"args": [
|
|
"shellies/ffw/julian/main_light",
|
|
"False"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "device_follow",
|
|
"created": 1755547646.4364483,
|
|
"msecs": 436.0,
|
|
"relativeCreated": 10220.170766,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Setting state of shellies/ffw/julian/main_light to False",
|
|
"asctime": "2025-08-18 22:07:26,436",
|
|
"moduleLogger": [],
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Value for videv/ffw/julian/main_light is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547646.6377282,
|
|
"msecs": 637.0,
|
|
"relativeCreated": 10421.450839,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Value for videv/ffw/julian/main_light is correct (Content False and Type is <class 'bool'>).",
|
|
"asctime": "2025-08-18 22:07:26,637",
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547646.4366682,
|
|
"msecs": 436.0,
|
|
"relativeCreated": 10220.390826,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic shellies/ffw/julian/main_light/relay/0 and payload off",
|
|
"asctime": "2025-08-18 22:07:26,436"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547646.4376712,
|
|
"msecs": 437.0,
|
|
"relativeCreated": 10221.393767,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/ffw/julian/main_light/relay/0 and payload b'off'",
|
|
"asctime": "2025-08-18 22:07:26,437"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547646.4390373,
|
|
"msecs": 439.0,
|
|
"relativeCreated": 10222.759992,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffw/julian/main_light/state and payload b'false'",
|
|
"asctime": "2025-08-18 22:07:26,439"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Value for videv/ffw/julian/main_light",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547646.637533,
|
|
"msecs": 637.0,
|
|
"relativeCreated": 10421.255458,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Value for videv/ffw/julian/main_light): False (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:26,637"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Value for videv/ffw/julian/main_light",
|
|
"=",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547646.6376753,
|
|
"msecs": 637.0,
|
|
"relativeCreated": 10421.397877,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Value for videv/ffw/julian/main_light): result = False (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:26,637"
|
|
}
|
|
],
|
|
"time_consumption": 5.2928924560546875e-05
|
|
}
|
|
],
|
|
"time_consumption": 0.6043386459350586,
|
|
"time_start": "2025-08-18 22:07:26,033",
|
|
"time_finished": "2025-08-18 22:07:26,637"
|
|
},
|
|
"REQ-0141": {
|
|
"name": "__tLogger__",
|
|
"msg": "REQ-0141",
|
|
"args": null,
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/report/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 329,
|
|
"funcName": "testCase",
|
|
"created": 1755547646.6379666,
|
|
"msecs": 637.0,
|
|
"relativeCreated": 10421.689295,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "REQ-0141",
|
|
"asctime": "2025-08-18 22:07:26,637",
|
|
"moduleLogger": [],
|
|
"testcaseLogger": [
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Prepare: Setting devices to last state %s",
|
|
"args": [
|
|
"False"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 14,
|
|
"funcName": "device_follow",
|
|
"created": 1755547646.7385838,
|
|
"msecs": 738.0,
|
|
"relativeCreated": 10522.306435,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Prepare: Setting devices to last state False",
|
|
"asctime": "2025-08-18 22:07:26,738",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "smart_brain.mqtt.videv.ffw.floor.main_light.state.set",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/ffw/floor/main_light/state/set",
|
|
"false"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547646.6381116,
|
|
"msecs": 638.0,
|
|
"relativeCreated": 10421.834058,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic videv/ffw/floor/main_light/state/set and payload false",
|
|
"asctime": "2025-08-18 22:07:26,638"
|
|
},
|
|
{
|
|
"name": "smart_brain.devices.shellies.ffw.floor.main_light",
|
|
"msg": "Unexpected key %s",
|
|
"args": [
|
|
"state"
|
|
],
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/base.py",
|
|
"filename": "base.py",
|
|
"module": "base",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 42,
|
|
"funcName": "set",
|
|
"created": 1755547646.6383533,
|
|
"msecs": 638.0,
|
|
"relativeCreated": 10422.075929,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Unexpected key state",
|
|
"asctime": "2025-08-18 22:07:26,638"
|
|
}
|
|
],
|
|
"time_consumption": 0.10023045539855957
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Start state (master, slave) is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547646.8391912,
|
|
"msecs": 839.0,
|
|
"relativeCreated": 10622.913825,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Start state (master, slave) is correct (Content (False, False) and Type is <class 'tuple'>).",
|
|
"asctime": "2025-08-18 22:07:26,839",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Start state (master, slave)",
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547646.8389976,
|
|
"msecs": 838.0,
|
|
"relativeCreated": 10622.720105,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Start state (master, slave)): (False, False) (<class 'tuple'>)",
|
|
"asctime": "2025-08-18 22:07:26,838"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Start state (master, slave)",
|
|
"=",
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547646.839134,
|
|
"msecs": 839.0,
|
|
"relativeCreated": 10622.85664,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Start state (master, slave)): result = (False, False) (<class 'tuple'>)",
|
|
"asctime": "2025-08-18 22:07:26,839"
|
|
}
|
|
],
|
|
"time_consumption": 5.7220458984375e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Setting state of %s to %s",
|
|
"args": [
|
|
"videv/ffw/floor/main_light",
|
|
"True"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "device_follow",
|
|
"created": 1755547646.839281,
|
|
"msecs": 839.0,
|
|
"relativeCreated": 10623.003775,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Setting state of videv/ffw/floor/main_light to True",
|
|
"asctime": "2025-08-18 22:07:26,839",
|
|
"moduleLogger": [],
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Value for shellies/ffw/floor/main_light is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547647.0401173,
|
|
"msecs": 40.0,
|
|
"relativeCreated": 10823.839846,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Value for shellies/ffw/floor/main_light is correct (Content True and Type is <class 'bool'>).",
|
|
"asctime": "2025-08-18 22:07:27,040",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "smart_brain.mqtt.videv.ffw.floor.main_light.state.set",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/ffw/floor/main_light/state/set",
|
|
"true"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547646.8394156,
|
|
"msecs": 839.0,
|
|
"relativeCreated": 10623.138256,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic videv/ffw/floor/main_light/state/set and payload true",
|
|
"asctime": "2025-08-18 22:07:26,839"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.shellies.ffw.floor.main_light.relay.0.command",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"shellies/ffw/floor/main_light/relay/0/command",
|
|
"b'on'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547646.8412771,
|
|
"msecs": 841.0,
|
|
"relativeCreated": 10624.999676,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/ffw/floor/main_light/relay/0/command and payload b'on'",
|
|
"asctime": "2025-08-18 22:07:26,841"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.shellies.ffw.floor.main_light.relay.0",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"shellies/ffw/floor/main_light/relay/0",
|
|
"on"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547646.8416338,
|
|
"msecs": 841.0,
|
|
"relativeCreated": 10625.356486,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic shellies/ffw/floor/main_light/relay/0 and payload on",
|
|
"asctime": "2025-08-18 22:07:26,841"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.shellies.ffw.floor.main_light.relay.0",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"shellies/ffw/floor/main_light/relay/0",
|
|
"b'on'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547646.8422868,
|
|
"msecs": 842.0,
|
|
"relativeCreated": 10626.009567,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/ffw/floor/main_light/relay/0 and payload b'on'",
|
|
"asctime": "2025-08-18 22:07:26,842"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.ffw.floor.main_light.state",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/ffw/floor/main_light/state",
|
|
"b'true'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547646.8823981,
|
|
"msecs": 882.0,
|
|
"relativeCreated": 10666.120812,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffw/floor/main_light/state and payload b'true'",
|
|
"asctime": "2025-08-18 22:07:26,882"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Value for shellies/ffw/floor/main_light",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547647.039875,
|
|
"msecs": 39.0,
|
|
"relativeCreated": 10823.597788,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Value for shellies/ffw/floor/main_light): True (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:27,039"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Value for shellies/ffw/floor/main_light",
|
|
"=",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547647.0400476,
|
|
"msecs": 40.0,
|
|
"relativeCreated": 10823.770144,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Value for shellies/ffw/floor/main_light): result = True (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:27,040"
|
|
}
|
|
],
|
|
"time_consumption": 6.961822509765625e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Setting state of %s to %s",
|
|
"args": [
|
|
"videv/ffw/floor/main_light",
|
|
"False"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "device_follow",
|
|
"created": 1755547647.040254,
|
|
"msecs": 40.0,
|
|
"relativeCreated": 10823.976866,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Setting state of videv/ffw/floor/main_light to False",
|
|
"asctime": "2025-08-18 22:07:27,040",
|
|
"moduleLogger": [],
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Value for shellies/ffw/floor/main_light is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547647.2410522,
|
|
"msecs": 241.0,
|
|
"relativeCreated": 11024.774798,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Value for shellies/ffw/floor/main_light is correct (Content False and Type is <class 'bool'>).",
|
|
"asctime": "2025-08-18 22:07:27,241",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "smart_brain.mqtt.videv.ffw.floor.main_light.state.set",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/ffw/floor/main_light/state/set",
|
|
"false"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547647.0403624,
|
|
"msecs": 40.0,
|
|
"relativeCreated": 10824.084781,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic videv/ffw/floor/main_light/state/set and payload false",
|
|
"asctime": "2025-08-18 22:07:27,040"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.shellies.ffw.floor.main_light.relay.0.command",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"shellies/ffw/floor/main_light/relay/0/command",
|
|
"b'off'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547647.0425577,
|
|
"msecs": 42.0,
|
|
"relativeCreated": 10826.280271,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/ffw/floor/main_light/relay/0/command and payload b'off'",
|
|
"asctime": "2025-08-18 22:07:27,042"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.shellies.ffw.floor.main_light.relay.0",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"shellies/ffw/floor/main_light/relay/0",
|
|
"off"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547647.0429962,
|
|
"msecs": 42.0,
|
|
"relativeCreated": 10826.718927,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic shellies/ffw/floor/main_light/relay/0 and payload off",
|
|
"asctime": "2025-08-18 22:07:27,042"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.shellies.ffw.floor.main_light.relay.0",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"shellies/ffw/floor/main_light/relay/0",
|
|
"b'off'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547647.0439076,
|
|
"msecs": 43.0,
|
|
"relativeCreated": 10827.630152,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/ffw/floor/main_light/relay/0 and payload b'off'",
|
|
"asctime": "2025-08-18 22:07:27,043"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.ffw.floor.main_light.state",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/ffw/floor/main_light/state",
|
|
"b'false'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547647.0845811,
|
|
"msecs": 84.0,
|
|
"relativeCreated": 10868.30369,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffw/floor/main_light/state and payload b'false'",
|
|
"asctime": "2025-08-18 22:07:27,084"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Value for shellies/ffw/floor/main_light",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547647.24087,
|
|
"msecs": 240.0,
|
|
"relativeCreated": 11024.592392,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Value for shellies/ffw/floor/main_light): False (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:27,240"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Value for shellies/ffw/floor/main_light",
|
|
"=",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547647.2410023,
|
|
"msecs": 241.0,
|
|
"relativeCreated": 11024.724862,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Value for shellies/ffw/floor/main_light): result = False (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:27,241"
|
|
}
|
|
],
|
|
"time_consumption": 4.982948303222656e-05
|
|
}
|
|
],
|
|
"time_consumption": 0.6030855178833008,
|
|
"time_start": "2025-08-18 22:07:26,637",
|
|
"time_finished": "2025-08-18 22:07:27,241"
|
|
},
|
|
"REQ-0142": {
|
|
"name": "__tLogger__",
|
|
"msg": "REQ-0142",
|
|
"args": null,
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/report/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 329,
|
|
"funcName": "testCase",
|
|
"created": 1755547647.241307,
|
|
"msecs": 241.0,
|
|
"relativeCreated": 11025.029745,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "REQ-0142",
|
|
"asctime": "2025-08-18 22:07:27,241",
|
|
"moduleLogger": [],
|
|
"testcaseLogger": [
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Prepare: Setting devices to last state %s",
|
|
"args": [
|
|
"False"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 14,
|
|
"funcName": "device_follow",
|
|
"created": 1755547647.341898,
|
|
"msecs": 341.0,
|
|
"relativeCreated": 11125.620691,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Prepare: Setting devices to last state False",
|
|
"asctime": "2025-08-18 22:07:27,341",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "smart_brain.mqtt.videv.ffw.floor.main_light.relay.0.set",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/ffw/floor/main_light/relay/0/set",
|
|
"false"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547647.2414587,
|
|
"msecs": 241.0,
|
|
"relativeCreated": 11025.18121,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic videv/ffw/floor/main_light/relay/0/set and payload false",
|
|
"asctime": "2025-08-18 22:07:27,241"
|
|
}
|
|
],
|
|
"time_consumption": 0.10043931007385254
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Start state (master, slave) is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547647.4426537,
|
|
"msecs": 442.0,
|
|
"relativeCreated": 11226.37626,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Start state (master, slave) is correct (Content (False, False) and Type is <class 'tuple'>).",
|
|
"asctime": "2025-08-18 22:07:27,442",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Start state (master, slave)",
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547647.4424205,
|
|
"msecs": 442.0,
|
|
"relativeCreated": 11226.143023,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Start state (master, slave)): (False, False) (<class 'tuple'>)",
|
|
"asctime": "2025-08-18 22:07:27,442"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Start state (master, slave)",
|
|
"=",
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547647.4425902,
|
|
"msecs": 442.0,
|
|
"relativeCreated": 11226.312761,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Start state (master, slave)): result = (False, False) (<class 'tuple'>)",
|
|
"asctime": "2025-08-18 22:07:27,442"
|
|
}
|
|
],
|
|
"time_consumption": 6.341934204101562e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Setting state of %s to %s",
|
|
"args": [
|
|
"shellies/ffw/floor/main_light",
|
|
"True"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "device_follow",
|
|
"created": 1755547647.4427607,
|
|
"msecs": 442.0,
|
|
"relativeCreated": 11226.483417,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Setting state of shellies/ffw/floor/main_light to True",
|
|
"asctime": "2025-08-18 22:07:27,442",
|
|
"moduleLogger": [],
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Value for videv/ffw/floor/main_light is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547647.6440563,
|
|
"msecs": 644.0,
|
|
"relativeCreated": 11427.778884,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Value for videv/ffw/floor/main_light is correct (Content True and Type is <class 'bool'>).",
|
|
"asctime": "2025-08-18 22:07:27,644",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "smart_brain.mqtt.shellies.ffw.floor.main_light.relay.0",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"shellies/ffw/floor/main_light/relay/0",
|
|
"on"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547647.4429834,
|
|
"msecs": 442.0,
|
|
"relativeCreated": 11226.706003,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic shellies/ffw/floor/main_light/relay/0 and payload on",
|
|
"asctime": "2025-08-18 22:07:27,442"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.shellies.ffw.floor.main_light.relay.0",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"shellies/ffw/floor/main_light/relay/0",
|
|
"b'on'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547647.44391,
|
|
"msecs": 443.0,
|
|
"relativeCreated": 11227.632406,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/ffw/floor/main_light/relay/0 and payload b'on'",
|
|
"asctime": "2025-08-18 22:07:27,443"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.ffw.floor.main_light.state",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/ffw/floor/main_light/state",
|
|
"b'true'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547647.4451122,
|
|
"msecs": 445.0,
|
|
"relativeCreated": 11228.834883,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffw/floor/main_light/state and payload b'true'",
|
|
"asctime": "2025-08-18 22:07:27,445"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Value for videv/ffw/floor/main_light",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547647.6438189,
|
|
"msecs": 643.0,
|
|
"relativeCreated": 11427.541442,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Value for videv/ffw/floor/main_light): True (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:27,643"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Value for videv/ffw/floor/main_light",
|
|
"=",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547647.643996,
|
|
"msecs": 643.0,
|
|
"relativeCreated": 11427.718472,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Value for videv/ffw/floor/main_light): result = True (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:27,643"
|
|
}
|
|
],
|
|
"time_consumption": 6.031990051269531e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Setting state of %s to %s",
|
|
"args": [
|
|
"shellies/ffw/floor/main_light",
|
|
"False"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "device_follow",
|
|
"created": 1755547647.6442046,
|
|
"msecs": 644.0,
|
|
"relativeCreated": 11427.927241,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Setting state of shellies/ffw/floor/main_light to False",
|
|
"asctime": "2025-08-18 22:07:27,644",
|
|
"moduleLogger": [],
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Value for videv/ffw/floor/main_light is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547647.8451457,
|
|
"msecs": 845.0,
|
|
"relativeCreated": 11628.868214,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Value for videv/ffw/floor/main_light is correct (Content False and Type is <class 'bool'>).",
|
|
"asctime": "2025-08-18 22:07:27,845",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "smart_brain.mqtt.shellies.ffw.floor.main_light.relay.0",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"shellies/ffw/floor/main_light/relay/0",
|
|
"off"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547647.644443,
|
|
"msecs": 644.0,
|
|
"relativeCreated": 11428.16585,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic shellies/ffw/floor/main_light/relay/0 and payload off",
|
|
"asctime": "2025-08-18 22:07:27,644"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.shellies.ffw.floor.main_light.relay.0",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"shellies/ffw/floor/main_light/relay/0",
|
|
"b'off'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547647.645422,
|
|
"msecs": 645.0,
|
|
"relativeCreated": 11429.144649,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/ffw/floor/main_light/relay/0 and payload b'off'",
|
|
"asctime": "2025-08-18 22:07:27,645"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.ffw.floor.main_light.state",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/ffw/floor/main_light/state",
|
|
"b'false'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547647.6467059,
|
|
"msecs": 646.0,
|
|
"relativeCreated": 11430.428442,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/ffw/floor/main_light/state and payload b'false'",
|
|
"asctime": "2025-08-18 22:07:27,646"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Value for videv/ffw/floor/main_light",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547647.8449228,
|
|
"msecs": 844.0,
|
|
"relativeCreated": 11628.645557,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Value for videv/ffw/floor/main_light): False (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:27,844"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Value for videv/ffw/floor/main_light",
|
|
"=",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547647.845074,
|
|
"msecs": 845.0,
|
|
"relativeCreated": 11628.796463,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Value for videv/ffw/floor/main_light): result = False (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:27,845"
|
|
}
|
|
],
|
|
"time_consumption": 7.176399230957031e-05
|
|
}
|
|
],
|
|
"time_consumption": 0.6038386821746826,
|
|
"time_start": "2025-08-18 22:07:27,241",
|
|
"time_finished": "2025-08-18 22:07:27,845"
|
|
},
|
|
"REQ-0301": {
|
|
"name": "__tLogger__",
|
|
"msg": "REQ-0301",
|
|
"args": null,
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/report/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 329,
|
|
"funcName": "testCase",
|
|
"created": 1755547647.8454597,
|
|
"msecs": 845.0,
|
|
"relativeCreated": 11629.182409,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "REQ-0301",
|
|
"asctime": "2025-08-18 22:07:27,845",
|
|
"moduleLogger": [],
|
|
"testcaseLogger": [
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Prepare: Setting devices to last state %s",
|
|
"args": [
|
|
"False"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 14,
|
|
"funcName": "device_follow",
|
|
"created": 1755547647.9461303,
|
|
"msecs": 946.0,
|
|
"relativeCreated": 11729.852761,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Prepare: Setting devices to last state False",
|
|
"asctime": "2025-08-18 22:07:27,946",
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547647.845664,
|
|
"msecs": 845.0,
|
|
"relativeCreated": 11629.386535,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic videv/gfw/dirk/main_light/state/set and payload false",
|
|
"asctime": "2025-08-18 22:07:27,845"
|
|
},
|
|
{
|
|
"name": "smart_brain.devices.shellies.gfw.dirk.main_light",
|
|
"msg": "Unexpected key %s",
|
|
"args": [
|
|
"state"
|
|
],
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/base.py",
|
|
"filename": "base.py",
|
|
"module": "base",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 42,
|
|
"funcName": "set",
|
|
"created": 1755547647.845927,
|
|
"msecs": 845.0,
|
|
"relativeCreated": 11629.649569,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Unexpected key state",
|
|
"asctime": "2025-08-18 22:07:27,845"
|
|
}
|
|
],
|
|
"time_consumption": 0.10020327568054199
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Start state (master, slave) is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547648.046786,
|
|
"msecs": 46.0,
|
|
"relativeCreated": 11830.508753,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Start state (master, slave) is correct (Content (False, False) and Type is <class 'tuple'>).",
|
|
"asctime": "2025-08-18 22:07:28,046",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Start state (master, slave)",
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547648.0465963,
|
|
"msecs": 46.0,
|
|
"relativeCreated": 11830.319081,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Start state (master, slave)): (False, False) (<class 'tuple'>)",
|
|
"asctime": "2025-08-18 22:07:28,046"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Start state (master, slave)",
|
|
"=",
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547648.0467322,
|
|
"msecs": 46.0,
|
|
"relativeCreated": 11830.454881,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Start state (master, slave)): result = (False, False) (<class 'tuple'>)",
|
|
"asctime": "2025-08-18 22:07:28,046"
|
|
}
|
|
],
|
|
"time_consumption": 5.3882598876953125e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Setting state of %s to %s",
|
|
"args": [
|
|
"videv/gfw/dirk/main_light",
|
|
"True"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "device_follow",
|
|
"created": 1755547648.046889,
|
|
"msecs": 46.0,
|
|
"relativeCreated": 11830.611582,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Setting state of videv/gfw/dirk/main_light to True",
|
|
"asctime": "2025-08-18 22:07:28,046",
|
|
"moduleLogger": [],
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Value for shellies/gfw/dirk/main_light is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547648.2478817,
|
|
"msecs": 247.0,
|
|
"relativeCreated": 12031.604377,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Value for shellies/gfw/dirk/main_light is correct (Content True and Type is <class 'bool'>).",
|
|
"asctime": "2025-08-18 22:07:28,247",
|
|
"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",
|
|
"true"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547648.0470185,
|
|
"msecs": 47.0,
|
|
"relativeCreated": 11830.741183,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic videv/gfw/dirk/main_light/state/set and payload true",
|
|
"asctime": "2025-08-18 22:07:28,047"
|
|
},
|
|
{
|
|
"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'on'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547648.0499775,
|
|
"msecs": 49.0,
|
|
"relativeCreated": 11833.700316,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/gfw/dirk/main_light/relay/0/command and payload b'on'",
|
|
"asctime": "2025-08-18 22:07:28,049"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547648.0503051,
|
|
"msecs": 50.0,
|
|
"relativeCreated": 11834.027698,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic shellies/gfw/dirk/main_light/relay/0 and payload on",
|
|
"asctime": "2025-08-18 22:07:28,050"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_gfw.gfw.dirk.main_light",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_gfw/gfw/dirk/main_light",
|
|
"{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547648.0506575,
|
|
"msecs": 50.0,
|
|
"relativeCreated": 11834.380253,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic zigbee_gfw/gfw/dirk/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
|
|
"asctime": "2025-08-18 22:07:28,050"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547648.0514038,
|
|
"msecs": 51.0,
|
|
"relativeCreated": 11835.126475,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/gfw/dirk/main_light/relay/0 and payload b'on'",
|
|
"asctime": "2025-08-18 22:07:28,051"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_gfw.gfw.dirk.main_light",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_gfw/gfw/dirk/main_light",
|
|
"b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547648.051691,
|
|
"msecs": 51.0,
|
|
"relativeCreated": 11835.413635,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_gfw/gfw/dirk/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
|
|
"asctime": "2025-08-18 22:07:28,051"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547648.1368487,
|
|
"msecs": 136.0,
|
|
"relativeCreated": 11920.571191,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/gfw/dirk/main_light/state and payload b'true'",
|
|
"asctime": "2025-08-18 22:07:28,136"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547648.1373153,
|
|
"msecs": 137.0,
|
|
"relativeCreated": 11921.037944,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/gfw/dirk/main_light/brightness and payload b'50'",
|
|
"asctime": "2025-08-18 22:07:28,137"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547648.137545,
|
|
"msecs": 137.0,
|
|
"relativeCreated": 11921.267789,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/gfw/dirk/main_light/color_temp and payload b'5'",
|
|
"asctime": "2025-08-18 22:07:28,137"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Value for shellies/gfw/dirk/main_light",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547648.2476766,
|
|
"msecs": 247.0,
|
|
"relativeCreated": 12031.399392,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Value for shellies/gfw/dirk/main_light): True (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:28,247"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Value for shellies/gfw/dirk/main_light",
|
|
"=",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547648.247829,
|
|
"msecs": 247.0,
|
|
"relativeCreated": 12031.55161,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Value for shellies/gfw/dirk/main_light): result = True (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:28,247"
|
|
}
|
|
],
|
|
"time_consumption": 5.269050598144531e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Setting state of %s to %s",
|
|
"args": [
|
|
"videv/gfw/dirk/main_light",
|
|
"False"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "device_follow",
|
|
"created": 1755547648.2480206,
|
|
"msecs": 248.0,
|
|
"relativeCreated": 12031.743232,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Setting state of videv/gfw/dirk/main_light to False",
|
|
"asctime": "2025-08-18 22:07:28,248",
|
|
"moduleLogger": [],
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Value for shellies/gfw/dirk/main_light is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547648.448981,
|
|
"msecs": 448.0,
|
|
"relativeCreated": 12232.703578,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Value for shellies/gfw/dirk/main_light is correct (Content False and Type is <class 'bool'>).",
|
|
"asctime": "2025-08-18 22:07:28,448",
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547648.2481394,
|
|
"msecs": 248.0,
|
|
"relativeCreated": 12031.861985,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic videv/gfw/dirk/main_light/state/set and payload false",
|
|
"asctime": "2025-08-18 22:07:28,248"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547648.2504284,
|
|
"msecs": 250.0,
|
|
"relativeCreated": 12034.15092,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/gfw/dirk/main_light/relay/0/command and payload b'off'",
|
|
"asctime": "2025-08-18 22:07:28,250"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547648.2507067,
|
|
"msecs": 250.0,
|
|
"relativeCreated": 12034.429204,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic shellies/gfw/dirk/main_light/relay/0 and payload off",
|
|
"asctime": "2025-08-18 22:07:28,250"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547648.2514741,
|
|
"msecs": 251.0,
|
|
"relativeCreated": 12035.196914,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/gfw/dirk/main_light/relay/0 and payload b'off'",
|
|
"asctime": "2025-08-18 22:07:28,251"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547648.3338735,
|
|
"msecs": 333.0,
|
|
"relativeCreated": 12117.596102,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/gfw/dirk/main_light/state and payload b'false'",
|
|
"asctime": "2025-08-18 22:07:28,333"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Value for shellies/gfw/dirk/main_light",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547648.4487782,
|
|
"msecs": 448.0,
|
|
"relativeCreated": 12232.500946,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Value for shellies/gfw/dirk/main_light): False (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:28,448"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Value for shellies/gfw/dirk/main_light",
|
|
"=",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547648.448927,
|
|
"msecs": 448.0,
|
|
"relativeCreated": 12232.649485,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Value for shellies/gfw/dirk/main_light): result = False (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:28,448"
|
|
}
|
|
],
|
|
"time_consumption": 5.412101745605469e-05
|
|
}
|
|
],
|
|
"time_consumption": 0.6035213470458984,
|
|
"time_start": "2025-08-18 22:07:27,845",
|
|
"time_finished": "2025-08-18 22:07:28,448"
|
|
},
|
|
"REQ-0302": {
|
|
"name": "__tLogger__",
|
|
"msg": "REQ-0302",
|
|
"args": null,
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/report/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 329,
|
|
"funcName": "testCase",
|
|
"created": 1755547648.4492545,
|
|
"msecs": 449.0,
|
|
"relativeCreated": 12232.977029,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "REQ-0302",
|
|
"asctime": "2025-08-18 22:07:28,449",
|
|
"moduleLogger": [],
|
|
"testcaseLogger": [
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Prepare: Setting devices to last state %s",
|
|
"args": [
|
|
"False"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 14,
|
|
"funcName": "device_follow",
|
|
"created": 1755547648.5498018,
|
|
"msecs": 549.0,
|
|
"relativeCreated": 12333.524315,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Prepare: Setting devices to last state False",
|
|
"asctime": "2025-08-18 22:07:28,549",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.main_light.relay.0.set",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/main_light/relay/0/set",
|
|
"false"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547648.4494438,
|
|
"msecs": 449.0,
|
|
"relativeCreated": 12233.166353,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic videv/gfw/dirk/main_light/relay/0/set and payload false",
|
|
"asctime": "2025-08-18 22:07:28,449"
|
|
}
|
|
],
|
|
"time_consumption": 0.1003580093383789
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Start state (master, slave) is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547648.650393,
|
|
"msecs": 650.0,
|
|
"relativeCreated": 12434.115698,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Start state (master, slave) is correct (Content (False, False) and Type is <class 'tuple'>).",
|
|
"asctime": "2025-08-18 22:07:28,650",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Start state (master, slave)",
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547648.65019,
|
|
"msecs": 650.0,
|
|
"relativeCreated": 12433.912577,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Start state (master, slave)): (False, False) (<class 'tuple'>)",
|
|
"asctime": "2025-08-18 22:07:28,650"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Start state (master, slave)",
|
|
"=",
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547648.6503422,
|
|
"msecs": 650.0,
|
|
"relativeCreated": 12434.064846,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Start state (master, slave)): result = (False, False) (<class 'tuple'>)",
|
|
"asctime": "2025-08-18 22:07:28,650"
|
|
}
|
|
],
|
|
"time_consumption": 5.078315734863281e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Setting state of %s to %s",
|
|
"args": [
|
|
"shellies/gfw/dirk/main_light",
|
|
"True"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "device_follow",
|
|
"created": 1755547648.6505039,
|
|
"msecs": 650.0,
|
|
"relativeCreated": 12434.226602,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Setting state of shellies/gfw/dirk/main_light to True",
|
|
"asctime": "2025-08-18 22:07:28,650",
|
|
"moduleLogger": [],
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Value for videv/gfw/dirk/main_light is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547648.8520494,
|
|
"msecs": 852.0,
|
|
"relativeCreated": 12635.771925,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Value for videv/gfw/dirk/main_light is correct (Content True and Type is <class 'bool'>).",
|
|
"asctime": "2025-08-18 22:07:28,852",
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547648.6507182,
|
|
"msecs": 650.0,
|
|
"relativeCreated": 12434.440866,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic shellies/gfw/dirk/main_light/relay/0 and payload on",
|
|
"asctime": "2025-08-18 22:07:28,650"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_gfw.gfw.dirk.main_light",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_gfw/gfw/dirk/main_light",
|
|
"{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547648.6513238,
|
|
"msecs": 651.0,
|
|
"relativeCreated": 12435.046454,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic zigbee_gfw/gfw/dirk/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
|
|
"asctime": "2025-08-18 22:07:28,651"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547648.651624,
|
|
"msecs": 651.0,
|
|
"relativeCreated": 12435.346547,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/gfw/dirk/main_light/relay/0 and payload b'on'",
|
|
"asctime": "2025-08-18 22:07:28,651"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_gfw.gfw.dirk.main_light",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_gfw/gfw/dirk/main_light",
|
|
"b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547648.6521997,
|
|
"msecs": 652.0,
|
|
"relativeCreated": 12435.922276,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_gfw/gfw/dirk/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
|
|
"asctime": "2025-08-18 22:07:28,652"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547648.693593,
|
|
"msecs": 693.0,
|
|
"relativeCreated": 12477.315828,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/gfw/dirk/main_light/state and payload b'true'",
|
|
"asctime": "2025-08-18 22:07:28,693"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Value for videv/gfw/dirk/main_light",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547648.8518696,
|
|
"msecs": 851.0,
|
|
"relativeCreated": 12635.592201,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Value for videv/gfw/dirk/main_light): True (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:28,851"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Value for videv/gfw/dirk/main_light",
|
|
"=",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547648.8520026,
|
|
"msecs": 852.0,
|
|
"relativeCreated": 12635.725206,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Value for videv/gfw/dirk/main_light): result = True (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:28,852"
|
|
}
|
|
],
|
|
"time_consumption": 4.673004150390625e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Setting state of %s to %s",
|
|
"args": [
|
|
"shellies/gfw/dirk/main_light",
|
|
"False"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "device_follow",
|
|
"created": 1755547648.85215,
|
|
"msecs": 852.0,
|
|
"relativeCreated": 12635.87256,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Setting state of shellies/gfw/dirk/main_light to False",
|
|
"asctime": "2025-08-18 22:07:28,852",
|
|
"moduleLogger": [],
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Value for videv/gfw/dirk/main_light is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547649.0533862,
|
|
"msecs": 53.0,
|
|
"relativeCreated": 12837.108776,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Value for videv/gfw/dirk/main_light is correct (Content False and Type is <class 'bool'>).",
|
|
"asctime": "2025-08-18 22:07:29,053",
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547648.8523858,
|
|
"msecs": 852.0,
|
|
"relativeCreated": 12636.108363,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic shellies/gfw/dirk/main_light/relay/0 and payload off",
|
|
"asctime": "2025-08-18 22:07:28,852"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547648.8531773,
|
|
"msecs": 853.0,
|
|
"relativeCreated": 12636.899831,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/gfw/dirk/main_light/relay/0 and payload b'off'",
|
|
"asctime": "2025-08-18 22:07:28,853"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547648.8994749,
|
|
"msecs": 899.0,
|
|
"relativeCreated": 12683.197544,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/gfw/dirk/main_light/state and payload b'false'",
|
|
"asctime": "2025-08-18 22:07:28,899"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Value for videv/gfw/dirk/main_light",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547649.053203,
|
|
"msecs": 53.0,
|
|
"relativeCreated": 12836.925876,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Value for videv/gfw/dirk/main_light): False (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:29,053"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Value for videv/gfw/dirk/main_light",
|
|
"=",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547649.0533385,
|
|
"msecs": 53.0,
|
|
"relativeCreated": 12837.061227,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Value for videv/gfw/dirk/main_light): result = False (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:29,053"
|
|
}
|
|
],
|
|
"time_consumption": 4.76837158203125e-05
|
|
}
|
|
],
|
|
"time_consumption": 0.6041316986083984,
|
|
"time_start": "2025-08-18 22:07:28,449",
|
|
"time_finished": "2025-08-18 22:07:29,053"
|
|
},
|
|
"REQ-0311": {
|
|
"name": "__tLogger__",
|
|
"msg": "REQ-0311",
|
|
"args": null,
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/report/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 329,
|
|
"funcName": "testCase",
|
|
"created": 1755547649.053616,
|
|
"msecs": 53.0,
|
|
"relativeCreated": 12837.338615,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "REQ-0311",
|
|
"asctime": "2025-08-18 22:07:29,053",
|
|
"moduleLogger": [],
|
|
"testcaseLogger": [
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Prepare: Setting devices to last state %s",
|
|
"args": [
|
|
"False"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 14,
|
|
"funcName": "device_follow",
|
|
"created": 1755547649.1542587,
|
|
"msecs": 154.0,
|
|
"relativeCreated": 12937.981271,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Prepare: Setting devices to last state False",
|
|
"asctime": "2025-08-18 22:07:29,154",
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547649.0537894,
|
|
"msecs": 53.0,
|
|
"relativeCreated": 12837.512071,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic videv/gfw/marion/main_light/state/set and payload false",
|
|
"asctime": "2025-08-18 22:07:29,053"
|
|
},
|
|
{
|
|
"name": "smart_brain.devices.shellies.gfw.marion.main_light",
|
|
"msg": "Unexpected key %s",
|
|
"args": [
|
|
"state"
|
|
],
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/base.py",
|
|
"filename": "base.py",
|
|
"module": "base",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 42,
|
|
"funcName": "set",
|
|
"created": 1755547649.0540535,
|
|
"msecs": 54.0,
|
|
"relativeCreated": 12837.776197,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Unexpected key state",
|
|
"asctime": "2025-08-18 22:07:29,054"
|
|
}
|
|
],
|
|
"time_consumption": 0.1002051830291748
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Start state (master, slave) is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547649.254799,
|
|
"msecs": 254.0,
|
|
"relativeCreated": 13038.521434,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Start state (master, slave) is correct (Content (False, False) and Type is <class 'tuple'>).",
|
|
"asctime": "2025-08-18 22:07:29,254",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Start state (master, slave)",
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547649.2546005,
|
|
"msecs": 254.0,
|
|
"relativeCreated": 13038.323172,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Start state (master, slave)): (False, False) (<class 'tuple'>)",
|
|
"asctime": "2025-08-18 22:07:29,254"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Start state (master, slave)",
|
|
"=",
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547649.2547512,
|
|
"msecs": 254.0,
|
|
"relativeCreated": 13038.473733,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Start state (master, slave)): result = (False, False) (<class 'tuple'>)",
|
|
"asctime": "2025-08-18 22:07:29,254"
|
|
}
|
|
],
|
|
"time_consumption": 4.76837158203125e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Setting state of %s to %s",
|
|
"args": [
|
|
"videv/gfw/marion/main_light",
|
|
"True"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "device_follow",
|
|
"created": 1755547649.2548964,
|
|
"msecs": 254.0,
|
|
"relativeCreated": 13038.619082,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Setting state of videv/gfw/marion/main_light to True",
|
|
"asctime": "2025-08-18 22:07:29,254",
|
|
"moduleLogger": [],
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Value for shellies/gfw/marion/main_light is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547649.4557867,
|
|
"msecs": 455.0,
|
|
"relativeCreated": 13239.509459,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Value for shellies/gfw/marion/main_light is correct (Content True and Type is <class 'bool'>).",
|
|
"asctime": "2025-08-18 22:07:29,455",
|
|
"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",
|
|
"true"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547649.254991,
|
|
"msecs": 254.0,
|
|
"relativeCreated": 13038.713643,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic videv/gfw/marion/main_light/state/set and payload true",
|
|
"asctime": "2025-08-18 22:07:29,254"
|
|
},
|
|
{
|
|
"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'on'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547649.256924,
|
|
"msecs": 256.0,
|
|
"relativeCreated": 13040.646435,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/gfw/marion/main_light/relay/0/command and payload b'on'",
|
|
"asctime": "2025-08-18 22:07:29,256"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547649.2571785,
|
|
"msecs": 257.0,
|
|
"relativeCreated": 13040.901155,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic shellies/gfw/marion/main_light/relay/0 and payload on",
|
|
"asctime": "2025-08-18 22:07:29,257"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547649.257685,
|
|
"msecs": 257.0,
|
|
"relativeCreated": 13041.407488,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/gfw/marion/main_light/relay/0 and payload b'on'",
|
|
"asctime": "2025-08-18 22:07:29,257"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_gfw.gfw.marion.window_light.set",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_gfw/gfw/marion/window_light/set",
|
|
"b'{\"state\": \"on\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547649.29929,
|
|
"msecs": 299.0,
|
|
"relativeCreated": 13083.012407,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_gfw/gfw/marion/window_light/set and payload b'{\"state\": \"on\"}'",
|
|
"asctime": "2025-08-18 22:07:29,299"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_gfw.gfw.marion.window_light",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_gfw/gfw/marion/window_light",
|
|
"{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547649.299707,
|
|
"msecs": 299.0,
|
|
"relativeCreated": 13083.429563,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic zigbee_gfw/gfw/marion/window_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
|
|
"asctime": "2025-08-18 22:07:29,299"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547649.3000767,
|
|
"msecs": 300.0,
|
|
"relativeCreated": 13083.799505,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/gfw/marion/main_light/state and payload b'true'",
|
|
"asctime": "2025-08-18 22:07:29,300"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_gfw.gfw.marion.window_light",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_gfw/gfw/marion/window_light",
|
|
"b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547649.3006241,
|
|
"msecs": 300.0,
|
|
"relativeCreated": 13084.346662,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_gfw/gfw/marion/window_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
|
|
"asctime": "2025-08-18 22:07:29,300"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Value for shellies/gfw/marion/main_light",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547649.4555783,
|
|
"msecs": 455.0,
|
|
"relativeCreated": 13239.301015,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Value for shellies/gfw/marion/main_light): True (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:29,455"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Value for shellies/gfw/marion/main_light",
|
|
"=",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547649.455732,
|
|
"msecs": 455.0,
|
|
"relativeCreated": 13239.454891,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Value for shellies/gfw/marion/main_light): result = True (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:29,455"
|
|
}
|
|
],
|
|
"time_consumption": 5.459785461425781e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Setting state of %s to %s",
|
|
"args": [
|
|
"videv/gfw/marion/main_light",
|
|
"False"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "device_follow",
|
|
"created": 1755547649.4559033,
|
|
"msecs": 455.0,
|
|
"relativeCreated": 13239.625876,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Setting state of videv/gfw/marion/main_light to False",
|
|
"asctime": "2025-08-18 22:07:29,455",
|
|
"moduleLogger": [],
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Value for shellies/gfw/marion/main_light is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547649.6569226,
|
|
"msecs": 656.0,
|
|
"relativeCreated": 13440.645243,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Value for shellies/gfw/marion/main_light is correct (Content False and Type is <class 'bool'>).",
|
|
"asctime": "2025-08-18 22:07:29,656",
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547649.456043,
|
|
"msecs": 456.0,
|
|
"relativeCreated": 13239.765583,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic videv/gfw/marion/main_light/state/set and payload false",
|
|
"asctime": "2025-08-18 22:07:29,456"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547649.45863,
|
|
"msecs": 458.0,
|
|
"relativeCreated": 13242.352681,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/gfw/marion/main_light/relay/0/command and payload b'off'",
|
|
"asctime": "2025-08-18 22:07:29,458"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547649.4589274,
|
|
"msecs": 458.0,
|
|
"relativeCreated": 13242.650048,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic shellies/gfw/marion/main_light/relay/0 and payload off",
|
|
"asctime": "2025-08-18 22:07:29,458"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547649.459605,
|
|
"msecs": 459.0,
|
|
"relativeCreated": 13243.327488,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/gfw/marion/main_light/relay/0 and payload b'off'",
|
|
"asctime": "2025-08-18 22:07:29,459"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_gfw.gfw.marion.window_light.set",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_gfw/gfw/marion/window_light/set",
|
|
"b'{\"state\": \"off\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547649.501195,
|
|
"msecs": 501.0,
|
|
"relativeCreated": 13284.917695,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_gfw/gfw/marion/window_light/set and payload b'{\"state\": \"off\"}'",
|
|
"asctime": "2025-08-18 22:07:29,501"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_gfw.gfw.marion.window_light",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_gfw/gfw/marion/window_light",
|
|
"{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547649.5015924,
|
|
"msecs": 501.0,
|
|
"relativeCreated": 13285.314967,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic zigbee_gfw/gfw/marion/window_light and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
|
|
"asctime": "2025-08-18 22:07:29,501"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547649.5019448,
|
|
"msecs": 501.0,
|
|
"relativeCreated": 13285.667516,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/gfw/marion/main_light/state and payload b'false'",
|
|
"asctime": "2025-08-18 22:07:29,501"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_gfw.gfw.marion.window_light",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_gfw/gfw/marion/window_light",
|
|
"b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547649.502519,
|
|
"msecs": 502.0,
|
|
"relativeCreated": 13286.241523,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_gfw/gfw/marion/window_light and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
|
|
"asctime": "2025-08-18 22:07:29,502"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Value for shellies/gfw/marion/main_light",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547649.6567178,
|
|
"msecs": 656.0,
|
|
"relativeCreated": 13440.44051,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Value for shellies/gfw/marion/main_light): False (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:29,656"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Value for shellies/gfw/marion/main_light",
|
|
"=",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547649.65687,
|
|
"msecs": 656.0,
|
|
"relativeCreated": 13440.592463,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Value for shellies/gfw/marion/main_light): result = False (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:29,656"
|
|
}
|
|
],
|
|
"time_consumption": 5.269050598144531e-05
|
|
}
|
|
],
|
|
"time_consumption": 0.6033065319061279,
|
|
"time_start": "2025-08-18 22:07:29,053",
|
|
"time_finished": "2025-08-18 22:07:29,656"
|
|
},
|
|
"REQ-0312": {
|
|
"name": "__tLogger__",
|
|
"msg": "REQ-0312",
|
|
"args": null,
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/report/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 329,
|
|
"funcName": "testCase",
|
|
"created": 1755547649.6572542,
|
|
"msecs": 657.0,
|
|
"relativeCreated": 13440.97676,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "REQ-0312",
|
|
"asctime": "2025-08-18 22:07:29,657",
|
|
"moduleLogger": [],
|
|
"testcaseLogger": [
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Prepare: Setting devices to last state %s",
|
|
"args": [
|
|
"False"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 14,
|
|
"funcName": "device_follow",
|
|
"created": 1755547649.7577872,
|
|
"msecs": 757.0,
|
|
"relativeCreated": 13541.509847,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Prepare: Setting devices to last state False",
|
|
"asctime": "2025-08-18 22:07:29,757",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.marion.main_light.relay.0.set",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/marion/main_light/relay/0/set",
|
|
"false"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547649.657444,
|
|
"msecs": 657.0,
|
|
"relativeCreated": 13441.166679,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic videv/gfw/marion/main_light/relay/0/set and payload false",
|
|
"asctime": "2025-08-18 22:07:29,657"
|
|
}
|
|
],
|
|
"time_consumption": 0.10034322738647461
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Start state (master, slave) is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547649.8584003,
|
|
"msecs": 858.0,
|
|
"relativeCreated": 13642.122957,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Start state (master, slave) is correct (Content (False, False) and Type is <class 'tuple'>).",
|
|
"asctime": "2025-08-18 22:07:29,858",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Start state (master, slave)",
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547649.858182,
|
|
"msecs": 858.0,
|
|
"relativeCreated": 13641.904527,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Start state (master, slave)): (False, False) (<class 'tuple'>)",
|
|
"asctime": "2025-08-18 22:07:29,858"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Start state (master, slave)",
|
|
"=",
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547649.858325,
|
|
"msecs": 858.0,
|
|
"relativeCreated": 13642.047655,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Start state (master, slave)): result = (False, False) (<class 'tuple'>)",
|
|
"asctime": "2025-08-18 22:07:29,858"
|
|
}
|
|
],
|
|
"time_consumption": 7.534027099609375e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Setting state of %s to %s",
|
|
"args": [
|
|
"shellies/gfw/marion/main_light",
|
|
"True"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "device_follow",
|
|
"created": 1755547649.8585103,
|
|
"msecs": 858.0,
|
|
"relativeCreated": 13642.232981,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Setting state of shellies/gfw/marion/main_light to True",
|
|
"asctime": "2025-08-18 22:07:29,858",
|
|
"moduleLogger": [],
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Value for videv/gfw/marion/main_light is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547650.0597098,
|
|
"msecs": 59.0,
|
|
"relativeCreated": 13843.432314,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Value for videv/gfw/marion/main_light is correct (Content True and Type is <class 'bool'>).",
|
|
"asctime": "2025-08-18 22:07:30,059",
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547649.8587384,
|
|
"msecs": 858.0,
|
|
"relativeCreated": 13642.461078,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic shellies/gfw/marion/main_light/relay/0 and payload on",
|
|
"asctime": "2025-08-18 22:07:29,858"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547649.8596647,
|
|
"msecs": 859.0,
|
|
"relativeCreated": 13643.387238,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/gfw/marion/main_light/relay/0 and payload b'on'",
|
|
"asctime": "2025-08-18 22:07:29,859"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_gfw.gfw.marion.window_light.set",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_gfw/gfw/marion/window_light/set",
|
|
"b'{\"state\": \"on\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547649.861846,
|
|
"msecs": 861.0,
|
|
"relativeCreated": 13645.56869,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_gfw/gfw/marion/window_light/set and payload b'{\"state\": \"on\"}'",
|
|
"asctime": "2025-08-18 22:07:29,861"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_gfw.gfw.marion.window_light",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_gfw/gfw/marion/window_light",
|
|
"{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547649.8622909,
|
|
"msecs": 862.0,
|
|
"relativeCreated": 13646.013435,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic zigbee_gfw/gfw/marion/window_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
|
|
"asctime": "2025-08-18 22:07:29,862"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547649.8626451,
|
|
"msecs": 862.0,
|
|
"relativeCreated": 13646.367913,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/gfw/marion/main_light/state and payload b'true'",
|
|
"asctime": "2025-08-18 22:07:29,862"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_gfw.gfw.marion.window_light",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_gfw/gfw/marion/window_light",
|
|
"b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547649.863193,
|
|
"msecs": 863.0,
|
|
"relativeCreated": 13646.915615,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_gfw/gfw/marion/window_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
|
|
"asctime": "2025-08-18 22:07:29,863"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Value for videv/gfw/marion/main_light",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547650.0595052,
|
|
"msecs": 59.0,
|
|
"relativeCreated": 13843.227836,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Value for videv/gfw/marion/main_light): True (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:30,059"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Value for videv/gfw/marion/main_light",
|
|
"=",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547650.0596578,
|
|
"msecs": 59.0,
|
|
"relativeCreated": 13843.380395,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Value for videv/gfw/marion/main_light): result = True (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:30,059"
|
|
}
|
|
],
|
|
"time_consumption": 5.1975250244140625e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Setting state of %s to %s",
|
|
"args": [
|
|
"shellies/gfw/marion/main_light",
|
|
"False"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "device_follow",
|
|
"created": 1755547650.0598226,
|
|
"msecs": 59.0,
|
|
"relativeCreated": 13843.545312,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Setting state of shellies/gfw/marion/main_light to False",
|
|
"asctime": "2025-08-18 22:07:30,059",
|
|
"moduleLogger": [],
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Value for videv/gfw/marion/main_light is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547650.2607906,
|
|
"msecs": 260.0,
|
|
"relativeCreated": 14044.513014,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Value for videv/gfw/marion/main_light is correct (Content False and Type is <class 'bool'>).",
|
|
"asctime": "2025-08-18 22:07:30,260",
|
|
"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",
|
|
"off"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547650.0600424,
|
|
"msecs": 60.0,
|
|
"relativeCreated": 13843.765233,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic shellies/gfw/marion/main_light/relay/0 and payload off",
|
|
"asctime": "2025-08-18 22:07:30,060"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547650.0609934,
|
|
"msecs": 60.0,
|
|
"relativeCreated": 13844.716134,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/gfw/marion/main_light/relay/0 and payload b'off'",
|
|
"asctime": "2025-08-18 22:07:30,060"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_gfw.gfw.marion.window_light.set",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_gfw/gfw/marion/window_light/set",
|
|
"b'{\"state\": \"off\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547650.062939,
|
|
"msecs": 62.0,
|
|
"relativeCreated": 13846.661461,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_gfw/gfw/marion/window_light/set and payload b'{\"state\": \"off\"}'",
|
|
"asctime": "2025-08-18 22:07:30,062"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_gfw.gfw.marion.window_light",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_gfw/gfw/marion/window_light",
|
|
"{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547650.0633576,
|
|
"msecs": 63.0,
|
|
"relativeCreated": 13847.080259,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic zigbee_gfw/gfw/marion/window_light and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}",
|
|
"asctime": "2025-08-18 22:07:30,063"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547650.0637062,
|
|
"msecs": 63.0,
|
|
"relativeCreated": 13847.428851,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/gfw/marion/main_light/state and payload b'false'",
|
|
"asctime": "2025-08-18 22:07:30,063"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_gfw.gfw.marion.window_light",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_gfw/gfw/marion/window_light",
|
|
"b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547650.064437,
|
|
"msecs": 64.0,
|
|
"relativeCreated": 13848.159594,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_gfw/gfw/marion/window_light and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
|
|
"asctime": "2025-08-18 22:07:30,064"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Value for videv/gfw/marion/main_light",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547650.2605898,
|
|
"msecs": 260.0,
|
|
"relativeCreated": 14044.312448,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Value for videv/gfw/marion/main_light): False (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:30,260"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Value for videv/gfw/marion/main_light",
|
|
"=",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547650.2607372,
|
|
"msecs": 260.0,
|
|
"relativeCreated": 14044.459819,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Value for videv/gfw/marion/main_light): result = False (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:30,260"
|
|
}
|
|
],
|
|
"time_consumption": 5.340576171875e-05
|
|
}
|
|
],
|
|
"time_consumption": 0.6035363674163818,
|
|
"time_start": "2025-08-18 22:07:29,657",
|
|
"time_finished": "2025-08-18 22:07:30,260"
|
|
},
|
|
"REQ-0321": {
|
|
"name": "__tLogger__",
|
|
"msg": "REQ-0321",
|
|
"args": null,
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/report/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 329,
|
|
"funcName": "testCase",
|
|
"created": 1755547650.2610352,
|
|
"msecs": 261.0,
|
|
"relativeCreated": 14044.757893,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "REQ-0321",
|
|
"asctime": "2025-08-18 22:07:30,261",
|
|
"moduleLogger": [],
|
|
"testcaseLogger": [
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Prepare: Setting devices to last state %s",
|
|
"args": [
|
|
"False"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 14,
|
|
"funcName": "device_follow",
|
|
"created": 1755547650.361774,
|
|
"msecs": 361.0,
|
|
"relativeCreated": 14145.496784,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Prepare: Setting devices to last state False",
|
|
"asctime": "2025-08-18 22:07:30,361",
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547650.2612004,
|
|
"msecs": 261.0,
|
|
"relativeCreated": 14044.922968,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic videv/gfw/floor/main_light/state/set and payload false",
|
|
"asctime": "2025-08-18 22:07:30,261"
|
|
},
|
|
{
|
|
"name": "smart_brain.devices.shellies.gfw.floor.main_light",
|
|
"msg": "Unexpected key %s",
|
|
"args": [
|
|
"state"
|
|
],
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/base.py",
|
|
"filename": "base.py",
|
|
"module": "base",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 42,
|
|
"funcName": "set",
|
|
"created": 1755547650.2614408,
|
|
"msecs": 261.0,
|
|
"relativeCreated": 14045.163354,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Unexpected key state",
|
|
"asctime": "2025-08-18 22:07:30,261"
|
|
}
|
|
],
|
|
"time_consumption": 0.10033321380615234
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Start state (master, slave) is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547650.46256,
|
|
"msecs": 462.0,
|
|
"relativeCreated": 14246.282738,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Start state (master, slave) is correct (Content (False, False) and Type is <class 'tuple'>).",
|
|
"asctime": "2025-08-18 22:07:30,462",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Start state (master, slave)",
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547650.4623473,
|
|
"msecs": 462.0,
|
|
"relativeCreated": 14246.069926,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Start state (master, slave)): (False, False) (<class 'tuple'>)",
|
|
"asctime": "2025-08-18 22:07:30,462"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Start state (master, slave)",
|
|
"=",
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547650.4625032,
|
|
"msecs": 462.0,
|
|
"relativeCreated": 14246.225707,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Start state (master, slave)): result = (False, False) (<class 'tuple'>)",
|
|
"asctime": "2025-08-18 22:07:30,462"
|
|
}
|
|
],
|
|
"time_consumption": 5.6743621826171875e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Setting state of %s to %s",
|
|
"args": [
|
|
"videv/gfw/floor/main_light",
|
|
"True"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "device_follow",
|
|
"created": 1755547650.4626784,
|
|
"msecs": 462.0,
|
|
"relativeCreated": 14246.401082,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Setting state of videv/gfw/floor/main_light to True",
|
|
"asctime": "2025-08-18 22:07:30,462",
|
|
"moduleLogger": [],
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Value for shellies/gfw/floor/main_light is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547650.6637635,
|
|
"msecs": 663.0,
|
|
"relativeCreated": 14447.485954,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Value for shellies/gfw/floor/main_light is correct (Content True and Type is <class 'bool'>).",
|
|
"asctime": "2025-08-18 22:07:30,663",
|
|
"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",
|
|
"true"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547650.462807,
|
|
"msecs": 462.0,
|
|
"relativeCreated": 14246.529679,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic videv/gfw/floor/main_light/state/set and payload true",
|
|
"asctime": "2025-08-18 22:07:30,462"
|
|
},
|
|
{
|
|
"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'on'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547650.4653456,
|
|
"msecs": 465.0,
|
|
"relativeCreated": 14249.068034,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/gfw/floor/main_light/relay/0/command and payload b'on'",
|
|
"asctime": "2025-08-18 22:07:30,465"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547650.4656813,
|
|
"msecs": 465.0,
|
|
"relativeCreated": 14249.403957,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic shellies/gfw/floor/main_light/relay/0 and payload on",
|
|
"asctime": "2025-08-18 22:07:30,465"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547650.4666798,
|
|
"msecs": 466.0,
|
|
"relativeCreated": 14250.40244,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/gfw/floor/main_light/relay/0 and payload b'on'",
|
|
"asctime": "2025-08-18 22:07:30,466"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_gfw.gfw.floor.main_light_1.get",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_gfw/gfw/floor/main_light_1/get",
|
|
"b'{\"state\": \"\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547650.5083456,
|
|
"msecs": 508.0,
|
|
"relativeCreated": 14292.068142,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_gfw/gfw/floor/main_light_1/get and payload b'{\"state\": \"\"}'",
|
|
"asctime": "2025-08-18 22:07:30,508"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_gfw.gfw.floor.main_light_1",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_gfw/gfw/floor/main_light_1",
|
|
"{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547650.5086136,
|
|
"msecs": 508.0,
|
|
"relativeCreated": 14292.336262,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic zigbee_gfw/gfw/floor/main_light_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
|
|
"asctime": "2025-08-18 22:07:30,508"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_gfw.gfw.floor.main_light_2.get",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_gfw/gfw/floor/main_light_2/get",
|
|
"b'{\"state\": \"\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547650.5089786,
|
|
"msecs": 508.0,
|
|
"relativeCreated": 14292.701398,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_gfw/gfw/floor/main_light_2/get and payload b'{\"state\": \"\"}'",
|
|
"asctime": "2025-08-18 22:07:30,508"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_gfw.gfw.floor.main_light_2",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_gfw/gfw/floor/main_light_2",
|
|
"{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547650.5091052,
|
|
"msecs": 509.0,
|
|
"relativeCreated": 14292.82773,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic zigbee_gfw/gfw/floor/main_light_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
|
|
"asctime": "2025-08-18 22:07:30,509"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547650.509472,
|
|
"msecs": 509.0,
|
|
"relativeCreated": 14293.194616,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/gfw/floor/main_light/state and payload b'true'",
|
|
"asctime": "2025-08-18 22:07:30,509"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_gfw.gfw.floor.main_light_1",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_gfw/gfw/floor/main_light_1",
|
|
"b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547650.5098453,
|
|
"msecs": 509.0,
|
|
"relativeCreated": 14293.567932,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_gfw/gfw/floor/main_light_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
|
|
"asctime": "2025-08-18 22:07:30,509"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_gfw.gfw.floor.main_light_2",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_gfw/gfw/floor/main_light_2",
|
|
"b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547650.5100474,
|
|
"msecs": 510.0,
|
|
"relativeCreated": 14293.769989,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_gfw/gfw/floor/main_light_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
|
|
"asctime": "2025-08-18 22:07:30,510"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547650.550751,
|
|
"msecs": 550.0,
|
|
"relativeCreated": 14334.473661,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/gfw/floor/main_light/brightness and payload b'50'",
|
|
"asctime": "2025-08-18 22:07:30,550"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547650.5926397,
|
|
"msecs": 592.0,
|
|
"relativeCreated": 14376.362453,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/gfw/floor/main_light/color_temp and payload b'5'",
|
|
"asctime": "2025-08-18 22:07:30,592"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Value for shellies/gfw/floor/main_light",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547650.66355,
|
|
"msecs": 663.0,
|
|
"relativeCreated": 14447.272578,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Value for shellies/gfw/floor/main_light): True (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:30,663"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Value for shellies/gfw/floor/main_light",
|
|
"=",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547650.6637127,
|
|
"msecs": 663.0,
|
|
"relativeCreated": 14447.435465,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Value for shellies/gfw/floor/main_light): result = True (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:30,663"
|
|
}
|
|
],
|
|
"time_consumption": 5.078315734863281e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Setting state of %s to %s",
|
|
"args": [
|
|
"videv/gfw/floor/main_light",
|
|
"False"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "device_follow",
|
|
"created": 1755547650.6638749,
|
|
"msecs": 663.0,
|
|
"relativeCreated": 14447.597545,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Setting state of videv/gfw/floor/main_light to False",
|
|
"asctime": "2025-08-18 22:07:30,663",
|
|
"moduleLogger": [],
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Value for shellies/gfw/floor/main_light is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547650.864866,
|
|
"msecs": 864.0,
|
|
"relativeCreated": 14648.588703,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Value for shellies/gfw/floor/main_light is correct (Content False and Type is <class 'bool'>).",
|
|
"asctime": "2025-08-18 22:07:30,864",
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547650.6639793,
|
|
"msecs": 663.0,
|
|
"relativeCreated": 14447.701813,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic videv/gfw/floor/main_light/state/set and payload false",
|
|
"asctime": "2025-08-18 22:07:30,663"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547650.666604,
|
|
"msecs": 666.0,
|
|
"relativeCreated": 14450.32668,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/gfw/floor/main_light/relay/0/command and payload b'off'",
|
|
"asctime": "2025-08-18 22:07:30,666"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547650.6669145,
|
|
"msecs": 666.0,
|
|
"relativeCreated": 14450.637182,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic shellies/gfw/floor/main_light/relay/0 and payload off",
|
|
"asctime": "2025-08-18 22:07:30,666"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547650.667833,
|
|
"msecs": 667.0,
|
|
"relativeCreated": 14451.555756,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/gfw/floor/main_light/relay/0 and payload b'off'",
|
|
"asctime": "2025-08-18 22:07:30,667"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547650.7098258,
|
|
"msecs": 709.0,
|
|
"relativeCreated": 14493.548484,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/gfw/floor/main_light/state and payload b'false'",
|
|
"asctime": "2025-08-18 22:07:30,709"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Value for shellies/gfw/floor/main_light",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547650.8646524,
|
|
"msecs": 864.0,
|
|
"relativeCreated": 14648.374835,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Value for shellies/gfw/floor/main_light): False (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:30,864"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Value for shellies/gfw/floor/main_light",
|
|
"=",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547650.8648021,
|
|
"msecs": 864.0,
|
|
"relativeCreated": 14648.524549,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Value for shellies/gfw/floor/main_light): result = False (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:30,864"
|
|
}
|
|
],
|
|
"time_consumption": 6.389617919921875e-05
|
|
}
|
|
],
|
|
"time_consumption": 0.6038308143615723,
|
|
"time_start": "2025-08-18 22:07:30,261",
|
|
"time_finished": "2025-08-18 22:07:30,864"
|
|
},
|
|
"REQ-0322": {
|
|
"name": "__tLogger__",
|
|
"msg": "REQ-0322",
|
|
"args": null,
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/report/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 329,
|
|
"funcName": "testCase",
|
|
"created": 1755547650.8652167,
|
|
"msecs": 865.0,
|
|
"relativeCreated": 14648.939311,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "REQ-0322",
|
|
"asctime": "2025-08-18 22:07:30,865",
|
|
"moduleLogger": [],
|
|
"testcaseLogger": [
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Prepare: Setting devices to last state %s",
|
|
"args": [
|
|
"False"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 14,
|
|
"funcName": "device_follow",
|
|
"created": 1755547650.9657764,
|
|
"msecs": 965.0,
|
|
"relativeCreated": 14749.499112,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Prepare: Setting devices to last state False",
|
|
"asctime": "2025-08-18 22:07:30,965",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.floor.main_light.relay.0.set",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/floor/main_light/relay/0/set",
|
|
"false"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547650.8654242,
|
|
"msecs": 865.0,
|
|
"relativeCreated": 14649.146825,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic videv/gfw/floor/main_light/relay/0/set and payload false",
|
|
"asctime": "2025-08-18 22:07:30,865"
|
|
}
|
|
],
|
|
"time_consumption": 0.10035228729248047
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Start state (master, slave) is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547651.0666206,
|
|
"msecs": 66.0,
|
|
"relativeCreated": 14850.343159,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Start state (master, slave) is correct (Content (False, False) and Type is <class 'tuple'>).",
|
|
"asctime": "2025-08-18 22:07:31,066",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Start state (master, slave)",
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547651.0663714,
|
|
"msecs": 66.0,
|
|
"relativeCreated": 14850.093871,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Start state (master, slave)): (False, False) (<class 'tuple'>)",
|
|
"asctime": "2025-08-18 22:07:31,066"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Start state (master, slave)",
|
|
"=",
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547651.066559,
|
|
"msecs": 66.0,
|
|
"relativeCreated": 14850.281666,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Start state (master, slave)): result = (False, False) (<class 'tuple'>)",
|
|
"asctime": "2025-08-18 22:07:31,066"
|
|
}
|
|
],
|
|
"time_consumption": 6.151199340820312e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Setting state of %s to %s",
|
|
"args": [
|
|
"shellies/gfw/floor/main_light",
|
|
"True"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "device_follow",
|
|
"created": 1755547651.0667384,
|
|
"msecs": 66.0,
|
|
"relativeCreated": 14850.461095,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Setting state of shellies/gfw/floor/main_light to True",
|
|
"asctime": "2025-08-18 22:07:31,066",
|
|
"moduleLogger": [],
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Value for videv/gfw/floor/main_light is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547651.2684286,
|
|
"msecs": 268.0,
|
|
"relativeCreated": 15052.151099,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Value for videv/gfw/floor/main_light is correct (Content True and Type is <class 'bool'>).",
|
|
"asctime": "2025-08-18 22:07:31,268",
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547651.0669816,
|
|
"msecs": 66.0,
|
|
"relativeCreated": 14850.70429,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic shellies/gfw/floor/main_light/relay/0 and payload on",
|
|
"asctime": "2025-08-18 22:07:31,066"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547651.0680501,
|
|
"msecs": 68.0,
|
|
"relativeCreated": 14851.772707,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/gfw/floor/main_light/relay/0 and payload b'on'",
|
|
"asctime": "2025-08-18 22:07:31,068"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_gfw.gfw.floor.main_light_1.get",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_gfw/gfw/floor/main_light_1/get",
|
|
"b'{\"state\": \"\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547651.0701895,
|
|
"msecs": 70.0,
|
|
"relativeCreated": 14853.912225,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_gfw/gfw/floor/main_light_1/get and payload b'{\"state\": \"\"}'",
|
|
"asctime": "2025-08-18 22:07:31,070"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_gfw.gfw.floor.main_light_1",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_gfw/gfw/floor/main_light_1",
|
|
"{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547651.0703907,
|
|
"msecs": 70.0,
|
|
"relativeCreated": 14854.113332,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic zigbee_gfw/gfw/floor/main_light_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
|
|
"asctime": "2025-08-18 22:07:31,070"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_gfw.gfw.floor.main_light_2.get",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_gfw/gfw/floor/main_light_2/get",
|
|
"b'{\"state\": \"\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547651.0707226,
|
|
"msecs": 70.0,
|
|
"relativeCreated": 14854.445284,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_gfw/gfw/floor/main_light_2/get and payload b'{\"state\": \"\"}'",
|
|
"asctime": "2025-08-18 22:07:31,070"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_gfw.gfw.floor.main_light_2",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_gfw/gfw/floor/main_light_2",
|
|
"{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547651.070847,
|
|
"msecs": 70.0,
|
|
"relativeCreated": 14854.569705,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic zigbee_gfw/gfw/floor/main_light_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}",
|
|
"asctime": "2025-08-18 22:07:31,070"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547651.0712483,
|
|
"msecs": 71.0,
|
|
"relativeCreated": 14854.97089,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/gfw/floor/main_light/state and payload b'true'",
|
|
"asctime": "2025-08-18 22:07:31,071"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_gfw.gfw.floor.main_light_1",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_gfw/gfw/floor/main_light_1",
|
|
"b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547651.0716605,
|
|
"msecs": 71.0,
|
|
"relativeCreated": 14855.383088,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_gfw/gfw/floor/main_light_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
|
|
"asctime": "2025-08-18 22:07:31,071"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee_gfw.gfw.floor.main_light_2",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee_gfw/gfw/floor/main_light_2",
|
|
"b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547651.0718987,
|
|
"msecs": 71.0,
|
|
"relativeCreated": 14855.621181,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic zigbee_gfw/gfw/floor/main_light_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0}'",
|
|
"asctime": "2025-08-18 22:07:31,071"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Value for videv/gfw/floor/main_light",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547651.2682347,
|
|
"msecs": 268.0,
|
|
"relativeCreated": 15051.957299,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Value for videv/gfw/floor/main_light): True (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:31,268"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Value for videv/gfw/floor/main_light",
|
|
"=",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547651.2683766,
|
|
"msecs": 268.0,
|
|
"relativeCreated": 15052.099223,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Value for videv/gfw/floor/main_light): result = True (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:31,268"
|
|
}
|
|
],
|
|
"time_consumption": 5.1975250244140625e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Setting state of %s to %s",
|
|
"args": [
|
|
"shellies/gfw/floor/main_light",
|
|
"False"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "device_follow",
|
|
"created": 1755547651.268579,
|
|
"msecs": 268.0,
|
|
"relativeCreated": 15052.301725,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Setting state of shellies/gfw/floor/main_light to False",
|
|
"asctime": "2025-08-18 22:07:31,268",
|
|
"moduleLogger": [],
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Value for videv/gfw/floor/main_light is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547651.4704278,
|
|
"msecs": 470.0,
|
|
"relativeCreated": 15254.150374,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Value for videv/gfw/floor/main_light is correct (Content False and Type is <class 'bool'>).",
|
|
"asctime": "2025-08-18 22:07:31,470",
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547651.2688174,
|
|
"msecs": 268.0,
|
|
"relativeCreated": 15052.539959,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic shellies/gfw/floor/main_light/relay/0 and payload off",
|
|
"asctime": "2025-08-18 22:07:31,268"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547651.2698827,
|
|
"msecs": 269.0,
|
|
"relativeCreated": 15053.605272,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/gfw/floor/main_light/relay/0 and payload b'off'",
|
|
"asctime": "2025-08-18 22:07:31,269"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547651.2713387,
|
|
"msecs": 271.0,
|
|
"relativeCreated": 15055.061299,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/gfw/floor/main_light/state and payload b'false'",
|
|
"asctime": "2025-08-18 22:07:31,271"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Value for videv/gfw/floor/main_light",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547651.4702127,
|
|
"msecs": 470.0,
|
|
"relativeCreated": 15253.935348,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Value for videv/gfw/floor/main_light): False (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:31,470"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Value for videv/gfw/floor/main_light",
|
|
"=",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547651.4703681,
|
|
"msecs": 470.0,
|
|
"relativeCreated": 15254.090832,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Value for videv/gfw/floor/main_light): result = False (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:31,470"
|
|
}
|
|
],
|
|
"time_consumption": 5.9604644775390625e-05
|
|
}
|
|
],
|
|
"time_consumption": 0.6052110195159912,
|
|
"time_start": "2025-08-18 22:07:30,865",
|
|
"time_finished": "2025-08-18 22:07:31,470"
|
|
},
|
|
"REQ-0401": {
|
|
"name": "__tLogger__",
|
|
"msg": "REQ-0401",
|
|
"args": null,
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/report/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 329,
|
|
"funcName": "testCase",
|
|
"created": 1755547651.4707334,
|
|
"msecs": 470.0,
|
|
"relativeCreated": 15254.455872,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "REQ-0401",
|
|
"asctime": "2025-08-18 22:07:31,470",
|
|
"moduleLogger": [],
|
|
"testcaseLogger": [
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Prepare: Setting devices to last state %s",
|
|
"args": [
|
|
"False"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 14,
|
|
"funcName": "device_follow",
|
|
"created": 1755547651.571421,
|
|
"msecs": 571.0,
|
|
"relativeCreated": 15355.143507,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Prepare: Setting devices to last state False",
|
|
"asctime": "2025-08-18 22:07:31,571",
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547651.4708836,
|
|
"msecs": 470.0,
|
|
"relativeCreated": 15254.606316,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic videv/stw/stairway/main_light/state/set and payload false",
|
|
"asctime": "2025-08-18 22:07:31,470"
|
|
},
|
|
{
|
|
"name": "smart_brain.devices.shellies.stw.firstfloor.main_light",
|
|
"msg": "Unexpected key %s",
|
|
"args": [
|
|
"state"
|
|
],
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/base.py",
|
|
"filename": "base.py",
|
|
"module": "base",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 42,
|
|
"funcName": "set",
|
|
"created": 1755547651.471117,
|
|
"msecs": 471.0,
|
|
"relativeCreated": 15254.839668,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Unexpected key state",
|
|
"asctime": "2025-08-18 22:07:31,471"
|
|
}
|
|
],
|
|
"time_consumption": 0.10030388832092285
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Start state (master, slave) is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547651.672224,
|
|
"msecs": 672.0,
|
|
"relativeCreated": 15455.94673,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Start state (master, slave) is correct (Content (False, False) and Type is <class 'tuple'>).",
|
|
"asctime": "2025-08-18 22:07:31,672",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Start state (master, slave)",
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547651.671993,
|
|
"msecs": 671.0,
|
|
"relativeCreated": 15455.715586,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Start state (master, slave)): (False, False) (<class 'tuple'>)",
|
|
"asctime": "2025-08-18 22:07:31,671"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Start state (master, slave)",
|
|
"=",
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547651.6721365,
|
|
"msecs": 672.0,
|
|
"relativeCreated": 15455.859175,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Start state (master, slave)): result = (False, False) (<class 'tuple'>)",
|
|
"asctime": "2025-08-18 22:07:31,672"
|
|
}
|
|
],
|
|
"time_consumption": 8.749961853027344e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Setting state of %s to %s",
|
|
"args": [
|
|
"videv/stw/stairway/main_light",
|
|
"True"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "device_follow",
|
|
"created": 1755547651.6723328,
|
|
"msecs": 672.0,
|
|
"relativeCreated": 15456.055293,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Setting state of videv/stw/stairway/main_light to True",
|
|
"asctime": "2025-08-18 22:07:31,672",
|
|
"moduleLogger": [],
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Value for shellies/stw/firstfloor/main_light is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547651.873387,
|
|
"msecs": 873.0,
|
|
"relativeCreated": 15657.109532,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Value for shellies/stw/firstfloor/main_light is correct (Content True and Type is <class 'bool'>).",
|
|
"asctime": "2025-08-18 22:07:31,873",
|
|
"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",
|
|
"true"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547651.6724691,
|
|
"msecs": 672.0,
|
|
"relativeCreated": 15456.191847,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic videv/stw/stairway/main_light/state/set and payload true",
|
|
"asctime": "2025-08-18 22:07:31,672"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.shellies.stw.firstfloor.main_light.relay.0.command",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"shellies/stw/firstfloor/main_light/relay/0/command",
|
|
"b'on'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547651.6750872,
|
|
"msecs": 675.0,
|
|
"relativeCreated": 15458.809756,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/stw/firstfloor/main_light/relay/0/command and payload b'on'",
|
|
"asctime": "2025-08-18 22:07:31,675"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.shellies.stw.firstfloor.main_light.relay.0",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"shellies/stw/firstfloor/main_light/relay/0",
|
|
"on"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547651.6754756,
|
|
"msecs": 675.0,
|
|
"relativeCreated": 15459.198398,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic shellies/stw/firstfloor/main_light/relay/0 and payload on",
|
|
"asctime": "2025-08-18 22:07:31,675"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.shellies.stw.firstfloor.main_light.relay.0",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"shellies/stw/firstfloor/main_light/relay/0",
|
|
"b'on'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547651.6768572,
|
|
"msecs": 676.0,
|
|
"relativeCreated": 15460.579997,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/stw/firstfloor/main_light/relay/0 and payload b'on'",
|
|
"asctime": "2025-08-18 22:07:31,676"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547651.7184916,
|
|
"msecs": 718.0,
|
|
"relativeCreated": 15502.214308,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/stw/stairway/main_light/timer and payload b'100'",
|
|
"asctime": "2025-08-18 22:07:31,718"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547651.7587361,
|
|
"msecs": 758.0,
|
|
"relativeCreated": 15542.458844,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/stw/stairway/main_light/state and payload b'true'",
|
|
"asctime": "2025-08-18 22:07:31,758"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Value for shellies/stw/firstfloor/main_light",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547651.8731248,
|
|
"msecs": 873.0,
|
|
"relativeCreated": 15656.847509,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Value for shellies/stw/firstfloor/main_light): True (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:31,873"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Value for shellies/stw/firstfloor/main_light",
|
|
"=",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547651.8733315,
|
|
"msecs": 873.0,
|
|
"relativeCreated": 15657.054066,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Value for shellies/stw/firstfloor/main_light): result = True (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:31,873"
|
|
}
|
|
],
|
|
"time_consumption": 5.555152893066406e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Setting state of %s to %s",
|
|
"args": [
|
|
"videv/stw/stairway/main_light",
|
|
"False"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "device_follow",
|
|
"created": 1755547651.8735228,
|
|
"msecs": 873.0,
|
|
"relativeCreated": 15657.245236,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Setting state of videv/stw/stairway/main_light to False",
|
|
"asctime": "2025-08-18 22:07:31,873",
|
|
"moduleLogger": [],
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Value for shellies/stw/firstfloor/main_light is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547652.0744839,
|
|
"msecs": 74.0,
|
|
"relativeCreated": 15858.206459,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Value for shellies/stw/firstfloor/main_light is correct (Content False and Type is <class 'bool'>).",
|
|
"asctime": "2025-08-18 22:07:32,074",
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547651.8736336,
|
|
"msecs": 873.0,
|
|
"relativeCreated": 15657.356163,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic videv/stw/stairway/main_light/state/set and payload false",
|
|
"asctime": "2025-08-18 22:07:31,873"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.shellies.stw.firstfloor.main_light.relay.0.command",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"shellies/stw/firstfloor/main_light/relay/0/command",
|
|
"b'off'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547651.875929,
|
|
"msecs": 875.0,
|
|
"relativeCreated": 15659.651729,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/stw/firstfloor/main_light/relay/0/command and payload b'off'",
|
|
"asctime": "2025-08-18 22:07:31,875"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.shellies.stw.firstfloor.main_light.relay.0",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"shellies/stw/firstfloor/main_light/relay/0",
|
|
"off"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547651.8762774,
|
|
"msecs": 876.0,
|
|
"relativeCreated": 15660.00011,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic shellies/stw/firstfloor/main_light/relay/0 and payload off",
|
|
"asctime": "2025-08-18 22:07:31,876"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.shellies.stw.firstfloor.main_light.relay.0",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"shellies/stw/firstfloor/main_light/relay/0",
|
|
"b'off'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547651.8768852,
|
|
"msecs": 876.0,
|
|
"relativeCreated": 15660.607968,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/stw/firstfloor/main_light/relay/0 and payload b'off'",
|
|
"asctime": "2025-08-18 22:07:31,876"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.shellies.stw.firstfloor.main_light.relay.0.command",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"shellies/stw/firstfloor/main_light/relay/0/command",
|
|
"b'off'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547651.918214,
|
|
"msecs": 918.0,
|
|
"relativeCreated": 15701.936662,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/stw/firstfloor/main_light/relay/0/command and payload b'off'",
|
|
"asctime": "2025-08-18 22:07:31,918"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547651.918588,
|
|
"msecs": 918.0,
|
|
"relativeCreated": 15702.310466,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/stw/stairway/main_light/timer and payload b'0'",
|
|
"asctime": "2025-08-18 22:07:31,918"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547651.918939,
|
|
"msecs": 918.0,
|
|
"relativeCreated": 15702.661673,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/stw/stairway/main_light/state and payload b'false'",
|
|
"asctime": "2025-08-18 22:07:31,918"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Value for shellies/stw/firstfloor/main_light",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547652.0742834,
|
|
"msecs": 74.0,
|
|
"relativeCreated": 15858.005925,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Value for shellies/stw/firstfloor/main_light): False (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:32,074"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Value for shellies/stw/firstfloor/main_light",
|
|
"=",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547652.0744293,
|
|
"msecs": 74.0,
|
|
"relativeCreated": 15858.151866,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Value for shellies/stw/firstfloor/main_light): result = False (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:32,074"
|
|
}
|
|
],
|
|
"time_consumption": 5.459785461425781e-05
|
|
}
|
|
],
|
|
"time_consumption": 0.603750467300415,
|
|
"time_start": "2025-08-18 22:07:31,470",
|
|
"time_finished": "2025-08-18 22:07:32,074"
|
|
},
|
|
"REQ-0402": {
|
|
"name": "__tLogger__",
|
|
"msg": "REQ-0402",
|
|
"args": null,
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/report/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 329,
|
|
"funcName": "testCase",
|
|
"created": 1755547652.0747352,
|
|
"msecs": 74.0,
|
|
"relativeCreated": 15858.457639,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "REQ-0402",
|
|
"asctime": "2025-08-18 22:07:32,074",
|
|
"moduleLogger": [],
|
|
"testcaseLogger": [
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Prepare: Setting devices to last state %s",
|
|
"args": [
|
|
"False"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 14,
|
|
"funcName": "device_follow",
|
|
"created": 1755547652.1752453,
|
|
"msecs": 175.0,
|
|
"relativeCreated": 15958.96781,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Prepare: Setting devices to last state False",
|
|
"asctime": "2025-08-18 22:07:32,175",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "smart_brain.mqtt.videv.stw.stairway.main_light.relay.0.set",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/stw/stairway/main_light/relay/0/set",
|
|
"false"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547652.0749025,
|
|
"msecs": 74.0,
|
|
"relativeCreated": 15858.625168,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic videv/stw/stairway/main_light/relay/0/set and payload false",
|
|
"asctime": "2025-08-18 22:07:32,074"
|
|
}
|
|
],
|
|
"time_consumption": 0.1003427505493164
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Start state (master, slave) is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547652.2759163,
|
|
"msecs": 275.0,
|
|
"relativeCreated": 16059.638857,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Start state (master, slave) is correct (Content (False, False) and Type is <class 'tuple'>).",
|
|
"asctime": "2025-08-18 22:07:32,275",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Start state (master, slave)",
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547652.2756743,
|
|
"msecs": 275.0,
|
|
"relativeCreated": 16059.396892,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Start state (master, slave)): (False, False) (<class 'tuple'>)",
|
|
"asctime": "2025-08-18 22:07:32,275"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Start state (master, slave)",
|
|
"=",
|
|
"(False, False)",
|
|
"<class 'tuple'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547652.2758546,
|
|
"msecs": 275.0,
|
|
"relativeCreated": 16059.577272,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Start state (master, slave)): result = (False, False) (<class 'tuple'>)",
|
|
"asctime": "2025-08-18 22:07:32,275"
|
|
}
|
|
],
|
|
"time_consumption": 6.175041198730469e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Setting state of %s to %s",
|
|
"args": [
|
|
"shellies/stw/firstfloor/main_light",
|
|
"True"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "device_follow",
|
|
"created": 1755547652.276054,
|
|
"msecs": 276.0,
|
|
"relativeCreated": 16059.776579,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Setting state of shellies/stw/firstfloor/main_light to True",
|
|
"asctime": "2025-08-18 22:07:32,276",
|
|
"moduleLogger": [],
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Value for videv/stw/stairway/main_light is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547652.4772184,
|
|
"msecs": 477.0,
|
|
"relativeCreated": 16260.940832,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Value for videv/stw/stairway/main_light is correct (Content True and Type is <class 'bool'>).",
|
|
"asctime": "2025-08-18 22:07:32,477",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "smart_brain.mqtt.shellies.stw.firstfloor.main_light.relay.0",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"shellies/stw/firstfloor/main_light/relay/0",
|
|
"on"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547652.2763367,
|
|
"msecs": 276.0,
|
|
"relativeCreated": 16060.059371,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic shellies/stw/firstfloor/main_light/relay/0 and payload on",
|
|
"asctime": "2025-08-18 22:07:32,276"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.shellies.stw.firstfloor.main_light.relay.0",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"shellies/stw/firstfloor/main_light/relay/0",
|
|
"b'on'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547652.2772074,
|
|
"msecs": 277.0,
|
|
"relativeCreated": 16060.929805,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/stw/firstfloor/main_light/relay/0 and payload b'on'",
|
|
"asctime": "2025-08-18 22:07:32,277"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547652.2785466,
|
|
"msecs": 278.0,
|
|
"relativeCreated": 16062.2693,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/stw/stairway/main_light/timer and payload b'100'",
|
|
"asctime": "2025-08-18 22:07:32,278"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547652.2789502,
|
|
"msecs": 278.0,
|
|
"relativeCreated": 16062.672755,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/stw/stairway/main_light/state and payload b'true'",
|
|
"asctime": "2025-08-18 22:07:32,278"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Value for videv/stw/stairway/main_light",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547652.477017,
|
|
"msecs": 477.0,
|
|
"relativeCreated": 16260.739398,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Value for videv/stw/stairway/main_light): True (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:32,477"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Value for videv/stw/stairway/main_light",
|
|
"=",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547652.477147,
|
|
"msecs": 477.0,
|
|
"relativeCreated": 16260.869782,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Value for videv/stw/stairway/main_light): result = True (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:32,477"
|
|
}
|
|
],
|
|
"time_consumption": 7.128715515136719e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Setting state of %s to %s",
|
|
"args": [
|
|
"shellies/stw/firstfloor/main_light",
|
|
"False"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/tests/common_testcases.py",
|
|
"filename": "common_testcases.py",
|
|
"module": "common_testcases",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "device_follow",
|
|
"created": 1755547652.4773288,
|
|
"msecs": 477.0,
|
|
"relativeCreated": 16261.051534,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Setting state of shellies/stw/firstfloor/main_light to False",
|
|
"asctime": "2025-08-18 22:07:32,477",
|
|
"moduleLogger": [],
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Value for videv/stw/stairway/main_light is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 184,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1755547652.6782484,
|
|
"msecs": 678.0,
|
|
"relativeCreated": 16461.971188,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Value for videv/stw/stairway/main_light is correct (Content False and Type is <class 'bool'>).",
|
|
"asctime": "2025-08-18 22:07:32,678",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "smart_brain.mqtt.shellies.stw.firstfloor.main_light.relay.0",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"shellies/stw/firstfloor/main_light/relay/0",
|
|
"off"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1755547652.4775326,
|
|
"msecs": 477.0,
|
|
"relativeCreated": 16261.255206,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Sending message with topic shellies/stw/firstfloor/main_light/relay/0 and payload off",
|
|
"asctime": "2025-08-18 22:07:32,477"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.shellies.stw.firstfloor.main_light.relay.0",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"shellies/stw/firstfloor/main_light/relay/0",
|
|
"b'off'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547652.478328,
|
|
"msecs": 478.0,
|
|
"relativeCreated": 16262.050675,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/stw/firstfloor/main_light/relay/0 and payload b'off'",
|
|
"asctime": "2025-08-18 22:07:32,478"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.shellies.stw.firstfloor.main_light.relay.0.command",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"shellies/stw/firstfloor/main_light/relay/0/command",
|
|
"b'off'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547652.479959,
|
|
"msecs": 479.0,
|
|
"relativeCreated": 16263.681768,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic shellies/stw/firstfloor/main_light/relay/0/command and payload b'off'",
|
|
"asctime": "2025-08-18 22:07:32,479"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547652.480427,
|
|
"msecs": 480.0,
|
|
"relativeCreated": 16264.149665,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/stw/stairway/main_light/timer and payload b'0'",
|
|
"asctime": "2025-08-18 22:07:32,480"
|
|
},
|
|
{
|
|
"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/work/smarthome_collection/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 92,
|
|
"funcName": "__receive__",
|
|
"created": 1755547652.4809747,
|
|
"msecs": 480.0,
|
|
"relativeCreated": 16264.697162,
|
|
"thread": 136004334606016,
|
|
"threadName": "paho-mqtt-client-",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Received message with topic videv/stw/stairway/main_light/state and payload b'false'",
|
|
"asctime": "2025-08-18 22:07:32,480"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Value for videv/stw/stairway/main_light",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1755547652.6780245,
|
|
"msecs": 678.0,
|
|
"relativeCreated": 16461.747169,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Result (Value for videv/stw/stairway/main_light): False (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:32,678"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Value for videv/stw/stairway/main_light",
|
|
"=",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/work/smarthome_collection/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1755547652.6781907,
|
|
"msecs": 678.0,
|
|
"relativeCreated": 16461.913303,
|
|
"thread": 136004360450304,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 1201385,
|
|
"taskName": null,
|
|
"message": "Expectation (Value for videv/stw/stairway/main_light): result = False (<class 'bool'>)",
|
|
"asctime": "2025-08-18 22:07:32,678"
|
|
}
|
|
],
|
|
"time_consumption": 5.7697296142578125e-05
|
|
}
|
|
],
|
|
"time_consumption": 0.603513240814209,
|
|
"time_start": "2025-08-18 22:07:32,074",
|
|
"time_finished": "2025-08-18 22:07:32,678"
|
|
}
|
|
},
|
|
"uid_list_sorted": [
|
|
"Clean-Up",
|
|
"REQ-0001",
|
|
"REQ-0002",
|
|
"REQ-0011",
|
|
"REQ-0012",
|
|
"REQ-0021",
|
|
"REQ-0022",
|
|
"REQ-0031",
|
|
"REQ-0032",
|
|
"REQ-0041",
|
|
"REQ-0042",
|
|
"REQ-0101",
|
|
"REQ-0102",
|
|
"REQ-0111",
|
|
"REQ-0112",
|
|
"REQ-0121",
|
|
"REQ-0122",
|
|
"REQ-0141",
|
|
"REQ-0142",
|
|
"REQ-0301",
|
|
"REQ-0302",
|
|
"REQ-0311",
|
|
"REQ-0312",
|
|
"REQ-0321",
|
|
"REQ-0322",
|
|
"REQ-0401",
|
|
"REQ-0402"
|
|
]
|
|
}
|
|
]
|
|
} |