6409 行
380 KiB
JSON
6409 行
380 KiB
JSON
{
|
|
"time_consumption": 4.510141134262085,
|
|
"name": "Default Testsession name",
|
|
"number_of_successfull_tests": 5,
|
|
"number_of_possibly_failed_tests": 0,
|
|
"number_of_tests": 5,
|
|
"number_of_failed_tests": 0,
|
|
"testcase_execution_level": 90,
|
|
"testcase_names": {
|
|
"0": "Single Test",
|
|
"10": "Smoke Test (Minumum subset)",
|
|
"50": "Short Test (Subset)",
|
|
"90": "Full Test (all defined tests)"
|
|
},
|
|
"testcases": {
|
|
"Away mode test: zigbee/gfw/dirk/heating_valve": {
|
|
"name": "__tLogger__",
|
|
"msg": "Away mode test: zigbee/gfw/dirk/heating_valve",
|
|
"args": null,
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
|
|
"filename": "heating.py",
|
|
"module": "heating",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 84,
|
|
"funcName": "test_away_mode",
|
|
"created": 1675925582.5665169,
|
|
"msecs": 566.5168762207031,
|
|
"relativeCreated": 225.42428970336914,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Away mode test: zigbee/gfw/dirk/heating_valve",
|
|
"asctime": "2023-02-09 07:53:02,566",
|
|
"moduleLogger": [],
|
|
"testcaseLogger": [
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Setting preconditions (Default setpoint)",
|
|
"args": [],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
|
|
"filename": "heating.py",
|
|
"module": "heating",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 89,
|
|
"funcName": "__test_away_mode__",
|
|
"created": 1675925582.867079,
|
|
"msecs": 867.0790195465088,
|
|
"relativeCreated": 525.9864330291748,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Setting preconditions (Default setpoint)",
|
|
"asctime": "2023-02-09 07:53:02,867",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.set_default_temperature",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/set_default_temperature",
|
|
"true"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1675925582.5666273,
|
|
"msecs": 566.6272640228271,
|
|
"relativeCreated": 225.53467750549316,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Sending message with topic videv/gfw/dirk/heating_valve/set_default_temperature and payload true",
|
|
"asctime": "2023-02-09 07:53:02,566"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.set_default_temperature",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/set_default_temperature",
|
|
"b'true'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925582.5669632,
|
|
"msecs": 566.9631958007812,
|
|
"relativeCreated": 225.87060928344727,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/set_default_temperature and payload b'true'",
|
|
"asctime": "2023-02-09 07:53:02,566"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.user_temperature_setpoint",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/user_temperature_setpoint",
|
|
"b'25'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925582.6099102,
|
|
"msecs": 609.910249710083,
|
|
"relativeCreated": 268.817663192749,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/user_temperature_setpoint and payload b'25'",
|
|
"asctime": "2023-02-09 07:53:02,609"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/__info__",
|
|
"b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925582.610063,
|
|
"msecs": 610.0630760192871,
|
|
"relativeCreated": 268.9704895019531,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
|
|
"asctime": "2023-02-09 07:53:02,610"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve.set",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee/gfw/dirk/heating_valve/set",
|
|
"b'{\"current_heating_setpoint\": 25}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925582.6101818,
|
|
"msecs": 610.1818084716797,
|
|
"relativeCreated": 269.0892219543457,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{\"current_heating_setpoint\": 25}'",
|
|
"asctime": "2023-02-09 07:53:02,610"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee/gfw/dirk/heating_valve",
|
|
"{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1675925582.6102495,
|
|
"msecs": 610.2495193481445,
|
|
"relativeCreated": 269.15693283081055,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Sending message with topic zigbee/gfw/dirk/heating_valve and payload {\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
|
|
"asctime": "2023-02-09 07:53:02,610"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.valve_temperature_setpoint",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/valve_temperature_setpoint",
|
|
"b'25'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925582.6103683,
|
|
"msecs": 610.3682518005371,
|
|
"relativeCreated": 269.2756652832031,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'25'",
|
|
"asctime": "2023-02-09 07:53:02,610"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/__info__",
|
|
"b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925582.6105063,
|
|
"msecs": 610.5062961578369,
|
|
"relativeCreated": 269.41370964050293,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
|
|
"asctime": "2023-02-09 07:53:02,610"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee/gfw/dirk/heating_valve",
|
|
"b'{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925582.6106107,
|
|
"msecs": 610.6107234954834,
|
|
"relativeCreated": 269.5181369781494,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
|
|
"asctime": "2023-02-09 07:53:02,610"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.temperature",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/temperature",
|
|
"b'20.7'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925582.6538856,
|
|
"msecs": 653.8856029510498,
|
|
"relativeCreated": 312.7930164337158,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/temperature and payload b'20.7'",
|
|
"asctime": "2023-02-09 07:53:02,653"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/__info__",
|
|
"b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925582.6619573,
|
|
"msecs": 661.9572639465332,
|
|
"relativeCreated": 320.8646774291992,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
|
|
"asctime": "2023-02-09 07:53:02,661"
|
|
}
|
|
],
|
|
"time_consumption": 0.20512175559997559
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Away mode is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 187,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1675925582.8671947,
|
|
"msecs": 867.194652557373,
|
|
"relativeCreated": 526.1020660400391,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Away mode is correct (Content False and Type is <class 'bool'>).",
|
|
"asctime": "2023-02-09 07:53:02,867",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Away mode",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1675925582.8671472,
|
|
"msecs": 867.1472072601318,
|
|
"relativeCreated": 526.0546207427979,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Result (Away mode): False (<class 'bool'>)",
|
|
"asctime": "2023-02-09 07:53:02,867"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Away mode",
|
|
"=",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1675925582.8671727,
|
|
"msecs": 867.1727180480957,
|
|
"relativeCreated": 526.0801315307617,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Expectation (Away mode): result = False (<class 'bool'>)",
|
|
"asctime": "2023-02-09 07:53:02,867"
|
|
}
|
|
],
|
|
"time_consumption": 2.193450927734375e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Activating away mode",
|
|
"args": [],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
|
|
"filename": "heating.py",
|
|
"module": "heating",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 96,
|
|
"funcName": "__test_away_mode__",
|
|
"created": 1675925583.167663,
|
|
"msecs": 167.6630973815918,
|
|
"relativeCreated": 826.5705108642578,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Activating away mode",
|
|
"asctime": "2023-02-09 07:53:03,167",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.away_mode",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/away_mode",
|
|
"true"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1675925582.86725,
|
|
"msecs": 867.2499656677246,
|
|
"relativeCreated": 526.1573791503906,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Sending message with topic videv/gfw/dirk/heating_valve/away_mode and payload true",
|
|
"asctime": "2023-02-09 07:53:02,867"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.away_mode",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/away_mode",
|
|
"b'true'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925582.8675106,
|
|
"msecs": 867.5105571746826,
|
|
"relativeCreated": 526.4179706573486,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/away_mode and payload b'true'",
|
|
"asctime": "2023-02-09 07:53:02,867"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve.set",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee/gfw/dirk/heating_valve/set",
|
|
"b'{\"current_heating_setpoint\": 20}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925582.8755705,
|
|
"msecs": 875.57053565979,
|
|
"relativeCreated": 534.477949142456,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{\"current_heating_setpoint\": 20}'",
|
|
"asctime": "2023-02-09 07:53:02,875"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee/gfw/dirk/heating_valve",
|
|
"{\"current_heating_setpoint\": 20, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1675925582.8756511,
|
|
"msecs": 875.6511211395264,
|
|
"relativeCreated": 534.5585346221924,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Sending message with topic zigbee/gfw/dirk/heating_valve and payload {\"current_heating_setpoint\": 20, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
|
|
"asctime": "2023-02-09 07:53:02,875"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.valve_temperature_setpoint",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/valve_temperature_setpoint",
|
|
"b'20'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925582.8757725,
|
|
"msecs": 875.7724761962891,
|
|
"relativeCreated": 534.6798896789551,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'20'",
|
|
"asctime": "2023-02-09 07:53:02,875"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/__info__",
|
|
"b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925582.8759103,
|
|
"msecs": 875.9102821350098,
|
|
"relativeCreated": 534.8176956176758,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
|
|
"asctime": "2023-02-09 07:53:02,875"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.away_mode",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/away_mode",
|
|
"b'true'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925582.8760147,
|
|
"msecs": 876.0147094726562,
|
|
"relativeCreated": 534.9221229553223,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/away_mode and payload b'true'",
|
|
"asctime": "2023-02-09 07:53:02,876"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/__info__",
|
|
"b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925582.8761184,
|
|
"msecs": 876.1184215545654,
|
|
"relativeCreated": 535.0258350372314,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
|
|
"asctime": "2023-02-09 07:53:02,876"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee/gfw/dirk/heating_valve",
|
|
"b'{\"current_heating_setpoint\": 20, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925582.8762197,
|
|
"msecs": 876.2197494506836,
|
|
"relativeCreated": 535.1271629333496,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{\"current_heating_setpoint\": 20, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
|
|
"asctime": "2023-02-09 07:53:02,876"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.temperature",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/temperature",
|
|
"b'20.7'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925582.9184706,
|
|
"msecs": 918.4706211090088,
|
|
"relativeCreated": 577.3780345916748,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/temperature and payload b'20.7'",
|
|
"asctime": "2023-02-09 07:53:02,918"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/__info__",
|
|
"b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925582.9621384,
|
|
"msecs": 962.1384143829346,
|
|
"relativeCreated": 621.0458278656006,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
|
|
"asctime": "2023-02-09 07:53:02,962"
|
|
}
|
|
],
|
|
"time_consumption": 0.20552468299865723
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Away mode is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 187,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1675925583.167804,
|
|
"msecs": 167.80400276184082,
|
|
"relativeCreated": 826.7114162445068,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Away mode is correct (Content True and Type is <class 'bool'>).",
|
|
"asctime": "2023-02-09 07:53:03,167",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Away mode",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1675925583.167752,
|
|
"msecs": 167.75202751159668,
|
|
"relativeCreated": 826.6594409942627,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Result (Away mode): True (<class 'bool'>)",
|
|
"asctime": "2023-02-09 07:53:03,167"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Away mode",
|
|
"=",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1675925583.1677833,
|
|
"msecs": 167.78326034545898,
|
|
"relativeCreated": 826.690673828125,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Expectation (Away mode): result = True (<class 'bool'>)",
|
|
"asctime": "2023-02-09 07:53:03,167"
|
|
}
|
|
],
|
|
"time_consumption": 2.0742416381835938e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Temperature setpoint is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"20",
|
|
"<class 'int'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 187,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1675925583.1678667,
|
|
"msecs": 167.86670684814453,
|
|
"relativeCreated": 826.7741203308105,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Temperature setpoint is correct (Content 20 and Type is <class 'int'>).",
|
|
"asctime": "2023-02-09 07:53:03,167",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Temperature setpoint",
|
|
"20",
|
|
"<class 'int'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1675925583.1678333,
|
|
"msecs": 167.8333282470703,
|
|
"relativeCreated": 826.7407417297363,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Result (Temperature setpoint): 20 (<class 'int'>)",
|
|
"asctime": "2023-02-09 07:53:03,167"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Temperature setpoint",
|
|
"=",
|
|
"20",
|
|
"<class 'int'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1675925583.1678507,
|
|
"msecs": 167.85073280334473,
|
|
"relativeCreated": 826.7581462860107,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Expectation (Temperature setpoint): result = 20 (<class 'int'>)",
|
|
"asctime": "2023-02-09 07:53:03,167"
|
|
}
|
|
],
|
|
"time_consumption": 1.5974044799804688e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Deactivating away mode",
|
|
"args": [],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
|
|
"filename": "heating.py",
|
|
"module": "heating",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 102,
|
|
"funcName": "__test_away_mode__",
|
|
"created": 1675925583.4683464,
|
|
"msecs": 468.34635734558105,
|
|
"relativeCreated": 1127.253770828247,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Deactivating away mode",
|
|
"asctime": "2023-02-09 07:53:03,468",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.away_mode",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/away_mode",
|
|
"false"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1675925583.1679265,
|
|
"msecs": 167.92654991149902,
|
|
"relativeCreated": 826.833963394165,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Sending message with topic videv/gfw/dirk/heating_valve/away_mode and payload false",
|
|
"asctime": "2023-02-09 07:53:03,167"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.away_mode",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/away_mode",
|
|
"b'false'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925583.168239,
|
|
"msecs": 168.23911666870117,
|
|
"relativeCreated": 827.1465301513672,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/away_mode and payload b'false'",
|
|
"asctime": "2023-02-09 07:53:03,168"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve.set",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee/gfw/dirk/heating_valve/set",
|
|
"b'{\"current_heating_setpoint\": 25}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925583.1735659,
|
|
"msecs": 173.56586456298828,
|
|
"relativeCreated": 832.4732780456543,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{\"current_heating_setpoint\": 25}'",
|
|
"asctime": "2023-02-09 07:53:03,173"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee/gfw/dirk/heating_valve",
|
|
"{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1675925583.1736534,
|
|
"msecs": 173.65336418151855,
|
|
"relativeCreated": 832.5607776641846,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Sending message with topic zigbee/gfw/dirk/heating_valve and payload {\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
|
|
"asctime": "2023-02-09 07:53:03,173"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.valve_temperature_setpoint",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/valve_temperature_setpoint",
|
|
"b'25'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925583.1737728,
|
|
"msecs": 173.77281188964844,
|
|
"relativeCreated": 832.6802253723145,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'25'",
|
|
"asctime": "2023-02-09 07:53:03,173"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/__info__",
|
|
"b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925583.1739187,
|
|
"msecs": 173.9187240600586,
|
|
"relativeCreated": 832.8261375427246,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
|
|
"asctime": "2023-02-09 07:53:03,173"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.away_mode",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/away_mode",
|
|
"b'false'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925583.1740298,
|
|
"msecs": 174.02982711791992,
|
|
"relativeCreated": 832.9372406005859,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/away_mode and payload b'false'",
|
|
"asctime": "2023-02-09 07:53:03,174"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/__info__",
|
|
"b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925583.1741362,
|
|
"msecs": 174.13616180419922,
|
|
"relativeCreated": 833.0435752868652,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
|
|
"asctime": "2023-02-09 07:53:03,174"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee/gfw/dirk/heating_valve",
|
|
"b'{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925583.1742375,
|
|
"msecs": 174.23748970031738,
|
|
"relativeCreated": 833.1449031829834,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
|
|
"asctime": "2023-02-09 07:53:03,174"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.temperature",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/temperature",
|
|
"b'20.7'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925583.2178812,
|
|
"msecs": 217.8812026977539,
|
|
"relativeCreated": 876.7886161804199,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/temperature and payload b'20.7'",
|
|
"asctime": "2023-02-09 07:53:03,217"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/__info__",
|
|
"b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925583.257957,
|
|
"msecs": 257.95698165893555,
|
|
"relativeCreated": 916.8643951416016,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
|
|
"asctime": "2023-02-09 07:53:03,257"
|
|
}
|
|
],
|
|
"time_consumption": 0.2103893756866455
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Away mode is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 187,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1675925583.4684498,
|
|
"msecs": 468.44983100891113,
|
|
"relativeCreated": 1127.3572444915771,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Away mode is correct (Content False and Type is <class 'bool'>).",
|
|
"asctime": "2023-02-09 07:53:03,468",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Away mode",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1675925583.4684064,
|
|
"msecs": 468.40643882751465,
|
|
"relativeCreated": 1127.3138523101807,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Result (Away mode): False (<class 'bool'>)",
|
|
"asctime": "2023-02-09 07:53:03,468"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Away mode",
|
|
"=",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1675925583.4684303,
|
|
"msecs": 468.4302806854248,
|
|
"relativeCreated": 1127.3376941680908,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Expectation (Away mode): result = False (<class 'bool'>)",
|
|
"asctime": "2023-02-09 07:53:03,468"
|
|
}
|
|
],
|
|
"time_consumption": 1.9550323486328125e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Temperature setpoint is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"25",
|
|
"<class 'int'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 187,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1675925583.4685166,
|
|
"msecs": 468.51658821105957,
|
|
"relativeCreated": 1127.4240016937256,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Temperature setpoint is correct (Content 25 and Type is <class 'int'>).",
|
|
"asctime": "2023-02-09 07:53:03,468",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Temperature setpoint",
|
|
"25",
|
|
"<class 'int'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1675925583.4684794,
|
|
"msecs": 468.4793949127197,
|
|
"relativeCreated": 1127.3868083953857,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Result (Temperature setpoint): 25 (<class 'int'>)",
|
|
"asctime": "2023-02-09 07:53:03,468"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Temperature setpoint",
|
|
"=",
|
|
"25",
|
|
"<class 'int'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1675925583.4684963,
|
|
"msecs": 468.49632263183594,
|
|
"relativeCreated": 1127.403736114502,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Expectation (Temperature setpoint): result = 25 (<class 'int'>)",
|
|
"asctime": "2023-02-09 07:53:03,468"
|
|
}
|
|
],
|
|
"time_consumption": 2.0265579223632812e-05
|
|
}
|
|
],
|
|
"time_consumption": 0.9019997119903564,
|
|
"time_start": "2023-02-09 07:53:02,566",
|
|
"time_finished": "2023-02-09 07:53:03,468"
|
|
},
|
|
"Boost mode test: zigbee/gfw/dirk/heating_valve": {
|
|
"name": "__tLogger__",
|
|
"msg": "Boost mode test: zigbee/gfw/dirk/heating_valve",
|
|
"args": null,
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
|
|
"filename": "heating.py",
|
|
"module": "heating",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 107,
|
|
"funcName": "test_boost_mode",
|
|
"created": 1675925583.4686012,
|
|
"msecs": 468.6012268066406,
|
|
"relativeCreated": 1127.5086402893066,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Boost mode test: zigbee/gfw/dirk/heating_valve",
|
|
"asctime": "2023-02-09 07:53:03,468",
|
|
"moduleLogger": [],
|
|
"testcaseLogger": [
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Setting preconditions (Default setpoint)",
|
|
"args": [],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
|
|
"filename": "heating.py",
|
|
"module": "heating",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 112,
|
|
"funcName": "__test_boost_mode__",
|
|
"created": 1675925583.7690794,
|
|
"msecs": 769.0794467926025,
|
|
"relativeCreated": 1427.9868602752686,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Setting preconditions (Default setpoint)",
|
|
"asctime": "2023-02-09 07:53:03,769",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.set_default_temperature",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/set_default_temperature",
|
|
"true"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1675925583.4686506,
|
|
"msecs": 468.65057945251465,
|
|
"relativeCreated": 1127.5579929351807,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Sending message with topic videv/gfw/dirk/heating_valve/set_default_temperature and payload true",
|
|
"asctime": "2023-02-09 07:53:03,468"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.set_default_temperature",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/set_default_temperature",
|
|
"b'true'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925583.4689183,
|
|
"msecs": 468.9183235168457,
|
|
"relativeCreated": 1127.8257369995117,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/set_default_temperature and payload b'true'",
|
|
"asctime": "2023-02-09 07:53:03,468"
|
|
}
|
|
],
|
|
"time_consumption": 0.30016112327575684
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Boost timer is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"0",
|
|
"<class 'int'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 187,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1675925583.7692595,
|
|
"msecs": 769.2594528198242,
|
|
"relativeCreated": 1428.1668663024902,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Boost timer is correct (Content 0 and Type is <class 'int'>).",
|
|
"asctime": "2023-02-09 07:53:03,769",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Boost timer",
|
|
"0",
|
|
"<class 'int'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1675925583.7692025,
|
|
"msecs": 769.202470779419,
|
|
"relativeCreated": 1428.109884262085,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Result (Boost timer): 0 (<class 'int'>)",
|
|
"asctime": "2023-02-09 07:53:03,769"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Boost timer",
|
|
"=",
|
|
"0",
|
|
"<class 'int'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1675925583.7692382,
|
|
"msecs": 769.2382335662842,
|
|
"relativeCreated": 1428.1456470489502,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Expectation (Boost timer): result = 0 (<class 'int'>)",
|
|
"asctime": "2023-02-09 07:53:03,769"
|
|
}
|
|
],
|
|
"time_consumption": 2.1219253540039062e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Activating boost mode",
|
|
"args": [],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
|
|
"filename": "heating.py",
|
|
"module": "heating",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 119,
|
|
"funcName": "__test_boost_mode__",
|
|
"created": 1675925584.0697818,
|
|
"msecs": 69.78178024291992,
|
|
"relativeCreated": 1728.689193725586,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Activating boost mode",
|
|
"asctime": "2023-02-09 07:53:04,069",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.start_boost",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/start_boost",
|
|
"true"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1675925583.7693286,
|
|
"msecs": 769.3285942077637,
|
|
"relativeCreated": 1428.2360076904297,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Sending message with topic videv/gfw/dirk/heating_valve/start_boost and payload true",
|
|
"asctime": "2023-02-09 07:53:03,769"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.start_boost",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/start_boost",
|
|
"b'true'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925583.7696679,
|
|
"msecs": 769.6678638458252,
|
|
"relativeCreated": 1428.5752773284912,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/start_boost and payload b'true'",
|
|
"asctime": "2023-02-09 07:53:03,769"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.boost_timer",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/boost_timer",
|
|
"b'900'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925583.7746215,
|
|
"msecs": 774.6214866638184,
|
|
"relativeCreated": 1433.5289001464844,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/boost_timer and payload b'900'",
|
|
"asctime": "2023-02-09 07:53:03,774"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/__info__",
|
|
"b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925583.7747583,
|
|
"msecs": 774.7583389282227,
|
|
"relativeCreated": 1433.6657524108887,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
|
|
"asctime": "2023-02-09 07:53:03,774"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve.set",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee/gfw/dirk/heating_valve/set",
|
|
"b'{\"current_heating_setpoint\": 30}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925583.7748682,
|
|
"msecs": 774.8682498931885,
|
|
"relativeCreated": 1433.7756633758545,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{\"current_heating_setpoint\": 30}'",
|
|
"asctime": "2023-02-09 07:53:03,774"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee/gfw/dirk/heating_valve",
|
|
"{\"current_heating_setpoint\": 30, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1675925583.7749352,
|
|
"msecs": 774.935245513916,
|
|
"relativeCreated": 1433.842658996582,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Sending message with topic zigbee/gfw/dirk/heating_valve and payload {\"current_heating_setpoint\": 30, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
|
|
"asctime": "2023-02-09 07:53:03,774"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.valve_temperature_setpoint",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/valve_temperature_setpoint",
|
|
"b'30'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925583.7750514,
|
|
"msecs": 775.0513553619385,
|
|
"relativeCreated": 1433.9587688446045,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'30'",
|
|
"asctime": "2023-02-09 07:53:03,775"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/__info__",
|
|
"b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925583.7751899,
|
|
"msecs": 775.1898765563965,
|
|
"relativeCreated": 1434.0972900390625,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
|
|
"asctime": "2023-02-09 07:53:03,775"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee/gfw/dirk/heating_valve",
|
|
"b'{\"current_heating_setpoint\": 30, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925583.7752998,
|
|
"msecs": 775.2997875213623,
|
|
"relativeCreated": 1434.2072010040283,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{\"current_heating_setpoint\": 30, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
|
|
"asctime": "2023-02-09 07:53:03,775"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.temperature",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/temperature",
|
|
"b'20.7'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925583.8184676,
|
|
"msecs": 818.4676170349121,
|
|
"relativeCreated": 1477.3750305175781,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/temperature and payload b'20.7'",
|
|
"asctime": "2023-02-09 07:53:03,818"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/__info__",
|
|
"b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925583.8619397,
|
|
"msecs": 861.9396686553955,
|
|
"relativeCreated": 1520.8470821380615,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
|
|
"asctime": "2023-02-09 07:53:03,861"
|
|
}
|
|
],
|
|
"time_consumption": 0.20784211158752441
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Boost timer is greater expectation (Content %s and Type is %s).",
|
|
"args": [
|
|
"900",
|
|
"<class 'int'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 233,
|
|
"funcName": "greater_chk",
|
|
"created": 1675925584.069899,
|
|
"msecs": 69.89908218383789,
|
|
"relativeCreated": 1728.806495666504,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Boost timer is greater expectation (Content 900 and Type is <class 'int'>).",
|
|
"asctime": "2023-02-09 07:53:04,069",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Boost timer",
|
|
"900",
|
|
"<class 'int'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1675925584.0698516,
|
|
"msecs": 69.85163688659668,
|
|
"relativeCreated": 1728.7590503692627,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Result (Boost timer): 900 (<class 'int'>)",
|
|
"asctime": "2023-02-09 07:53:04,069"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Boost timer",
|
|
">",
|
|
"0",
|
|
"<class 'int'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1675925584.069877,
|
|
"msecs": 69.87690925598145,
|
|
"relativeCreated": 1728.7843227386475,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Expectation (Boost timer): result > 0 (<class 'int'>)",
|
|
"asctime": "2023-02-09 07:53:04,069"
|
|
}
|
|
],
|
|
"time_consumption": 2.2172927856445312e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Setting postconditions (Default setpoint)",
|
|
"args": [],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
|
|
"filename": "heating.py",
|
|
"module": "heating",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 124,
|
|
"funcName": "__test_boost_mode__",
|
|
"created": 1675925584.370348,
|
|
"msecs": 370.3479766845703,
|
|
"relativeCreated": 2029.2553901672363,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Setting postconditions (Default setpoint)",
|
|
"asctime": "2023-02-09 07:53:04,370",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.set_default_temperature",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/set_default_temperature",
|
|
"true"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1675925584.0699458,
|
|
"msecs": 69.9458122253418,
|
|
"relativeCreated": 1728.8532257080078,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Sending message with topic videv/gfw/dirk/heating_valve/set_default_temperature and payload true",
|
|
"asctime": "2023-02-09 07:53:04,069"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.set_default_temperature",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/set_default_temperature",
|
|
"b'true'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925584.0701907,
|
|
"msecs": 70.1906681060791,
|
|
"relativeCreated": 1729.0980815887451,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/set_default_temperature and payload b'true'",
|
|
"asctime": "2023-02-09 07:53:04,070"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.boost_timer",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/boost_timer",
|
|
"b'0'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925584.0754447,
|
|
"msecs": 75.44469833374023,
|
|
"relativeCreated": 1734.3521118164062,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/boost_timer and payload b'0'",
|
|
"asctime": "2023-02-09 07:53:04,075"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/__info__",
|
|
"b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925584.075583,
|
|
"msecs": 75.58298110961914,
|
|
"relativeCreated": 1734.4903945922852,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
|
|
"asctime": "2023-02-09 07:53:04,075"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve.set",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee/gfw/dirk/heating_valve/set",
|
|
"b'{\"current_heating_setpoint\": 25}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925584.075693,
|
|
"msecs": 75.69289207458496,
|
|
"relativeCreated": 1734.600305557251,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{\"current_heating_setpoint\": 25}'",
|
|
"asctime": "2023-02-09 07:53:04,075"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee/gfw/dirk/heating_valve",
|
|
"{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1675925584.0757575,
|
|
"msecs": 75.75750350952148,
|
|
"relativeCreated": 1734.6649169921875,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Sending message with topic zigbee/gfw/dirk/heating_valve and payload {\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
|
|
"asctime": "2023-02-09 07:53:04,075"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.valve_temperature_setpoint",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/valve_temperature_setpoint",
|
|
"b'25'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925584.0758739,
|
|
"msecs": 75.87385177612305,
|
|
"relativeCreated": 1734.781265258789,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'25'",
|
|
"asctime": "2023-02-09 07:53:04,075"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/__info__",
|
|
"b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925584.076011,
|
|
"msecs": 76.01094245910645,
|
|
"relativeCreated": 1734.9183559417725,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
|
|
"asctime": "2023-02-09 07:53:04,076"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee/gfw/dirk/heating_valve",
|
|
"b'{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925584.0761154,
|
|
"msecs": 76.11536979675293,
|
|
"relativeCreated": 1735.022783279419,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
|
|
"asctime": "2023-02-09 07:53:04,076"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.temperature",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/temperature",
|
|
"b'20.7'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925584.1191726,
|
|
"msecs": 119.17257308959961,
|
|
"relativeCreated": 1778.0799865722656,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/temperature and payload b'20.7'",
|
|
"asctime": "2023-02-09 07:53:04,119"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/__info__",
|
|
"b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925584.1620932,
|
|
"msecs": 162.0931625366211,
|
|
"relativeCreated": 1821.000576019287,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
|
|
"asctime": "2023-02-09 07:53:04,162"
|
|
}
|
|
],
|
|
"time_consumption": 0.20825481414794922
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Boost timer is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"0",
|
|
"<class 'int'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 187,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1675925584.3704777,
|
|
"msecs": 370.47767639160156,
|
|
"relativeCreated": 2029.3850898742676,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Boost timer is correct (Content 0 and Type is <class 'int'>).",
|
|
"asctime": "2023-02-09 07:53:04,370",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Boost timer",
|
|
"0",
|
|
"<class 'int'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1675925584.370432,
|
|
"msecs": 370.43190002441406,
|
|
"relativeCreated": 2029.33931350708,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Result (Boost timer): 0 (<class 'int'>)",
|
|
"asctime": "2023-02-09 07:53:04,370"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Boost timer",
|
|
"=",
|
|
"0",
|
|
"<class 'int'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1675925584.3704572,
|
|
"msecs": 370.4571723937988,
|
|
"relativeCreated": 2029.3645858764648,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Expectation (Boost timer): result = 0 (<class 'int'>)",
|
|
"asctime": "2023-02-09 07:53:04,370"
|
|
}
|
|
],
|
|
"time_consumption": 2.0503997802734375e-05
|
|
}
|
|
],
|
|
"time_consumption": 0.9018764495849609,
|
|
"time_start": "2023-02-09 07:53:03,468",
|
|
"time_finished": "2023-02-09 07:53:04,370"
|
|
},
|
|
"Default temperature test for device and virtual device: zigbee/gfw/dirk/heating_valve": {
|
|
"name": "__tLogger__",
|
|
"msg": "Default temperature test for device and virtual device: zigbee/gfw/dirk/heating_valve",
|
|
"args": null,
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
|
|
"filename": "heating.py",
|
|
"module": "heating",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 41,
|
|
"funcName": "test_default_temperature",
|
|
"created": 1675925584.370561,
|
|
"msecs": 370.560884475708,
|
|
"relativeCreated": 2029.468297958374,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Default temperature test for device and virtual device: zigbee/gfw/dirk/heating_valve",
|
|
"asctime": "2023-02-09 07:53:04,370",
|
|
"moduleLogger": [],
|
|
"testcaseLogger": [
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Setting preconditions (Valve setpoint to %.1f)",
|
|
"args": [
|
|
20
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
|
|
"filename": "heating.py",
|
|
"module": "heating",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 51,
|
|
"funcName": "__test_default_temperature__",
|
|
"created": 1675925584.6710901,
|
|
"msecs": 671.0901260375977,
|
|
"relativeCreated": 2329.9975395202637,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Setting preconditions (Valve setpoint to 20.0)",
|
|
"asctime": "2023-02-09 07:53:04,671",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee/gfw/dirk/heating_valve",
|
|
"{\"current_heating_setpoint\": 20, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1675925584.370647,
|
|
"msecs": 370.6469535827637,
|
|
"relativeCreated": 2029.5543670654297,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Sending message with topic zigbee/gfw/dirk/heating_valve and payload {\"current_heating_setpoint\": 20, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
|
|
"asctime": "2023-02-09 07:53:04,370"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee/gfw/dirk/heating_valve",
|
|
"b'{\"current_heating_setpoint\": 20, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925584.370929,
|
|
"msecs": 370.9290027618408,
|
|
"relativeCreated": 2029.8364162445068,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{\"current_heating_setpoint\": 20, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
|
|
"asctime": "2023-02-09 07:53:04,370"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve.set",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee/gfw/dirk/heating_valve/set",
|
|
"b'{\"current_heating_setpoint\": 20}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925584.3802192,
|
|
"msecs": 380.2192211151123,
|
|
"relativeCreated": 2039.1266345977783,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{\"current_heating_setpoint\": 20}'",
|
|
"asctime": "2023-02-09 07:53:04,380"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.valve_temperature_setpoint",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/valve_temperature_setpoint",
|
|
"b'20'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925584.3803585,
|
|
"msecs": 380.3584575653076,
|
|
"relativeCreated": 2039.2658710479736,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'20'",
|
|
"asctime": "2023-02-09 07:53:04,380"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/__info__",
|
|
"b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925584.3804786,
|
|
"msecs": 380.4786205291748,
|
|
"relativeCreated": 2039.3860340118408,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
|
|
"asctime": "2023-02-09 07:53:04,380"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.user_temperature_setpoint",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/user_temperature_setpoint",
|
|
"b'20'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925584.380585,
|
|
"msecs": 380.5849552154541,
|
|
"relativeCreated": 2039.4923686981201,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/user_temperature_setpoint and payload b'20'",
|
|
"asctime": "2023-02-09 07:53:04,380"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/__info__",
|
|
"b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925584.3806925,
|
|
"msecs": 380.6924819946289,
|
|
"relativeCreated": 2039.599895477295,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
|
|
"asctime": "2023-02-09 07:53:04,380"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.temperature",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/temperature",
|
|
"b'20.7'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925584.380794,
|
|
"msecs": 380.7940483093262,
|
|
"relativeCreated": 2039.7014617919922,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/temperature and payload b'20.7'",
|
|
"asctime": "2023-02-09 07:53:04,380"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/__info__",
|
|
"b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925584.3808963,
|
|
"msecs": 380.89632987976074,
|
|
"relativeCreated": 2039.8037433624268,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
|
|
"asctime": "2023-02-09 07:53:04,380"
|
|
}
|
|
],
|
|
"time_consumption": 0.2901937961578369
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Valve temperature setpoint (is not default temperature) is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 187,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1675925584.671298,
|
|
"msecs": 671.2980270385742,
|
|
"relativeCreated": 2330.2054405212402,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Valve temperature setpoint (is not default temperature) is correct (Content True and Type is <class 'bool'>).",
|
|
"asctime": "2023-02-09 07:53:04,671",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Valve temperature setpoint (is not default temperature)",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1675925584.6712503,
|
|
"msecs": 671.2503433227539,
|
|
"relativeCreated": 2330.15775680542,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Result (Valve temperature setpoint (is not default temperature)): True (<class 'bool'>)",
|
|
"asctime": "2023-02-09 07:53:04,671"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Valve temperature setpoint (is not default temperature)",
|
|
"=",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1675925584.671277,
|
|
"msecs": 671.2770462036133,
|
|
"relativeCreated": 2330.1844596862793,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Expectation (Valve temperature setpoint (is not default temperature)): result = True (<class 'bool'>)",
|
|
"asctime": "2023-02-09 07:53:04,671"
|
|
}
|
|
],
|
|
"time_consumption": 2.09808349609375e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Triggering set to default temperature (%.1f)",
|
|
"args": [
|
|
25
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
|
|
"filename": "heating.py",
|
|
"module": "heating",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 57,
|
|
"funcName": "__test_default_temperature__",
|
|
"created": 1675925584.971841,
|
|
"msecs": 971.8410968780518,
|
|
"relativeCreated": 2630.748510360718,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Triggering set to default temperature (25.0)",
|
|
"asctime": "2023-02-09 07:53:04,971",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.set_default_temperature",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/set_default_temperature",
|
|
"true"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1675925584.6713634,
|
|
"msecs": 671.363353729248,
|
|
"relativeCreated": 2330.270767211914,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Sending message with topic videv/gfw/dirk/heating_valve/set_default_temperature and payload true",
|
|
"asctime": "2023-02-09 07:53:04,671"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.set_default_temperature",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/set_default_temperature",
|
|
"b'true'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925584.671677,
|
|
"msecs": 671.6771125793457,
|
|
"relativeCreated": 2330.5845260620117,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/set_default_temperature and payload b'true'",
|
|
"asctime": "2023-02-09 07:53:04,671"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.user_temperature_setpoint",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/user_temperature_setpoint",
|
|
"b'25'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925584.679565,
|
|
"msecs": 679.5649528503418,
|
|
"relativeCreated": 2338.472366333008,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/user_temperature_setpoint and payload b'25'",
|
|
"asctime": "2023-02-09 07:53:04,679"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/__info__",
|
|
"b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925584.679705,
|
|
"msecs": 679.7049045562744,
|
|
"relativeCreated": 2338.6123180389404,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
|
|
"asctime": "2023-02-09 07:53:04,679"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve.set",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee/gfw/dirk/heating_valve/set",
|
|
"b'{\"current_heating_setpoint\": 25}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925584.6798174,
|
|
"msecs": 679.8174381256104,
|
|
"relativeCreated": 2338.7248516082764,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{\"current_heating_setpoint\": 25}'",
|
|
"asctime": "2023-02-09 07:53:04,679"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee/gfw/dirk/heating_valve",
|
|
"{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1675925584.679884,
|
|
"msecs": 679.8839569091797,
|
|
"relativeCreated": 2338.7913703918457,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Sending message with topic zigbee/gfw/dirk/heating_valve and payload {\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
|
|
"asctime": "2023-02-09 07:53:04,679"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.valve_temperature_setpoint",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/valve_temperature_setpoint",
|
|
"b'25'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925584.6800041,
|
|
"msecs": 680.0041198730469,
|
|
"relativeCreated": 2338.911533355713,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'25'",
|
|
"asctime": "2023-02-09 07:53:04,680"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/__info__",
|
|
"b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925584.6801374,
|
|
"msecs": 680.1373958587646,
|
|
"relativeCreated": 2339.0448093414307,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
|
|
"asctime": "2023-02-09 07:53:04,680"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee/gfw/dirk/heating_valve",
|
|
"b'{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925584.6802452,
|
|
"msecs": 680.2451610565186,
|
|
"relativeCreated": 2339.1525745391846,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
|
|
"asctime": "2023-02-09 07:53:04,680"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.temperature",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/temperature",
|
|
"b'20.7'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925584.721885,
|
|
"msecs": 721.8849658966064,
|
|
"relativeCreated": 2380.7923793792725,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/temperature and payload b'20.7'",
|
|
"asctime": "2023-02-09 07:53:04,721"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/__info__",
|
|
"b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925584.7220044,
|
|
"msecs": 722.0044136047363,
|
|
"relativeCreated": 2380.9118270874023,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
|
|
"asctime": "2023-02-09 07:53:04,722"
|
|
}
|
|
],
|
|
"time_consumption": 0.24983668327331543
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Valve temperature setpoint is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"25",
|
|
"<class 'int'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 187,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1675925584.972043,
|
|
"msecs": 972.0430374145508,
|
|
"relativeCreated": 2630.950450897217,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Valve temperature setpoint is correct (Content 25 and Type is <class 'int'>).",
|
|
"asctime": "2023-02-09 07:53:04,972",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Valve temperature setpoint",
|
|
"25",
|
|
"<class 'int'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1675925584.9719915,
|
|
"msecs": 971.9915390014648,
|
|
"relativeCreated": 2630.898952484131,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Result (Valve temperature setpoint): 25 (<class 'int'>)",
|
|
"asctime": "2023-02-09 07:53:04,971"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Valve temperature setpoint",
|
|
"=",
|
|
"25",
|
|
"<class 'int'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1675925584.9720218,
|
|
"msecs": 972.0218181610107,
|
|
"relativeCreated": 2630.9292316436768,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Expectation (Valve temperature setpoint): result = 25 (<class 'int'>)",
|
|
"asctime": "2023-02-09 07:53:04,972"
|
|
}
|
|
],
|
|
"time_consumption": 2.1219253540039062e-05
|
|
}
|
|
],
|
|
"time_consumption": 0.6014821529388428,
|
|
"time_start": "2023-02-09 07:53:04,370",
|
|
"time_finished": "2023-02-09 07:53:04,972"
|
|
},
|
|
"Summer mode test: zigbee/gfw/dirk/heating_valve": {
|
|
"name": "__tLogger__",
|
|
"msg": "Summer mode test: zigbee/gfw/dirk/heating_valve",
|
|
"args": null,
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
|
|
"filename": "heating.py",
|
|
"module": "heating",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 61,
|
|
"funcName": "test_summer_mode",
|
|
"created": 1675925584.9721286,
|
|
"msecs": 972.1286296844482,
|
|
"relativeCreated": 2631.0360431671143,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Summer mode test: zigbee/gfw/dirk/heating_valve",
|
|
"asctime": "2023-02-09 07:53:04,972",
|
|
"moduleLogger": [],
|
|
"testcaseLogger": [
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Setting preconditions (Default setpoint)",
|
|
"args": [],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
|
|
"filename": "heating.py",
|
|
"module": "heating",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 66,
|
|
"funcName": "__test_summer_mode__",
|
|
"created": 1675925585.2726793,
|
|
"msecs": 272.67932891845703,
|
|
"relativeCreated": 2931.586742401123,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Setting preconditions (Default setpoint)",
|
|
"asctime": "2023-02-09 07:53:05,272",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.set_default_temperature",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/set_default_temperature",
|
|
"true"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1675925584.9722052,
|
|
"msecs": 972.2051620483398,
|
|
"relativeCreated": 2631.112575531006,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Sending message with topic videv/gfw/dirk/heating_valve/set_default_temperature and payload true",
|
|
"asctime": "2023-02-09 07:53:04,972"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.set_default_temperature",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/set_default_temperature",
|
|
"b'true'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925584.9725227,
|
|
"msecs": 972.5227355957031,
|
|
"relativeCreated": 2631.430149078369,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/set_default_temperature and payload b'true'",
|
|
"asctime": "2023-02-09 07:53:04,972"
|
|
}
|
|
],
|
|
"time_consumption": 0.3001565933227539
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Summer mode is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 187,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1675925585.27286,
|
|
"msecs": 272.860050201416,
|
|
"relativeCreated": 2931.767463684082,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Summer mode is correct (Content False and Type is <class 'bool'>).",
|
|
"asctime": "2023-02-09 07:53:05,272",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Summer mode",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1675925585.2728128,
|
|
"msecs": 272.8128433227539,
|
|
"relativeCreated": 2931.72025680542,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Result (Summer mode): False (<class 'bool'>)",
|
|
"asctime": "2023-02-09 07:53:05,272"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Summer mode",
|
|
"=",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1675925585.272839,
|
|
"msecs": 272.8390693664551,
|
|
"relativeCreated": 2931.746482849121,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Expectation (Summer mode): result = False (<class 'bool'>)",
|
|
"asctime": "2023-02-09 07:53:05,272"
|
|
}
|
|
],
|
|
"time_consumption": 2.09808349609375e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Activating summer mode",
|
|
"args": [],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
|
|
"filename": "heating.py",
|
|
"module": "heating",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 73,
|
|
"funcName": "__test_summer_mode__",
|
|
"created": 1675925585.573399,
|
|
"msecs": 573.3990669250488,
|
|
"relativeCreated": 3232.306480407715,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Activating summer mode",
|
|
"asctime": "2023-02-09 07:53:05,573",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.summer_mode",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/summer_mode",
|
|
"true"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1675925585.2729404,
|
|
"msecs": 272.94039726257324,
|
|
"relativeCreated": 2931.8478107452393,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Sending message with topic videv/gfw/dirk/heating_valve/summer_mode and payload true",
|
|
"asctime": "2023-02-09 07:53:05,272"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.summer_mode",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/summer_mode",
|
|
"b'true'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925585.273286,
|
|
"msecs": 273.2861042022705,
|
|
"relativeCreated": 2932.1935176849365,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/summer_mode and payload b'true'",
|
|
"asctime": "2023-02-09 07:53:05,273"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve.set",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee/gfw/dirk/heating_valve/set",
|
|
"b'{\"current_heating_setpoint\": 5}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925585.2825596,
|
|
"msecs": 282.5596332550049,
|
|
"relativeCreated": 2941.467046737671,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{\"current_heating_setpoint\": 5}'",
|
|
"asctime": "2023-02-09 07:53:05,282"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee/gfw/dirk/heating_valve",
|
|
"{\"current_heating_setpoint\": 5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1675925585.2826548,
|
|
"msecs": 282.6547622680664,
|
|
"relativeCreated": 2941.5621757507324,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Sending message with topic zigbee/gfw/dirk/heating_valve and payload {\"current_heating_setpoint\": 5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
|
|
"asctime": "2023-02-09 07:53:05,282"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.valve_temperature_setpoint",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/valve_temperature_setpoint",
|
|
"b'5'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925585.282786,
|
|
"msecs": 282.78589248657227,
|
|
"relativeCreated": 2941.6933059692383,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'5'",
|
|
"asctime": "2023-02-09 07:53:05,282"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/__info__",
|
|
"b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925585.282926,
|
|
"msecs": 282.926082611084,
|
|
"relativeCreated": 2941.83349609375,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
|
|
"asctime": "2023-02-09 07:53:05,282"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.summer_mode",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/summer_mode",
|
|
"b'true'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925585.2830346,
|
|
"msecs": 283.0345630645752,
|
|
"relativeCreated": 2941.941976547241,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/summer_mode and payload b'true'",
|
|
"asctime": "2023-02-09 07:53:05,283"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/__info__",
|
|
"b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925585.2831364,
|
|
"msecs": 283.13636779785156,
|
|
"relativeCreated": 2942.0437812805176,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
|
|
"asctime": "2023-02-09 07:53:05,283"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee/gfw/dirk/heating_valve",
|
|
"b'{\"current_heating_setpoint\": 5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925585.2832384,
|
|
"msecs": 283.23841094970703,
|
|
"relativeCreated": 2942.145824432373,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{\"current_heating_setpoint\": 5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
|
|
"asctime": "2023-02-09 07:53:05,283"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.temperature",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/temperature",
|
|
"b'20.7'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925585.3267515,
|
|
"msecs": 326.7514705657959,
|
|
"relativeCreated": 2985.658884048462,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/temperature and payload b'20.7'",
|
|
"asctime": "2023-02-09 07:53:05,326"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/__info__",
|
|
"b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925585.370112,
|
|
"msecs": 370.11194229125977,
|
|
"relativeCreated": 3029.019355773926,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
|
|
"asctime": "2023-02-09 07:53:05,370"
|
|
}
|
|
],
|
|
"time_consumption": 0.20328712463378906
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Summer mode is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 187,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1675925585.5735488,
|
|
"msecs": 573.5487937927246,
|
|
"relativeCreated": 3232.4562072753906,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Summer mode is correct (Content True and Type is <class 'bool'>).",
|
|
"asctime": "2023-02-09 07:53:05,573",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Summer mode",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1675925585.5735009,
|
|
"msecs": 573.5008716583252,
|
|
"relativeCreated": 3232.408285140991,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Result (Summer mode): True (<class 'bool'>)",
|
|
"asctime": "2023-02-09 07:53:05,573"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Summer mode",
|
|
"=",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1675925585.5735278,
|
|
"msecs": 573.5278129577637,
|
|
"relativeCreated": 3232.4352264404297,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Expectation (Summer mode): result = True (<class 'bool'>)",
|
|
"asctime": "2023-02-09 07:53:05,573"
|
|
}
|
|
],
|
|
"time_consumption": 2.09808349609375e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Temperature setpoint is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 187,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1675925585.5736187,
|
|
"msecs": 573.6186504364014,
|
|
"relativeCreated": 3232.5260639190674,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Temperature setpoint is correct (Content 5 and Type is <class 'int'>).",
|
|
"asctime": "2023-02-09 07:53:05,573",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Temperature setpoint",
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1675925585.5735857,
|
|
"msecs": 573.5857486724854,
|
|
"relativeCreated": 3232.4931621551514,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Result (Temperature setpoint): 5 (<class 'int'>)",
|
|
"asctime": "2023-02-09 07:53:05,573"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Temperature setpoint",
|
|
"=",
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1675925585.5736032,
|
|
"msecs": 573.6031532287598,
|
|
"relativeCreated": 3232.510566711426,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Expectation (Temperature setpoint): result = 5 (<class 'int'>)",
|
|
"asctime": "2023-02-09 07:53:05,573"
|
|
}
|
|
],
|
|
"time_consumption": 1.5497207641601562e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Deactivating summer mode",
|
|
"args": [],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
|
|
"filename": "heating.py",
|
|
"module": "heating",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 79,
|
|
"funcName": "__test_summer_mode__",
|
|
"created": 1675925585.8738317,
|
|
"msecs": 873.8317489624023,
|
|
"relativeCreated": 3532.7391624450684,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Deactivating summer mode",
|
|
"asctime": "2023-02-09 07:53:05,873",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.summer_mode",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/summer_mode",
|
|
"false"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1675925585.5736837,
|
|
"msecs": 573.6837387084961,
|
|
"relativeCreated": 3232.591152191162,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Sending message with topic videv/gfw/dirk/heating_valve/summer_mode and payload false",
|
|
"asctime": "2023-02-09 07:53:05,573"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.summer_mode",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/summer_mode",
|
|
"b'false'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925585.5740187,
|
|
"msecs": 574.0187168121338,
|
|
"relativeCreated": 3232.9261302948,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/summer_mode and payload b'false'",
|
|
"asctime": "2023-02-09 07:53:05,574"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve.set",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee/gfw/dirk/heating_valve/set",
|
|
"b'{\"current_heating_setpoint\": 25}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925585.578195,
|
|
"msecs": 578.1950950622559,
|
|
"relativeCreated": 3237.102508544922,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{\"current_heating_setpoint\": 25}'",
|
|
"asctime": "2023-02-09 07:53:05,578"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee/gfw/dirk/heating_valve",
|
|
"{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1675925585.5784128,
|
|
"msecs": 578.4127712249756,
|
|
"relativeCreated": 3237.3201847076416,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Sending message with topic zigbee/gfw/dirk/heating_valve and payload {\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
|
|
"asctime": "2023-02-09 07:53:05,578"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.valve_temperature_setpoint",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/valve_temperature_setpoint",
|
|
"b'25'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925585.5785358,
|
|
"msecs": 578.535795211792,
|
|
"relativeCreated": 3237.443208694458,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'25'",
|
|
"asctime": "2023-02-09 07:53:05,578"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/__info__",
|
|
"b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925585.5786755,
|
|
"msecs": 578.6755084991455,
|
|
"relativeCreated": 3237.5829219818115,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
|
|
"asctime": "2023-02-09 07:53:05,578"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.summer_mode",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/summer_mode",
|
|
"b'false'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925585.5787823,
|
|
"msecs": 578.782320022583,
|
|
"relativeCreated": 3237.689733505249,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/summer_mode and payload b'false'",
|
|
"asctime": "2023-02-09 07:53:05,578"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/__info__",
|
|
"b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925585.578885,
|
|
"msecs": 578.8850784301758,
|
|
"relativeCreated": 3237.792491912842,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
|
|
"asctime": "2023-02-09 07:53:05,578"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee/gfw/dirk/heating_valve",
|
|
"b'{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925585.5789874,
|
|
"msecs": 578.9873600006104,
|
|
"relativeCreated": 3237.8947734832764,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
|
|
"asctime": "2023-02-09 07:53:05,578"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.temperature",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/temperature",
|
|
"b'20.7'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925585.6233873,
|
|
"msecs": 623.387336730957,
|
|
"relativeCreated": 3282.294750213623,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/temperature and payload b'20.7'",
|
|
"asctime": "2023-02-09 07:53:05,623"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/__info__",
|
|
"b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925585.6661093,
|
|
"msecs": 666.1093235015869,
|
|
"relativeCreated": 3325.016736984253,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
|
|
"asctime": "2023-02-09 07:53:05,666"
|
|
}
|
|
],
|
|
"time_consumption": 0.20772242546081543
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Summer mode is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 187,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1675925585.8739414,
|
|
"msecs": 873.9414215087891,
|
|
"relativeCreated": 3532.848834991455,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Summer mode is correct (Content False and Type is <class 'bool'>).",
|
|
"asctime": "2023-02-09 07:53:05,873",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Summer mode",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1675925585.873897,
|
|
"msecs": 873.8970756530762,
|
|
"relativeCreated": 3532.804489135742,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Result (Summer mode): False (<class 'bool'>)",
|
|
"asctime": "2023-02-09 07:53:05,873"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Summer mode",
|
|
"=",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1675925585.8739216,
|
|
"msecs": 873.9216327667236,
|
|
"relativeCreated": 3532.8290462493896,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Expectation (Summer mode): result = False (<class 'bool'>)",
|
|
"asctime": "2023-02-09 07:53:05,873"
|
|
}
|
|
],
|
|
"time_consumption": 1.9788742065429688e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Temperature setpoint is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"25",
|
|
"<class 'int'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 187,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1675925585.874005,
|
|
"msecs": 874.0050792694092,
|
|
"relativeCreated": 3532.912492752075,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Temperature setpoint is correct (Content 25 and Type is <class 'int'>).",
|
|
"asctime": "2023-02-09 07:53:05,874",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Temperature setpoint",
|
|
"25",
|
|
"<class 'int'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1675925585.8739712,
|
|
"msecs": 873.9712238311768,
|
|
"relativeCreated": 3532.878637313843,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Result (Temperature setpoint): 25 (<class 'int'>)",
|
|
"asctime": "2023-02-09 07:53:05,873"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Temperature setpoint",
|
|
"=",
|
|
"25",
|
|
"<class 'int'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1675925585.8739889,
|
|
"msecs": 873.9888668060303,
|
|
"relativeCreated": 3532.8962802886963,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Expectation (Temperature setpoint): result = 25 (<class 'int'>)",
|
|
"asctime": "2023-02-09 07:53:05,873"
|
|
}
|
|
],
|
|
"time_consumption": 1.621246337890625e-05
|
|
}
|
|
],
|
|
"time_consumption": 0.9018764495849609,
|
|
"time_start": "2023-02-09 07:53:04,972",
|
|
"time_finished": "2023-02-09 07:53:05,874"
|
|
},
|
|
"User temperature setpoint test for device and virtual device: zigbee/gfw/dirk/heating_valve": {
|
|
"name": "__tLogger__",
|
|
"msg": "User temperature setpoint test for device and virtual device: zigbee/gfw/dirk/heating_valve",
|
|
"args": null,
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
|
|
"filename": "heating.py",
|
|
"module": "heating",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 17,
|
|
"funcName": "test_user_temperature_setpoint",
|
|
"created": 1675925585.8740854,
|
|
"msecs": 874.0854263305664,
|
|
"relativeCreated": 3532.9928398132324,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "User temperature setpoint test for device and virtual device: zigbee/gfw/dirk/heating_valve",
|
|
"asctime": "2023-02-09 07:53:05,874",
|
|
"moduleLogger": [],
|
|
"testcaseLogger": [
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Changing valve temperature setpoint to '%.1f'",
|
|
"args": [
|
|
20
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
|
|
"filename": "heating.py",
|
|
"module": "heating",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 28,
|
|
"funcName": "__test_user_temperature_setpoint__",
|
|
"created": 1675925586.1745794,
|
|
"msecs": 174.57938194274902,
|
|
"relativeCreated": 3833.486795425415,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Changing valve temperature setpoint to '20.0'",
|
|
"asctime": "2023-02-09 07:53:06,174",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee/gfw/dirk/heating_valve",
|
|
"{\"current_heating_setpoint\": 20, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1675925585.8741488,
|
|
"msecs": 874.1488456726074,
|
|
"relativeCreated": 3533.0562591552734,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Sending message with topic zigbee/gfw/dirk/heating_valve and payload {\"current_heating_setpoint\": 20, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
|
|
"asctime": "2023-02-09 07:53:05,874"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee/gfw/dirk/heating_valve",
|
|
"b'{\"current_heating_setpoint\": 20, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925585.8744133,
|
|
"msecs": 874.413251876831,
|
|
"relativeCreated": 3533.320665359497,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{\"current_heating_setpoint\": 20, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
|
|
"asctime": "2023-02-09 07:53:05,874"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve.set",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee/gfw/dirk/heating_valve/set",
|
|
"b'{\"current_heating_setpoint\": 20}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925585.8834255,
|
|
"msecs": 883.4254741668701,
|
|
"relativeCreated": 3542.332887649536,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{\"current_heating_setpoint\": 20}'",
|
|
"asctime": "2023-02-09 07:53:05,883"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.valve_temperature_setpoint",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/valve_temperature_setpoint",
|
|
"b'20'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925585.8835523,
|
|
"msecs": 883.5523128509521,
|
|
"relativeCreated": 3542.459726333618,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'20'",
|
|
"asctime": "2023-02-09 07:53:05,883"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/__info__",
|
|
"b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925585.8836708,
|
|
"msecs": 883.6708068847656,
|
|
"relativeCreated": 3542.5782203674316,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
|
|
"asctime": "2023-02-09 07:53:05,883"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.user_temperature_setpoint",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/user_temperature_setpoint",
|
|
"b'20'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925585.8837757,
|
|
"msecs": 883.7757110595703,
|
|
"relativeCreated": 3542.6831245422363,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/user_temperature_setpoint and payload b'20'",
|
|
"asctime": "2023-02-09 07:53:05,883"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/__info__",
|
|
"b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925585.883883,
|
|
"msecs": 883.882999420166,
|
|
"relativeCreated": 3542.790412902832,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
|
|
"asctime": "2023-02-09 07:53:05,883"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.temperature",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/temperature",
|
|
"b'20.7'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925585.8839839,
|
|
"msecs": 883.983850479126,
|
|
"relativeCreated": 3542.891263961792,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/temperature and payload b'20.7'",
|
|
"asctime": "2023-02-09 07:53:05,883"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/__info__",
|
|
"b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925585.8840861,
|
|
"msecs": 884.0861320495605,
|
|
"relativeCreated": 3542.9935455322266,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
|
|
"asctime": "2023-02-09 07:53:05,884"
|
|
}
|
|
],
|
|
"time_consumption": 0.2904932498931885
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Virtual device valve temperature is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"20",
|
|
"<class 'int'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 187,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1675925586.1747766,
|
|
"msecs": 174.77655410766602,
|
|
"relativeCreated": 3833.683967590332,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Virtual device valve temperature is correct (Content 20 and Type is <class 'int'>).",
|
|
"asctime": "2023-02-09 07:53:06,174",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Virtual device valve temperature",
|
|
"20",
|
|
"<class 'int'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1675925586.1747246,
|
|
"msecs": 174.72457885742188,
|
|
"relativeCreated": 3833.631992340088,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Result (Virtual device valve temperature): 20 (<class 'int'>)",
|
|
"asctime": "2023-02-09 07:53:06,174"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Virtual device valve temperature",
|
|
"=",
|
|
"20",
|
|
"<class 'int'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1675925586.1747553,
|
|
"msecs": 174.75533485412598,
|
|
"relativeCreated": 3833.662748336792,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Expectation (Virtual device valve temperature): result = 20 (<class 'int'>)",
|
|
"asctime": "2023-02-09 07:53:06,174"
|
|
}
|
|
],
|
|
"time_consumption": 2.1219253540039062e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Virtual device user temperature is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"20",
|
|
"<class 'int'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 187,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1675925586.1748476,
|
|
"msecs": 174.84760284423828,
|
|
"relativeCreated": 3833.7550163269043,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Virtual device user temperature is correct (Content 20 and Type is <class 'int'>).",
|
|
"asctime": "2023-02-09 07:53:06,174",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Virtual device user temperature",
|
|
"20",
|
|
"<class 'int'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1675925586.174813,
|
|
"msecs": 174.81303215026855,
|
|
"relativeCreated": 3833.7204456329346,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Result (Virtual device user temperature): 20 (<class 'int'>)",
|
|
"asctime": "2023-02-09 07:53:06,174"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Virtual device user temperature",
|
|
"=",
|
|
"20",
|
|
"<class 'int'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1675925586.1748304,
|
|
"msecs": 174.83043670654297,
|
|
"relativeCreated": 3833.737850189209,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Expectation (Virtual device user temperature): result = 20 (<class 'int'>)",
|
|
"asctime": "2023-02-09 07:53:06,174"
|
|
}
|
|
],
|
|
"time_consumption": 1.71661376953125e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Changing videv user temperature setpoint to '%.1f'",
|
|
"args": [
|
|
25
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
|
|
"filename": "heating.py",
|
|
"module": "heating",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 36,
|
|
"funcName": "__test_user_temperature_setpoint__",
|
|
"created": 1675925586.4753644,
|
|
"msecs": 475.36444664001465,
|
|
"relativeCreated": 4134.271860122681,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Changing videv user temperature setpoint to '25.0'",
|
|
"asctime": "2023-02-09 07:53:06,475",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.user_temperature_setpoint",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/user_temperature_setpoint",
|
|
"25"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1675925586.1749182,
|
|
"msecs": 174.91817474365234,
|
|
"relativeCreated": 3833.8255882263184,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Sending message with topic videv/gfw/dirk/heating_valve/user_temperature_setpoint and payload 25",
|
|
"asctime": "2023-02-09 07:53:06,174"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.user_temperature_setpoint",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/user_temperature_setpoint",
|
|
"b'25'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925586.1754096,
|
|
"msecs": 175.40955543518066,
|
|
"relativeCreated": 3834.3169689178467,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/user_temperature_setpoint and payload b'25'",
|
|
"asctime": "2023-02-09 07:53:06,175"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve.set",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee/gfw/dirk/heating_valve/set",
|
|
"b'{\"current_heating_setpoint\": 25}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925586.1846411,
|
|
"msecs": 184.64112281799316,
|
|
"relativeCreated": 3843.548536300659,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{\"current_heating_setpoint\": 25}'",
|
|
"asctime": "2023-02-09 07:53:06,184"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee/gfw/dirk/heating_valve",
|
|
"{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1675925586.184733,
|
|
"msecs": 184.73291397094727,
|
|
"relativeCreated": 3843.6403274536133,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Sending message with topic zigbee/gfw/dirk/heating_valve and payload {\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
|
|
"asctime": "2023-02-09 07:53:06,184"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.valve_temperature_setpoint",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/valve_temperature_setpoint",
|
|
"b'25'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925586.1848571,
|
|
"msecs": 184.85713005065918,
|
|
"relativeCreated": 3843.764543533325,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'25'",
|
|
"asctime": "2023-02-09 07:53:06,184"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/__info__",
|
|
"b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925586.1849973,
|
|
"msecs": 184.9973201751709,
|
|
"relativeCreated": 3843.904733657837,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
|
|
"asctime": "2023-02-09 07:53:06,184"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.user_temperature_setpoint",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/user_temperature_setpoint",
|
|
"b'25'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925586.1851041,
|
|
"msecs": 185.1041316986084,
|
|
"relativeCreated": 3844.0115451812744,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/user_temperature_setpoint and payload b'25'",
|
|
"asctime": "2023-02-09 07:53:06,185"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/__info__",
|
|
"b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925586.1852076,
|
|
"msecs": 185.20760536193848,
|
|
"relativeCreated": 3844.1150188446045,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
|
|
"asctime": "2023-02-09 07:53:06,185"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee/gfw/dirk/heating_valve",
|
|
"b'{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925586.1853094,
|
|
"msecs": 185.30941009521484,
|
|
"relativeCreated": 3844.216823577881,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
|
|
"asctime": "2023-02-09 07:53:06,185"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.temperature",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/temperature",
|
|
"b'20.7'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925586.2271936,
|
|
"msecs": 227.19359397888184,
|
|
"relativeCreated": 3886.101007461548,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/temperature and payload b'20.7'",
|
|
"asctime": "2023-02-09 07:53:06,227"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/__info__",
|
|
"b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925586.2699656,
|
|
"msecs": 269.96564865112305,
|
|
"relativeCreated": 3928.873062133789,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
|
|
"asctime": "2023-02-09 07:53:06,269"
|
|
}
|
|
],
|
|
"time_consumption": 0.2053987979888916
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Valve device temperature setpoint is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"25",
|
|
"<class 'int'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 187,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1675925586.4754734,
|
|
"msecs": 475.47340393066406,
|
|
"relativeCreated": 4134.38081741333,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Valve device temperature setpoint is correct (Content 25 and Type is <class 'int'>).",
|
|
"asctime": "2023-02-09 07:53:06,475",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Valve device temperature setpoint",
|
|
"25",
|
|
"<class 'int'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1675925586.4754303,
|
|
"msecs": 475.4302501678467,
|
|
"relativeCreated": 4134.337663650513,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Result (Valve device temperature setpoint): 25 (<class 'int'>)",
|
|
"asctime": "2023-02-09 07:53:06,475"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Valve device temperature setpoint",
|
|
"=",
|
|
"25",
|
|
"<class 'int'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1675925586.475454,
|
|
"msecs": 475.45409202575684,
|
|
"relativeCreated": 4134.361505508423,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Expectation (Valve device temperature setpoint): result = 25 (<class 'int'>)",
|
|
"asctime": "2023-02-09 07:53:06,475"
|
|
}
|
|
],
|
|
"time_consumption": 1.9311904907226562e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Virtual device valve temperature is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"25",
|
|
"<class 'int'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 187,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1675925586.4755344,
|
|
"msecs": 475.53443908691406,
|
|
"relativeCreated": 4134.44185256958,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Virtual device valve temperature is correct (Content 25 and Type is <class 'int'>).",
|
|
"asctime": "2023-02-09 07:53:06,475",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Virtual device valve temperature",
|
|
"25",
|
|
"<class 'int'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1675925586.475502,
|
|
"msecs": 475.50201416015625,
|
|
"relativeCreated": 4134.409427642822,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Result (Virtual device valve temperature): 25 (<class 'int'>)",
|
|
"asctime": "2023-02-09 07:53:06,475"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Virtual device valve temperature",
|
|
"=",
|
|
"25",
|
|
"<class 'int'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1675925586.475519,
|
|
"msecs": 475.51894187927246,
|
|
"relativeCreated": 4134.4263553619385,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Expectation (Virtual device valve temperature): result = 25 (<class 'int'>)",
|
|
"asctime": "2023-02-09 07:53:06,475"
|
|
}
|
|
],
|
|
"time_consumption": 1.5497207641601562e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Changing valve temperature setpoint to '%.1f'",
|
|
"args": [
|
|
20
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
|
|
"filename": "heating.py",
|
|
"module": "heating",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 28,
|
|
"funcName": "__test_user_temperature_setpoint__",
|
|
"created": 1675925586.7760122,
|
|
"msecs": 776.0121822357178,
|
|
"relativeCreated": 4434.919595718384,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Changing valve temperature setpoint to '20.0'",
|
|
"asctime": "2023-02-09 07:53:06,776",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee/gfw/dirk/heating_valve",
|
|
"{\"current_heating_setpoint\": 20, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1675925586.4755847,
|
|
"msecs": 475.5847454071045,
|
|
"relativeCreated": 4134.4921588897705,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Sending message with topic zigbee/gfw/dirk/heating_valve and payload {\"current_heating_setpoint\": 20, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
|
|
"asctime": "2023-02-09 07:53:06,475"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee/gfw/dirk/heating_valve",
|
|
"b'{\"current_heating_setpoint\": 20, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925586.4758413,
|
|
"msecs": 475.8412837982178,
|
|
"relativeCreated": 4134.748697280884,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{\"current_heating_setpoint\": 20, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
|
|
"asctime": "2023-02-09 07:53:06,475"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve.set",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee/gfw/dirk/heating_valve/set",
|
|
"b'{\"current_heating_setpoint\": 20}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925586.483676,
|
|
"msecs": 483.6759567260742,
|
|
"relativeCreated": 4142.58337020874,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{\"current_heating_setpoint\": 20}'",
|
|
"asctime": "2023-02-09 07:53:06,483"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.valve_temperature_setpoint",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/valve_temperature_setpoint",
|
|
"b'20'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925586.483802,
|
|
"msecs": 483.80208015441895,
|
|
"relativeCreated": 4142.709493637085,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'20'",
|
|
"asctime": "2023-02-09 07:53:06,483"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/__info__",
|
|
"b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925586.4839196,
|
|
"msecs": 483.919620513916,
|
|
"relativeCreated": 4142.827033996582,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
|
|
"asctime": "2023-02-09 07:53:06,483"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.user_temperature_setpoint",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/user_temperature_setpoint",
|
|
"b'20'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925586.4840267,
|
|
"msecs": 484.0266704559326,
|
|
"relativeCreated": 4142.934083938599,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/user_temperature_setpoint and payload b'20'",
|
|
"asctime": "2023-02-09 07:53:06,484"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/__info__",
|
|
"b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925586.4841342,
|
|
"msecs": 484.1341972351074,
|
|
"relativeCreated": 4143.041610717773,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
|
|
"asctime": "2023-02-09 07:53:06,484"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.temperature",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/temperature",
|
|
"b'20.7'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925586.484238,
|
|
"msecs": 484.2379093170166,
|
|
"relativeCreated": 4143.145322799683,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/temperature and payload b'20.7'",
|
|
"asctime": "2023-02-09 07:53:06,484"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/__info__",
|
|
"b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925586.4843457,
|
|
"msecs": 484.3456745147705,
|
|
"relativeCreated": 4143.2530879974365,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
|
|
"asctime": "2023-02-09 07:53:06,484"
|
|
}
|
|
],
|
|
"time_consumption": 0.29166650772094727
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Virtual device valve temperature is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"20",
|
|
"<class 'int'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 187,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1675925586.7761981,
|
|
"msecs": 776.198148727417,
|
|
"relativeCreated": 4435.105562210083,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Virtual device valve temperature is correct (Content 20 and Type is <class 'int'>).",
|
|
"asctime": "2023-02-09 07:53:06,776",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Virtual device valve temperature",
|
|
"20",
|
|
"<class 'int'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1675925586.776147,
|
|
"msecs": 776.1468887329102,
|
|
"relativeCreated": 4435.054302215576,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Result (Virtual device valve temperature): 20 (<class 'int'>)",
|
|
"asctime": "2023-02-09 07:53:06,776"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Virtual device valve temperature",
|
|
"=",
|
|
"20",
|
|
"<class 'int'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1675925586.7761765,
|
|
"msecs": 776.1764526367188,
|
|
"relativeCreated": 4435.083866119385,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Expectation (Virtual device valve temperature): result = 20 (<class 'int'>)",
|
|
"asctime": "2023-02-09 07:53:06,776"
|
|
}
|
|
],
|
|
"time_consumption": 2.1696090698242188e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Virtual device user temperature is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"20",
|
|
"<class 'int'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 187,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1675925586.7762651,
|
|
"msecs": 776.2651443481445,
|
|
"relativeCreated": 4435.172557830811,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Virtual device user temperature is correct (Content 20 and Type is <class 'int'>).",
|
|
"asctime": "2023-02-09 07:53:06,776",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Virtual device user temperature",
|
|
"20",
|
|
"<class 'int'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1675925586.7762268,
|
|
"msecs": 776.2267589569092,
|
|
"relativeCreated": 4435.134172439575,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Result (Virtual device user temperature): 20 (<class 'int'>)",
|
|
"asctime": "2023-02-09 07:53:06,776"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Virtual device user temperature",
|
|
"=",
|
|
"20",
|
|
"<class 'int'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1675925586.776244,
|
|
"msecs": 776.2439250946045,
|
|
"relativeCreated": 4435.1513385772705,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Expectation (Virtual device user temperature): result = 20 (<class 'int'>)",
|
|
"asctime": "2023-02-09 07:53:06,776"
|
|
}
|
|
],
|
|
"time_consumption": 2.1219253540039062e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Changing videv user temperature setpoint to '%.1f'",
|
|
"args": [
|
|
25
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
|
|
"filename": "heating.py",
|
|
"module": "heating",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 36,
|
|
"funcName": "__test_user_temperature_setpoint__",
|
|
"created": 1675925587.0767856,
|
|
"msecs": 76.78556442260742,
|
|
"relativeCreated": 4735.692977905273,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Changing videv user temperature setpoint to '25.0'",
|
|
"asctime": "2023-02-09 07:53:07,076",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.user_temperature_setpoint",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/user_temperature_setpoint",
|
|
"25"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1675925586.7763343,
|
|
"msecs": 776.334285736084,
|
|
"relativeCreated": 4435.24169921875,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Sending message with topic videv/gfw/dirk/heating_valve/user_temperature_setpoint and payload 25",
|
|
"asctime": "2023-02-09 07:53:06,776"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.user_temperature_setpoint",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/user_temperature_setpoint",
|
|
"b'25'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925586.7766817,
|
|
"msecs": 776.681661605835,
|
|
"relativeCreated": 4435.589075088501,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/user_temperature_setpoint and payload b'25'",
|
|
"asctime": "2023-02-09 07:53:06,776"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve.set",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee/gfw/dirk/heating_valve/set",
|
|
"b'{\"current_heating_setpoint\": 25}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925586.7856944,
|
|
"msecs": 785.6943607330322,
|
|
"relativeCreated": 4444.601774215698,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{\"current_heating_setpoint\": 25}'",
|
|
"asctime": "2023-02-09 07:53:06,785"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve",
|
|
"msg": "Sending message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee/gfw/dirk/heating_valve",
|
|
"{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 75,
|
|
"funcName": "send",
|
|
"created": 1675925586.7857926,
|
|
"msecs": 785.7925891876221,
|
|
"relativeCreated": 4444.700002670288,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Sending message with topic zigbee/gfw/dirk/heating_valve and payload {\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
|
|
"asctime": "2023-02-09 07:53:06,785"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.valve_temperature_setpoint",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/valve_temperature_setpoint",
|
|
"b'25'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925586.7859247,
|
|
"msecs": 785.9246730804443,
|
|
"relativeCreated": 4444.83208656311,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'25'",
|
|
"asctime": "2023-02-09 07:53:06,785"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/__info__",
|
|
"b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925586.7860649,
|
|
"msecs": 786.064863204956,
|
|
"relativeCreated": 4444.972276687622,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
|
|
"asctime": "2023-02-09 07:53:06,786"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.user_temperature_setpoint",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/user_temperature_setpoint",
|
|
"b'25'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925586.786171,
|
|
"msecs": 786.1709594726562,
|
|
"relativeCreated": 4445.078372955322,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/user_temperature_setpoint and payload b'25'",
|
|
"asctime": "2023-02-09 07:53:06,786"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/__info__",
|
|
"b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925586.7862737,
|
|
"msecs": 786.273717880249,
|
|
"relativeCreated": 4445.181131362915,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
|
|
"asctime": "2023-02-09 07:53:06,786"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"zigbee/gfw/dirk/heating_valve",
|
|
"b'{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925586.7863743,
|
|
"msecs": 786.3743305206299,
|
|
"relativeCreated": 4445.281744003296,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
|
|
"asctime": "2023-02-09 07:53:06,786"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.temperature",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/temperature",
|
|
"b'20.7'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925586.8299415,
|
|
"msecs": 829.9415111541748,
|
|
"relativeCreated": 4488.848924636841,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/temperature and payload b'20.7'",
|
|
"asctime": "2023-02-09 07:53:06,829"
|
|
},
|
|
{
|
|
"name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
|
|
"msg": "Received message with topic %s and payload %s",
|
|
"args": [
|
|
"videv/gfw/dirk/heating_valve/__info__",
|
|
"b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
|
|
"filename": "__init__.py",
|
|
"module": "__init__",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 91,
|
|
"funcName": "__receive__",
|
|
"created": 1675925586.8700416,
|
|
"msecs": 870.0416088104248,
|
|
"relativeCreated": 4528.949022293091,
|
|
"thread": 139722745357888,
|
|
"threadName": "Thread-1 (_thread_main)",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
|
|
"asctime": "2023-02-09 07:53:06,870"
|
|
}
|
|
],
|
|
"time_consumption": 0.20674395561218262
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Valve device temperature setpoint is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"25",
|
|
"<class 'int'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 187,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1675925587.076923,
|
|
"msecs": 76.92289352416992,
|
|
"relativeCreated": 4735.830307006836,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Valve device temperature setpoint is correct (Content 25 and Type is <class 'int'>).",
|
|
"asctime": "2023-02-09 07:53:07,076",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Valve device temperature setpoint",
|
|
"25",
|
|
"<class 'int'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1675925587.0768769,
|
|
"msecs": 76.87687873840332,
|
|
"relativeCreated": 4735.784292221069,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Result (Valve device temperature setpoint): 25 (<class 'int'>)",
|
|
"asctime": "2023-02-09 07:53:07,076"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Valve device temperature setpoint",
|
|
"=",
|
|
"25",
|
|
"<class 'int'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1675925587.0769029,
|
|
"msecs": 76.90286636352539,
|
|
"relativeCreated": 4735.810279846191,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Expectation (Valve device temperature setpoint): result = 25 (<class 'int'>)",
|
|
"asctime": "2023-02-09 07:53:07,076"
|
|
}
|
|
],
|
|
"time_consumption": 2.002716064453125e-05
|
|
},
|
|
{
|
|
"name": "__tLogger__",
|
|
"msg": "Virtual device valve temperature is correct (Content %s and Type is %s).",
|
|
"args": [
|
|
"25",
|
|
"<class 'int'>"
|
|
],
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 187,
|
|
"funcName": "equivalency_chk",
|
|
"created": 1675925587.0769918,
|
|
"msecs": 76.99179649353027,
|
|
"relativeCreated": 4735.899209976196,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Virtual device valve temperature is correct (Content 25 and Type is <class 'int'>).",
|
|
"asctime": "2023-02-09 07:53:07,076",
|
|
"moduleLogger": [
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Result (%s): %s (%s)",
|
|
"args": [
|
|
"Virtual device valve temperature",
|
|
"25",
|
|
"<class 'int'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 22,
|
|
"funcName": "__report_result__",
|
|
"created": 1675925587.0769582,
|
|
"msecs": 76.95817947387695,
|
|
"relativeCreated": 4735.865592956543,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Result (Virtual device valve temperature): 25 (<class 'int'>)",
|
|
"asctime": "2023-02-09 07:53:07,076"
|
|
},
|
|
{
|
|
"name": "__unittest__",
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"args": [
|
|
"Virtual device valve temperature",
|
|
"=",
|
|
"25",
|
|
"<class 'int'>"
|
|
],
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
|
|
"filename": "test.py",
|
|
"module": "test",
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"stack_info": null,
|
|
"lineno": 26,
|
|
"funcName": "__report_expectation__",
|
|
"created": 1675925587.0769763,
|
|
"msecs": 76.97629928588867,
|
|
"relativeCreated": 4735.883712768555,
|
|
"thread": 139722769600512,
|
|
"threadName": "MainThread",
|
|
"processName": "MainProcess",
|
|
"process": 67261,
|
|
"message": "Expectation (Virtual device valve temperature): result = 25 (<class 'int'>)",
|
|
"asctime": "2023-02-09 07:53:07,076"
|
|
}
|
|
],
|
|
"time_consumption": 1.5497207641601562e-05
|
|
}
|
|
],
|
|
"time_consumption": 1.2029063701629639,
|
|
"time_start": "2023-02-09 07:53:05,874",
|
|
"time_finished": "2023-02-09 07:53:07,076"
|
|
}
|
|
},
|
|
"uid_list_sorted": [
|
|
"Away mode test: zigbee/gfw/dirk/heating_valve",
|
|
"Boost mode test: zigbee/gfw/dirk/heating_valve",
|
|
"Default temperature test for device and virtual device: zigbee/gfw/dirk/heating_valve",
|
|
"Summer mode test: zigbee/gfw/dirk/heating_valve",
|
|
"User temperature setpoint test for device and virtual device: zigbee/gfw/dirk/heating_valve"
|
|
],
|
|
"system_information": {
|
|
"Architecture": "64bit",
|
|
"Machine": "x86_64",
|
|
"Hostname": "ahorn",
|
|
"Distribution": "Linux Mint 21.1 (vera)",
|
|
"System": "Linux",
|
|
"Kernel": "5.15.0-58-generic (#64-Ubuntu SMP Thu Jan 5 11:43:13 UTC 2023)",
|
|
"Username": "dirk",
|
|
"Path": "/home/dirk/my_repositories/smarthome/smart_brain_test/all.py"
|
|
}
|
|
} |