Guest User

HTTP_Integration_UCR3

a guest
Nov 10th, 2025
22
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 98.64 KB | Help | 0 0
  1. 2025-11-10 22:04:50.261210 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] ->: {'kind': 'resp', 'req_id': 37, 'code': 404, 'msg': 'result', 'msg_data': {}}
  2. 2025-11-10 22:04:50.261210 +00:00 custom-intg-requests INFO ucapi.api WARNING Cannot execute command 'on' for 'remote-custom-entity1': no configured entity found
  3. 2025-11-10 22:04:50.257119 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [configured]: entity not found: 'remote-custom-entity1'
  4. 2025-11-10 22:04:50.257119 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] <-: {"kind":"req","id":37,"msg":"entity_command","msg_data":{"cmd_id":"on","entity_id":"remote-custom-entity1","entity_type":"remote"}}
  5. 2025-11-10 22:04:45.795682 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] ->: {'kind': 'resp', 'req_id': 36, 'code': 404, 'msg': 'result', 'msg_data': {}}
  6. 2025-11-10 22:04:45.795682 +00:00 custom-intg-requests INFO ucapi.api WARNING Cannot execute command 'on' for 'remote-custom-entity1': no configured entity found
  7. 2025-11-10 22:04:45.791562 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [configured]: entity not found: 'remote-custom-entity1'
  8. 2025-11-10 22:04:45.791562 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] <-: {"kind":"req","id":36,"msg":"entity_command","msg_data":{"cmd_id":"on","entity_id":"remote-custom-entity1","entity_type":"remote"}}
  9. 2025-11-10 22:04:33.713879 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] ->: {'kind': 'resp', 'req_id': 35, 'code': 404, 'msg': 'result', 'msg_data': {}}
  10. 2025-11-10 22:04:33.713879 +00:00 custom-intg-requests INFO ucapi.api WARNING Cannot execute command 'on' for 'remote-custom-entity2': no configured entity found
  11. 2025-11-10 22:04:33.709777 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [configured]: entity not found: 'remote-custom-entity2'
  12. 2025-11-10 22:04:33.709777 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] <-: {"kind":"req","id":35,"msg":"entity_command","msg_data":{"cmd_id":"on","entity_id":"remote-custom-entity2","entity_type":"remote"}}
  13. 2025-11-10 22:04:29.024329 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] ->: {'kind': 'resp', 'req_id': 34, 'code': 404, 'msg': 'result', 'msg_data': {}}
  14. 2025-11-10 22:04:29.024329 +00:00 custom-intg-requests INFO ucapi.api WARNING Cannot execute command 'on' for 'remote-custom-entity2': no configured entity found
  15. 2025-11-10 22:04:29.020254 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [configured]: entity not found: 'remote-custom-entity2'
  16. 2025-11-10 22:04:29.020254 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] <-: {"kind":"req","id":34,"msg":"entity_command","msg_data":{"cmd_id":"on","entity_id":"remote-custom-entity2","entity_type":"remote"}}
  17. 2025-11-10 22:04:20.014934 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] =>: {'kind': 'event', 'msg': <WsMsgEvents.ENTITY_CHANGE: 'entity_change'>, 'msg_data': {'entity_id': 'remote-custom-entity3', 'entity_type': <EntityTypes.REMOTE: 'remote'>, 'attributes': {<Attributes.STATE: 'state'>: <States.OFF: 'OFF'>}}, 'cat': <EventCategory.ENTITY: 'ENTITY'>}
  18. 2025-11-10 22:04:20.010883 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] ->: {'kind': 'resp', 'req_id': 33, 'code': 200, 'msg': 'result', 'msg_data': {}}
  19. 2025-11-10 22:04:20.009455 +00:00 custom-intg-requests INFO remote INFO Updated remote entity status attribute to {<Attributes.STATE: 'state'>: <States.OFF: 'OFF'>} for remote-custom-entity3
  20. 2025-11-10 22:04:20.008564 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [configured]: entity 'remote-custom-entity3' attributes updated
  21. 2025-11-10 22:04:20.003858 +00:00 custom-intg-requests INFO media_player INFO Entity http-get not found in configured entities. Skip updating attributes
  22. 2025-11-10 22:04:20.003184 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [configured]: entity not found: 'http-get'
  23. 2025-11-10 22:04:20.002542 +00:00 custom-intg-requests INFO sensor INFO Entity http-response not found in configured entities. Skip updating attributes
  24. 2025-11-10 22:04:20.001853 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [configured]: entity not found: 'http-response'
  25. 2025-11-10 22:04:20.001075 +00:00 custom-intg-requests INFO commands DEBUG No regular expression set for the http request response sensor. The complete response will be used
  26. 2025-11-10 22:04:20.000266 +00:00 custom-intg-requests INFO commands INFO Server response: {"ison":false,"has_timer":false,"timer_started":0,"timer_duration":0,"timer_remaining":0,"overpower":false,"source":"http"}
  27. 2025-11-10 22:04:19.999469 +00:00 custom-intg-requests INFO commands INFO Sent http-get request to: http://192.168.1.58/relay/0?turn=off
  28. 2025-11-10 22:04:19.921705 +00:00 custom-intg-requests INFO commands DEBUG method: get, fire_and_forget: True, url: http://192.168.1.58/relay/0?turn=off, params: {'headers': {'User-Agent': 'uc-intg-requests'}, 'timeout': 2, 'verify': True}
  29. 2025-11-10 22:04:19.918059 +00:00 custom-intg-requests INFO remote INFO Executing HTTP request with method get and parameter http://192.168.1.58/relay/0?turn=off
  30. 2025-11-10 22:04:19.916632 +00:00 custom-intg-requests INFO config DEBUG Get variables from _vars block in custom entities yaml configuration
  31. 2025-11-10 22:04:19.893708 +00:00 custom-intg-requests INFO remote INFO Received off command for remote-custom-entity3
  32. 2025-11-10 22:04:19.893708 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] <-: {"kind":"req","id":33,"msg":"entity_command","msg_data":{"cmd_id":"off","entity_id":"remote-custom-entity3","entity_type":"remote"}}
  33. 2025-11-10 22:04:15.269063 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] =>: {'kind': 'event', 'msg': <WsMsgEvents.ENTITY_CHANGE: 'entity_change'>, 'msg_data': {'entity_id': 'remote-custom-entity3', 'entity_type': <EntityTypes.REMOTE: 'remote'>, 'attributes': {<Attributes.STATE: 'state'>: <States.ON: 'ON'>}}, 'cat': <EventCategory.ENTITY: 'ENTITY'>}
  34. 2025-11-10 22:04:15.265515 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] ->: {'kind': 'resp', 'req_id': 32, 'code': 200, 'msg': 'result', 'msg_data': {}}
  35. 2025-11-10 22:04:15.264053 +00:00 custom-intg-requests INFO remote INFO Updated remote entity status attribute to {<Attributes.STATE: 'state'>: <States.ON: 'ON'>} for remote-custom-entity3
  36. 2025-11-10 22:04:15.263119 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [configured]: entity 'remote-custom-entity3' attributes updated
  37. 2025-11-10 22:04:15.258268 +00:00 custom-intg-requests INFO media_player INFO Entity http-get not found in configured entities. Skip updating attributes
  38. 2025-11-10 22:04:15.257695 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [configured]: entity not found: 'http-get'
  39. 2025-11-10 22:04:15.256882 +00:00 custom-intg-requests INFO sensor INFO Entity http-response not found in configured entities. Skip updating attributes
  40. 2025-11-10 22:04:15.256254 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [configured]: entity not found: 'http-response'
  41. 2025-11-10 22:04:15.255454 +00:00 custom-intg-requests INFO commands DEBUG No regular expression set for the http request response sensor. The complete response will be used
  42. 2025-11-10 22:04:15.254729 +00:00 custom-intg-requests INFO commands INFO Server response: {"ison":true,"has_timer":false,"timer_started":0,"timer_duration":0,"timer_remaining":0,"overpower":false,"source":"http"}
  43. 2025-11-10 22:04:15.253900 +00:00 custom-intg-requests INFO commands INFO Sent http-get request to: http://192.168.1.58/relay/0?turn=on
  44. 2025-11-10 22:04:15.115082 +00:00 custom-intg-requests INFO commands DEBUG method: get, fire_and_forget: True, url: http://192.168.1.58/relay/0?turn=on, params: {'headers': {'User-Agent': 'uc-intg-requests'}, 'timeout': 2, 'verify': True}
  45. 2025-11-10 22:04:15.111065 +00:00 custom-intg-requests INFO remote INFO Executing HTTP request with method get and parameter http://192.168.1.58/relay/0?turn=on
  46. 2025-11-10 22:04:15.109326 +00:00 custom-intg-requests INFO config DEBUG Get variables from _vars block in custom entities yaml configuration
  47. 2025-11-10 22:04:15.089217 +00:00 custom-intg-requests INFO remote INFO Received on command for remote-custom-entity3
  48. 2025-11-10 22:04:15.085467 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] <-: {"kind":"req","id":32,"msg":"entity_command","msg_data":{"cmd_id":"on","entity_id":"remote-custom-entity3","entity_type":"remote"}}
  49. 2025-11-10 22:04:05.077274 +00:00 custom-intg-requests INFO config DEBUG standby not found in __storers because it should not be stored in the config file
  50. 2025-11-10 22:04:05.076141 +00:00 custom-intg-requests INFO config DEBUG Saved standby: False into config runtime storage
  51. 2025-11-10 22:04:05.076141 +00:00 custom-intg-requests INFO driver INFO Received subscribe entities event for entity ids: ['remote-custom-entity3']
  52. 2025-11-10 22:04:05.076141 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] ->: {'kind': 'resp', 'req_id': 31, 'code': 200, 'msg': 'result', 'msg_data': {}}
  53. 2025-11-10 22:04:05.072031 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [configured] entity added: 'remote-custom-entity3'
  54. 2025-11-10 22:04:05.072031 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] <-: {"kind":"req","id":31,"msg":"subscribe_events","msg_data":{"entity_ids":["remote-custom-entity3"]}}
  55. 2025-11-10 22:03:59.489866 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] ->: {'kind': 'resp', 'req_id': 30, 'code': 200, 'msg': <WsMsgEvents.AVAILABLE_ENTITIES: 'available_entities'>, 'msg_data': {'available_entities': [{'entity_id': 'http-get', 'entity_type': <EntityTypes.MEDIA_PLAYER: 'media_player'>, 'device_id': None, 'features': [<Features.SELECT_SOURCE: 'select_source'>, <Features.MEDIA_TITLE: 'media_title'>], 'name': {'en': 'HTTP Get'}}, {'entity_id': 'http-post', 'entity_type': <EntityTypes.MEDIA_PLAYER: 'media_player'>, 'device_id': None, 'features': [<Features.SELECT_SOURCE: 'select_source'>, <Features.MEDIA_TITLE: 'media_title'>], 'name': {'en': 'HTTP Post'}}, {'entity_id': 'http-patch', 'entity_type': <EntityTypes.MEDIA_PLAYER: 'media_player'>, 'device_id': None, 'features': [<Features.SELECT_SOURCE: 'select_source'>, <Features.MEDIA_TITLE: 'media_title'>], 'name': {'en': 'HTTP Patch'}}, {'entity_id': 'http-put', 'entity_type': <EntityTypes.MEDIA_PLAYER: 'media_player'>, 'device_id': None, 'features': [<Features.SELECT_SOURCE: 'select_source'>, <Features.MEDIA_TITLE: 'media_title'>], 'name': {'en': 'HTTP Put'}}, {'entity_id': 'http-delete', 'entity_type': <EntityTypes.MEDIA_PLAYER: 'media_player'>, 'device_id': None, 'features': [<Features.SELECT_SOURCE: 'select_source'>, <Features.MEDIA_TITLE: 'media_title'>], 'name': {'en': 'HTTP Delete'}}, {'entity_id': 'http-head', 'entity_type': <EntityTypes.MEDIA_PLAYER: 'media_player'>, 'device_id': None, 'features': [<Features.SELECT_SOURCE: 'select_source'>, <Features.MEDIA_TITLE: 'media_title'>], 'name': {'en': 'HTTP Head'}}, {'entity_id': 'wol', 'entity_type': <EntityTypes.MEDIA_PLAYER: 'media_player'>, 'device_id': None, 'features': [<Features.SELECT_SOURCE: 'select_source'>, <Features.MEDIA_TITLE: 'media_title'>], 'name': {'en': 'Wake on LAN'}}, {'entity_id': 'tcp-text', 'entity_type': <EntityTypes.MEDIA_PLAYER: 'media_player'>, 'device_id': None, 'features': [<Features.SELECT_SOURCE: 'select_source'>, <Features.MEDIA_TITLE: 'media_title'>], 'name': {'en': 'Text over TCP', 'de': 'Text über TCP'}}, {'entity_id': 'http-response', 'entity_type': <EntityTypes.SENSOR: 'sensor'>, 'device_id': None, 'features': None, 'name': {'en': 'HTTP Request Response', 'de': 'HTTP Anfrage-Antwort'}, 'device_class': <DeviceClasses.CUSTOM: 'custom'>}, {'entity_id': 'remote-custom-entity3', 'entity_type': <EntityTypes.REMOTE: 'remote'>, 'device_id': None, 'features': [<Features.ON_OFF: 'on_off'>], 'name': {'en': 'Entity3'}}]}}
  56. 2025-11-10 22:03:59.483809 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] <-: {"kind":"req","id":30,"msg":"get_available_entities","msg_data":{}}
  57. 2025-11-10 22:03:59.386171 +00:00 custom-intg-requests INFO config DEBUG standby not found in __storers because it should not be stored in the config file
  58. 2025-11-10 22:03:59.385314 +00:00 custom-intg-requests INFO config DEBUG Saved standby: False into config runtime storage
  59. 2025-11-10 22:03:59.384467 +00:00 custom-intg-requests INFO driver INFO Received subscribe entities event for entity ids: ['remote-custom-entity1', 'remote-custom-entity2']
  60. 2025-11-10 22:03:59.381995 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] ->: {'kind': 'resp', 'req_id': 29, 'code': 200, 'msg': 'result', 'msg_data': {}}
  61. 2025-11-10 22:03:59.379926 +00:00 custom-intg-requests INFO ucapi.api WARNING WARN: cannot subscribe entity remote-custom-entity2: entity is not available
  62. 2025-11-10 22:03:59.379207 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [available]: entity not found: 'remote-custom-entity2'
  63. 2025-11-10 22:03:59.378578 +00:00 custom-intg-requests INFO ucapi.api WARNING WARN: cannot subscribe entity remote-custom-entity1: entity is not available
  64. 2025-11-10 22:03:59.377847 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [available]: entity not found: 'remote-custom-entity1'
  65. 2025-11-10 22:03:59.376776 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] <-: {"kind":"req","id":29,"msg":"subscribe_events","msg_data":{"entity_ids":["remote-custom-entity1","remote-custom-entity2"]}}
  66. 2025-11-10 22:03:59.368584 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] ->: {'kind': 'event', 'msg': <WsMsgEvents.DRIVER_SETUP_CHANGE: 'driver_setup_change'>, 'msg_data': {'event_type': 'STOP', 'state': 'OK'}, 'cat': <EventCategory.DEVICE: 'DEVICE'>}
  67. 2025-11-10 22:03:59.366862 +00:00 custom-intg-requests INFO config DEBUG Ignore saving and storing setup_complete flag during reconfiguration
  68. 2025-11-10 22:03:59.366174 +00:00 custom-intg-requests INFO setup INFO Reconfiguration complete
  69. 2025-11-10 22:03:59.365554 +00:00 custom-intg-requests INFO sensor INFO Added http request response sensor entity with id http-response and name {'en': 'HTTP Request Response', 'de': 'HTTP Anfrage-Antwort'}
  70. 2025-11-10 22:03:59.364765 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [available] entity already exists: 'http-response'
  71. 2025-11-10 22:03:59.363951 +00:00 custom-intg-requests INFO ucapi.entity DEBUG Created sensor entity: http-response
  72. 2025-11-10 22:03:59.362912 +00:00 custom-intg-requests INFO driver INFO Added media player entity with id tcp-text and name {'en': 'Text over TCP', 'de': 'Text über TCP'}
  73. 2025-11-10 22:03:59.362184 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [available] entity already exists: 'tcp-text'
  74. 2025-11-10 22:03:59.361575 +00:00 custom-intg-requests INFO ucapi.entity DEBUG Created media_player entity: tcp-text
  75. 2025-11-10 22:03:59.360662 +00:00 custom-intg-requests INFO driver INFO Added media player entity with id wol and name Wake on LAN
  76. 2025-11-10 22:03:59.359999 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [available] entity already exists: 'wol'
  77. 2025-11-10 22:03:59.359256 +00:00 custom-intg-requests INFO ucapi.entity DEBUG Created media_player entity: wol
  78. 2025-11-10 22:03:59.358278 +00:00 custom-intg-requests INFO driver INFO Added media player entity with id http-head and name HTTP Head
  79. 2025-11-10 22:03:59.357716 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [available] entity already exists: 'http-head'
  80. 2025-11-10 22:03:59.357023 +00:00 custom-intg-requests INFO ucapi.entity DEBUG Created media_player entity: http-head
  81. 2025-11-10 22:03:59.356081 +00:00 custom-intg-requests INFO driver INFO Added media player entity with id http-delete and name HTTP Delete
  82. 2025-11-10 22:03:59.355462 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [available] entity already exists: 'http-delete'
  83. 2025-11-10 22:03:59.354786 +00:00 custom-intg-requests INFO ucapi.entity DEBUG Created media_player entity: http-delete
  84. 2025-11-10 22:03:59.353846 +00:00 custom-intg-requests INFO driver INFO Added media player entity with id http-put and name HTTP Put
  85. 2025-11-10 22:03:59.353191 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [available] entity already exists: 'http-put'
  86. 2025-11-10 22:03:59.352562 +00:00 custom-intg-requests INFO ucapi.entity DEBUG Created media_player entity: http-put
  87. 2025-11-10 22:03:59.351652 +00:00 custom-intg-requests INFO driver INFO Added media player entity with id http-patch and name HTTP Patch
  88. 2025-11-10 22:03:59.350979 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [available] entity already exists: 'http-patch'
  89. 2025-11-10 22:03:59.350254 +00:00 custom-intg-requests INFO ucapi.entity DEBUG Created media_player entity: http-patch
  90. 2025-11-10 22:03:59.349314 +00:00 custom-intg-requests INFO driver INFO Added media player entity with id http-post and name HTTP Post
  91. 2025-11-10 22:03:59.348731 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [available] entity already exists: 'http-post'
  92. 2025-11-10 22:03:59.348014 +00:00 custom-intg-requests INFO ucapi.entity DEBUG Created media_player entity: http-post
  93. 2025-11-10 22:03:59.347086 +00:00 custom-intg-requests INFO driver INFO Added media player entity with id http-get and name HTTP Get
  94. 2025-11-10 22:03:59.346427 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [available] entity already exists: 'http-get'
  95. 2025-11-10 22:03:59.345676 +00:00 custom-intg-requests INFO ucapi.entity DEBUG Created media_player entity: http-get
  96. 2025-11-10 22:03:59.344607 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [available] entity added: 'remote-custom-entity3'
  97. 2025-11-10 22:03:59.343754 +00:00 custom-intg-requests INFO ucapi.entity DEBUG Created remote entity: remote-custom-entity3
  98. 2025-11-10 22:03:59.342309 +00:00 custom-intg-requests INFO driver INFO Adding custom entity Entity3
  99. 2025-11-10 22:03:59.340860 +00:00 custom-intg-requests INFO config DEBUG Get variables from _vars block in custom entities yaml configuration
  100. 2025-11-10 22:03:59.317525 +00:00 custom-intg-requests INFO setup DEBUG Get custom entities configuration as Python dict from runtime storage
  101. 2025-11-10 22:03:59.314428 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] ->: {'kind': 'event', 'msg': <WsMsgEvents.DRIVER_SETUP_CHANGE: 'driver_setup_change'>, 'msg_data': {'event_type': 'SETUP', 'state': 'SETUP'}, 'cat': <EventCategory.DEVICE: 'DEVICE'>}
  102. 2025-11-10 22:03:58.812547 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] ->: {'kind': 'resp', 'req_id': 28, 'code': 200, 'msg': 'result', 'msg_data': {}}
  103. 2025-11-10 22:03:58.808740 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] <-: {"kind":"req","id":28,"msg":"set_driver_user_data","msg_data":{"input_values":{"custom_entities":"Entity3:\n Features:\n 'Off':\n Type: get\n Parameter: http://192.168.1.58/relay/0?turn=off\n 'On':\n Type: get\n Parameter: http://192.168.1.58/relay/0?turn=on\n\n","setup_action":"finish"}}}
  104. 2025-11-10 22:03:55.035008 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] ->: {'kind': 'event', 'msg': <WsMsgEvents.DRIVER_SETUP_CHANGE: 'driver_setup_change'>, 'msg_data': {'event_type': 'SETUP', 'state': 'WAIT_USER_ACTION', 'require_user_action': {'input': {'title': {'en': 'Setup Actions', 'de': 'Einrichtungsoptionen'}, 'settings': [{'id': 'setup_action', 'label': {'en': 'Choose a setup action', 'de': 'Wähle eine Einrichtungsoption aus'}, 'field': {'dropdown': {'value': 'finish', 'items': [{'id': 'finish', 'label': {'en': 'Finish Setup', 'de': 'Einrichtung abschließen'}}, {'id': 'advanced', 'label': {'en': 'Configure advanced settings', 'de': 'Erweiterte Einstellungen konfigurieren'}}, {'id': 'custom', 'label': {'en': 'Configure custom entities', 'de': 'Eigene Entitäten konfigurieren'}}]}}}]}}}, 'cat': <EventCategory.DEVICE: 'DEVICE'>}
  105. 2025-11-10 22:03:55.031786 +00:00 custom-intg-requests INFO config DEBUG setup_step not found in __storers because it should not be stored in the config file
  106. 2025-11-10 22:03:55.031085 +00:00 custom-intg-requests INFO config DEBUG Saved setup_step: action into config runtime storage
  107. 2025-11-10 22:03:55.030305 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [available] entity deleted: remote-custom-entity2
  108. 2025-11-10 22:03:55.029664 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [configured] entity deleted: remote-custom-entity2
  109. 2025-11-10 22:03:55.028852 +00:00 custom-intg-requests INFO setup INFO One or more entities have been removed from the custom entities configuration. Removing them as available and configured entity
  110. 2025-11-10 22:03:55.027572 +00:00 custom-intg-requests INFO config DEBUG Get variables from _vars block in custom entities yaml configuration
  111. 2025-11-10 22:03:55.005067 +00:00 custom-intg-requests INFO setup INFO New custom entity configuration saved
  112. 2025-11-10 22:03:55.004010 +00:00 custom-intg-requests INFO config DEBUG Saved custom_entities_set: True into config runtime storage
  113. 2025-11-10 22:03:55.003301 +00:00 custom-intg-requests INFO config DEBUG Skip storing custom_entities_set: True into config file as it has not been changed from the default value of True
  114. 2025-11-10 22:03:55.002476 +00:00 custom-intg-requests INFO config DEBUG Stored custom entities configurations as YAML string into /etc/custom-intg/requests/custom_entities.yaml
  115. 2025-11-10 22:03:54.986161 +00:00 custom-intg-requests INFO config DEBUG Saved custom entities as Python dict into custom entities runtime storage
  116. 2025-11-10 22:03:54.965415 +00:00 custom-intg-requests INFO config DEBUG Get variables from _vars block in custom entities yaml configuration
  117. 2025-11-10 22:03:54.938219 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] ->: {'kind': 'event', 'msg': <WsMsgEvents.DRIVER_SETUP_CHANGE: 'driver_setup_change'>, 'msg_data': {'event_type': 'SETUP', 'state': 'SETUP'}, 'cat': <EventCategory.DEVICE: 'DEVICE'>}
  118. 2025-11-10 22:03:54.435932 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] ->: {'kind': 'resp', 'req_id': 27, 'code': 200, 'msg': 'result', 'msg_data': {}}
  119. 2025-11-10 22:03:54.432066 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] <-: {"kind":"req","id":27,"msg":"set_driver_user_data","msg_data":{"input_values":{"custom_entities":"Entity3:\n Features:\n 'Off':\n Type: get\n Parameter: http://192.168.1.58/relay/0?turn=off\n 'On':\n Type: get\n Parameter: http://192.168.1.58/relay/0?turn=on\n\n"}}}
  120. 2025-11-10 22:03:36.426017 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] ->: {'kind': 'event', 'msg': <WsMsgEvents.DRIVER_SETUP_CHANGE: 'driver_setup_change'>, 'msg_data': {'event_type': 'SETUP', 'state': 'WAIT_USER_ACTION', 'require_user_action': {'input': {'title': {'en': 'Custom Entity Configuration', 'de': 'Eigene Entitäten-Konfiguration'}, 'settings': [{'id': 'custom-entities-settings', 'label': {'en': 'Custom entities configuration', 'de': 'Eigene Entitäten-Konfiguration'}, 'field': {'label': {'value': {'en': 'Create your own remote entities with pre-defined commands. More details can be found in the readme file. If you add new commands or features to an existing entity you need to remove and re-add the entity from the configured entity list afterwards.', 'de': 'Erstelle deine eigenen Remote Entitäten mit vor-definierten Befehlen. Mehr Details findest du in der Readme-Datei. Wenn du neue Befehle oder Feature zu einer bestehenden Entitäten-Konfiguration hinzufügst, musst du die Entität anschließend aus der konfigurierten Entitäten-Liste entfernen und neu hinzufügen.'}}}}, {'id': 'custom_entities', 'label': {'en': 'Replace this configuration with your own', 'de': 'Ersetzte diese Konfiguration mit deiner Eigenen'}, 'field': {'textarea': {'value': "Entity2:\n Features:\n 'Off':\n Type: get\n Parameter: http://192.168.1.121/relay/0?turn=off\n 'On':\n Type: get\n Parameter: http://192.168.1.121/relay/0?turn=on\n Simple Commands: {}\n"}}}]}}}, 'cat': <EventCategory.DEVICE: 'DEVICE'>}
  121. 2025-11-10 22:03:36.421699 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] ->: {'kind': 'event', 'msg': <WsMsgEvents.DRIVER_SETUP_CHANGE: 'driver_setup_change'>, 'msg_data': {'event_type': 'SETUP', 'state': 'SETUP'}, 'cat': <EventCategory.DEVICE: 'DEVICE'>}
  122. 2025-11-10 22:03:36.419434 +00:00 custom-intg-requests INFO config DEBUG setup_step not found in __storers because it should not be stored in the config file
  123. 2025-11-10 22:03:36.417880 +00:00 custom-intg-requests INFO config DEBUG Saved setup_step: handle_custom into config runtime storage
  124. 2025-11-10 22:03:36.417880 +00:00 custom-intg-requests INFO config DEBUG setup_step not found in __storers because it should not be stored in the config file
  125. 2025-11-10 22:03:36.415581 +00:00 custom-intg-requests INFO config DEBUG Saved setup_step: custom into config runtime storage
  126. 2025-11-10 22:03:36.415581 +00:00 custom-intg-requests INFO config DEBUG setup_reconfigure not found in __storers because it should not be stored in the config file
  127. 2025-11-10 22:03:36.415581 +00:00 custom-intg-requests INFO config DEBUG Saved setup_reconfigure: True into config runtime storage
  128. 2025-11-10 22:03:36.415581 +00:00 custom-intg-requests INFO setup INFO Starting reconfiguration
  129. 2025-11-10 22:03:36.415581 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] ->: {'kind': 'resp', 'req_id': 26, 'code': 200, 'msg': 'result', 'msg_data': {}}
  130. 2025-11-10 22:03:36.408841 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] <-: {"kind":"req","id":26,"msg":"setup_driver","msg_data":{"reconfigure":true,"setup_data":{"setup_action":"custom"}}}
  131. 2025-11-10 22:02:57.526054 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] ->: {'kind': 'resp', 'req_id': 25, 'code': 404, 'msg': 'result', 'msg_data': {}}
  132. 2025-11-10 22:02:57.526054 +00:00 custom-intg-requests INFO ucapi.api WARNING Cannot execute command 'on' for 'remote-custom-entity1': no configured entity found
  133. 2025-11-10 22:02:57.521905 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [configured]: entity not found: 'remote-custom-entity1'
  134. 2025-11-10 22:02:57.521905 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] <-: {"kind":"req","id":25,"msg":"entity_command","msg_data":{"cmd_id":"on","entity_id":"remote-custom-entity1","entity_type":"remote"}}
  135. 2025-11-10 22:02:52.063163 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] ->: {'kind': 'resp', 'req_id': 24, 'code': 404, 'msg': 'result', 'msg_data': {}}
  136. 2025-11-10 22:02:52.063163 +00:00 custom-intg-requests INFO ucapi.api WARNING Cannot execute command 'on' for 'remote-custom-entity1': no configured entity found
  137. 2025-11-10 22:02:52.063163 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [configured]: entity not found: 'remote-custom-entity1'
  138. 2025-11-10 22:02:52.059551 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] <-: {"kind":"req","id":24,"msg":"entity_command","msg_data":{"cmd_id":"on","entity_id":"remote-custom-entity1","entity_type":"remote"}}
  139. 2025-11-10 22:02:43.516780 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] =>: {'kind': 'event', 'msg': <WsMsgEvents.ENTITY_CHANGE: 'entity_change'>, 'msg_data': {'entity_id': 'remote-custom-entity2', 'entity_type': <EntityTypes.REMOTE: 'remote'>, 'attributes': {<Attributes.STATE: 'state'>: <States.OFF: 'OFF'>}}, 'cat': <EventCategory.ENTITY: 'ENTITY'>}
  140. 2025-11-10 22:02:43.512842 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] ->: {'kind': 'resp', 'req_id': 23, 'code': 200, 'msg': 'result', 'msg_data': {}}
  141. 2025-11-10 22:02:43.511481 +00:00 custom-intg-requests INFO remote INFO Updated remote entity status attribute to {<Attributes.STATE: 'state'>: <States.OFF: 'OFF'>} for remote-custom-entity2
  142. 2025-11-10 22:02:43.510587 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [configured]: entity 'remote-custom-entity2' attributes updated
  143. 2025-11-10 22:02:43.505430 +00:00 custom-intg-requests INFO media_player INFO Entity http-get not found in configured entities. Skip updating attributes
  144. 2025-11-10 22:02:43.504695 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [configured]: entity not found: 'http-get'
  145. 2025-11-10 22:02:43.503931 +00:00 custom-intg-requests INFO sensor INFO Entity http-response not found in configured entities. Skip updating attributes
  146. 2025-11-10 22:02:43.503197 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [configured]: entity not found: 'http-response'
  147. 2025-11-10 22:02:43.502456 +00:00 custom-intg-requests INFO commands DEBUG No regular expression set for the http request response sensor. The complete response will be used
  148. 2025-11-10 22:02:43.501581 +00:00 custom-intg-requests INFO commands INFO Server response: {"ison": false, "has_timer":false, "timer_started_at": 0, "timer_duration": 0.00, "timer_remaining": 0.00, "overpower": false, "source": "http"}
  149. 2025-11-10 22:02:43.500764 +00:00 custom-intg-requests INFO commands INFO Sent http-get request to: http://192.168.1.121/relay/0?turn=off
  150. 2025-11-10 22:02:43.418707 +00:00 custom-intg-requests INFO commands DEBUG method: get, fire_and_forget: True, url: http://192.168.1.121/relay/0?turn=off, params: {'headers': {'User-Agent': 'uc-intg-requests'}, 'timeout': 2, 'verify': True}
  151. 2025-11-10 22:02:43.414918 +00:00 custom-intg-requests INFO remote INFO Executing HTTP request with method get and parameter http://192.168.1.121/relay/0?turn=off
  152. 2025-11-10 22:02:43.413420 +00:00 custom-intg-requests INFO config DEBUG Get variables from _vars block in custom entities yaml configuration
  153. 2025-11-10 22:02:43.390141 +00:00 custom-intg-requests INFO remote INFO Received off command for remote-custom-entity2
  154. 2025-11-10 22:02:43.390141 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] <-: {"kind":"req","id":23,"msg":"entity_command","msg_data":{"cmd_id":"off","entity_id":"remote-custom-entity2","entity_type":"remote"}}
  155. 2025-11-10 22:02:37.882172 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] =>: {'kind': 'event', 'msg': <WsMsgEvents.ENTITY_CHANGE: 'entity_change'>, 'msg_data': {'entity_id': 'remote-custom-entity2', 'entity_type': <EntityTypes.REMOTE: 'remote'>, 'attributes': {<Attributes.STATE: 'state'>: <States.ON: 'ON'>}}, 'cat': <EventCategory.ENTITY: 'ENTITY'>}
  156. 2025-11-10 22:02:37.878268 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] ->: {'kind': 'resp', 'req_id': 22, 'code': 200, 'msg': 'result', 'msg_data': {}}
  157. 2025-11-10 22:02:37.876867 +00:00 custom-intg-requests INFO remote INFO Updated remote entity status attribute to {<Attributes.STATE: 'state'>: <States.ON: 'ON'>} for remote-custom-entity2
  158. 2025-11-10 22:02:37.875899 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [configured]: entity 'remote-custom-entity2' attributes updated
  159. 2025-11-10 22:02:37.870442 +00:00 custom-intg-requests INFO media_player INFO Entity http-get not found in configured entities. Skip updating attributes
  160. 2025-11-10 22:02:37.869799 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [configured]: entity not found: 'http-get'
  161. 2025-11-10 22:02:37.869023 +00:00 custom-intg-requests INFO sensor INFO Entity http-response not found in configured entities. Skip updating attributes
  162. 2025-11-10 22:02:37.868308 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [configured]: entity not found: 'http-response'
  163. 2025-11-10 22:02:37.867589 +00:00 custom-intg-requests INFO commands DEBUG No regular expression set for the http request response sensor. The complete response will be used
  164. 2025-11-10 22:02:37.866828 +00:00 custom-intg-requests INFO commands INFO Server response: {"ison": true, "has_timer":false, "timer_started_at": 0, "timer_duration": 0.00, "timer_remaining": 0.00, "overpower": false, "source": "http"}
  165. 2025-11-10 22:02:37.866010 +00:00 custom-intg-requests INFO commands INFO Sent http-get request to: http://192.168.1.121/relay/0?turn=on
  166. 2025-11-10 22:02:37.764466 +00:00 custom-intg-requests INFO commands DEBUG method: get, fire_and_forget: True, url: http://192.168.1.121/relay/0?turn=on, params: {'headers': {'User-Agent': 'uc-intg-requests'}, 'timeout': 2, 'verify': True}
  167. 2025-11-10 22:02:37.760781 +00:00 custom-intg-requests INFO remote INFO Executing HTTP request with method get and parameter http://192.168.1.121/relay/0?turn=on
  168. 2025-11-10 22:02:37.759232 +00:00 custom-intg-requests INFO config DEBUG Get variables from _vars block in custom entities yaml configuration
  169. 2025-11-10 22:02:37.739117 +00:00 custom-intg-requests INFO remote INFO Received on command for remote-custom-entity2
  170. 2025-11-10 22:02:37.735316 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] <-: {"kind":"req","id":22,"msg":"entity_command","msg_data":{"cmd_id":"on","entity_id":"remote-custom-entity2","entity_type":"remote"}}
  171. 2025-11-10 22:02:24.125196 +00:00 custom-intg-requests INFO config DEBUG standby not found in __storers because it should not be stored in the config file
  172. 2025-11-10 22:02:24.124001 +00:00 custom-intg-requests INFO config DEBUG Saved standby: False into config runtime storage
  173. 2025-11-10 22:02:24.124001 +00:00 custom-intg-requests INFO driver INFO Received subscribe entities event for entity ids: ['remote-custom-entity2']
  174. 2025-11-10 22:02:24.124001 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] ->: {'kind': 'resp', 'req_id': 21, 'code': 200, 'msg': 'result', 'msg_data': {}}
  175. 2025-11-10 22:02:24.119867 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [configured] entity added: 'remote-custom-entity2'
  176. 2025-11-10 22:02:24.119867 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] <-: {"kind":"req","id":21,"msg":"subscribe_events","msg_data":{"entity_ids":["remote-custom-entity2"]}}
  177. 2025-11-10 22:02:18.332248 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] ->: {'kind': 'resp', 'req_id': 20, 'code': 200, 'msg': <WsMsgEvents.AVAILABLE_ENTITIES: 'available_entities'>, 'msg_data': {'available_entities': [{'entity_id': 'http-get', 'entity_type': <EntityTypes.MEDIA_PLAYER: 'media_player'>, 'device_id': None, 'features': [<Features.SELECT_SOURCE: 'select_source'>, <Features.MEDIA_TITLE: 'media_title'>], 'name': {'en': 'HTTP Get'}}, {'entity_id': 'http-post', 'entity_type': <EntityTypes.MEDIA_PLAYER: 'media_player'>, 'device_id': None, 'features': [<Features.SELECT_SOURCE: 'select_source'>, <Features.MEDIA_TITLE: 'media_title'>], 'name': {'en': 'HTTP Post'}}, {'entity_id': 'http-patch', 'entity_type': <EntityTypes.MEDIA_PLAYER: 'media_player'>, 'device_id': None, 'features': [<Features.SELECT_SOURCE: 'select_source'>, <Features.MEDIA_TITLE: 'media_title'>], 'name': {'en': 'HTTP Patch'}}, {'entity_id': 'http-put', 'entity_type': <EntityTypes.MEDIA_PLAYER: 'media_player'>, 'device_id': None, 'features': [<Features.SELECT_SOURCE: 'select_source'>, <Features.MEDIA_TITLE: 'media_title'>], 'name': {'en': 'HTTP Put'}}, {'entity_id': 'http-delete', 'entity_type': <EntityTypes.MEDIA_PLAYER: 'media_player'>, 'device_id': None, 'features': [<Features.SELECT_SOURCE: 'select_source'>, <Features.MEDIA_TITLE: 'media_title'>], 'name': {'en': 'HTTP Delete'}}, {'entity_id': 'http-head', 'entity_type': <EntityTypes.MEDIA_PLAYER: 'media_player'>, 'device_id': None, 'features': [<Features.SELECT_SOURCE: 'select_source'>, <Features.MEDIA_TITLE: 'media_title'>], 'name': {'en': 'HTTP Head'}}, {'entity_id': 'wol', 'entity_type': <EntityTypes.MEDIA_PLAYER: 'media_player'>, 'device_id': None, 'features': [<Features.SELECT_SOURCE: 'select_source'>, <Features.MEDIA_TITLE: 'media_title'>], 'name': {'en': 'Wake on LAN'}}, {'entity_id': 'tcp-text', 'entity_type': <EntityTypes.MEDIA_PLAYER: 'media_player'>, 'device_id': None, 'features': [<Features.SELECT_SOURCE: 'select_source'>, <Features.MEDIA_TITLE: 'media_title'>], 'name': {'en': 'Text over TCP', 'de': 'Text über TCP'}}, {'entity_id': 'http-response', 'entity_type': <EntityTypes.SENSOR: 'sensor'>, 'device_id': None, 'features': None, 'name': {'en': 'HTTP Request Response', 'de': 'HTTP Anfrage-Antwort'}, 'device_class': <DeviceClasses.CUSTOM: 'custom'>}, {'entity_id': 'remote-custom-entity2', 'entity_type': <EntityTypes.REMOTE: 'remote'>, 'device_id': None, 'features': [<Features.ON_OFF: 'on_off'>], 'name': {'en': 'Entity2'}}]}}
  178. 2025-11-10 22:02:18.326026 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] <-: {"kind":"req","id":20,"msg":"get_available_entities","msg_data":{}}
  179. 2025-11-10 22:02:18.229673 +00:00 custom-intg-requests INFO config DEBUG standby not found in __storers because it should not be stored in the config file
  180. 2025-11-10 22:02:18.228831 +00:00 custom-intg-requests INFO config DEBUG Saved standby: False into config runtime storage
  181. 2025-11-10 22:02:18.227934 +00:00 custom-intg-requests INFO driver INFO Received subscribe entities event for entity ids: ['remote-custom-entity1']
  182. 2025-11-10 22:02:18.225550 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] ->: {'kind': 'resp', 'req_id': 19, 'code': 200, 'msg': 'result', 'msg_data': {}}
  183. 2025-11-10 22:02:18.223517 +00:00 custom-intg-requests INFO ucapi.api WARNING WARN: cannot subscribe entity remote-custom-entity1: entity is not available
  184. 2025-11-10 22:02:18.221888 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [available]: entity not found: 'remote-custom-entity1'
  185. 2025-11-10 22:02:18.220700 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] <-: {"kind":"req","id":19,"msg":"subscribe_events","msg_data":{"entity_ids":["remote-custom-entity1"]}}
  186. 2025-11-10 22:02:18.212630 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] ->: {'kind': 'event', 'msg': <WsMsgEvents.DRIVER_SETUP_CHANGE: 'driver_setup_change'>, 'msg_data': {'event_type': 'STOP', 'state': 'OK'}, 'cat': <EventCategory.DEVICE: 'DEVICE'>}
  187. 2025-11-10 22:02:18.210905 +00:00 custom-intg-requests INFO config DEBUG Ignore saving and storing setup_complete flag during reconfiguration
  188. 2025-11-10 22:02:18.210223 +00:00 custom-intg-requests INFO setup INFO Reconfiguration complete
  189. 2025-11-10 22:02:18.209582 +00:00 custom-intg-requests INFO sensor INFO Added http request response sensor entity with id http-response and name {'en': 'HTTP Request Response', 'de': 'HTTP Anfrage-Antwort'}
  190. 2025-11-10 22:02:18.208870 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [available] entity already exists: 'http-response'
  191. 2025-11-10 22:02:18.208163 +00:00 custom-intg-requests INFO ucapi.entity DEBUG Created sensor entity: http-response
  192. 2025-11-10 22:02:18.207201 +00:00 custom-intg-requests INFO driver INFO Added media player entity with id tcp-text and name {'en': 'Text over TCP', 'de': 'Text über TCP'}
  193. 2025-11-10 22:02:18.206557 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [available] entity already exists: 'tcp-text'
  194. 2025-11-10 22:02:18.205895 +00:00 custom-intg-requests INFO ucapi.entity DEBUG Created media_player entity: tcp-text
  195. 2025-11-10 22:02:18.204987 +00:00 custom-intg-requests INFO driver INFO Added media player entity with id wol and name Wake on LAN
  196. 2025-11-10 22:02:18.204404 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [available] entity already exists: 'wol'
  197. 2025-11-10 22:02:18.203727 +00:00 custom-intg-requests INFO ucapi.entity DEBUG Created media_player entity: wol
  198. 2025-11-10 22:02:18.202803 +00:00 custom-intg-requests INFO driver INFO Added media player entity with id http-head and name HTTP Head
  199. 2025-11-10 22:02:18.202122 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [available] entity already exists: 'http-head'
  200. 2025-11-10 22:02:18.201447 +00:00 custom-intg-requests INFO ucapi.entity DEBUG Created media_player entity: http-head
  201. 2025-11-10 22:02:18.200535 +00:00 custom-intg-requests INFO driver INFO Added media player entity with id http-delete and name HTTP Delete
  202. 2025-11-10 22:02:18.199851 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [available] entity already exists: 'http-delete'
  203. 2025-11-10 22:02:18.199128 +00:00 custom-intg-requests INFO ucapi.entity DEBUG Created media_player entity: http-delete
  204. 2025-11-10 22:02:18.198243 +00:00 custom-intg-requests INFO driver INFO Added media player entity with id http-put and name HTTP Put
  205. 2025-11-10 22:02:18.197650 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [available] entity already exists: 'http-put'
  206. 2025-11-10 22:02:18.197026 +00:00 custom-intg-requests INFO ucapi.entity DEBUG Created media_player entity: http-put
  207. 2025-11-10 22:02:18.196134 +00:00 custom-intg-requests INFO driver INFO Added media player entity with id http-patch and name HTTP Patch
  208. 2025-11-10 22:02:18.195522 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [available] entity already exists: 'http-patch'
  209. 2025-11-10 22:02:18.194889 +00:00 custom-intg-requests INFO ucapi.entity DEBUG Created media_player entity: http-patch
  210. 2025-11-10 22:02:18.193965 +00:00 custom-intg-requests INFO driver INFO Added media player entity with id http-post and name HTTP Post
  211. 2025-11-10 22:02:18.193278 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [available] entity already exists: 'http-post'
  212. 2025-11-10 22:02:18.192688 +00:00 custom-intg-requests INFO ucapi.entity DEBUG Created media_player entity: http-post
  213. 2025-11-10 22:02:18.192032 +00:00 custom-intg-requests INFO driver INFO Added media player entity with id http-get and name HTTP Get
  214. 2025-11-10 22:02:18.191442 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [available] entity already exists: 'http-get'
  215. 2025-11-10 22:02:18.190781 +00:00 custom-intg-requests INFO ucapi.entity DEBUG Created media_player entity: http-get
  216. 2025-11-10 22:02:18.189642 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [available] entity added: 'remote-custom-entity2'
  217. 2025-11-10 22:02:18.189642 +00:00 custom-intg-requests INFO ucapi.entity DEBUG Created remote entity: remote-custom-entity2
  218. 2025-11-10 22:02:18.188296 +00:00 custom-intg-requests INFO driver INFO Adding custom entity Entity2
  219. 2025-11-10 22:02:18.188296 +00:00 custom-intg-requests INFO config DEBUG Get variables from _vars block in custom entities yaml configuration
  220. 2025-11-10 22:02:18.160475 +00:00 custom-intg-requests INFO setup DEBUG Get custom entities configuration as Python dict from runtime storage
  221. 2025-11-10 22:02:18.157441 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] ->: {'kind': 'event', 'msg': <WsMsgEvents.DRIVER_SETUP_CHANGE: 'driver_setup_change'>, 'msg_data': {'event_type': 'SETUP', 'state': 'SETUP'}, 'cat': <EventCategory.DEVICE: 'DEVICE'>}
  222. 2025-11-10 22:02:17.655654 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] ->: {'kind': 'resp', 'req_id': 18, 'code': 200, 'msg': 'result', 'msg_data': {}}
  223. 2025-11-10 22:02:17.651830 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] <-: {"kind":"req","id":18,"msg":"set_driver_user_data","msg_data":{"input_values":{"custom_entities":"Entity2:\n Features:\n 'Off':\n Type: get\n Parameter: http://192.168.1.121/relay/0?turn=off\n 'On':\n Type: get\n Parameter: http://192.168.1.121/relay/0?turn=on\n","setup_action":"finish"}}}
  224. 2025-11-10 22:02:13.851082 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] ->: {'kind': 'event', 'msg': <WsMsgEvents.DRIVER_SETUP_CHANGE: 'driver_setup_change'>, 'msg_data': {'event_type': 'SETUP', 'state': 'WAIT_USER_ACTION', 'require_user_action': {'input': {'title': {'en': 'Setup Actions', 'de': 'Einrichtungsoptionen'}, 'settings': [{'id': 'setup_action', 'label': {'en': 'Choose a setup action', 'de': 'Wähle eine Einrichtungsoption aus'}, 'field': {'dropdown': {'value': 'finish', 'items': [{'id': 'finish', 'label': {'en': 'Finish Setup', 'de': 'Einrichtung abschließen'}}, {'id': 'advanced', 'label': {'en': 'Configure advanced settings', 'de': 'Erweiterte Einstellungen konfigurieren'}}, {'id': 'custom', 'label': {'en': 'Configure custom entities', 'de': 'Eigene Entitäten konfigurieren'}}]}}}]}}}, 'cat': <EventCategory.DEVICE: 'DEVICE'>}
  225. 2025-11-10 22:02:13.847824 +00:00 custom-intg-requests INFO config DEBUG setup_step not found in __storers because it should not be stored in the config file
  226. 2025-11-10 22:02:13.847116 +00:00 custom-intg-requests INFO config DEBUG Saved setup_step: action into config runtime storage
  227. 2025-11-10 22:02:13.846284 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [available] entity deleted: remote-custom-entity1
  228. 2025-11-10 22:02:13.845694 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [configured] entity deleted: remote-custom-entity1
  229. 2025-11-10 22:02:13.844895 +00:00 custom-intg-requests INFO setup INFO One or more entities have been removed from the custom entities configuration. Removing them as available and configured entity
  230. 2025-11-10 22:02:13.843657 +00:00 custom-intg-requests INFO config DEBUG Get variables from _vars block in custom entities yaml configuration
  231. 2025-11-10 22:02:13.821275 +00:00 custom-intg-requests INFO setup INFO New custom entity configuration saved
  232. 2025-11-10 22:02:13.820176 +00:00 custom-intg-requests INFO config DEBUG Saved custom_entities_set: True into config runtime storage
  233. 2025-11-10 22:02:13.819508 +00:00 custom-intg-requests INFO config DEBUG Skip storing custom_entities_set: True into config file as it has not been changed from the default value of True
  234. 2025-11-10 22:02:13.818737 +00:00 custom-intg-requests INFO config DEBUG Stored custom entities configurations as YAML string into /etc/custom-intg/requests/custom_entities.yaml
  235. 2025-11-10 22:02:13.801971 +00:00 custom-intg-requests INFO config DEBUG Saved custom entities as Python dict into custom entities runtime storage
  236. 2025-11-10 22:02:13.781302 +00:00 custom-intg-requests INFO config DEBUG Get variables from _vars block in custom entities yaml configuration
  237. 2025-11-10 22:02:13.754055 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] ->: {'kind': 'event', 'msg': <WsMsgEvents.DRIVER_SETUP_CHANGE: 'driver_setup_change'>, 'msg_data': {'event_type': 'SETUP', 'state': 'SETUP'}, 'cat': <EventCategory.DEVICE: 'DEVICE'>}
  238. 2025-11-10 22:02:13.252407 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] ->: {'kind': 'resp', 'req_id': 17, 'code': 200, 'msg': 'result', 'msg_data': {}}
  239. 2025-11-10 22:02:13.247890 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] <-: {"kind":"req","id":17,"msg":"set_driver_user_data","msg_data":{"input_values":{"custom_entities":"Entity2:\n Features:\n 'Off':\n Type: get\n Parameter: http://192.168.1.121/relay/0?turn=off\n 'On':\n Type: get\n Parameter: http://192.168.1.121/relay/0?turn=on\n"}}}
  240. 2025-11-10 22:02:02.156966 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] ->: {'kind': 'event', 'msg': <WsMsgEvents.DRIVER_SETUP_CHANGE: 'driver_setup_change'>, 'msg_data': {'event_type': 'SETUP', 'state': 'WAIT_USER_ACTION', 'require_user_action': {'input': {'title': {'en': 'Custom Entity Configuration', 'de': 'Eigene Entitäten-Konfiguration'}, 'settings': [{'id': 'custom-entities-settings', 'label': {'en': 'Custom entities configuration', 'de': 'Eigene Entitäten-Konfiguration'}, 'field': {'label': {'value': {'en': 'Create your own remote entities with pre-defined commands. More details can be found in the readme file. If you add new commands or features to an existing entity you need to remove and re-add the entity from the configured entity list afterwards.', 'de': 'Erstelle deine eigenen Remote Entitäten mit vor-definierten Befehlen. Mehr Details findest du in der Readme-Datei. Wenn du neue Befehle oder Feature zu einer bestehenden Entitäten-Konfiguration hinzufügst, musst du die Entität anschließend aus der konfigurierten Entitäten-Liste entfernen und neu hinzufügen.'}}}}, {'id': 'custom_entities', 'label': {'en': 'Replace this configuration with your own', 'de': 'Ersetzte diese Konfiguration mit deiner Eigenen'}, 'field': {'textarea': {'value': "Entity1:\n Features:\n 'Off':\n Type: get\n Parameter: http://192.168.1.45/relay/0?turn=off\n 'On':\n Type: get\n Parameter: http://192.168.1.45/relay/0?turn=on\n Simple Commands: {}\n"}}}]}}}, 'cat': <EventCategory.DEVICE: 'DEVICE'>}
  241. 2025-11-10 22:02:02.152777 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] ->: {'kind': 'event', 'msg': <WsMsgEvents.DRIVER_SETUP_CHANGE: 'driver_setup_change'>, 'msg_data': {'event_type': 'SETUP', 'state': 'SETUP'}, 'cat': <EventCategory.DEVICE: 'DEVICE'>}
  242. 2025-11-10 22:02:02.150430 +00:00 custom-intg-requests INFO config DEBUG setup_step not found in __storers because it should not be stored in the config file
  243. 2025-11-10 22:02:02.149265 +00:00 custom-intg-requests INFO config DEBUG Saved setup_step: handle_custom into config runtime storage
  244. 2025-11-10 22:02:02.146902 +00:00 custom-intg-requests INFO config DEBUG setup_step not found in __storers because it should not be stored in the config file
  245. 2025-11-10 22:02:02.146902 +00:00 custom-intg-requests INFO config DEBUG Saved setup_step: custom into config runtime storage
  246. 2025-11-10 22:02:02.146902 +00:00 custom-intg-requests INFO config DEBUG setup_reconfigure not found in __storers because it should not be stored in the config file
  247. 2025-11-10 22:02:02.146902 +00:00 custom-intg-requests INFO config DEBUG Saved setup_reconfigure: True into config runtime storage
  248. 2025-11-10 22:02:02.146902 +00:00 custom-intg-requests INFO setup INFO Starting reconfiguration
  249. 2025-11-10 22:02:02.142144 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] ->: {'kind': 'resp', 'req_id': 16, 'code': 200, 'msg': 'result', 'msg_data': {}}
  250. 2025-11-10 22:02:02.142144 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] <-: {"kind":"req","id":16,"msg":"setup_driver","msg_data":{"reconfigure":true,"setup_data":{"setup_action":"custom"}}}
  251. 2025-11-10 22:01:21.666048 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] =>: {'kind': 'event', 'msg': <WsMsgEvents.ENTITY_CHANGE: 'entity_change'>, 'msg_data': {'entity_id': 'remote-custom-entity1', 'entity_type': <EntityTypes.REMOTE: 'remote'>, 'attributes': {<Attributes.STATE: 'state'>: <States.OFF: 'OFF'>}}, 'cat': <EventCategory.ENTITY: 'ENTITY'>}
  252. 2025-11-10 22:01:21.662169 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] ->: {'kind': 'resp', 'req_id': 15, 'code': 200, 'msg': 'result', 'msg_data': {}}
  253. 2025-11-10 22:01:21.660752 +00:00 custom-intg-requests INFO remote INFO Updated remote entity status attribute to {<Attributes.STATE: 'state'>: <States.OFF: 'OFF'>} for remote-custom-entity1
  254. 2025-11-10 22:01:21.659872 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [configured]: entity 'remote-custom-entity1' attributes updated
  255. 2025-11-10 22:01:21.654969 +00:00 custom-intg-requests INFO media_player INFO Entity http-get not found in configured entities. Skip updating attributes
  256. 2025-11-10 22:01:21.654304 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [configured]: entity not found: 'http-get'
  257. 2025-11-10 22:01:21.653641 +00:00 custom-intg-requests INFO sensor INFO Entity http-response not found in configured entities. Skip updating attributes
  258. 2025-11-10 22:01:21.652915 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [configured]: entity not found: 'http-response'
  259. 2025-11-10 22:01:21.652133 +00:00 custom-intg-requests INFO commands DEBUG No regular expression set for the http request response sensor. The complete response will be used
  260. 2025-11-10 22:01:21.651298 +00:00 custom-intg-requests INFO commands INFO Server response: {"ison":false,"has_timer":false,"timer_started":0,"timer_duration":0,"timer_remaining":0,"overpower":false,"source":"http"}
  261. 2025-11-10 22:01:21.650478 +00:00 custom-intg-requests INFO commands INFO Sent http-get request to: http://192.168.1.45/relay/0?turn=off
  262. 2025-11-10 22:01:21.572309 +00:00 custom-intg-requests INFO commands DEBUG method: get, fire_and_forget: True, url: http://192.168.1.45/relay/0?turn=off, params: {'headers': {'User-Agent': 'uc-intg-requests'}, 'timeout': 2, 'verify': True}
  263. 2025-11-10 22:01:21.568624 +00:00 custom-intg-requests INFO remote INFO Executing HTTP request with method get and parameter http://192.168.1.45/relay/0?turn=off
  264. 2025-11-10 22:01:21.567056 +00:00 custom-intg-requests INFO config DEBUG Get variables from _vars block in custom entities yaml configuration
  265. 2025-11-10 22:01:21.547729 +00:00 custom-intg-requests INFO remote INFO Received off command for remote-custom-entity1
  266. 2025-11-10 22:01:21.543511 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] <-: {"kind":"req","id":15,"msg":"entity_command","msg_data":{"cmd_id":"off","entity_id":"remote-custom-entity1","entity_type":"remote"}}
  267. 2025-11-10 22:01:16.694283 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] =>: {'kind': 'event', 'msg': <WsMsgEvents.ENTITY_CHANGE: 'entity_change'>, 'msg_data': {'entity_id': 'remote-custom-entity1', 'entity_type': <EntityTypes.REMOTE: 'remote'>, 'attributes': {<Attributes.STATE: 'state'>: <States.ON: 'ON'>}}, 'cat': <EventCategory.ENTITY: 'ENTITY'>}
  268. 2025-11-10 22:01:16.690536 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] ->: {'kind': 'resp', 'req_id': 14, 'code': 200, 'msg': 'result', 'msg_data': {}}
  269. 2025-11-10 22:01:16.689041 +00:00 custom-intg-requests INFO remote INFO Updated remote entity status attribute to {<Attributes.STATE: 'state'>: <States.ON: 'ON'>} for remote-custom-entity1
  270. 2025-11-10 22:01:16.688006 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [configured]: entity 'remote-custom-entity1' attributes updated
  271. 2025-11-10 22:01:16.682831 +00:00 custom-intg-requests INFO media_player INFO Entity http-get not found in configured entities. Skip updating attributes
  272. 2025-11-10 22:01:16.682092 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [configured]: entity not found: 'http-get'
  273. 2025-11-10 22:01:16.681437 +00:00 custom-intg-requests INFO sensor INFO Entity http-response not found in configured entities. Skip updating attributes
  274. 2025-11-10 22:01:16.680775 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [configured]: entity not found: 'http-response'
  275. 2025-11-10 22:01:16.679981 +00:00 custom-intg-requests INFO commands DEBUG No regular expression set for the http request response sensor. The complete response will be used
  276. 2025-11-10 22:01:16.679178 +00:00 custom-intg-requests INFO commands INFO Server response: {"ison":true,"has_timer":false,"timer_started":0,"timer_duration":0,"timer_remaining":0,"overpower":false,"source":"http"}
  277. 2025-11-10 22:01:16.678276 +00:00 custom-intg-requests INFO commands INFO Sent http-get request to: http://192.168.1.45/relay/0?turn=on
  278. 2025-11-10 22:01:16.537853 +00:00 custom-intg-requests INFO commands DEBUG method: get, fire_and_forget: True, url: http://192.168.1.45/relay/0?turn=on, params: {'headers': {'User-Agent': 'uc-intg-requests'}, 'timeout': 2, 'verify': True}
  279. 2025-11-10 22:01:16.526480 +00:00 custom-intg-requests INFO remote INFO Executing HTTP request with method get and parameter http://192.168.1.45/relay/0?turn=on
  280. 2025-11-10 22:01:16.524983 +00:00 custom-intg-requests INFO config DEBUG Get variables from _vars block in custom entities yaml configuration
  281. 2025-11-10 22:01:16.502327 +00:00 custom-intg-requests INFO remote INFO Received on command for remote-custom-entity1
  282. 2025-11-10 22:01:16.502327 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] <-: {"kind":"req","id":14,"msg":"entity_command","msg_data":{"cmd_id":"on","entity_id":"remote-custom-entity1","entity_type":"remote"}}
  283. 2025-11-10 22:01:01.569317 +00:00 custom-intg-requests INFO config DEBUG standby not found in __storers because it should not be stored in the config file
  284. 2025-11-10 22:01:01.567875 +00:00 custom-intg-requests INFO config DEBUG Saved standby: False into config runtime storage
  285. 2025-11-10 22:01:01.567875 +00:00 custom-intg-requests INFO driver INFO Received subscribe entities event for entity ids: ['remote-custom-entity1']
  286. 2025-11-10 22:01:01.567875 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] ->: {'kind': 'resp', 'req_id': 13, 'code': 200, 'msg': 'result', 'msg_data': {}}
  287. 2025-11-10 22:01:01.563066 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [configured] entity added: 'remote-custom-entity1'
  288. 2025-11-10 22:01:01.563066 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] <-: {"kind":"req","id":13,"msg":"subscribe_events","msg_data":{"entity_ids":["remote-custom-entity1"]}}
  289. 2025-11-10 22:00:54.537072 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] ->: {'kind': 'resp', 'req_id': 12, 'code': 200, 'msg': <WsMsgEvents.AVAILABLE_ENTITIES: 'available_entities'>, 'msg_data': {'available_entities': [{'entity_id': 'http-get', 'entity_type': <EntityTypes.MEDIA_PLAYER: 'media_player'>, 'device_id': None, 'features': [<Features.SELECT_SOURCE: 'select_source'>, <Features.MEDIA_TITLE: 'media_title'>], 'name': {'en': 'HTTP Get'}}, {'entity_id': 'http-post', 'entity_type': <EntityTypes.MEDIA_PLAYER: 'media_player'>, 'device_id': None, 'features': [<Features.SELECT_SOURCE: 'select_source'>, <Features.MEDIA_TITLE: 'media_title'>], 'name': {'en': 'HTTP Post'}}, {'entity_id': 'http-patch', 'entity_type': <EntityTypes.MEDIA_PLAYER: 'media_player'>, 'device_id': None, 'features': [<Features.SELECT_SOURCE: 'select_source'>, <Features.MEDIA_TITLE: 'media_title'>], 'name': {'en': 'HTTP Patch'}}, {'entity_id': 'http-put', 'entity_type': <EntityTypes.MEDIA_PLAYER: 'media_player'>, 'device_id': None, 'features': [<Features.SELECT_SOURCE: 'select_source'>, <Features.MEDIA_TITLE: 'media_title'>], 'name': {'en': 'HTTP Put'}}, {'entity_id': 'http-delete', 'entity_type': <EntityTypes.MEDIA_PLAYER: 'media_player'>, 'device_id': None, 'features': [<Features.SELECT_SOURCE: 'select_source'>, <Features.MEDIA_TITLE: 'media_title'>], 'name': {'en': 'HTTP Delete'}}, {'entity_id': 'http-head', 'entity_type': <EntityTypes.MEDIA_PLAYER: 'media_player'>, 'device_id': None, 'features': [<Features.SELECT_SOURCE: 'select_source'>, <Features.MEDIA_TITLE: 'media_title'>], 'name': {'en': 'HTTP Head'}}, {'entity_id': 'wol', 'entity_type': <EntityTypes.MEDIA_PLAYER: 'media_player'>, 'device_id': None, 'features': [<Features.SELECT_SOURCE: 'select_source'>, <Features.MEDIA_TITLE: 'media_title'>], 'name': {'en': 'Wake on LAN'}}, {'entity_id': 'tcp-text', 'entity_type': <EntityTypes.MEDIA_PLAYER: 'media_player'>, 'device_id': None, 'features': [<Features.SELECT_SOURCE: 'select_source'>, <Features.MEDIA_TITLE: 'media_title'>], 'name': {'en': 'Text over TCP', 'de': 'Text über TCP'}}, {'entity_id': 'http-response', 'entity_type': <EntityTypes.SENSOR: 'sensor'>, 'device_id': None, 'features': None, 'name': {'en': 'HTTP Request Response', 'de': 'HTTP Anfrage-Antwort'}, 'device_class': <DeviceClasses.CUSTOM: 'custom'>}, {'entity_id': 'remote-custom-entity1', 'entity_type': <EntityTypes.REMOTE: 'remote'>, 'device_id': None, 'features': [<Features.ON_OFF: 'on_off'>], 'name': {'en': 'Entity1'}}]}}
  290. 2025-11-10 22:00:54.530865 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] <-: {"kind":"req","id":12,"msg":"get_available_entities","msg_data":{}}
  291. 2025-11-10 22:00:54.421122 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] ->: {'kind': 'event', 'msg': <WsMsgEvents.DRIVER_SETUP_CHANGE: 'driver_setup_change'>, 'msg_data': {'event_type': 'STOP', 'state': 'OK'}, 'cat': <EventCategory.DEVICE: 'DEVICE'>}
  292. 2025-11-10 22:00:54.419520 +00:00 custom-intg-requests INFO config DEBUG Ignore saving and storing setup_complete flag during reconfiguration
  293. 2025-11-10 22:00:54.418862 +00:00 custom-intg-requests INFO setup INFO Reconfiguration complete
  294. 2025-11-10 22:00:54.418135 +00:00 custom-intg-requests INFO sensor INFO Added http request response sensor entity with id http-response and name {'en': 'HTTP Request Response', 'de': 'HTTP Anfrage-Antwort'}
  295. 2025-11-10 22:00:54.417453 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [available] entity already exists: 'http-response'
  296. 2025-11-10 22:00:54.416770 +00:00 custom-intg-requests INFO ucapi.entity DEBUG Created sensor entity: http-response
  297. 2025-11-10 22:00:54.415679 +00:00 custom-intg-requests INFO driver INFO Added media player entity with id tcp-text and name {'en': 'Text over TCP', 'de': 'Text über TCP'}
  298. 2025-11-10 22:00:54.414904 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [available] entity already exists: 'tcp-text'
  299. 2025-11-10 22:00:54.414223 +00:00 custom-intg-requests INFO ucapi.entity DEBUG Created media_player entity: tcp-text
  300. 2025-11-10 22:00:54.413412 +00:00 custom-intg-requests INFO driver INFO Added media player entity with id wol and name Wake on LAN
  301. 2025-11-10 22:00:54.412768 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [available] entity already exists: 'wol'
  302. 2025-11-10 22:00:54.412078 +00:00 custom-intg-requests INFO ucapi.entity DEBUG Created media_player entity: wol
  303. 2025-11-10 22:00:54.411174 +00:00 custom-intg-requests INFO driver INFO Added media player entity with id http-head and name HTTP Head
  304. 2025-11-10 22:00:54.410615 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [available] entity already exists: 'http-head'
  305. 2025-11-10 22:00:54.409916 +00:00 custom-intg-requests INFO ucapi.entity DEBUG Created media_player entity: http-head
  306. 2025-11-10 22:00:54.409032 +00:00 custom-intg-requests INFO driver INFO Added media player entity with id http-delete and name HTTP Delete
  307. 2025-11-10 22:00:54.408428 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [available] entity already exists: 'http-delete'
  308. 2025-11-10 22:00:54.407751 +00:00 custom-intg-requests INFO ucapi.entity DEBUG Created media_player entity: http-delete
  309. 2025-11-10 22:00:54.406831 +00:00 custom-intg-requests INFO driver INFO Added media player entity with id http-put and name HTTP Put
  310. 2025-11-10 22:00:54.406163 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [available] entity already exists: 'http-put'
  311. 2025-11-10 22:00:54.405539 +00:00 custom-intg-requests INFO ucapi.entity DEBUG Created media_player entity: http-put
  312. 2025-11-10 22:00:54.404553 +00:00 custom-intg-requests INFO driver INFO Added media player entity with id http-patch and name HTTP Patch
  313. 2025-11-10 22:00:54.403899 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [available] entity already exists: 'http-patch'
  314. 2025-11-10 22:00:54.403204 +00:00 custom-intg-requests INFO ucapi.entity DEBUG Created media_player entity: http-patch
  315. 2025-11-10 22:00:54.402298 +00:00 custom-intg-requests INFO driver INFO Added media player entity with id http-post and name HTTP Post
  316. 2025-11-10 22:00:54.401735 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [available] entity already exists: 'http-post'
  317. 2025-11-10 22:00:54.401043 +00:00 custom-intg-requests INFO ucapi.entity DEBUG Created media_player entity: http-post
  318. 2025-11-10 22:00:54.400097 +00:00 custom-intg-requests INFO driver INFO Added media player entity with id http-get and name HTTP Get
  319. 2025-11-10 22:00:54.399437 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [available] entity already exists: 'http-get'
  320. 2025-11-10 22:00:54.398674 +00:00 custom-intg-requests INFO ucapi.entity DEBUG Created media_player entity: http-get
  321. 2025-11-10 22:00:54.397647 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [available] entity added: 'remote-custom-entity1'
  322. 2025-11-10 22:00:54.396979 +00:00 custom-intg-requests INFO ucapi.entity DEBUG Created remote entity: remote-custom-entity1
  323. 2025-11-10 22:00:54.395843 +00:00 custom-intg-requests INFO driver INFO Adding custom entity Entity1
  324. 2025-11-10 22:00:54.394421 +00:00 custom-intg-requests INFO config DEBUG Get variables from _vars block in custom entities yaml configuration
  325. 2025-11-10 22:00:54.371978 +00:00 custom-intg-requests INFO setup DEBUG Get custom entities configuration as Python dict from runtime storage
  326. 2025-11-10 22:00:54.368967 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] ->: {'kind': 'event', 'msg': <WsMsgEvents.DRIVER_SETUP_CHANGE: 'driver_setup_change'>, 'msg_data': {'event_type': 'SETUP', 'state': 'SETUP'}, 'cat': <EventCategory.DEVICE: 'DEVICE'>}
  327. 2025-11-10 22:00:53.867698 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] ->: {'kind': 'resp', 'req_id': 11, 'code': 200, 'msg': 'result', 'msg_data': {}}
  328. 2025-11-10 22:00:53.863278 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] <-: {"kind":"req","id":11,"msg":"set_driver_user_data","msg_data":{"input_values":{"custom_entities":"Entity1:\n Features:\n 'Off':\n Type: get\n Parameter: http://192.168.1.45/relay/0?turn=off\n 'On':\n Type: get\n Parameter: http://192.168.1.45/relay/0?turn=on","setup_action":"finish"}}}
  329. 2025-11-10 22:00:45.495740 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] ->: {'kind': 'event', 'msg': <WsMsgEvents.DRIVER_SETUP_CHANGE: 'driver_setup_change'>, 'msg_data': {'event_type': 'SETUP', 'state': 'WAIT_USER_ACTION', 'require_user_action': {'input': {'title': {'en': 'Setup Actions', 'de': 'Einrichtungsoptionen'}, 'settings': [{'id': 'setup_action', 'label': {'en': 'Choose a setup action', 'de': 'Wähle eine Einrichtungsoption aus'}, 'field': {'dropdown': {'value': 'finish', 'items': [{'id': 'finish', 'label': {'en': 'Finish Setup', 'de': 'Einrichtung abschließen'}}, {'id': 'advanced', 'label': {'en': 'Configure advanced settings', 'de': 'Erweiterte Einstellungen konfigurieren'}}, {'id': 'custom', 'label': {'en': 'Configure custom entities', 'de': 'Eigene Entitäten konfigurieren'}}]}}}]}}}, 'cat': <EventCategory.DEVICE: 'DEVICE'>}
  330. 2025-11-10 22:00:45.492495 +00:00 custom-intg-requests INFO config DEBUG setup_step not found in __storers because it should not be stored in the config file
  331. 2025-11-10 22:00:45.491775 +00:00 custom-intg-requests INFO config DEBUG Saved setup_step: action into config runtime storage
  332. 2025-11-10 22:00:45.490279 +00:00 custom-intg-requests INFO config DEBUG Get variables from _vars block in custom entities yaml configuration
  333. 2025-11-10 22:00:45.467414 +00:00 custom-intg-requests INFO setup INFO New custom entity configuration saved
  334. 2025-11-10 22:00:45.465415 +00:00 custom-intg-requests INFO config DEBUG Stored custom_entities_set: True into /etc/custom-intg/requests/config.json
  335. 2025-11-10 22:00:45.461682 +00:00 custom-intg-requests INFO config DEBUG Saved custom_entities_set: True into config runtime storage
  336. 2025-11-10 22:00:45.460907 +00:00 custom-intg-requests INFO config DEBUG Stored custom entities configurations as YAML string into /etc/custom-intg/requests/custom_entities.yaml
  337. 2025-11-10 22:00:45.441243 +00:00 custom-intg-requests INFO config DEBUG Saved custom entities as Python dict into custom entities runtime storage
  338. 2025-11-10 22:00:45.413889 +00:00 custom-intg-requests INFO config DEBUG Get variables from _vars block in custom entities yaml configuration
  339. 2025-11-10 22:00:45.345682 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] ->: {'kind': 'event', 'msg': <WsMsgEvents.DRIVER_SETUP_CHANGE: 'driver_setup_change'>, 'msg_data': {'event_type': 'SETUP', 'state': 'SETUP'}, 'cat': <EventCategory.DEVICE: 'DEVICE'>}
  340. 2025-11-10 22:00:44.843940 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] ->: {'kind': 'resp', 'req_id': 10, 'code': 200, 'msg': 'result', 'msg_data': {}}
  341. 2025-11-10 22:00:44.839440 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] <-: {"kind":"req","id":10,"msg":"set_driver_user_data","msg_data":{"input_values":{"custom_entities":"Entity1:\n Features:\n 'Off':\n Type: get\n Parameter: http://192.168.1.45/relay/0?turn=off\n 'On':\n Type: get\n Parameter: http://192.168.1.45/relay/0?turn=on"}}}
  342. 2025-11-10 22:00:32.144856 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] ->: {'kind': 'event', 'msg': <WsMsgEvents.DRIVER_SETUP_CHANGE: 'driver_setup_change'>, 'msg_data': {'event_type': 'SETUP', 'state': 'WAIT_USER_ACTION', 'require_user_action': {'input': {'title': {'en': 'Custom Entity Configuration', 'de': 'Eigene Entitäten-Konfiguration'}, 'settings': [{'id': 'custom-entities-settings', 'label': {'en': 'Custom entities configuration', 'de': 'Eigene Entitäten-Konfiguration'}, 'field': {'label': {'value': {'en': 'Create your own remote entities with pre-defined commands. More details can be found in the readme file. If you add new commands or features to an existing entity you need to remove and re-add the entity from the configured entity list afterwards.', 'de': 'Erstelle deine eigenen Remote Entitäten mit vor-definierten Befehlen. Mehr Details findest du in der Readme-Datei. Wenn du neue Befehle oder Feature zu einer bestehenden Entitäten-Konfiguration hinzufügst, musst du die Entität anschließend aus der konfigurierten Entitäten-Liste entfernen und neu hinzufügen.'}}}}, {'id': 'custom_entities', 'label': {'en': 'Replace this configuration with your own', 'de': 'Ersetzte diese Konfiguration mit deiner Eigenen'}, 'field': {'textarea': {'value': "Entity1:\n Features:\n 'Off':\n Type: get\n Parameter: https://192.168.1.102/api/commands/off\n 'On':\n Type: wol\n Parameter:\n address:\n - ec:bd:d4:01:e9:39\n - 88:59:b7:25:b9:a5\n port: 12345\n interface: 192.168.1.1\n Toggle:\n Type: get\n Parameter: https://192.168.1.102/api/commands/toggle\n Simple Commands:\n INPUT_1:\n Type: post\n Parameter:\n url: https://httpbin.org/post\n json:\n command: input\n number: 1\n MENU:\n Type: tcp-text\n Parameter:\n address: 192.168.1.101:12345\n text: raw=0xDF 0xAD 0xBE 0xEF 0x00 0xFF\n timeout: 7\n"}}}]}}}, 'cat': <EventCategory.DEVICE: 'DEVICE'>}
  343. 2025-11-10 22:00:32.139033 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] ->: {'kind': 'event', 'msg': <WsMsgEvents.DRIVER_SETUP_CHANGE: 'driver_setup_change'>, 'msg_data': {'event_type': 'SETUP', 'state': 'SETUP'}, 'cat': <EventCategory.DEVICE: 'DEVICE'>}
  344. 2025-11-10 22:00:32.137932 +00:00 custom-intg-requests INFO config DEBUG setup_step not found in __storers because it should not be stored in the config file
  345. 2025-11-10 22:00:32.137932 +00:00 custom-intg-requests INFO config DEBUG Saved setup_step: handle_custom into config runtime storage
  346. 2025-11-10 22:00:32.134974 +00:00 custom-intg-requests INFO config DEBUG setup_step not found in __storers because it should not be stored in the config file
  347. 2025-11-10 22:00:32.134974 +00:00 custom-intg-requests INFO config DEBUG Saved setup_step: custom into config runtime storage
  348. 2025-11-10 22:00:32.134974 +00:00 custom-intg-requests INFO config DEBUG setup_reconfigure not found in __storers because it should not be stored in the config file
  349. 2025-11-10 22:00:32.134974 +00:00 custom-intg-requests INFO config DEBUG Saved setup_reconfigure: True into config runtime storage
  350. 2025-11-10 22:00:32.134974 +00:00 custom-intg-requests INFO setup INFO Starting reconfiguration
  351. 2025-11-10 22:00:32.134974 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] ->: {'kind': 'resp', 'req_id': 9, 'code': 200, 'msg': 'result', 'msg_data': {}}
  352. 2025-11-10 22:00:32.127699 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] <-: {"kind":"req","id":9,"msg":"setup_driver","msg_data":{"reconfigure":true,"setup_data":{"setup_action":"custom"}}}
  353. 2025-11-10 21:59:44.299258 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] ->: {'kind': 'resp', 'req_id': 8, 'code': 200, 'msg': <WsMsgEvents.AVAILABLE_ENTITIES: 'available_entities'>, 'msg_data': {'available_entities': [{'entity_id': 'http-get', 'entity_type': <EntityTypes.MEDIA_PLAYER: 'media_player'>, 'device_id': None, 'features': [<Features.SELECT_SOURCE: 'select_source'>, <Features.MEDIA_TITLE: 'media_title'>], 'name': {'en': 'HTTP Get'}}, {'entity_id': 'http-post', 'entity_type': <EntityTypes.MEDIA_PLAYER: 'media_player'>, 'device_id': None, 'features': [<Features.SELECT_SOURCE: 'select_source'>, <Features.MEDIA_TITLE: 'media_title'>], 'name': {'en': 'HTTP Post'}}, {'entity_id': 'http-patch', 'entity_type': <EntityTypes.MEDIA_PLAYER: 'media_player'>, 'device_id': None, 'features': [<Features.SELECT_SOURCE: 'select_source'>, <Features.MEDIA_TITLE: 'media_title'>], 'name': {'en': 'HTTP Patch'}}, {'entity_id': 'http-put', 'entity_type': <EntityTypes.MEDIA_PLAYER: 'media_player'>, 'device_id': None, 'features': [<Features.SELECT_SOURCE: 'select_source'>, <Features.MEDIA_TITLE: 'media_title'>], 'name': {'en': 'HTTP Put'}}, {'entity_id': 'http-delete', 'entity_type': <EntityTypes.MEDIA_PLAYER: 'media_player'>, 'device_id': None, 'features': [<Features.SELECT_SOURCE: 'select_source'>, <Features.MEDIA_TITLE: 'media_title'>], 'name': {'en': 'HTTP Delete'}}, {'entity_id': 'http-head', 'entity_type': <EntityTypes.MEDIA_PLAYER: 'media_player'>, 'device_id': None, 'features': [<Features.SELECT_SOURCE: 'select_source'>, <Features.MEDIA_TITLE: 'media_title'>], 'name': {'en': 'HTTP Head'}}, {'entity_id': 'wol', 'entity_type': <EntityTypes.MEDIA_PLAYER: 'media_player'>, 'device_id': None, 'features': [<Features.SELECT_SOURCE: 'select_source'>, <Features.MEDIA_TITLE: 'media_title'>], 'name': {'en': 'Wake on LAN'}}, {'entity_id': 'tcp-text', 'entity_type': <EntityTypes.MEDIA_PLAYER: 'media_player'>, 'device_id': None, 'features': [<Features.SELECT_SOURCE: 'select_source'>, <Features.MEDIA_TITLE: 'media_title'>], 'name': {'en': 'Text over TCP', 'de': 'Text über TCP'}}, {'entity_id': 'http-response', 'entity_type': <EntityTypes.SENSOR: 'sensor'>, 'device_id': None, 'features': None, 'name': {'en': 'HTTP Request Response', 'de': 'HTTP Anfrage-Antwort'}, 'device_class': <DeviceClasses.CUSTOM: 'custom'>}]}}
  354. 2025-11-10 21:59:44.293449 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] <-: {"kind":"req","id":8,"msg":"get_available_entities","msg_data":{}}
  355. 2025-11-10 21:59:29.894926 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] ->: {'kind': 'resp', 'req_id': 7, 'code': 200, 'msg': <WsMsgEvents.AVAILABLE_ENTITIES: 'available_entities'>, 'msg_data': {'available_entities': [{'entity_id': 'http-get', 'entity_type': <EntityTypes.MEDIA_PLAYER: 'media_player'>, 'device_id': None, 'features': [<Features.SELECT_SOURCE: 'select_source'>, <Features.MEDIA_TITLE: 'media_title'>], 'name': {'en': 'HTTP Get'}}, {'entity_id': 'http-post', 'entity_type': <EntityTypes.MEDIA_PLAYER: 'media_player'>, 'device_id': None, 'features': [<Features.SELECT_SOURCE: 'select_source'>, <Features.MEDIA_TITLE: 'media_title'>], 'name': {'en': 'HTTP Post'}}, {'entity_id': 'http-patch', 'entity_type': <EntityTypes.MEDIA_PLAYER: 'media_player'>, 'device_id': None, 'features': [<Features.SELECT_SOURCE: 'select_source'>, <Features.MEDIA_TITLE: 'media_title'>], 'name': {'en': 'HTTP Patch'}}, {'entity_id': 'http-put', 'entity_type': <EntityTypes.MEDIA_PLAYER: 'media_player'>, 'device_id': None, 'features': [<Features.SELECT_SOURCE: 'select_source'>, <Features.MEDIA_TITLE: 'media_title'>], 'name': {'en': 'HTTP Put'}}, {'entity_id': 'http-delete', 'entity_type': <EntityTypes.MEDIA_PLAYER: 'media_player'>, 'device_id': None, 'features': [<Features.SELECT_SOURCE: 'select_source'>, <Features.MEDIA_TITLE: 'media_title'>], 'name': {'en': 'HTTP Delete'}}, {'entity_id': 'http-head', 'entity_type': <EntityTypes.MEDIA_PLAYER: 'media_player'>, 'device_id': None, 'features': [<Features.SELECT_SOURCE: 'select_source'>, <Features.MEDIA_TITLE: 'media_title'>], 'name': {'en': 'HTTP Head'}}, {'entity_id': 'wol', 'entity_type': <EntityTypes.MEDIA_PLAYER: 'media_player'>, 'device_id': None, 'features': [<Features.SELECT_SOURCE: 'select_source'>, <Features.MEDIA_TITLE: 'media_title'>], 'name': {'en': 'Wake on LAN'}}, {'entity_id': 'tcp-text', 'entity_type': <EntityTypes.MEDIA_PLAYER: 'media_player'>, 'device_id': None, 'features': [<Features.SELECT_SOURCE: 'select_source'>, <Features.MEDIA_TITLE: 'media_title'>], 'name': {'en': 'Text over TCP', 'de': 'Text über TCP'}}, {'entity_id': 'http-response', 'entity_type': <EntityTypes.SENSOR: 'sensor'>, 'device_id': None, 'features': None, 'name': {'en': 'HTTP Request Response', 'de': 'HTTP Anfrage-Antwort'}, 'device_class': <DeviceClasses.CUSTOM: 'custom'>}]}}
  356. 2025-11-10 21:59:29.889029 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] <-: {"kind":"req","id":7,"msg":"get_available_entities","msg_data":{}}
  357. 2025-11-10 21:59:29.757630 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] ->: {'kind': 'resp', 'req_id': 6, 'code': 200, 'msg': <WsMsgEvents.ENTITY_STATES: 'entity_states'>, 'msg_data': []}
  358. 2025-11-10 21:59:29.755471 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] <-: {"id":6,"kind":"req","msg":"get_entity_states"}
  359. 2025-11-10 21:59:29.750904 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] =>: {'kind': 'event', 'msg': <WsMsgEvents.DEVICE_STATE: 'device_state'>, 'msg_data': {'state': <DeviceStates.CONNECTED: 'CONNECTED'>}, 'cat': <EventCategory.DEVICE: 'DEVICE'>}
  360. 2025-11-10 21:59:29.748988 +00:00 custom-intg-requests INFO driver INFO Received connect event message from remote
  361. 2025-11-10 21:59:29.746789 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] <-: {"id":5,"kind":"event","msg":"connect"}
  362. 2025-11-10 21:59:29.723689 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] ->: {'kind': 'event', 'msg': <WsMsgEvents.DRIVER_SETUP_CHANGE: 'driver_setup_change'>, 'msg_data': {'event_type': 'STOP', 'state': 'OK'}, 'cat': <EventCategory.DEVICE: 'DEVICE'>}
  363. 2025-11-10 21:59:29.719865 +00:00 custom-intg-requests INFO config DEBUG Stored setup_complete: True into /etc/custom-intg/requests/config.json
  364. 2025-11-10 21:59:29.716449 +00:00 custom-intg-requests INFO config DEBUG Saved setup_complete: True into config runtime storage
  365. 2025-11-10 21:59:29.715663 +00:00 custom-intg-requests INFO setup INFO Setup complete
  366. 2025-11-10 21:59:29.714996 +00:00 custom-intg-requests INFO sensor INFO Added http request response sensor entity with id http-response and name {'en': 'HTTP Request Response', 'de': 'HTTP Anfrage-Antwort'}
  367. 2025-11-10 21:59:29.714207 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [available] entity added: 'http-response'
  368. 2025-11-10 21:59:29.713572 +00:00 custom-intg-requests INFO ucapi.entity DEBUG Created sensor entity: http-response
  369. 2025-11-10 21:59:29.712527 +00:00 custom-intg-requests INFO driver INFO Added media player entity with id tcp-text and name {'en': 'Text over TCP', 'de': 'Text über TCP'}
  370. 2025-11-10 21:59:29.711792 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [available] entity added: 'tcp-text'
  371. 2025-11-10 21:59:29.711054 +00:00 custom-intg-requests INFO ucapi.entity DEBUG Created media_player entity: tcp-text
  372. 2025-11-10 21:59:29.709987 +00:00 custom-intg-requests INFO driver INFO Added media player entity with id wol and name Wake on LAN
  373. 2025-11-10 21:59:29.709295 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [available] entity added: 'wol'
  374. 2025-11-10 21:59:29.708611 +00:00 custom-intg-requests INFO ucapi.entity DEBUG Created media_player entity: wol
  375. 2025-11-10 21:59:29.707575 +00:00 custom-intg-requests INFO driver INFO Added media player entity with id http-head and name HTTP Head
  376. 2025-11-10 21:59:29.706938 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [available] entity added: 'http-head'
  377. 2025-11-10 21:59:29.706213 +00:00 custom-intg-requests INFO ucapi.entity DEBUG Created media_player entity: http-head
  378. 2025-11-10 21:59:29.705239 +00:00 custom-intg-requests INFO driver INFO Added media player entity with id http-delete and name HTTP Delete
  379. 2025-11-10 21:59:29.704687 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [available] entity added: 'http-delete'
  380. 2025-11-10 21:59:29.703926 +00:00 custom-intg-requests INFO ucapi.entity DEBUG Created media_player entity: http-delete
  381. 2025-11-10 21:59:29.703115 +00:00 custom-intg-requests INFO driver INFO Added media player entity with id http-put and name HTTP Put
  382. 2025-11-10 21:59:29.703115 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [available] entity added: 'http-put'
  383. 2025-11-10 21:59:29.701827 +00:00 custom-intg-requests INFO ucapi.entity DEBUG Created media_player entity: http-put
  384. 2025-11-10 21:59:29.701827 +00:00 custom-intg-requests INFO driver INFO Added media player entity with id http-patch and name HTTP Patch
  385. 2025-11-10 21:59:29.701827 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [available] entity added: 'http-patch'
  386. 2025-11-10 21:59:29.699956 +00:00 custom-intg-requests INFO ucapi.entity DEBUG Created media_player entity: http-patch
  387. 2025-11-10 21:59:29.699956 +00:00 custom-intg-requests INFO driver INFO Added media player entity with id http-post and name HTTP Post
  388. 2025-11-10 21:59:29.699956 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [available] entity added: 'http-post'
  389. 2025-11-10 21:59:29.699956 +00:00 custom-intg-requests INFO ucapi.entity DEBUG Created media_player entity: http-post
  390. 2025-11-10 21:59:29.695748 +00:00 custom-intg-requests INFO driver INFO Added media player entity with id http-get and name HTTP Get
  391. 2025-11-10 21:59:29.695748 +00:00 custom-intg-requests INFO ucapi.entities DEBUG [available] entity added: 'http-get'
  392. 2025-11-10 21:59:29.694476 +00:00 custom-intg-requests INFO ucapi.entity DEBUG Created media_player entity: http-get
  393. 2025-11-10 21:59:29.690900 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] ->: {'kind': 'event', 'msg': <WsMsgEvents.DRIVER_SETUP_CHANGE: 'driver_setup_change'>, 'msg_data': {'event_type': 'SETUP', 'state': 'SETUP'}, 'cat': <EventCategory.DEVICE: 'DEVICE'>}
  394. 2025-11-10 21:59:29.188704 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] ->: {'kind': 'resp', 'req_id': 4, 'code': 200, 'msg': 'result', 'msg_data': {}}
  395. 2025-11-10 21:59:29.184912 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] <-: {"kind":"req","id":4,"msg":"set_driver_user_data","msg_data":{"input_values":{"rq_fire_and_forget":"true","rq_response_nomatch_option":"full","rq_response_regex":"","rq_ssl_verify":"true","rq_timeout":"2","rq_user_agent":"uc-intg-requests","setup_action":"finish","tcp_text_response_wait":"true","tcp_text_terminator":"\n","tcp_text_timeout":"2"}}}
  396. 2025-11-10 21:59:25.166731 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] ->: {'kind': 'event', 'msg': <WsMsgEvents.DRIVER_SETUP_CHANGE: 'driver_setup_change'>, 'msg_data': {'event_type': 'SETUP', 'state': 'WAIT_USER_ACTION', 'require_user_action': {'input': {'title': {'en': 'Setup Actions', 'de': 'Einrichtungsoptionen'}, 'settings': [{'id': 'setup_action', 'label': {'en': 'Choose a setup action', 'de': 'Wähle eine Einrichtungsoption aus'}, 'field': {'dropdown': {'value': 'finish', 'items': [{'id': 'finish', 'label': {'en': 'Finish Setup', 'de': 'Einrichtung abschließen'}}, {'id': 'advanced', 'label': {'en': 'Configure advanced settings', 'de': 'Erweiterte Einstellungen konfigurieren'}}, {'id': 'custom', 'label': {'en': 'Configure custom entities', 'de': 'Eigene Entitäten konfigurieren'}}]}}}]}}}, 'cat': <EventCategory.DEVICE: 'DEVICE'>}
  397. 2025-11-10 21:59:25.163518 +00:00 custom-intg-requests INFO config DEBUG setup_step not found in __storers because it should not be stored in the config file
  398. 2025-11-10 21:59:25.162809 +00:00 custom-intg-requests INFO config DEBUG Saved setup_step: action into config runtime storage
  399. 2025-11-10 21:59:25.161980 +00:00 custom-intg-requests INFO setup INFO Fire and forget mode activated. Always return OK to the remote
  400. 2025-11-10 21:59:25.161227 +00:00 custom-intg-requests INFO config DEBUG Created /etc/custom-intg/requests/config.json and stored rq_fire_and_forget: True in it
  401. 2025-11-10 21:59:25.158008 +00:00 custom-intg-requests INFO config DEBUG Saved rq_fire_and_forget: True into config runtime storage
  402. 2025-11-10 21:59:25.157295 +00:00 custom-intg-requests INFO setup INFO HTTP SSL verification activated
  403. 2025-11-10 21:59:25.156867 +00:00 custom-intg-requests INFO config DEBUG Saved rq_ssl_verify: True into config runtime storage
  404. 2025-11-10 21:59:25.156029 +00:00 custom-intg-requests INFO config DEBUG Skip storing rq_ssl_verify: True into config file as it has not been changed from the default value of True
  405. 2025-11-10 21:59:25.156029 +00:00 custom-intg-requests INFO setup INFO Http request response option: "full"
  406. 2025-11-10 21:59:25.154865 +00:00 custom-intg-requests INFO config DEBUG Saved rq_response_nomatch_option: full into config runtime storage
  407. 2025-11-10 21:59:25.154865 +00:00 custom-intg-requests INFO config DEBUG Skip storing rq_response_nomatch_option: full into config file as it has not been changed from the default value of full
  408. 2025-11-10 21:59:25.154865 +00:00 custom-intg-requests INFO setup INFO Http request response regular expression: ""
  409. 2025-11-10 21:59:25.153067 +00:00 custom-intg-requests INFO config DEBUG Saved rq_response_regex: into config runtime storage
  410. 2025-11-10 21:59:25.153067 +00:00 custom-intg-requests INFO config DEBUG Skip storing rq_response_regex: into config file as it has not been changed from the default value of
  411. 2025-11-10 21:59:25.153067 +00:00 custom-intg-requests INFO setup INFO Http requests user agent: "uc-intg-requests"
  412. 2025-11-10 21:59:25.153067 +00:00 custom-intg-requests INFO config DEBUG Saved rq_user_agent: uc-intg-requests into config runtime storage
  413. 2025-11-10 21:59:25.150168 +00:00 custom-intg-requests INFO config DEBUG Skip storing rq_user_agent: uc-intg-requests into config file as it has not been changed from the default value of uc-intg-requests
  414. 2025-11-10 21:59:25.150168 +00:00 custom-intg-requests INFO setup INFO Http requests timeout: 2 seconds
  415. 2025-11-10 21:59:25.150168 +00:00 custom-intg-requests INFO config DEBUG Saved rq_timeout: 2 into config runtime storage
  416. 2025-11-10 21:59:25.150168 +00:00 custom-intg-requests INFO config DEBUG Skip storing rq_timeout: 2 into config file as it has not been changed from the default value of 2
  417. 2025-11-10 21:59:25.150168 +00:00 custom-intg-requests INFO setup INFO Text over tcp terminator:
  418. 2025-11-10 21:59:25.150168 +00:00 custom-intg-requests INFO into config runtime storage
  419. 2025-11-10 21:59:25.150168 +00:00 custom-intg-requests INFO config DEBUG Saved tcp_text_terminator:
  420. 2025-11-10 21:59:25.146912 +00:00 custom-intg-requests INFO into config file as it has not been changed from the default value of
  421. 2025-11-10 21:59:25.146912 +00:00 custom-intg-requests INFO config DEBUG Skip storing tcp_text_terminator:
  422. 2025-11-10 21:59:25.145531 +00:00 custom-intg-requests INFO setup INFO Wait for text over tcp response: true
  423. 2025-11-10 21:59:25.145531 +00:00 custom-intg-requests INFO config DEBUG Saved tcp_text_response_wait: True into config runtime storage
  424. 2025-11-10 21:59:25.143805 +00:00 custom-intg-requests INFO config DEBUG Skip storing tcp_text_response_wait: True into config file as it has not been changed from the default value of True
  425. 2025-11-10 21:59:25.143805 +00:00 custom-intg-requests INFO setup INFO Text over tcp timeout: 2 seconds
  426. 2025-11-10 21:59:25.141985 +00:00 custom-intg-requests INFO config DEBUG Saved tcp_text_timeout: 2 into config runtime storage
  427. 2025-11-10 21:59:25.141985 +00:00 custom-intg-requests INFO config DEBUG Skip storing tcp_text_timeout: 2 into config file as it has not been changed from the default value of 2
  428. 2025-11-10 21:59:25.138985 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] ->: {'kind': 'event', 'msg': <WsMsgEvents.DRIVER_SETUP_CHANGE: 'driver_setup_change'>, 'msg_data': {'event_type': 'SETUP', 'state': 'SETUP'}, 'cat': <EventCategory.DEVICE: 'DEVICE'>}
  429. 2025-11-10 21:59:24.635788 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] ->: {'kind': 'resp', 'req_id': 3, 'code': 200, 'msg': 'result', 'msg_data': {}}
  430. 2025-11-10 21:59:24.631851 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] <-: {"kind":"req","id":3,"msg":"set_driver_user_data","msg_data":{"input_values":{"rq_fire_and_forget":"true","rq_response_nomatch_option":"full","rq_response_regex":"","rq_ssl_verify":"true","rq_timeout":"2","rq_user_agent":"uc-intg-requests","tcp_text_response_wait":"true","tcp_text_terminator":"\n","tcp_text_timeout":"2"}}}
  431. 2025-11-10 21:59:07.530247 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] ->: {'kind': 'event', 'msg': <WsMsgEvents.DRIVER_SETUP_CHANGE: 'driver_setup_change'>, 'msg_data': {'event_type': 'SETUP', 'state': 'WAIT_USER_ACTION', 'require_user_action': {'input': {'title': {'en': 'Advanced Configuration', 'de': 'Erweiterte Konfiguration'}, 'settings': [{'id': 'tcp-text-settings', 'label': {'en': 'Text over TCP:', 'de': 'Text über TCP:'}, 'field': {'label': {'value': {}}}}, {'id': 'tcp_text_timeout', 'label': {'en': 'Timeout for Text over TCP (max. 30 seconds):', 'de': 'Timeout für Text über TCP (max. 30 Sekunden):'}, 'field': {'number': {'value': 2, 'min': 1, 'max': 30, 'steps': 1, 'decimals': 1, 'unit': {'en': 'seconds', 'de': 'Sekunden'}}}}, {'id': 'tcp_text_response_wait', 'label': {'en': 'Wait for a text over tcp response message:', 'de': 'Auf eine Text über TCP Antwort warten:'}, 'field': {'checkbox': {'value': True}}}, {'id': 'tcp_text_terminator', 'label': {'en': 'Automatically add a command terminator character at the end of each text over TCP command:', 'de': 'Automatisch ein Befehlsabschlusszeichen am Ende jedes Text über TCP-Befehls hinzufügen:'}, 'field': {'dropdown': {'value': '\n', 'items': [{'id': 'None', 'label': {'en': 'No command terminator', 'de': 'Kein Befehlsabschlusszeichen'}}, {'id': '\n', 'label': {'en': '\\n', 'de': '\\n'}}, {'id': '\r', 'label': {'en': '\\r', 'de': '\\r'}}, {'id': '\r\n', 'label': {'en': '\\r\\n', 'de': '\\r\\n'}}, {'id': ';', 'label': {'en': ';', 'de': ';'}}]}}}, {'id': 'http-requests-settings', 'label': {'en': 'Http requests:', 'de': 'HTTP-Anfragen:'}, 'field': {'label': {'value': {}}}}, {'id': 'rq_timeout', 'label': {'en': 'Timeout for HTTP requests (max. 30 seconds):', 'de': 'Timeout für HTTP-Anfragen (max. 30 Sekunden):'}, 'field': {'number': {'value': 2, 'min': 1, 'max': 30, 'steps': 1, 'decimals': 1, 'unit': {'en': 'seconds', 'de': 'Sekunden'}}}}, {'id': 'rq_user_agent', 'label': {'en': 'HTTP requests user agent:', 'de': 'HTTP-Anfragen User Agent:'}, 'field': {'text': {'value': 'uc-intg-requests'}}}, {'id': 'rq_response_regex', 'label': {'en': 'Regular expression for parsing the HTTP request sensor response:', 'de': 'Regulärer Ausdruck zum Parsen der HTTP-Anfrage-Sensorantwort:'}, 'field': {'text': {'value': ''}}}, {'id': 'rq_response_nomatch_option', 'label': {'en': 'Response if no match for the regular expression has been found:', 'de': 'Antwort, falls keine Übereinstimmung mit dem regulären Ausdruck gefunden wurde:'}, 'field': {'dropdown': {'value': 'full', 'items': [{'id': 'full', 'label': {'en': 'Full', 'de': 'Komplett'}}, {'id': 'empty', 'label': {'en': 'Empty', 'de': 'Leer'}}, {'id': 'error', 'label': {'en': 'Error', 'de': 'Fehler'}}]}}}, {'id': 'rq_ssl_verify', 'label': {'en': 'Verify HTTP SSL certificates:', 'de': 'HTTP SSL-Zertifikate verifizieren:'}, 'field': {'checkbox': {'value': True}}}, {'id': 'rq_fire_and_forget', 'label': {'en': 'Ignore HTTP requests errors (fire and forget):', 'de': 'Fehler bei HTTP-Anfragen ignorieren (Fire and Forget):'}, 'field': {'checkbox': {'value': False}}}]}}}, 'cat': <EventCategory.DEVICE: 'DEVICE'>}
  432. 2025-11-10 21:59:07.515280 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] ->: {'kind': 'event', 'msg': <WsMsgEvents.DRIVER_SETUP_CHANGE: 'driver_setup_change'>, 'msg_data': {'event_type': 'SETUP', 'state': 'SETUP'}, 'cat': <EventCategory.DEVICE: 'DEVICE'>}
  433. 2025-11-10 21:59:07.512616 +00:00 custom-intg-requests INFO config DEBUG setup_step not found in __storers because it should not be stored in the config file
  434. 2025-11-10 21:59:07.512616 +00:00 custom-intg-requests INFO config DEBUG Saved setup_step: handle_advanced into config runtime storage
  435. 2025-11-10 21:59:07.512616 +00:00 custom-intg-requests INFO setup DEBUG Currently stored - tcp_text_timeout: 2, tcp_text_response_wait: True, tcp_text_terminator: '\n', rq_timeout: 2, rq_ssl_verify: True, rq_fire_and_forget: False, rq_user_agent: uc-intg-requests, rq_response_regex: , rq_response_nomatch_option: full
  436. 2025-11-10 21:59:07.510561 +00:00 custom-intg-requests INFO setup INFO Entering advanced setup settings
  437. 2025-11-10 21:59:07.510561 +00:00 custom-intg-requests INFO config DEBUG setup_step not found in __storers because it should not be stored in the config file
  438. 2025-11-10 21:59:07.510561 +00:00 custom-intg-requests INFO config DEBUG Saved setup_step: advanced into config runtime storage
  439. 2025-11-10 21:59:07.510561 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] ->: {'kind': 'resp', 'req_id': 2, 'code': 200, 'msg': 'result', 'msg_data': {}}
  440. 2025-11-10 21:59:07.503595 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] <-: {"kind":"req","id":2,"msg":"setup_driver","msg_data":{"reconfigure":false,"setup_data":{"setup_action":"advanced"}}}
  441. 2025-11-10 21:58:34.901078 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] ->: {'kind': 'resp', 'req_id': 1, 'code': 200, 'msg': <WsMsgEvents.DRIVER_VERSION: 'driver_version'>, 'msg_data': {'name': 'HTTP requests, WoL & text over TCP', 'version': {'api': '0.24.3', 'driver': '0.8.8'}}}
  442. 2025-11-10 21:58:34.900098 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] <-: {"id":1,"kind":"req","msg":"get_driver_version"}
  443. 2025-11-10 21:58:34.898949 +00:00 custom-intg-requests INFO ucapi.api DEBUG [('127.0.0.1', 59006)] ->: {'kind': 'resp', 'req_id': 0, 'code': 200, 'msg': <WsMessages.AUTHENTICATION: 'authentication'>, 'msg_data': {}}
  444. 2025-11-10 21:58:34.897484 +00:00 custom-intg-requests INFO ucapi.api INFO WS: Client added: ('127.0.0.1', 59006)
  445. 2025-11-10 21:58:33.185871 +00:00 custom-intg-requests INFO config INFO /etc/custom-intg/requests/config.json does not exist (yet). Please start the setup process
  446. 2025-11-10 21:58:33.185367 +00:00 custom-intg-requests INFO ucapi.api INFO Driver is up: requests, version: 0.8.8, api: 0.3.2, listening on: 127.0.0.1:9001
  447. 2025-11-10 21:58:33.184058 +00:00 custom-intg-requests INFO driver INFO The custom entities yaml configuration is stored in /etc/custom-intg/requests/custom_entities.yaml
  448. 2025-11-10 21:58:33.183893 +00:00 custom-intg-requests INFO config DEBUG yaml_path not found in __storers because it should not be stored in the config file
  449. 2025-11-10 21:58:33.183621 +00:00 custom-intg-requests INFO config DEBUG Saved yaml_path: /etc/custom-intg/requests/custom_entities.yaml into config runtime storage
  450. 2025-11-10 21:58:33.183306 +00:00 custom-intg-requests INFO driver INFO The configuration is stored in /etc/custom-intg/requests/config.json
  451. 2025-11-10 21:58:33.183210 +00:00 custom-intg-requests INFO config DEBUG cfg_path not found in __storers because it should not be stored in the config file
  452. 2025-11-10 21:58:33.182856 +00:00 custom-intg-requests INFO config DEBUG Saved cfg_path: /etc/custom-intg/requests/config.json into config runtime storage
  453. 2025-11-10 21:58:33.182856 +00:00 custom-intg-requests INFO config DEBUG bundle_mode not found in __storers because it should not be stored in the config file
  454. 2025-11-10 21:58:33.182856 +00:00 custom-intg-requests INFO config DEBUG Saved bundle_mode: True into config runtime storage
  455. 2025-11-10 21:58:33.181748 +00:00 custom-intg-requests INFO driver INFO This integration is running in a PyInstaller bundle. Probably on the remote hardware
  456.  
Advertisement
Add Comment
Please, Sign In to add comment