HTHEATPUMP: load parameter definitions from: /home/pi/venv/htrest/lib/python3.7/site-packages/htheatpump/htparams.csv
Namespace(baudrate=57600, bool_as_int=False, debug=False, device='/dev/ttyUSB0', host='192.168.1.88', logging_config='/home/pi/venv/htrest/lib/python3.7/site-packages/htrest/logging.conf', no_param_verification=False, port=8899, read_only=True, user='')
2020-04-16 15:22:29,970 INFO [htrest.app] open connection to heat pump (<htheatpump.htheatpump.HtHeatpump object at 0xb5e5c6f0>)
2020-04-16 15:22:30,006 INFO [htrest.app] successfully connected to heat pump #141315
2020-04-16 15:22:30,049 INFO [htrest.app] software version = 3.0.37 (530)
2020-04-16 15:22:30,071 INFO [htrest.app] *** created Flask app <Flask 'htrest.app'> with config <Config {'ENV': 'production', 'DEBUG': False, 'TESTING': False, 'PROPAGATE_EXCEPTIONS': None, 'PRESERVE_CONTEXT_ON_EXCEPTION': None, 'SECRET_KEY': None, 'PERMANENT_SESSION_LIFETIME': datetime.timedelta(days=31), 'USE_X_SENDFILE': False, 'SERVER_NAME': None, 'APPLICATION_ROOT': '/', 'SESSION_COOKIE_NAME': 'session', 'SESSION_COOKIE_DOMAIN': None, 'SESSION_COOKIE_PATH': None, 'SESSION_COOKIE_HTTPONLY': True, 'SESSION_COOKIE_SECURE': False, 'SESSION_COOKIE_SAMESITE': None, 'SESSION_REFRESH_EACH_REQUEST': True, 'MAX_CONTENT_LENGTH': None, 'SEND_FILE_MAX_AGE_DEFAULT': datetime.timedelta(seconds=43200), 'TRAP_BAD_REQUEST_ERRORS': None, 'TRAP_HTTP_EXCEPTIONS': False, 'EXPLAIN_TEMPLATE_LOADING': False, 'PREFERRED_URL_SCHEME': 'http', 'JSON_AS_ASCII': True, 'JSON_SORT_KEYS': True, 'JSONIFY_PRETTYPRINT_REGULAR': False, 'JSONIFY_MIMETYPE': 'application/json', 'TEMPLATES_AUTO_RELOAD': None, 'MAX_COOKIE_SIZE': 4093, 'SWAGGER_UI_DOC_EXPANSION': 'list', 'RESTX_VALIDATE': True, 'RESTX_MASK_SWAGGER': False, 'ERROR_404_HELP': False, 'BUNDLE_ERRORS': True}>
Map([<Rule '/api/v1/faultlist/size' (OPTIONS, HEAD, GET) -> api.faultlist_fault_list_size>,
<Rule '/api/v1/faultlist/last' (OPTIONS, HEAD, GET) -> api.faultlist_last_fault>,
<Rule '/api/v1/swagger.json' (OPTIONS, HEAD, GET) -> api.specs>,
<Rule '/api/v1/faultlist/' (OPTIONS, HEAD, GET) -> api.faultlist_fault_list>,
<Rule '/api/v1/fastquery/' (OPTIONS, HEAD, GET) -> api.fastquery_fast_query_list>,
<Rule '/api/v1/datetime/' (OPTIONS, PUT, HEAD, GET) -> api.datetime_date_time>,
<Rule '/api/v1/timeprog/' (OPTIONS, HEAD, GET) -> api.timeprog_time_progs>,
<Rule '/api/v1/device/' (OPTIONS, HEAD, GET) -> api.device_device>,
<Rule '/api/v1/param/' (OPTIONS, PUT, HEAD, GET) -> api.param_param_list>,
<Rule '/api/v1/' (OPTIONS, HEAD, GET) -> api.doc>,
<Rule '/api/v1/' (OPTIONS, HEAD, GET) -> api.root>,
<Rule '/api/v1/faultlist/<id>' (OPTIONS, HEAD, GET) -> api.faultlist_fault_entry>,
<Rule '/api/v1/fastquery/<name>' (OPTIONS, HEAD, GET) -> api.fastquery_fast_query>,
<Rule '/api/v1/timeprog/<id>/<day>/<num>' (OPTIONS, PUT, HEAD, GET) -> api.timeprog_time_prog_entry>,
<Rule '/api/v1/timeprog/<id>' (OPTIONS, PUT, HEAD, GET) -> api.timeprog_time_prog>,
<Rule '/api/v1/param/<name>' (OPTIONS, PUT, HEAD, GET) -> api.param_param>,
<Rule '/swaggerui/<filename>' (OPTIONS, HEAD, GET) -> restx_doc.static>,
<Rule '/static/<filename>' (OPTIONS, HEAD, GET) -> static>])
* Serving Flask app "htrest.app" (lazy loading)
* Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
* Debug mode: off
2020-04-16 15:23:03,028 INFO [htrest.apis.device] *** [GET] http://192.168.1.88:8899/api/v1/device/
Kommentar