home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.03k stars 29.68k forks source link

Axis M2036-LE: Only single entity displayed #109029

Open mesonium opened 7 months ago

mesonium commented 7 months ago

The problem

I have integrated an Axis M2036-LE, but it only shows a single entity, i.e. the camera stream. There are no binary sensors or switches available.

What version of Home Assistant Core has the issue?

core-2024.1.5

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Container

Integration causing the issue

Axis

Link to integration documentation on our website

https://www.home-assistant.io/integrations/axis/

Diagnostics information

config_entry-axis-020e5b3a2bf0c9dc5308c5bbdc060475.json.txt

Example YAML snippet

No response

Anything in the logs that might be useful for us?

2024-01-28 22:31:13.229 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up axis.binary_sensor
2024-01-28 22:31:13.230 INFO (MainThread) [homeassistant.components.camera] Setting up axis.camera
2024-01-28 22:31:13.231 INFO (MainThread) [homeassistant.components.light] Setting up axis.light
2024-01-28 22:31:13.232 INFO (MainThread) [homeassistant.components.switch] Setting up axis.switch
2024-01-28 22:31:13.235 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new camera.axis entity: camera.m2036_le_0
2024-01-28 22:33:39.594 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up axis.binary_sensor
2024-01-28 22:33:39.595 INFO (MainThread) [homeassistant.components.camera] Setting up axis.camera
2024-01-28 22:33:39.596 INFO (MainThread) [homeassistant.components.light] Setting up axis.light
2024-01-28 22:33:39.597 INFO (MainThread) [homeassistant.components.switch] Setting up axis.switch

Additional information

The Axis OS Firmware is 11.8.61. I run HA together with Mosquitto in a podman pod. Other devices, such as an APC UPS work fine and display all available entities. Unfortunately, there are no errors displayed in the log regarding the Axis device.

home-assistant[bot] commented 7 months ago

Hey there @kane610, mind taking a look at this issue as it has been labeled with an integration (axis) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `axis` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign axis` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


axis documentation axis source (message by IssueLinks)

mesonium commented 7 months ago

There was another similar report https://github.com/home-assistant/home-assistant.io/issues/24655, but unfortunately it was posted in the wrong section and never got answered. cc @renaatdb

mesonium commented 7 months ago

I have tried to downgrade to Axis OS 10.12.213 including a factory reset, removed and re-added the camera in HA, but the issue unfortunately remains.

The only things I can find in the debug log are

2024-01-29 14:38:37.434 INFO (SyncWorker_1) [homeassistant.loader] Loaded alert from homeassistant.components.alert
2024-01-29 14:38:37.436 INFO (SyncWorker_1) [homeassistant.loader] Loaded demo from homeassistant.components.demo
2024-01-29 14:38:37.438 INFO (SyncWorker_1) [homeassistant.loader] Loaded plant from homeassistant.components.plant
2024-01-29 14:38:37.439 INFO (SyncWorker_1) [homeassistant.loader] Loaded proximity from homeassistant.components.proximity
2024-01-29 14:39:31.042 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up axis.binary_sensor
2024-01-29 14:39:31.043 INFO (MainThread) [homeassistant.components.camera] Setting up axis.camera
2024-01-29 14:39:31.044 INFO (MainThread) [homeassistant.components.light] Setting up axis.light
2024-01-29 14:39:31.045 INFO (MainThread) [homeassistant.components.switch] Setting up axis.switch
2024-01-29 14:39:31.048 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new camera.axis entity: camera.m2036_le
mesonium commented 7 months ago

I also checked that the MQTT Broker configured in HA receives messages from the Axis device: The Axis device connects to the broker just fine and the connect message is received in the HA MQTT frontend when listening for #:

Message 6 received on axis/$serial/event/connection at 5:35 PM:

{
    "serialNumber": "$serial",
    "timestamp": "2024-01-29T16:35:23.774988Z",
    "connected": true,
    "description": "Connected"
}

though no entities are automatically discovered (automatic discovery is turned on).

mesonium commented 7 months ago

I've added the ONVIF integration, which finds 5 entities for the AXIS camera.

In order to debug this further, here's the tcpdump taken on the HomeAssistant device, while Reloading the Axis integration:

Click to expand

``` tcpdump | grep "$IP_AXIS" tcpdump: verbose output suppressed, use -v[v]... for full protocol decode listening on eth0, link-type EN10MB (Ethernet), snapshot length 262144 bytes 19:27:12.868870 IP $IP_AXIS.50001 > hass.39255: UDP, length 60 19:27:12.868928 IP hass > $IP_AXIS: ICMP hass udp port 39255 unreachable, length 96 19:27:17.554389 IP hass.36818 > $IP_AXIS.rtsp: Flags [P.], seq 3630452445:3630452853, ack 2655945884, win 501, options [nop,nop,TS val 1710300491 ecr 961956548], length 408: RTSP: TEARDOWN rtsp://$IP_AXIS/axis-media/media.amp?video=0&audio=0&event=on RTSP/1.0 19:27:17.555158 IP hass.36818 > $IP_AXIS.rtsp: Flags [F.], seq 408, ack 1, win 501, options [nop,nop,TS val 1710300491 ecr 961956548], length 0 19:27:17.559395 IP hass.36818 > $IP_AXIS.rtsp: Flags [F.], seq 408, ack 1, win 501, options [nop,nop,TS val 1710300496 ecr 961956548], length 0 19:27:17.559601 IP $IP_AXIS.rtsp > hass.36818: Flags [.], ack 409, win 1002, options [nop,nop,TS val 961976420 ecr 1710300491,nop,nop,sack 1 {408:409}], length 0 19:27:17.560936 IP $IP_AXIS.rtsp > hass.36818: Flags [P.], seq 1:154, ack 409, win 1002, options [nop,nop,TS val 961976421 ecr 1710300491], length 153: RTSP: RTSP/1.0 200 OK 19:27:17.561010 IP hass.36818 > $IP_AXIS.rtsp: Flags [.], ack 154, win 501, options [nop,nop,TS val 1710300497 ecr 961976421], length 0 19:27:17.562827 IP $IP_AXIS.rtsp > hass.36818: Flags [F.], seq 154, ack 409, win 1002, options [nop,nop,TS val 961976423 ecr 1710300497], length 0 19:27:17.562901 IP hass.36818 > $IP_AXIS.rtsp: Flags [.], ack 155, win 501, options [nop,nop,TS val 1710300499 ecr 961976423], length 0 19:27:17.568583 IP hass.33530 > $IP_AXIS.http: Flags [S], seq 1396952911, win 64240, options [mss 1460,sackOK,TS val 1710300505 ecr 0,nop,wscale 7], length 0 19:27:17.568817 IP $IP_AXIS.http > hass.33530: Flags [S.], seq 479576152, ack 1396952912, win 65160, options [mss 1460,sackOK,TS val 961976429 ecr 1710300505,nop,wscale 6], length 0 19:27:17.568886 IP hass.33530 > $IP_AXIS.http: Flags [.], ack 1, win 502, options [nop,nop,TS val 1710300505 ecr 961976429], length 0 19:27:17.572730 IP hass.33530 > $IP_AXIS.http: Flags [P.], seq 1:253, ack 1, win 502, options [nop,nop,TS val 1710300509 ecr 961976429], length 252: HTTP: POST /axis-cgi/apidiscovery.cgi HTTP/1.1 19:27:17.573065 IP $IP_AXIS.http > hass.33530: Flags [.], ack 253, win 1015, options [nop,nop,TS val 961976433 ecr 1710300509], length 0 19:27:17.573379 IP hass.33530 > $IP_AXIS.http: Flags [P.], seq 253:325, ack 1, win 502, options [nop,nop,TS val 1710300510 ecr 961976433], length 72: HTTP 19:27:17.573522 IP $IP_AXIS.http > hass.33530: Flags [.], ack 325, win 1014, options [nop,nop,TS val 961976434 ecr 1710300510], length 0 19:27:17.574512 IP $IP_AXIS.http > hass.33530: Flags [P.], seq 1:851, ack 325, win 1014, options [nop,nop,TS val 961976435 ecr 1710300510], length 850: HTTP: HTTP/1.1 401 Unauthorized 19:27:17.574552 IP hass.33530 > $IP_AXIS.http: Flags [.], ack 851, win 501, options [nop,nop,TS val 1710300511 ecr 961976435], length 0 19:27:17.582164 IP hass.33530 > $IP_AXIS.http: Flags [P.], seq 325:849, ack 851, win 501, options [nop,nop,TS val 1710300518 ecr 961976435], length 524: HTTP: POST /axis-cgi/apidiscovery.cgi HTTP/1.1 19:27:17.582485 IP $IP_AXIS.http > hass.33530: Flags [.], ack 849, win 1006, options [nop,nop,TS val 961976443 ecr 1710300518], length 0 19:27:17.582768 IP hass.33530 > $IP_AXIS.http: Flags [P.], seq 849:921, ack 851, win 501, options [nop,nop,TS val 1710300519 ecr 961976443], length 72: HTTP 19:27:17.582903 IP $IP_AXIS.http > hass.33530: Flags [.], ack 921, win 1005, options [nop,nop,TS val 961976443 ecr 1710300519], length 0 19:27:17.773470 IP $IP_AXIS.http > hass.33530: Flags [P.], seq 851:2455, ack 921, win 1005, options [nop,nop,TS val 961976634 ecr 1710300519], length 1604: HTTP: HTTP/1.1 200 OK 19:27:17.773570 IP hass.33530 > $IP_AXIS.http: Flags [.], ack 2455, win 501, options [nop,nop,TS val 1710300710 ecr 961976634], length 0 19:27:17.793357 IP hass.33530 > $IP_AXIS.http: Flags [P.], seq 921:1451, ack 2455, win 501, options [nop,nop,TS val 1710300730 ecr 961976634], length 530: HTTP: POST /axis-cgi/basicdeviceinfo.cgi HTTP/1.1 19:27:17.793608 IP $IP_AXIS.http > hass.33530: Flags [.], ack 1451, win 1002, options [nop,nop,TS val 961976654 ecr 1710300730], length 0 19:27:17.795260 IP hass.33530 > $IP_AXIS.http: Flags [P.], seq 1451:1529, ack 2455, win 501, options [nop,nop,TS val 1710300731 ecr 961976654], length 78: HTTP 19:27:17.795445 IP $IP_AXIS.http > hass.33530: Flags [.], ack 1529, win 1002, options [nop,nop,TS val 961976656 ecr 1710300731], length 0 19:27:17.797763 IP hass.33532 > $IP_AXIS.http: Flags [S], seq 1930294394, win 64240, options [mss 1460,sackOK,TS val 1710300734 ecr 0,nop,wscale 7], length 0 19:27:17.797944 IP $IP_AXIS.http > hass.33532: Flags [S.], seq 637837417, ack 1930294395, win 65160, options [mss 1460,sackOK,TS val 961976658 ecr 1710300734,nop,wscale 6], length 0 19:27:17.798012 IP hass.33532 > $IP_AXIS.http: Flags [.], ack 1, win 502, options [nop,nop,TS val 1710300734 ecr 961976658], length 0 19:27:17.800088 IP hass.33538 > $IP_AXIS.http: Flags [S], seq 267823730, win 64240, options [mss 1460,sackOK,TS val 1710300736 ecr 0,nop,wscale 7], length 0 19:27:17.800287 IP $IP_AXIS.http > hass.33538: Flags [S.], seq 1158509270, ack 267823731, win 65160, options [mss 1460,sackOK,TS val 961976661 ecr 1710300736,nop,wscale 6], length 0 19:27:17.800347 IP hass.33538 > $IP_AXIS.http: Flags [.], ack 1, win 502, options [nop,nop,TS val 1710300737 ecr 961976661], length 0 19:27:17.802884 IP hass.33548 > $IP_AXIS.http: Flags [S], seq 1570755851, win 64240, options [mss 1460,sackOK,TS val 1710300739 ecr 0,nop,wscale 7], length 0 19:27:17.803253 IP $IP_AXIS.http > hass.33548: Flags [S.], seq 4081740614, ack 1570755852, win 65160, options [mss 1460,sackOK,TS val 961976663 ecr 1710300739,nop,wscale 6], length 0 19:27:17.803319 IP hass.33548 > $IP_AXIS.http: Flags [.], ack 1, win 502, options [nop,nop,TS val 1710300739 ecr 961976663], length 0 19:27:17.803914 IP hass.33562 > $IP_AXIS.http: Flags [S], seq 3176116324, win 64240, options [mss 1460,sackOK,TS val 1710300740 ecr 0,nop,wscale 7], length 0 19:27:17.804122 IP $IP_AXIS.http > hass.33562: Flags [S.], seq 3616032091, ack 3176116325, win 65160, options [mss 1460,sackOK,TS val 961976664 ecr 1710300740,nop,wscale 6], length 0 19:27:17.804176 IP hass.33562 > $IP_AXIS.http: Flags [.], ack 1, win 502, options [nop,nop,TS val 1710300740 ecr 961976664], length 0 19:27:17.810727 IP hass.33532 > $IP_AXIS.http: Flags [P.], seq 1:528, ack 1, win 502, options [nop,nop,TS val 1710300747 ecr 961976658], length 527: HTTP: POST /axis-cgi/streamprofile.cgi HTTP/1.1 19:27:17.811480 IP $IP_AXIS.http > hass.33532: Flags [.], ack 528, win 1010, options [nop,nop,TS val 961976672 ecr 1710300747], length 0 19:27:17.812936 IP hass.33532 > $IP_AXIS.http: Flags [P.], seq 528:631, ack 1, win 502, options [nop,nop,TS val 1710300749 ecr 961976672], length 103: HTTP 19:27:17.813131 IP $IP_AXIS.http > hass.33532: Flags [.], ack 631, win 1009, options [nop,nop,TS val 961976673 ecr 1710300749], length 0 19:27:17.813578 IP hass.33538 > $IP_AXIS.http: Flags [P.], seq 1:527, ack 1, win 502, options [nop,nop,TS val 1710300750 ecr 961976661], length 526: HTTP: POST /axis-cgi/viewarea/info.cgi HTTP/1.1 19:27:17.813778 IP $IP_AXIS.http > hass.33538: Flags [.], ack 527, win 1010, options [nop,nop,TS val 961976674 ecr 1710300750], length 0 19:27:17.815934 IP hass.33538 > $IP_AXIS.http: Flags [P.], seq 527:593, ack 1, win 502, options [nop,nop,TS val 1710300752 ecr 961976674], length 66: HTTP 19:27:17.816181 IP $IP_AXIS.http > hass.33538: Flags [.], ack 593, win 1009, options [nop,nop,TS val 961976676 ecr 1710300752], length 0 19:27:17.816639 IP hass.33548 > $IP_AXIS.http: Flags [P.], seq 1:525, ack 1, win 502, options [nop,nop,TS val 1710300753 ecr 961976663], length 524: HTTP: POST /axis-cgi/lightcontrol.cgi HTTP/1.1 19:27:17.816883 IP $IP_AXIS.http > hass.33548: Flags [.], ack 525, win 1010, options [nop,nop,TS val 961976677 ecr 1710300753], length 0 19:27:17.818238 IP hass.33548 > $IP_AXIS.http: Flags [P.], seq 525:606, ack 1, win 502, options [nop,nop,TS val 1710300754 ecr 961976677], length 81: HTTP 19:27:17.818442 IP $IP_AXIS.http > hass.33548: Flags [.], ack 606, win 1009, options [nop,nop,TS val 961976679 ecr 1710300754], length 0 19:27:17.818863 IP hass.33562 > $IP_AXIS.http: Flags [P.], seq 1:535, ack 1, win 502, options [nop,nop,TS val 1710300755 ecr 961976664], length 534: HTTP: POST /axis-cgi/io/portmanagement.cgi HTTP/1.1 19:27:17.819087 IP $IP_AXIS.http > hass.33562: Flags [.], ack 535, win 1010, options [nop,nop,TS val 961976679 ecr 1710300755], length 0 19:27:17.819675 IP hass.33562 > $IP_AXIS.http: Flags [P.], seq 535:605, ack 1, win 502, options [nop,nop,TS val 1710300756 ecr 961976679], length 70: HTTP 19:27:17.819843 IP $IP_AXIS.http > hass.33562: Flags [.], ack 605, win 1009, options [nop,nop,TS val 961976680 ecr 1710300756], length 0 19:27:17.868487 IP $IP_AXIS.http > hass.33532: Flags [P.], seq 1:584, ack 631, win 1009, options [nop,nop,TS val 961976729 ecr 1710300749], length 583: HTTP: HTTP/1.1 200 OK 19:27:17.868537 IP hass.33532 > $IP_AXIS.http: Flags [.], ack 584, win 501, options [nop,nop,TS val 1710300805 ecr 961976729], length 0 19:27:17.886777 IP $IP_AXIS.http > hass.33548: Flags [P.], seq 1:692, ack 606, win 1009, options [nop,nop,TS val 961976747 ecr 1710300754], length 691: HTTP: HTTP/1.1 200 OK 19:27:17.886848 IP hass.33548 > $IP_AXIS.http: Flags [.], ack 692, win 501, options [nop,nop,TS val 1710300823 ecr 961976747], length 0 19:27:17.918362 IP $IP_AXIS.http > hass.33562: Flags [P.], seq 1:592, ack 605, win 1009, options [nop,nop,TS val 961976778 ecr 1710300756], length 591: HTTP: HTTP/1.1 200 OK 19:27:17.918419 IP hass.33562 > $IP_AXIS.http: Flags [.], ack 592, win 501, options [nop,nop,TS val 1710300855 ecr 961976778], length 0 19:27:17.922880 IP $IP_AXIS.http > hass.33530: Flags [P.], seq 2455:3230, ack 1529, win 1002, options [nop,nop,TS val 961976783 ecr 1710300731], length 775: HTTP: HTTP/1.1 200 OK 19:27:17.963375 IP hass.33530 > $IP_AXIS.http: Flags [.], ack 3230, win 501, options [nop,nop,TS val 1710300900 ecr 961976783], length 0 19:27:18.063894 IP $IP_AXIS.http > hass.33538: Flags [P.], seq 1:717, ack 593, win 1009, options [nop,nop,TS val 961976924 ecr 1710300752], length 716: HTTP: HTTP/1.1 200 OK 19:27:18.063941 IP hass.33538 > $IP_AXIS.http: Flags [.], ack 717, win 501, options [nop,nop,TS val 1710301000 ecr 961976924], length 0 19:27:18.080156 IP hass.33562 > $IP_AXIS.http: Flags [P.], seq 605:1130, ack 592, win 501, options [nop,nop,TS val 1710301016 ecr 961976778], length 525: HTTP: GET /axis-cgi/param.cgi?action=list&group=root.Properties HTTP/1.1 19:27:18.080679 IP $IP_AXIS.http > hass.33562: Flags [.], ack 1130, win 1002, options [nop,nop,TS val 961976941 ecr 1710301016], length 0 19:27:18.084014 IP hass.33548 > $IP_AXIS.http: Flags [P.], seq 606:1121, ack 692, win 501, options [nop,nop,TS val 1710301020 ecr 961976747], length 515: HTTP: GET /axis-cgi/param.cgi?action=list&group=root.Image HTTP/1.1 19:27:18.084237 IP $IP_AXIS.http > hass.33548: Flags [.], ack 1121, win 1002, options [nop,nop,TS val 961976945 ecr 1710301020], length 0 19:27:18.084789 IP $IP_AXIS.http > hass.33562: Flags [P.], seq 592:1116, ack 1130, win 1002, options [nop,nop,TS val 961976945 ecr 1710301016], length 524: HTTP: HTTP/1.1 200 OK 19:27:18.084841 IP hass.33562 > $IP_AXIS.http: Flags [.], ack 1116, win 501, options [nop,nop,TS val 1710301021 ecr 961976945], length 0 19:27:18.089261 IP hass.33538 > $IP_AXIS.http: Flags [P.], seq 593:1104, ack 717, win 501, options [nop,nop,TS val 1710301025 ecr 961976924], length 511: HTTP: GET /axis-cgi/param.cgi?action=list&group=root.PTZ HTTP/1.1 19:27:18.089477 IP $IP_AXIS.http > hass.33538: Flags [.], ack 1104, win 1002, options [nop,nop,TS val 961976950 ecr 1710301025], length 0 19:27:18.252465 IP $IP_AXIS.http > hass.33562: Flags [.], seq 1116:2564, ack 1130, win 1002, options [nop,nop,TS val 961977113 ecr 1710301021], length 1448: HTTP 19:27:18.252515 IP hass.33562 > $IP_AXIS.http: Flags [.], ack 2564, win 501, options [nop,nop,TS val 1710301189 ecr 961977113], length 0 19:27:18.252553 IP $IP_AXIS.http > hass.33562: Flags [.], seq 2564:4012, ack 1130, win 1002, options [nop,nop,TS val 961977113 ecr 1710301021], length 1448: HTTP 19:27:18.252581 IP hass.33562 > $IP_AXIS.http: Flags [.], ack 4012, win 501, options [nop,nop,TS val 1710301189 ecr 961977113], length 0 19:27:18.252683 IP $IP_AXIS.http > hass.33562: Flags [P.], seq 4012:5220, ack 1130, win 1002, options [nop,nop,TS val 961977113 ecr 1710301021], length 1208: HTTP 19:27:18.252711 IP hass.33562 > $IP_AXIS.http: Flags [.], ack 5220, win 492, options [nop,nop,TS val 1710301189 ecr 961977113], length 0 19:27:18.266224 IP $IP_AXIS.http > hass.33562: Flags [P.], seq 5220:6652, ack 1130, win 1002, options [nop,nop,TS val 961977126 ecr 1710301189], length 1432: HTTP 19:27:18.266289 IP hass.33562 > $IP_AXIS.http: Flags [.], ack 6652, win 501, options [nop,nop,TS val 1710301202 ecr 961977126], length 0 19:27:18.266324 IP $IP_AXIS.http > hass.33562: Flags [P.], seq 6652:6657, ack 1130, win 1002, options [nop,nop,TS val 961977127 ecr 1710301189], length 5: HTTP 19:27:18.266344 IP hass.33562 > $IP_AXIS.http: Flags [.], ack 6657, win 501, options [nop,nop,TS val 1710301203 ecr 961977127], length 0 19:27:18.269483 IP $IP_AXIS.http > hass.33548: Flags [P.], seq 692:1216, ack 1121, win 1002, options [nop,nop,TS val 961977130 ecr 1710301020], length 524: HTTP: HTTP/1.1 200 OK 19:27:18.269568 IP hass.33548 > $IP_AXIS.http: Flags [.], ack 1216, win 501, options [nop,nop,TS val 1710301206 ecr 961977130], length 0 19:27:18.359055 IP $IP_AXIS.http > hass.33548: Flags [.], seq 1216:2664, ack 1121, win 1002, options [nop,nop,TS val 961977219 ecr 1710301206], length 1448: HTTP 19:27:18.359149 IP hass.33548 > $IP_AXIS.http: Flags [.], ack 2664, win 501, options [nop,nop,TS val 1710301295 ecr 961977219], length 0 19:27:18.359206 IP $IP_AXIS.http > hass.33548: Flags [P.], seq 2664:5232, ack 1121, win 1002, options [nop,nop,TS val 961977219 ecr 1710301206], length 2568: HTTP 19:27:18.359252 IP hass.33548 > $IP_AXIS.http: Flags [.], ack 5232, win 482, options [nop,nop,TS val 1710301295 ecr 961977219], length 0 19:27:18.359273 IP $IP_AXIS.http > hass.33548: Flags [P.], seq 5232:5237, ack 1121, win 1002, options [nop,nop,TS val 961977220 ecr 1710301295], length 5: HTTP 19:27:18.359294 IP hass.33548 > $IP_AXIS.http: Flags [.], ack 5237, win 501, options [nop,nop,TS val 1710301295 ecr 961977220], length 0 19:27:18.361924 IP $IP_AXIS.http > hass.33538: Flags [P.], seq 717:1241, ack 1104, win 1002, options [nop,nop,TS val 961977222 ecr 1710301025], length 524: HTTP: HTTP/1.1 200 OK 19:27:18.403375 IP hass.33538 > $IP_AXIS.http: Flags [.], ack 1241, win 501, options [nop,nop,TS val 1710301340 ecr 961977222], length 0 19:27:18.429399 IP $IP_AXIS.http > hass.33538: Flags [.], seq 1241:2689, ack 1104, win 1002, options [nop,nop,TS val 961977290 ecr 1710301340], length 1448: HTTP 19:27:18.429453 IP hass.33538 > $IP_AXIS.http: Flags [.], ack 2689, win 501, options [nop,nop,TS val 1710301366 ecr 961977290], length 0 19:27:18.429482 IP $IP_AXIS.http > hass.33538: Flags [P.], seq 2689:4137, ack 1104, win 1002, options [nop,nop,TS val 961977290 ecr 1710301340], length 1448: HTTP 19:27:18.429521 IP hass.33538 > $IP_AXIS.http: Flags [.], ack 4137, win 491, options [nop,nop,TS val 1710301366 ecr 961977290], length 0 19:27:18.429608 IP $IP_AXIS.http > hass.33538: Flags [P.], seq 4137:5345, ack 1104, win 1002, options [nop,nop,TS val 961977290 ecr 1710301340], length 1208: HTTP 19:27:18.429634 IP hass.33538 > $IP_AXIS.http: Flags [.], ack 5345, win 492, options [nop,nop,TS val 1710301366 ecr 961977290], length 0 19:27:18.446143 IP $IP_AXIS.http > hass.33538: Flags [.], seq 5345:6793, ack 1104, win 1002, options [nop,nop,TS val 961977306 ecr 1710301366], length 1448: HTTP 19:27:18.446219 IP hass.33538 > $IP_AXIS.http: Flags [.], ack 6793, win 501, options [nop,nop,TS val 1710301382 ecr 961977306], length 0 19:27:18.446281 IP $IP_AXIS.http > hass.33538: Flags [P.], seq 6793:7718, ack 1104, win 1002, options [nop,nop,TS val 961977306 ecr 1710301366], length 925: HTTP 19:27:18.446302 IP hass.33538 > $IP_AXIS.http: Flags [.], ack 7718, win 501, options [nop,nop,TS val 1710301382 ecr 961977306], length 0 19:27:18.446418 IP $IP_AXIS.http > hass.33538: Flags [P.], seq 7718:7723, ack 1104, win 1002, options [nop,nop,TS val 961977307 ecr 1710301382], length 5: HTTP 19:27:18.446445 IP hass.33538 > $IP_AXIS.http: Flags [.], ack 7723, win 501, options [nop,nop,TS val 1710301383 ecr 961977307], length 0 19:27:18.455662 IP hass.33538 > $IP_AXIS.http: Flags [P.], seq 1104:1605, ack 7723, win 501, options [nop,nop,TS val 1710301392 ecr 961977307], length 501: HTTP: POST /axis-cgi/applications/list.cgi HTTP/1.1 19:27:18.455889 IP $IP_AXIS.http > hass.33538: Flags [.], ack 1605, win 1002, options [nop,nop,TS val 961977316 ecr 1710301392], length 0 19:27:18.457132 IP $IP_AXIS.http > hass.33538: Flags [P.], seq 7723:8572, ack 1605, win 1002, options [nop,nop,TS val 961977317 ecr 1710301392], length 849: HTTP: HTTP/1.1 401 Unauthorized 19:27:18.465780 IP hass.33538 > $IP_AXIS.http: Flags [P.], seq 1605:2106, ack 8572, win 501, options [nop,nop,TS val 1710301402 ecr 961977317], length 501: HTTP: POST /axis-cgi/applications/list.cgi HTTP/1.1 19:27:18.465989 IP $IP_AXIS.http > hass.33538: Flags [.], ack 2106, win 1002, options [nop,nop,TS val 961977326 ecr 1710301402], length 0 19:27:18.466909 IP $IP_AXIS.http > hass.33538: Flags [P.], seq 8572:9421, ack 2106, win 1002, options [nop,nop,TS val 961977327 ecr 1710301402], length 849: HTTP: HTTP/1.1 401 Unauthorized 19:27:18.493093 IP hass.44580 > $IP_AXIS.rtsp: Flags [S], seq 1655395450, win 64240, options [mss 1460,sackOK,TS val 1710301429 ecr 0,nop,wscale 7], length 0 19:27:18.493310 IP $IP_AXIS.rtsp > hass.44580: Flags [S.], seq 2777524936, ack 1655395451, win 65160, options [mss 1460,sackOK,TS val 961977354 ecr 1710301429,nop,wscale 6], length 0 19:27:18.493388 IP hass.44580 > $IP_AXIS.rtsp: Flags [.], ack 1, win 502, options [nop,nop,TS val 1710301430 ecr 961977354], length 0 19:27:18.494771 IP hass.33538 > $IP_AXIS.http: Flags [P.], seq 2106:2628, ack 9421, win 501, options [nop,nop,TS val 1710301431 ecr 961977327], length 522: HTTP: POST /axis-cgi/mqtt/client.cgi HTTP/1.1 19:27:18.494996 IP $IP_AXIS.http > hass.33538: Flags [.], ack 2628, win 1002, options [nop,nop,TS val 961977355 ecr 1710301431], length 0 19:27:18.495524 IP hass.33538 > $IP_AXIS.http: Flags [P.], seq 2628:2719, ack 9421, win 501, options [nop,nop,TS val 1710301432 ecr 961977355], length 91: HTTP 19:27:18.495654 IP $IP_AXIS.http > hass.33538: Flags [.], ack 2719, win 1002, options [nop,nop,TS val 961977356 ecr 1710301432], length 0 19:27:18.496238 IP $IP_AXIS.http > hass.33538: Flags [P.], seq 9421:10270, ack 2719, win 1002, options [nop,nop,TS val 961977356 ecr 1710301432], length 849: HTTP: HTTP/1.1 401 Unauthorized 19:27:18.496845 IP hass.44580 > $IP_AXIS.rtsp: Flags [P.], seq 1:121, ack 1, win 502, options [nop,nop,TS val 1710301433 ecr 961977354], length 120: RTSP: OPTIONS rtsp://$IP_AXIS/axis-media/media.amp?video=0&audio=0&event=on RTSP/1.0 19:27:18.496988 IP $IP_AXIS.rtsp > hass.44580: Flags [.], ack 121, win 1017, options [nop,nop,TS val 961977357 ecr 1710301433], length 0 19:27:18.497594 IP $IP_AXIS.rtsp > hass.44580: Flags [P.], seq 1:202, ack 121, win 1017, options [nop,nop,TS val 961977358 ecr 1710301433], length 201: RTSP: RTSP/1.0 200 OK 19:27:18.497636 IP hass.44580 > $IP_AXIS.rtsp: Flags [.], ack 202, win 501, options [nop,nop,TS val 1710301434 ecr 961977358], length 0 19:27:18.501960 IP hass.44580 > $IP_AXIS.rtsp: Flags [P.], seq 121:267, ack 202, win 501, options [nop,nop,TS val 1710301438 ecr 961977358], length 146: RTSP: DESCRIBE rtsp://$IP_AXIS/axis-media/media.amp?video=0&audio=0&event=on RTSP/1.0 19:27:18.502114 IP $IP_AXIS.rtsp > hass.44580: Flags [.], ack 267, win 1015, options [nop,nop,TS val 961977362 ecr 1710301438], length 0 19:27:18.502965 IP $IP_AXIS.rtsp > hass.44580: Flags [P.], seq 202:430, ack 267, win 1015, options [nop,nop,TS val 961977363 ecr 1710301438], length 228: RTSP: RTSP/1.0 401 Unauthorized 19:27:18.505322 IP hass.44580 > $IP_AXIS.rtsp: Flags [P.], seq 267:673, ack 430, win 501, options [nop,nop,TS val 1710301441 ecr 961977363], length 406: RTSP: DESCRIBE rtsp://$IP_AXIS/axis-media/media.amp?video=0&audio=0&event=on RTSP/1.0 19:27:18.505503 IP $IP_AXIS.rtsp > hass.44580: Flags [.], ack 673, win 1009, options [nop,nop,TS val 961977366 ecr 1710301441], length 0 19:27:18.506808 IP hass.33538 > $IP_AXIS.http: Flags [P.], seq 2719:3241, ack 10270, win 501, options [nop,nop,TS val 1710301443 ecr 961977356], length 522: HTTP: POST /axis-cgi/mqtt/client.cgi HTTP/1.1 19:27:18.507391 IP hass.33538 > $IP_AXIS.http: Flags [P.], seq 3241:3332, ack 10270, win 501, options [nop,nop,TS val 1710301444 ecr 961977356], length 91: HTTP 19:27:18.507541 IP $IP_AXIS.http > hass.33538: Flags [.], ack 3332, win 1002, options [nop,nop,TS val 961977368 ecr 1710301443], length 0 19:27:18.508678 IP $IP_AXIS.http > hass.33538: Flags [P.], seq 10270:11119, ack 3332, win 1002, options [nop,nop,TS val 961977369 ecr 1710301443], length 849: HTTP: HTTP/1.1 401 Unauthorized 19:27:18.549097 IP $IP_AXIS.rtsp > hass.44580: Flags [P.], seq 430:1135, ack 673, win 1009, options [nop,nop,TS val 961977409 ecr 1710301441], length 705: RTSP: RTSP/1.0 200 OK 19:27:18.550083 IP hass.44580 > $IP_AXIS.rtsp: Flags [P.], seq 673:1112, ack 1135, win 501, options [nop,nop,TS val 1710301486 ecr 961977409], length 439: RTSP: SETUP rtsp://$IP_AXIS/axis-media/media.amp/stream=0?video=0&audio=0&event=on RTSP/1.0 19:27:18.550495 IP $IP_AXIS.rtsp > hass.44580: Flags [.], ack 1112, win 1003, options [nop,nop,TS val 961977411 ecr 1710301486], length 0 19:27:18.551357 IP hass.33538 > $IP_AXIS.http: Flags [.], ack 11119, win 501, options [nop,nop,TS val 1710301488 ecr 961977369], length 0 19:27:18.555215 IP $IP_AXIS.rtsp > hass.44580: Flags [P.], seq 1135:1371, ack 1112, win 1003, options [nop,nop,TS val 961977415 ecr 1710301486], length 236: RTSP: RTSP/1.0 200 OK 19:27:18.555983 IP hass.44580 > $IP_AXIS.rtsp: Flags [P.], seq 1112:1516, ack 1371, win 501, options [nop,nop,TS val 1710301492 ecr 961977415], length 404: RTSP: PLAY rtsp://$IP_AXIS/axis-media/media.amp?video=0&audio=0&event=on RTSP/1.0 19:27:18.598236 IP $IP_AXIS.rtsp > hass.44580: Flags [.], ack 1516, win 1002, options [nop,nop,TS val 961977459 ecr 1710301492], length 0 19:27:18.612128 IP $IP_AXIS.rtsp > hass.44580: Flags [P.], seq 1371:1642, ack 1516, win 1002, options [nop,nop,TS val 961977472 ecr 1710301492], length 271: RTSP: RTSP/1.0 200 OK 19:27:18.613731 IP $IP_AXIS.50000 > hass.59977: UDP, length 137 19:27:18.613808 IP hass > $IP_AXIS: ICMP hass udp port 59977 unreachable, length 173 19:27:18.655359 IP hass.44580 > $IP_AXIS.rtsp: Flags [.], ack 1642, win 501, options [nop,nop,TS val 1710301592 ecr 961977472], length 0 19:27:19.789135 IP $IP_AXIS.50000 > hass.59977: UDP, length 973 19:27:19.789231 IP hass > $IP_AXIS: ICMP hass udp port 59977 unreachable, length 556 19:27:19.789863 IP $IP_AXIS.50000 > hass.59977: UDP, length 938 19:27:19.789895 IP hass > $IP_AXIS: ICMP hass udp port 59977 unreachable, length 556 19:27:19.799960 IP $IP_AXIS.50000 > hass.59977: UDP, length 939 19:27:19.799993 IP hass > $IP_AXIS: ICMP hass udp port 59977 unreachable, length 556 19:27:19.800370 IP $IP_AXIS.50000 > hass.59977: UDP, length 937 19:27:19.800399 IP hass > $IP_AXIS: ICMP hass udp port 59977 unreachable, length 556 19:27:19.800747 IP $IP_AXIS.50000 > hass.59977: UDP, length 938 19:27:19.800776 IP hass > $IP_AXIS: ICMP hass udp port 59977 unreachable, length 556 19:27:19.803443 IP $IP_AXIS.50000 > hass.59977: UDP, length 938 19:27:19.803473 IP hass > $IP_AXIS: ICMP hass udp port 59977 unreachable, length 556 19:27:19.803568 IP $IP_AXIS.50000 > hass.59977: UDP, length 938 19:27:19.805442 IP $IP_AXIS.50000 > hass.59977: UDP, length 1065 19:27:19.805875 IP $IP_AXIS.50000 > hass.59977: UDP, length 941 19:27:19.823518 IP $IP_AXIS.50000 > hass.59977: UDP, length 939 19:27:19.823599 IP $IP_AXIS.50000 > hass.59977: UDP, length 973 19:27:19.823678 IP $IP_AXIS.50000 > hass.59977: UDP, length 938 19:27:19.823748 IP $IP_AXIS.50000 > hass.59977: UDP, length 938 19:27:19.823882 IP $IP_AXIS.50000 > hass.59977: UDP, length 937 19:27:19.823961 IP $IP_AXIS.50000 > hass.59977: UDP, length 965 19:27:19.824053 IP $IP_AXIS.50000 > hass.59977: UDP, length 1070 19:27:19.824135 IP $IP_AXIS.50000 > hass.59977: UDP, length 946 19:27:19.824786 IP $IP_AXIS.50000 > hass.59977: UDP, length 944 19:27:19.835976 IP $IP_AXIS.50000 > hass.59977: UDP, length 909 19:27:19.836437 IP $IP_AXIS.50000 > hass.59977: UDP, length 938 19:27:19.837112 IP $IP_AXIS.50000 > hass.59977: UDP, length 938 19:27:19.837690 IP $IP_AXIS.50000 > hass.59977: UDP, length 938 19:27:19.838557 IP $IP_AXIS.50000 > hass.59977: UDP, length 938 19:27:19.839162 IP $IP_AXIS.50000 > hass.59977: UDP, length 970 19:27:19.841418 IP $IP_AXIS.50000 > hass.59977: UDP, length 935 19:27:19.855417 IP $IP_AXIS.50000 > hass.59977: UDP, length 938 19:27:19.855807 IP $IP_AXIS.50000 > hass.59977: UDP, length 937 19:27:19.855977 IP $IP_AXIS.50000 > hass.59977: UDP, length 938 19:27:19.856089 IP $IP_AXIS.50000 > hass.59977: UDP, length 938 19:27:19.857169 IP $IP_AXIS.50000 > hass.59977: UDP, length 958 19:27:19.858400 IP $IP_AXIS.50000 > hass.59977: UDP, length 958 19:27:19.872376 IP $IP_AXIS.50000 > hass.59977: UDP, length 938 19:27:19.872568 IP $IP_AXIS.50000 > hass.59977: UDP, length 938 19:27:19.873581 IP $IP_AXIS.50000 > hass.59977: UDP, length 938 19:27:19.874882 IP $IP_AXIS.50000 > hass.59977: UDP, length 914 19:27:19.876252 IP $IP_AXIS.50000 > hass.59977: UDP, length 952 19:27:19.887071 IP $IP_AXIS.50000 > hass.59977: UDP, length 963 19:27:19.888281 IP $IP_AXIS.50000 > hass.59977: UDP, length 901 19:27:19.889081 IP $IP_AXIS.50000 > hass.59977: UDP, length 937 19:27:19.889894 IP $IP_AXIS.50000 > hass.59977: UDP, length 938 19:27:19.890929 IP $IP_AXIS.50000 > hass.59977: UDP, length 938 19:27:19.891796 IP $IP_AXIS.50000 > hass.59977: UDP, length 938 19:27:19.892487 IP $IP_AXIS.50000 > hass.59977: UDP, length 938 19:27:19.905897 IP $IP_AXIS.50000 > hass.59977: UDP, length 938 19:27:19.907143 IP $IP_AXIS.50000 > hass.59977: UDP, length 937 19:27:19.908412 IP $IP_AXIS.50000 > hass.59977: UDP, length 938 19:27:19.909553 IP $IP_AXIS.50000 > hass.59977: UDP, length 938 19:27:19.911462 IP $IP_AXIS.50000 > hass.59977: UDP, length 938 19:27:19.913926 IP $IP_AXIS.50000 > hass.59977: UDP, length 930 19:27:19.922838 IP $IP_AXIS.50000 > hass.59977: UDP, length 938 19:27:19.923978 IP $IP_AXIS.50000 > hass.59977: UDP, length 938 19:27:19.925010 IP $IP_AXIS.50000 > hass.59977: UDP, length 938 19:27:19.926082 IP $IP_AXIS.50000 > hass.59977: UDP, length 938 19:27:19.927277 IP $IP_AXIS.50000 > hass.59977: UDP, length 915 19:27:19.934011 IP $IP_AXIS.50000 > hass.59977: UDP, length 931 19:27:19.934389 IP $IP_AXIS.50000 > hass.59977: UDP, length 932 19:27:19.935134 IP $IP_AXIS.50000 > hass.59977: UDP, length 963 19:27:19.935373 IP $IP_AXIS.50000 > hass.59977: UDP, length 964 19:27:19.935603 IP $IP_AXIS.50000 > hass.59977: UDP, length 1001 19:27:19.948205 IP $IP_AXIS.50000 > hass.59977: UDP, length 938 19:27:19.951916 IP $IP_AXIS.50000 > hass.59977: UDP, length 938 19:27:19.953531 IP $IP_AXIS.50000 > hass.59977: UDP, length 938 19:27:19.959045 IP $IP_AXIS.50000 > hass.59977: UDP, length 938 19:27:19.959268 IP $IP_AXIS.50000 > hass.59977: UDP, length 938 19:27:19.959389 IP $IP_AXIS.50000 > hass.59977: UDP, length 960 19:27:19.959497 IP $IP_AXIS.50000 > hass.59977: UDP, length 960 19:27:19.959730 IP $IP_AXIS.50000 > hass.59977: UDP, length 945 19:27:19.960623 IP $IP_AXIS.50000 > hass.59977: UDP, length 919 19:27:19.966547 IP $IP_AXIS.50000 > hass.59977: UDP, length 938 19:27:19.971797 IP $IP_AXIS.50000 > hass.59977: UDP, length 938 19:27:19.971927 IP $IP_AXIS.50000 > hass.59977: UDP, length 937 19:27:19.972027 IP $IP_AXIS.50000 > hass.59977: UDP, length 938 19:27:19.972777 IP $IP_AXIS.50000 > hass.59977: UDP, length 938 19:27:19.975114 IP $IP_AXIS.50000 > hass.59977: UDP, length 937 19:27:19.978628 IP $IP_AXIS.50000 > hass.59977: UDP, length 917 19:27:19.988743 IP $IP_AXIS.50000 > hass.59977: UDP, length 938 19:27:19.990078 IP $IP_AXIS.50000 > hass.59977: UDP, length 937 19:27:19.991648 IP $IP_AXIS.50000 > hass.59977: UDP, length 938 19:27:19.993073 IP $IP_AXIS.50000 > hass.59977: UDP, length 938 19:27:19.994740 IP $IP_AXIS.50000 > hass.59977: UDP, length 938 19:27:19.996311 IP $IP_AXIS.50000 > hass.59977: UDP, length 938 19:27:19.998015 IP $IP_AXIS.50000 > hass.59977: UDP, length 938 19:27:19.999203 IP $IP_AXIS.50000 > hass.59977: UDP, length 914 19:27:20.001871 IP $IP_AXIS.50000 > hass.59977: UDP, length 923 19:27:20.001939 IP $IP_AXIS.50000 > hass.59977: UDP, length 892 19:27:20.007981 IP $IP_AXIS.50000 > hass.59977: UDP, length 938 19:27:20.012089 IP $IP_AXIS.50000 > hass.59977: UDP, length 938 19:27:20.012196 IP $IP_AXIS.50000 > hass.59977: UDP, length 938 19:27:20.013848 IP $IP_AXIS.50000 > hass.59977: UDP, length 938 19:27:20.016199 IP $IP_AXIS.50000 > hass.59977: UDP, length 938 19:27:20.017908 IP $IP_AXIS.50000 > hass.59977: UDP, length 938 19:27:20.019353 IP $IP_AXIS.50000 > hass.59977: UDP, length 916 19:27:20.020405 IP $IP_AXIS.50000 > hass.59977: UDP, length 933 19:27:20.024065 IP $IP_AXIS.50000 > hass.59977: UDP, length 937 19:27:20.025648 IP $IP_AXIS.50000 > hass.59977: UDP, length 938 19:27:20.027498 IP $IP_AXIS.50000 > hass.59977: UDP, length 938 19:27:20.031417 IP $IP_AXIS.50000 > hass.59977: UDP, length 938 19:27:20.031483 IP $IP_AXIS.50000 > hass.59977: UDP, length 938 19:27:20.032779 IP $IP_AXIS.50000 > hass.59977: UDP, length 939 19:27:20.034402 IP $IP_AXIS.50000 > hass.59977: UDP, length 940 19:27:20.036614 IP $IP_AXIS.50000 > hass.59977: UDP, length 938 19:27:20.038612 IP $IP_AXIS.50000 > hass.59977: UDP, length 938 19:27:20.040624 IP $IP_AXIS.50000 > hass.59977: UDP, length 938 19:27:20.043956 IP $IP_AXIS.50000 > hass.59977: UDP, length 938 19:27:21.364866 IP $IP_AXIS.50001 > hass.59978: UDP, length 80 19:27:21.364958 IP hass > $IP_AXIS: ICMP hass udp port 59978 unreachable, length 116 19:27:22.873853 IP $IP_AXIS.http > hass.33532: Flags [F.], seq 584, ack 631, win 1009, options [nop,nop,TS val 961981734 ecr 1710300805], length 0 19:27:22.915361 IP hass.33532 > $IP_AXIS.http: Flags [.], ack 585, win 501, options [nop,nop,TS val 1710305852 ecr 961981734], length 0 19:27:22.928101 IP $IP_AXIS.http > hass.33530: Flags [F.], seq 3230, ack 1529, win 1002, options [nop,nop,TS val 961981788 ecr 1710300900], length 0 19:27:22.971362 IP hass.33530 > $IP_AXIS.http: Flags [.], ack 3231, win 501, options [nop,nop,TS val 1710305908 ecr 961981788], length 0 19:27:23.270706 IP $IP_AXIS.http > hass.33562: Flags [F.], seq 6657, ack 1130, win 1002, options [nop,nop,TS val 961982131 ecr 1710301203], length 0 19:27:23.311358 IP hass.33562 > $IP_AXIS.http: Flags [.], ack 6658, win 501, options [nop,nop,TS val 1710306248 ecr 961982131], length 0 19:27:23.364374 IP $IP_AXIS.http > hass.33548: Flags [F.], seq 5237, ack 1121, win 1002, options [nop,nop,TS val 961982225 ecr 1710301295], length 0 19:27:23.407349 IP hass.33548 > $IP_AXIS.http: Flags [.], ack 5238, win 501, options [nop,nop,TS val 1710306344 ecr 961982225], length 0 19:27:26.121537 IP $IP_AXIS.50001 > hass.59978: UDP, length 80 19:27:26.121609 IP hass > $IP_AXIS: ICMP hass udp port 59978 unreachable, length 116 19:27:26.543361 IP hass.1883 > $IP_AXIS.53970: Flags [.], ack 2730629374, win 507, options [nop,nop,TS val 1710309480 ecr 961970300], length 0 19:27:26.543635 IP $IP_AXIS.53970 > hass.1883: Flags [.], ack 1, win 1004, options [nop,nop,TS val 961985404 ecr 1710249223], length 0 19:27:26.853034 IP $IP_AXIS.53970 > hass.1883: Flags [P.], seq 1:3, ack 1, win 1004, options [nop,nop,TS val 961985713 ecr 1710249223], length 2 19:27:26.853530 IP hass.1883 > $IP_AXIS.53970: Flags [P.], seq 1:3, ack 3, win 507, options [nop,nop,TS val 1710309790 ecr 961985713], length 2 19:27:26.853701 IP $IP_AXIS.53970 > hass.1883: Flags [.], ack 3, win 1004, options [nop,nop,TS val 961985714 ecr 1710309790], length 0 19:27:32.278004 IP $IP_AXIS.50001 > hass.59978: UDP, length 60 19:27:32.278111 IP hass > $IP_AXIS: ICMP hass udp port 59978 unreachable, length 96 19:27:37.770312 IP $IP_AXIS.50000 > hass.59977: UDP, length 913 19:27:37.770409 IP hass > $IP_AXIS: ICMP hass udp port 59977 unreachable, length 556 19:27:37.772998 IP $IP_AXIS.50000 > hass.59977: UDP, length 915 19:27:37.773031 IP hass > $IP_AXIS: ICMP hass udp port 59977 unreachable, length 556 19:27:37.773184 IP $IP_AXIS.50000 > hass.59977: UDP, length 941 19:27:37.773216 IP hass > $IP_AXIS: ICMP hass udp port 59977 unreachable, length 556 19:27:37.773257 IP $IP_AXIS.50000 > hass.59977: UDP, length 927 19:27:37.773286 IP hass > $IP_AXIS: ICMP hass udp port 59977 unreachable, length 556 19:27:37.773398 IP $IP_AXIS.50000 > hass.59977: UDP, length 997 19:27:37.773426 IP hass > $IP_AXIS: ICMP hass udp port 59977 unreachable, length 556 19:27:37.854390 IP $IP_AXIS.50001 > hass.59978: UDP, length 80 19:27:37.854420 IP hass > $IP_AXIS: ICMP hass udp port 59978 unreachable, length 116 19:27:41.855374 IP hass.1883 > $IP_AXIS.53970: Flags [.], ack 3, win 507, options [nop,nop,TS val 1710324792 ecr 961985714], length 0 19:27:41.855571 IP $IP_AXIS.53970 > hass.1883: Flags [.], ack 3, win 1004, options [nop,nop,TS val 962000716 ecr 1710309790], length 0 19:27:42.486361 IP $IP_AXIS.50001 > hass.59978: UDP, length 80 19:27:42.486449 IP hass > $IP_AXIS: ICMP hass udp port 59978 unreachable, length 116 19:27:42.573810 IP $IP_AXIS.50000 > hass.59977: UDP, length 913 19:27:42.573851 IP hass > $IP_AXIS: ICMP hass udp port 59977 unreachable, length 556 19:27:42.573940 IP $IP_AXIS.50000 > hass.59977: UDP, length 915 19:27:42.573970 IP hass > $IP_AXIS: ICMP hass udp port 59977 unreachable, length 556 19:27:42.574122 IP $IP_AXIS.50000 > hass.59977: UDP, length 941 19:27:42.574150 IP hass > $IP_AXIS: ICMP hass udp port 59977 unreachable, length 556 19:27:42.574984 IP $IP_AXIS.50000 > hass.59977: UDP, length 927 19:27:42.575436 IP $IP_AXIS.50000 > hass.59977: UDP, length 997 19:27:46.486898 IP $IP_AXIS.50001 > hass.59978: UDP, length 80 19:27:46.486999 IP hass > $IP_AXIS: ICMP hass udp port 59978 unreachable, length 116 19:27:50.817345 IP $IP_AXIS.50001 > hass.59978: UDP, length 80 19:27:50.817439 IP hass > $IP_AXIS: ICMP hass udp port 59978 unreachable, length 116 19:27:55.872576 IP $IP_AXIS.50001 > hass.59978: UDP, length 60 19:27:55.872674 IP hass > $IP_AXIS: ICMP hass udp port 59978 unreachable, length 96 19:27:57.007357 IP hass.1883 > $IP_AXIS.53970: Flags [.], ack 3, win 507, options [nop,nop,TS val 1710339944 ecr 962000716], length 0 19:27:57.007731 IP $IP_AXIS.53970 > hass.1883: Flags [.], ack 3, win 1004, options [nop,nop,TS val 962015867 ecr 1710309790], length 0 19:28:00.500559 IP $IP_AXIS.50001 > hass.59978: UDP, length 60 19:28:00.500660 IP hass > $IP_AXIS: ICMP hass udp port 59978 unreachable, length 96 19:28:06.453710 IP $IP_AXIS.50001 > hass.59978: UDP, length 60 19:28:06.453807 IP hass > $IP_AXIS: ICMP hass udp port 59978 unreachable, length 96 19:28:11.638945 ARP, Request who-has hass tell $IP_AXIS, length 46 19:28:11.971577 IP $IP_AXIS.50001 > hass.59978: UDP, length 60 19:28:11.971647 IP hass > $IP_AXIS: ICMP hass udp port 59978 unreachable, length 96 19:28:12.111368 IP hass.1883 > $IP_AXIS.53970: Flags [.], ack 3, win 507, options [nop,nop,TS val 1710355048 ecr 962015867], length 0 19:28:12.111636 IP $IP_AXIS.53970 > hass.1883: Flags [.], ack 3, win 1004, options [nop,nop,TS val 962030971 ecr 1710309790], length 0 19:28:13.613985 IP hass.44580 > $IP_AXIS.rtsp: Flags [P.], seq 1516:1663, ack 1642, win 501, options [nop,nop,TS val 1710356550 ecr 961977472], length 147: RTSP: OPTIONS rtsp://$IP_AXIS/axis-media/media.amp?video=0&audio=0&event=on RTSP/1.0 19:28:13.614305 IP $IP_AXIS.rtsp > hass.44580: Flags [.], ack 1663, win 1002, options [nop,nop,TS val 962032474 ecr 1710356550], length 0 19:28:13.615287 IP $IP_AXIS.rtsp > hass.44580: Flags [P.], seq 1642:1881, ack 1663, win 1002, options [nop,nop,TS val 962032475 ecr 1710356550], length 239: RTSP: RTSP/1.0 200 OK 19:28:13.615324 IP hass.44580 > $IP_AXIS.rtsp: Flags [.], ack 1881, win 501, options [nop,nop,TS val 1710356551 ecr 962032475], length 0 19:28:17.737469 IP $IP_AXIS.50001 > hass.59978: UDP, length 60 19:28:17.737568 IP hass > $IP_AXIS: ICMP hass udp port 59978 unreachable, length 96 19:28:22.309439 IP $IP_AXIS.50001 > hass.59978: UDP, length 60 19:28:22.309531 IP hass > $IP_AXIS: ICMP hass udp port 59978 unreachable, length 96 19:28:25.247392 IP $IP_AXIS.50001 > hass.59978: UDP, length 60 19:28:25.247485 IP hass > $IP_AXIS: ICMP hass udp port 59978 unreachable, length 96 19:28:27.215378 IP hass.1883 > $IP_AXIS.53970: Flags [.], ack 3, win 507, options [nop,nop,TS val 1710370152 ecr 962030971], length 0 19:28:27.215686 IP $IP_AXIS.53970 > hass.1883: Flags [.], ack 3, win 1004, options [nop,nop,TS val 962046075 ecr 1710309790], length 0 19:28:27.419376 IP $IP_AXIS.53970 > hass.1883: Flags [P.], seq 3:5, ack 3, win 1004, options [nop,nop,TS val 962046279 ecr 1710309790], length 2 19:28:27.419839 IP hass.1883 > $IP_AXIS.53970: Flags [P.], seq 3:5, ack 5, win 507, options [nop,nop,TS val 1710370356 ecr 962046279], length 2 19:28:27.420012 IP $IP_AXIS.53970 > hass.1883: Flags [.], ack 5, win 1004, options [nop,nop,TS val 962046279 ecr 1710370356], length 0 19:28:29.201702 IP $IP_AXIS.50001 > hass.59978: UDP, length 60 19:28:29.201801 IP hass > $IP_AXIS: ICMP hass udp port 59978 unreachable, length 96 19:28:34.379800 IP $IP_AXIS.50001 > hass.59978: UDP, length 60 19:28:34.379884 IP hass > $IP_AXIS: ICMP hass udp port 59978 unreachable, length 96 19:28:39.668224 IP $IP_AXIS.50001 > hass.59978: UDP, length 60 19:28:39.668319 IP hass > $IP_AXIS: ICMP hass udp port 59978 unreachable, length 96 19:28:42.423353 IP hass.1883 > $IP_AXIS.53970: Flags [.], ack 5, win 507, options [nop,nop,TS val 1710385360 ecr 962046279], length 0 19:28:42.423566 IP $IP_AXIS.53970 > hass.1883: Flags [.], ack 5, win 1004, options [nop,nop,TS val 962061283 ecr 1710370356], length 0 ```

There are a few interesting lines, e.g.

POST /axis-cgi/mqtt/client.cgi HTTP/1.1
POST /axis-cgi/applications/list.cgi HTTP/1.1

is answered with 401 Unauthorized. The Axis camera account used in HA has Operator priviliges.

Kane610 commented 7 months ago

MQTT endpoint requires admin settings to switch to using, I have to admit that the mqtt source is not as well tested as the rtsp source yet.

mesonium commented 7 months ago

MQTT endpoint requires admin settings to switch to using, I have to admit that the mqtt source is not as well tested as the rtsp source yet.

Thank you for your reply. I have changed the HomeAssistant user role to admin and reloaded the integrations, unfortunately without any success. There's still no device/entity displayed in the MQTT integration (though connected perfectly), nor is there more than a single entity shown in the Axis integration.

Do you have any more ideas how to debug this further?

Kane610 commented 7 months ago

Do you have any more ideas how to debug this further?

You can enable debug logging per the instructions in the integration documentation.

It could be that no additional entities are created if the device does not provide any supported data, do you have any motion detection settings configured?

mesonium commented 7 months ago

You can enable debug logging per the instructions in the integration documentation.

Already done, here's the full log when reloading the Axis integration:

2024-01-29 20:07:18.980 DEBUG (MainThread) [homeassistant.components.mqtt.client] Unsubscribing from $serial/#, mid: 6
2024-01-29 20:07:20.024 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up axis.binary_sensor
2024-01-29 20:07:20.025 INFO (MainThread) [homeassistant.components.camera] Setting up axis.camera
2024-01-29 20:07:20.026 INFO (MainThread) [homeassistant.components.light] Setting up axis.light
2024-01-29 20:07:20.026 INFO (MainThread) [homeassistant.components.switch] Setting up axis.switch
2024-01-29 20:07:20.292 DEBUG (MainThread) [homeassistant.components.mqtt.client] Subscribing to $serial/#, mid: 4, qos: 0
2024-01-29 20:07:28.983 WARNING (MainThread) [homeassistant.components.mqtt.client] No ACK from MQTT server in 10 seconds (mid: 6)

And when reloading the MQTT integration

2024-01-29 20:07:47.860 DEBUG (MainThread) [homeassistant.components.mqtt.client] Unsubscribing from drop_connect/discovery/#, mid: 5
2024-01-29 20:07:47.861 DEBUG (MainThread) [homeassistant.components.mqtt.client] Unsubscribing from homeassistant/+/+/+/config, mid: 5
2024-01-29 20:07:47.861 DEBUG (MainThread) [homeassistant.components.mqtt.client] Unsubscribing from tasmota/discovery/#, mid: 5
2024-01-29 20:07:47.861 DEBUG (MainThread) [homeassistant.components.mqtt.client] Unsubscribing from fully/deviceInfo/+, mid: 5
2024-01-29 20:07:47.861 DEBUG (MainThread) [homeassistant.components.mqtt.client] Unsubscribing from homeassistant/+/+/config, mid: 5
2024-01-29 20:07:47.861 DEBUG (MainThread) [homeassistant.components.mqtt.client] Unsubscribing from dsmr/#, mid: 5
2024-01-29 20:07:48.889 INFO (MainThread) [homeassistant.components.alarm_control_panel] Setting up mqtt.alarm_control_panel
2024-01-29 20:07:48.890 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up mqtt.binary_sensor
2024-01-29 20:07:48.891 INFO (MainThread) [homeassistant.components.button] Setting up mqtt.button
2024-01-29 20:07:48.891 INFO (MainThread) [homeassistant.components.camera] Setting up mqtt.camera
2024-01-29 20:07:48.892 INFO (MainThread) [homeassistant.components.climate] Setting up mqtt.climate
2024-01-29 20:07:48.895 INFO (Thread-6 (_thread_main)) [homeassistant.components.mqtt.client] Connected to MQTT server 127.0.0.1:1883 (0)
2024-01-29 20:07:48.894 INFO (MainThread) [homeassistant.components.device_tracker] Setting up mqtt.device_tracker
2024-01-29 20:07:48.896 INFO (MainThread) [homeassistant.components.event] Setting up mqtt.event
2024-01-29 20:07:48.896 INFO (MainThread) [homeassistant.components.cover] Setting up mqtt.cover
2024-01-29 20:07:48.897 INFO (MainThread) [homeassistant.components.fan] Setting up mqtt.fan
2024-01-29 20:07:48.897 INFO (MainThread) [homeassistant.components.humidifier] Setting up mqtt.humidifier
2024-01-29 20:07:48.897 INFO (MainThread) [homeassistant.components.image] Setting up mqtt.image
2024-01-29 20:07:48.898 INFO (MainThread) [homeassistant.components.lawn_mower] Setting up mqtt.lawn_mower
2024-01-29 20:07:48.898 INFO (MainThread) [homeassistant.components.light] Setting up mqtt.light
2024-01-29 20:07:48.899 INFO (MainThread) [homeassistant.components.lock] Setting up mqtt.lock
2024-01-29 20:07:48.899 INFO (MainThread) [homeassistant.components.number] Setting up mqtt.number
2024-01-29 20:07:48.900 INFO (MainThread) [homeassistant.components.select] Setting up mqtt.select
2024-01-29 20:07:48.900 INFO (MainThread) [homeassistant.components.scene] Setting up mqtt.scene
2024-01-29 20:07:48.901 INFO (MainThread) [homeassistant.components.sensor] Setting up mqtt.sensor
2024-01-29 20:07:48.901 INFO (MainThread) [homeassistant.components.siren] Setting up mqtt.siren
2024-01-29 20:07:48.902 INFO (MainThread) [homeassistant.components.switch] Setting up mqtt.switch
2024-01-29 20:07:48.902 INFO (MainThread) [homeassistant.components.text] Setting up mqtt.text
2024-01-29 20:07:48.903 INFO (MainThread) [homeassistant.components.update] Setting up mqtt.update
2024-01-29 20:07:48.904 INFO (MainThread) [homeassistant.components.vacuum] Setting up mqtt.vacuum
2024-01-29 20:07:48.905 INFO (MainThread) [homeassistant.components.valve] Setting up mqtt.valve
2024-01-29 20:07:48.905 INFO (MainThread) [homeassistant.components.water_heater] Setting up mqtt.water_heater
2024-01-29 20:07:48.918 DEBUG (MainThread) [homeassistant.components.mqtt.client] Subscribing to $serial/#, mid: 1, qos: 0
2024-01-29 20:07:48.919 DEBUG (MainThread) [homeassistant.components.mqtt.client] Subscribing to objectdetect, mid: 1, qos: 0
2024-01-29 20:07:49.915 DEBUG (MainThread) [homeassistant.components.mqtt.client] Subscribing to homeassistant/+/+/config, mid: 2, qos: 0
2024-01-29 20:07:49.916 DEBUG (MainThread) [homeassistant.components.mqtt.client] Subscribing to homeassistant/+/+/+/config, mid: 2, qos: 0
2024-01-29 20:07:49.916 DEBUG (MainThread) [homeassistant.components.mqtt.client] Subscribing to drop_connect/discovery/#, mid: 2, qos: 0
2024-01-29 20:07:49.916 DEBUG (MainThread) [homeassistant.components.mqtt.client] Subscribing to dsmr/#, mid: 2, qos: 0
2024-01-29 20:07:49.916 DEBUG (MainThread) [homeassistant.components.mqtt.client] Subscribing to fully/deviceInfo/+, mid: 2, qos: 0
2024-01-29 20:07:49.916 DEBUG (MainThread) [homeassistant.components.mqtt.client] Subscribing to tasmota/discovery/#, mid: 2, qos: 0
2024-01-29 20:07:51.920 DEBUG (MainThread) [homeassistant.components.mqtt.client] Transmitting message on homeassistant/status: 'online', mid: 3, qos: 1

do you have any motion detection settings configured?

Yes, I have enabled both applications for object and motion detection and also set up two event rules, one including the option to publish an MQTT event.

Kane610 commented 7 months ago

The log show nothing related to axis integration.

Can you also enable debug logging for the axis library

mesonium commented 7 months ago

Here's the full debug log (I had forgotten to add axis: debug in the config):

Click to expand

``` [20:26:44] INFO: Home Assistant Core finish process exit code 100 20:26:48.109 INFO (MainThread) [homeassistant.setup] Setup of domain logger took 0.0 seconds 20:26:48.110 INFO (MainThread) [homeassistant.bootstrap] Setting up frontend: {'frontend'} 20:26:48.162 INFO (MainThread) [homeassistant.setup] Setting up device_automation 20:26:48.162 INFO (MainThread) [homeassistant.setup] Setup of domain device_automation took 0.0 seconds 20:26:48.396 INFO (MainThread) [homeassistant.setup] Setting up lovelace 20:26:48.400 INFO (MainThread) [homeassistant.setup] Setting up http 20:26:48.405 INFO (MainThread) [homeassistant.setup] Setup of domain lovelace took 0.0 seconds 20:26:48.418 INFO (MainThread) [homeassistant.setup] Setup of domain http took 0.0 seconds 20:26:48.447 INFO (MainThread) [homeassistant.setup] Setting up api 20:26:48.450 INFO (MainThread) [homeassistant.setup] Setup of domain api took 0.0 seconds 20:26:48.452 INFO (MainThread) [homeassistant.setup] Setting up auth 20:26:48.454 INFO (MainThread) [homeassistant.setup] Setup of domain auth took 0.0 seconds 20:26:48.475 INFO (MainThread) [homeassistant.setup] Setting up config 20:26:48.500 INFO (MainThread) [homeassistant.setup] Setting up diagnostics 20:26:48.525 INFO (MainThread) [homeassistant.setup] Setting up repairs 20:26:48.526 INFO (MainThread) [homeassistant.setup] Setup of domain repairs took 0.0 seconds 20:26:48.749 INFO (MainThread) [homeassistant.setup] Setup of domain config took 0.3 seconds 20:26:48.751 INFO (MainThread) [homeassistant.setup] Setup of domain diagnostics took 0.3 seconds 20:26:48.784 INFO (MainThread) [homeassistant.setup] Setting up file_upload 20:26:48.784 INFO (MainThread) [homeassistant.setup] Setup of domain file_upload took 0.0 seconds 20:26:48.886 INFO (MainThread) [homeassistant.setup] Setting up image_upload 20:26:48.888 INFO (MainThread) [homeassistant.setup] Setting up websocket_api 20:26:48.889 INFO (MainThread) [homeassistant.setup] Setup of domain websocket_api took 0.0 seconds 20:26:48.892 INFO (MainThread) [homeassistant.setup] Setup of domain image_upload took 0.0 seconds 20:26:48.898 INFO (SyncWorker_2) [homeassistant.loader] Loaded group from homeassistant.components.group 20:26:48.899 INFO (SyncWorker_4) [homeassistant.loader] Loaded device_tracker from homeassistant.components.device_tracker 20:26:50.556 INFO (MainThread) [homeassistant.setup] Setting up analytics 20:26:50.686 INFO (MainThread) [homeassistant.setup] Setting up search 20:26:50.687 INFO (MainThread) [homeassistant.setup] Setup of domain search took 0.0 seconds 20:26:50.688 INFO (MainThread) [homeassistant.setup] Setup of domain analytics took 0.1 seconds 20:26:50.691 INFO (MainThread) [homeassistant.setup] Setting up person 20:26:50.697 INFO (MainThread) [homeassistant.setup] Setup of domain person took 0.0 seconds 20:26:50.700 INFO (SyncWorker_4) [homeassistant.loader] Loaded hassio from homeassistant.components.hassio 20:26:50.702 INFO (MainThread) [homeassistant.setup] Setting up onboarding 20:26:50.703 INFO (MainThread) [homeassistant.setup] Setup of domain onboarding took 0.0 seconds 20:26:50.710 INFO (MainThread) [homeassistant.setup] Setting up frontend 20:26:50.716 INFO (MainThread) [homeassistant.setup] Setup of domain frontend took 0.0 seconds 20:26:50.718 INFO (MainThread) [homeassistant.bootstrap] Setting up recorder: {'recorder'} 20:26:50.721 INFO (MainThread) [homeassistant.setup] Setting up recorder 20:26:50.745 INFO (MainThread) [homeassistant.components.http] Now listening on port 8123 20:26:50.818 INFO (MainThread) [homeassistant.setup] Setup of domain recorder took 0.1 seconds 20:26:50.821 INFO (MainThread) [homeassistant.bootstrap] Setting up stage 1: {'http', 'api', 'network', 'ssdp', 'websocket_api', 'bluetooth', 'webhook', 'dhcp', 'cloud', 'zeroconf', 'usb'} 20:26:50.859 INFO (MainThread) [homeassistant.setup] Setting up webhook 20:26:50.860 INFO (MainThread) [homeassistant.setup] Setup of domain webhook took 0.0 seconds 20:26:50.865 INFO (MainThread) [homeassistant.setup] Setting up network 20:26:50.868 INFO (MainThread) [homeassistant.setup] Setup of domain network took 0.0 seconds 20:26:51.022 INFO (MainThread) [homeassistant.setup] Setting up dhcp 20:26:51.022 INFO (MainThread) [homeassistant.setup] Setup of domain dhcp took 0.0 seconds 20:26:51.552 INFO (MainThread) [homeassistant.setup] Setting up usb 20:26:51.580 INFO (MainThread) [homeassistant.setup] Setup of domain usb took 0.0 seconds 20:26:51.586 INFO (SyncWorker_0) [homeassistant.loader] Loaded google_assistant from homeassistant.components.google_assistant 20:26:51.588 INFO (SyncWorker_1) [homeassistant.loader] Loaded alexa from homeassistant.components.alexa 20:26:51.590 INFO (SyncWorker_2) [homeassistant.loader] Loaded matter from homeassistant.components.matter 20:26:51.591 INFO (SyncWorker_4) [homeassistant.loader] Loaded camera from homeassistant.components.camera 20:26:51.721 INFO (MainThread) [homeassistant.setup] Setting up zeroconf 20:26:51.731 INFO (MainThread) [homeassistant.setup] Setup of domain zeroconf took 0.0 seconds 20:26:51.740 INFO (MainThread) [homeassistant.components.zeroconf] Starting Zeroconf broadcast 20:26:51.979 INFO (MainThread) [homeassistant.setup] Setting up bluetooth 20:26:52.085 INFO (SyncWorker_2) [homeassistant.loader] Loaded media_player from homeassistant.components.media_player 20:26:52.149 INFO (MainThread) [homeassistant.setup] Setup of domain bluetooth took 0.2 seconds 20:26:52.266 INFO (MainThread) [homeassistant.setup] Setting up ssdp 20:26:52.273 INFO (MainThread) [homeassistant.setup] Setup of domain ssdp took 0.0 seconds 20:26:56.821 INFO (MainThread) [homeassistant.setup] Setting up cloud 20:26:56.865 INFO (MainThread) [homeassistant.setup] Setup of domain cloud took 0.0 seconds 20:26:56.879 INFO (MainThread) [homeassistant.setup] Setting up ffmpeg 20:26:56.880 INFO (MainThread) [homeassistant.bootstrap] Setting up stage 2: {'input_datetime', 'onboarding', 'stream', 'map', 'timer', 'panel_custom', 'assist_pipeline', 'energy', 'input_button', 'met', 'scene', 'lovelace', 'notify', 'my', 'system_health', 'tag', 'sun', 'auth', 'zone', 'mqtt', 'history', 'diagnostics', 'systemmonitor', 'image_upload', 'search', 'stt', 'default_config', 'mobile_app', 'trace', 'media_source', 'apcupsd', 'sensor', 'person', 'shopping_list', 'input_number', 'conversation', 'input_text', 'logbook', 'config', 'device_automation', 'repairs', 'schedule', 'automation', 'wake_word', 'script', 'hardware', 'file_upload', 'ffmpeg', 'input_boolean', 'tts', 'counter', 'homeassistant_alerts', 'analytics', 'blueprint', 'input_select', 'application_credentials', 'axis'} 20:26:56.896 INFO (MainThread) [homeassistant.setup] Setting up input_datetime 20:26:56.901 INFO (MainThread) [homeassistant.setup] Setting up timer 20:26:56.905 INFO (MainThread) [homeassistant.setup] Setting up input_button 20:26:56.909 INFO (MainThread) [homeassistant.setup] Setting up scene 20:26:56.917 INFO (SyncWorker_4) [homeassistant.loader] Loaded xmpp from homeassistant.components.xmpp 20:26:56.974 INFO (MainThread) [homeassistant.setup] Setting up tag 20:26:56.976 INFO (MainThread) [homeassistant.setup] Setting up sun 20:26:56.977 INFO (MainThread) [homeassistant.setup] Setup of domain sun took 0.0 seconds 20:26:56.978 INFO (MainThread) [homeassistant.setup] Setting up zone 20:26:57.118 INFO (MainThread) [homeassistant.setup] Setting up history 20:26:57.120 INFO (MainThread) [homeassistant.setup] Setup of domain history took 0.0 seconds 20:26:57.121 INFO (MainThread) [homeassistant.setup] Setting up stt 20:26:57.123 INFO (MainThread) [homeassistant.setup] Setup of domain stt took 0.0 seconds 20:26:57.124 INFO (MainThread) [homeassistant.setup] Setting up trace 20:26:57.125 INFO (MainThread) [homeassistant.setup] Setup of domain trace took 0.0 seconds 20:26:57.128 INFO (MainThread) [homeassistant.setup] Setting up input_number 20:26:57.130 INFO (MainThread) [homeassistant.setup] Setting up conversation 20:26:57.132 INFO (MainThread) [homeassistant.setup] Setup of domain conversation took 0.0 seconds 20:26:57.138 INFO (MainThread) [homeassistant.setup] Setting up input_text 20:26:57.146 INFO (MainThread) [homeassistant.setup] Setting up schedule 20:26:57.148 INFO (MainThread) [homeassistant.setup] Setting up wake_word 20:26:57.148 INFO (MainThread) [homeassistant.setup] Setup of domain wake_word took 0.0 seconds 20:26:57.208 INFO (MainThread) [homeassistant.setup] Setting up hardware 20:26:57.210 INFO (MainThread) [homeassistant.setup] Setting up input_boolean 20:26:57.218 INFO (MainThread) [homeassistant.setup] Setting up counter 20:26:57.303 INFO (MainThread) [homeassistant.setup] Setting up homeassistant_alerts 20:26:57.304 INFO (MainThread) [homeassistant.setup] Setup of domain homeassistant_alerts took 0.0 seconds 20:26:57.306 INFO (MainThread) [homeassistant.setup] Setting up blueprint 20:26:57.306 INFO (MainThread) [homeassistant.setup] Setup of domain blueprint took 0.0 seconds 20:26:57.310 INFO (MainThread) [homeassistant.setup] Setting up input_select 20:26:57.396 INFO (MainThread) [homeassistant.setup] Setting up map 20:26:57.396 INFO (MainThread) [homeassistant.setup] Setup of domain map took 0.0 seconds 20:26:57.399 INFO (MainThread) [homeassistant.setup] Setting up panel_custom 20:26:57.399 INFO (MainThread) [homeassistant.setup] Setup of domain panel_custom took 0.0 seconds 20:26:57.448 INFO (MainThread) [homeassistant.setup] Setting up my 20:26:57.448 INFO (MainThread) [homeassistant.setup] Setup of domain my took 0.0 seconds 20:26:57.450 INFO (MainThread) [homeassistant.setup] Setting up system_health 20:26:57.457 INFO (MainThread) [homeassistant.setup] Setting up media_source 20:26:57.464 INFO (SyncWorker_1) [homeassistant.loader] Loaded command_line from homeassistant.components.command_line 20:26:57.470 INFO (MainThread) [homeassistant.setup] Setting up shopping_list 20:26:57.470 INFO (MainThread) [homeassistant.setup] Setup of domain shopping_list took 0.0 seconds 20:26:57.500 INFO (MainThread) [homeassistant.setup] Setting up logbook 20:26:57.561 INFO (MainThread) [homeassistant.setup] Setting up application_credentials 20:26:57.584 INFO (MainThread) [homeassistant.setup] Setup of domain ffmpeg took 0.7 seconds 20:26:57.585 INFO (MainThread) [homeassistant.setup] Setting up energy 20:26:57.586 INFO (MainThread) [homeassistant.setup] Setup of domain energy took 0.0 seconds 20:26:57.628 INFO (MainThread) [homeassistant.setup] Setup of domain input_datetime took 0.7 seconds 20:26:57.631 INFO (MainThread) [homeassistant.setup] Setup of domain timer took 0.7 seconds 20:26:57.633 INFO (MainThread) [homeassistant.setup] Setup of domain hardware took 0.4 seconds 20:26:57.636 INFO (MainThread) [homeassistant.setup] Setting up stream 20:26:57.778 INFO (MainThread) [homeassistant.setup] Setup of domain stream took 0.1 seconds 20:26:57.796 INFO (MainThread) [homeassistant.setup] Setup of domain input_button took 0.9 seconds 20:26:57.797 INFO (MainThread) [homeassistant.setup] Setup of domain tag took 0.8 seconds 20:26:57.813 INFO (MainThread) [homeassistant.setup] Setting up sensor 20:26:57.815 INFO (MainThread) [homeassistant.setup] Setup of domain sensor took 0.0 seconds 20:26:57.834 INFO (MainThread) [homeassistant.setup] Setting up met 20:26:57.835 INFO (MainThread) [homeassistant.setup] Setup of domain met took 0.0 seconds 20:26:58.736 INFO (MainThread) [homeassistant.setup] Setup of domain system_health took 1.3 seconds 20:26:58.738 INFO (MainThread) [homeassistant.setup] Setup of domain media_source took 1.3 seconds 20:26:58.739 INFO (MainThread) [homeassistant.setup] Setup of domain logbook took 1.2 seconds 20:26:58.742 INFO (MainThread) [homeassistant.components.scene] Setting up homeassistant.scene 20:26:58.754 INFO (MainThread) [homeassistant.setup] Setting up command_line 20:26:58.755 INFO (MainThread) [homeassistant.setup] Setup of domain command_line took 0.0 seconds 20:26:58.789 INFO (MainThread) [homeassistant.setup] Setup of domain input_number took 1.7 seconds 20:26:58.790 INFO (MainThread) [homeassistant.components.websocket_api.http.connection] [281473078956096] Received unknown command: mobile_app/push_notification_channel 20:26:58.791 INFO (MainThread) [homeassistant.components.websocket_api.http.connection] [281473078957248] Received unknown command: mobile_app/push_notification_channel 20:26:58.791 INFO (MainThread) [homeassistant.components.websocket_api.http.connection] [281473078957248] Received unknown command: mobile_app/push_notification_channel 20:26:58.807 INFO (MainThread) [homeassistant.setup] Setup of domain input_text took 1.7 seconds 20:26:58.814 INFO (MainThread) [homeassistant.setup] Setting up tts 20:26:58.818 INFO (MainThread) [homeassistant.setup] Setup of domain schedule took 1.7 seconds 20:26:58.842 INFO (MainThread) [homeassistant.setup] Setup of domain scene took 1.9 seconds 20:26:58.847 INFO (SyncWorker_4) [homeassistant.loader] Loaded todo from homeassistant.components.todo 20:26:58.848 INFO (MainThread) [homeassistant.setup] Setting up script 20:26:58.851 INFO (MainThread) [homeassistant.setup] Setup of domain zone took 1.9 seconds 20:26:58.860 INFO (MainThread) [homeassistant.setup] Setup of domain counter took 1.6 seconds 20:26:58.873 INFO (MainThread) [homeassistant.setup] Setup of domain input_select took 1.6 seconds 20:26:58.877 INFO (MainThread) [homeassistant.setup] Setup of domain application_credentials took 1.3 seconds 20:26:58.882 INFO (MainThread) [homeassistant.setup] Setting up mqtt 20:26:58.883 INFO (MainThread) [homeassistant.setup] Setup of domain mqtt took 0.0 seconds 20:26:58.894 INFO (MainThread) [homeassistant.setup] Setting up systemmonitor 20:26:58.894 INFO (MainThread) [homeassistant.setup] Setup of domain systemmonitor took 0.0 seconds 20:26:58.896 INFO (MainThread) [homeassistant.setup] Setting up automation 20:26:58.918 INFO (MainThread) [homeassistant.setup] Setup of domain tts took 0.1 seconds 20:26:58.942 INFO (MainThread) [homeassistant.setup] Setting up todo 20:26:58.946 INFO (MainThread) [homeassistant.setup] Setup of domain todo took 0.0 seconds 20:26:58.948 INFO (MainThread) [homeassistant.setup] Setup of domain script took 0.1 seconds 20:26:59.008 INFO (MainThread) [homeassistant.setup] Setting up apcupsd 20:26:59.008 INFO (MainThread) [homeassistant.setup] Setup of domain apcupsd took 0.0 seconds 20:26:59.044 INFO (MainThread) [homeassistant.setup] Setup of domain automation took 0.1 seconds 20:26:59.050 INFO (MainThread) [homeassistant.setup] Setting up assist_pipeline 20:27:00.054 INFO (MainThread) [homeassistant.setup] Setup of domain input_boolean took 2.8 seconds 20:27:00.067 WARNING (MainThread) [slixmpp.stringprep] Using slower stringprep, consider compiling the faster cython/libidn one. 20:27:00.149 INFO (MainThread) [homeassistant.setup] Setting up notify 20:27:00.156 INFO (MainThread) [homeassistant.components.notify] Setting up notify.xmpp 20:27:00.165 INFO (MainThread) [homeassistant.components.websocket_api.http.connection] [281473078956096] Received unknown command: mobile_app/push_notification_channel 20:27:00.166 INFO (MainThread) [homeassistant.components.websocket_api.http.connection] [281473078957248] Received unknown command: mobile_app/push_notification_channel 20:27:00.177 INFO (Thread-2 (_thread_main)) [homeassistant.components.mqtt.client] Connected to MQTT server 127.0.0.1:1883 (0) 20:27:00.375 INFO (MainThread) [homeassistant.setup] Setup of domain assist_pipeline took 1.3 seconds 20:27:00.478 INFO (MainThread) [homeassistant.setup] Setting up camera 20:27:00.489 INFO (MainThread) [homeassistant.setup] Setup of domain camera took 0.0 seconds 20:27:00.490 INFO (MainThread) [homeassistant.setup] Setting up device_tracker 20:27:00.501 INFO (SyncWorker_0) [homeassistant.loader] Loaded button from homeassistant.components.button 20:27:00.513 INFO (SyncWorker_5) [homeassistant.loader] Loaded humidifier from homeassistant.components.humidifier 20:27:00.519 INFO (SyncWorker_6) [homeassistant.loader] Loaded climate from homeassistant.components.climate 20:27:00.520 INFO (SyncWorker_2) [homeassistant.loader] Loaded event from homeassistant.components.event 20:27:00.520 INFO (SyncWorker_0) [homeassistant.loader] Loaded fan from homeassistant.components.fan 20:27:00.521 INFO (SyncWorker_3) [homeassistant.loader] Loaded alarm_control_panel from homeassistant.components.alarm_control_panel 20:27:00.523 INFO (SyncWorker_1) [homeassistant.loader] Loaded binary_sensor from homeassistant.components.binary_sensor 20:27:00.523 INFO (SyncWorker_4) [homeassistant.loader] Loaded image from homeassistant.components.image 20:27:00.525 INFO (SyncWorker_9) [homeassistant.loader] Loaded lawn_mower from homeassistant.components.lawn_mower 20:27:00.526 INFO (SyncWorker_10) [homeassistant.loader] Loaded lock from homeassistant.components.lock 20:27:00.530 INFO (MainThread) [homeassistant.setup] Setup of domain notify took 0.4 seconds 20:27:00.531 INFO (SyncWorker_8) [homeassistant.loader] Loaded cover from homeassistant.components.cover 20:27:00.532 INFO (SyncWorker_7) [homeassistant.loader] Loaded light from homeassistant.components.light 20:27:00.532 INFO (SyncWorker_3) [homeassistant.loader] Loaded select from homeassistant.components.select 20:27:00.533 INFO (SyncWorker_11) [homeassistant.loader] Loaded update from homeassistant.components.update 20:27:00.533 INFO (SyncWorker_5) [homeassistant.loader] Loaded siren from homeassistant.components.siren 20:27:00.534 INFO (SyncWorker_1) [homeassistant.loader] Loaded switch from homeassistant.components.switch 20:27:00.534 INFO (SyncWorker_4) [homeassistant.loader] Loaded text from homeassistant.components.text 20:27:00.535 INFO (SyncWorker_2) [homeassistant.loader] Loaded valve from homeassistant.components.valve 20:27:00.535 INFO (SyncWorker_10) [homeassistant.loader] Loaded vacuum from homeassistant.components.vacuum 20:27:00.536 INFO (SyncWorker_0) [homeassistant.loader] Loaded number from homeassistant.components.number 20:27:00.536 INFO (SyncWorker_8) [homeassistant.loader] Loaded water_heater from homeassistant.components.water_heater 20:27:00.550 INFO (MainThread) [homeassistant.setup] Setting up button 20:27:00.551 INFO (MainThread) [homeassistant.setup] Setup of domain button took 0.0 seconds 20:27:00.552 INFO (MainThread) [homeassistant.setup] Setup of domain device_tracker took 0.1 seconds 20:27:00.554 INFO (MainThread) [homeassistant.setup] Setting up humidifier 20:27:00.557 INFO (MainThread) [homeassistant.setup] Setup of domain humidifier took 0.0 seconds 20:27:00.559 INFO (MainThread) [homeassistant.setup] Setting up climate 20:27:00.563 INFO (MainThread) [homeassistant.setup] Setup of domain climate took 0.0 seconds 20:27:00.565 INFO (MainThread) [homeassistant.setup] Setting up event 20:27:00.565 INFO (MainThread) [homeassistant.setup] Setup of domain event took 0.0 seconds 20:27:00.567 INFO (MainThread) [homeassistant.setup] Setting up fan 20:27:00.572 INFO (MainThread) [homeassistant.setup] Setup of domain fan took 0.0 seconds 20:27:00.574 INFO (MainThread) [homeassistant.setup] Setting up alarm_control_panel 20:27:00.575 INFO (MainThread) [homeassistant.setup] Setup of domain alarm_control_panel took 0.0 seconds 20:27:00.577 INFO (MainThread) [homeassistant.setup] Setting up binary_sensor 20:27:00.578 INFO (MainThread) [homeassistant.setup] Setup of domain binary_sensor took 0.0 seconds 20:27:00.589 INFO (MainThread) [homeassistant.setup] Setting up lawn_mower 20:27:00.591 INFO (MainThread) [homeassistant.setup] Setup of domain lawn_mower took 0.0 seconds 20:27:00.594 INFO (MainThread) [homeassistant.setup] Setting up lock 20:27:00.595 INFO (MainThread) [homeassistant.setup] Setup of domain lock took 0.0 seconds 20:27:00.597 INFO (MainThread) [homeassistant.components.sensor] Setting up sun.sensor 20:27:00.608 INFO (MainThread) [homeassistant.setup] Setting up cover 20:27:00.614 INFO (MainThread) [homeassistant.setup] Setup of domain cover took 0.0 seconds 20:27:00.617 INFO (MainThread) [homeassistant.setup] Setting up light 20:27:00.619 INFO (MainThread) [homeassistant.setup] Setting up select 20:27:00.621 INFO (MainThread) [homeassistant.setup] Setup of domain select took 0.0 seconds 20:27:00.633 INFO (MainThread) [homeassistant.setup] Setting up update 20:27:00.635 INFO (MainThread) [homeassistant.setup] Setup of domain update took 0.0 seconds 20:27:00.645 INFO (MainThread) [homeassistant.setup] Setting up siren 20:27:00.647 INFO (MainThread) [homeassistant.setup] Setup of domain siren took 0.0 seconds 20:27:00.662 INFO (MainThread) [homeassistant.setup] Setting up text 20:27:00.663 INFO (MainThread) [homeassistant.setup] Setup of domain text took 0.0 seconds 20:27:00.666 INFO (MainThread) [homeassistant.setup] Setting up valve 20:27:00.669 INFO (MainThread) [homeassistant.setup] Setup of domain valve took 0.0 seconds 20:27:00.671 INFO (MainThread) [homeassistant.setup] Setting up vacuum 20:27:00.677 INFO (MainThread) [homeassistant.setup] Setup of domain vacuum took 0.0 seconds 20:27:00.678 INFO (MainThread) [homeassistant.setup] Setting up number 20:27:00.679 INFO (MainThread) [homeassistant.setup] Setup of domain number took 0.0 seconds 20:27:00.682 INFO (MainThread) [homeassistant.setup] Setting up water_heater 20:27:00.684 INFO (MainThread) [homeassistant.setup] Setup of domain water_heater took 0.0 seconds 20:27:01.069 INFO (SyncWorker_11) [homeassistant.loader] Loaded switch_as_x from homeassistant.components.switch_as_x 20:27:01.100 INFO (MainThread) [homeassistant.setup] Setting up image 20:27:01.101 INFO (MainThread) [homeassistant.setup] Setup of domain image took 0.0 seconds 20:27:01.126 INFO (MainThread) [homeassistant.setup] Setup of domain light took 0.5 seconds 20:27:01.172 INFO (MainThread) [homeassistant.components.websocket_api.http.connection] [281473078956096] Received unknown command: mobile_app/push_notification_channel 20:27:01.214 INFO (MainThread) [homeassistant.components.websocket_api.http.connection] [281473078957248] Received unknown command: mobile_app/push_notification_channel 20:27:01.253 INFO (MainThread) [homeassistant.setup] Setting up switch 20:27:01.255 INFO (MainThread) [homeassistant.setup] Setup of domain switch took 0.0 seconds 20:27:01.364 INFO (MainThread) [homeassistant.setup] Setting up mobile_app 20:27:01.372 INFO (MainThread) [homeassistant.setup] Setup of domain mobile_app took 0.0 seconds 20:27:01.378 INFO (MainThread) [homeassistant.components.notify] Setting up notify.mobile_app 20:27:01.581 INFO (MainThread) [homeassistant.components.sensor] Setting up energy.sensor 20:27:01.581 INFO (MainThread) [homeassistant.components.sensor] Setting up command_line.sensor 20:27:01.584 INFO (SyncWorker_5) [homeassistant.loader] Loaded weather from homeassistant.components.weather 20:27:01.582 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up command_line platform for sensor Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 360, in _async_setup_platform await asyncio.shield(task) File "/usr/src/homeassistant/homeassistant/components/command_line/sensor.py", line 66, in async_setup_platform name: str = sensor_config[CONF_NAME] ~~~~~~~~~~~~~^^^^^^^^^^^ TypeError: 'NoneType' object is not subscriptable 20:27:01.592 INFO (MainThread) [homeassistant.setup] Setting up weather 20:27:01.594 INFO (MainThread) [homeassistant.setup] Setup of domain weather took 0.0 seconds 20:27:01.602 INFO (MainThread) [homeassistant.components.sensor] Setting up systemmonitor.sensor 20:27:01.669 INFO (MainThread) [homeassistant.components.todo] Setting up shopping_list.todo 20:27:01.677 INFO (MainThread) [homeassistant.components.scene] Setting up mqtt.scene 20:27:01.677 INFO (MainThread) [homeassistant.components.sensor] Setting up mqtt.sensor 20:27:01.680 INFO (MainThread) [homeassistant.components.camera] Setting up mqtt.camera 20:27:01.681 INFO (MainThread) [homeassistant.components.button] Setting up mqtt.button 20:27:01.681 INFO (MainThread) [homeassistant.components.device_tracker] Setting up mqtt.device_tracker 20:27:01.681 INFO (MainThread) [homeassistant.components.humidifier] Setting up mqtt.humidifier 20:27:01.682 INFO (MainThread) [homeassistant.components.climate] Setting up mqtt.climate 20:27:01.682 INFO (MainThread) [homeassistant.components.event] Setting up mqtt.event 20:27:01.683 INFO (MainThread) [homeassistant.components.fan] Setting up mqtt.fan 20:27:01.683 INFO (MainThread) [homeassistant.components.alarm_control_panel] Setting up mqtt.alarm_control_panel 20:27:01.684 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up mqtt.binary_sensor 20:27:01.684 INFO (MainThread) [homeassistant.components.lawn_mower] Setting up mqtt.lawn_mower 20:27:01.685 INFO (MainThread) [homeassistant.components.lock] Setting up mqtt.lock 20:27:01.685 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up apcupsd.binary_sensor 20:27:01.685 INFO (MainThread) [homeassistant.components.sensor] Setting up apcupsd.sensor 20:27:01.686 INFO (MainThread) [homeassistant.components.cover] Setting up mqtt.cover 20:27:01.689 INFO (MainThread) [homeassistant.components.select] Setting up mqtt.select 20:27:01.691 INFO (MainThread) [homeassistant.components.update] Setting up mqtt.update 20:27:01.710 INFO (MainThread) [homeassistant.components.siren] Setting up mqtt.siren 20:27:01.711 INFO (MainThread) [homeassistant.components.text] Setting up mqtt.text 20:27:01.712 INFO (MainThread) [homeassistant.components.valve] Setting up mqtt.valve 20:27:01.712 INFO (MainThread) [homeassistant.components.vacuum] Setting up mqtt.vacuum 20:27:01.713 INFO (MainThread) [homeassistant.components.number] Setting up mqtt.number 20:27:01.713 INFO (MainThread) [homeassistant.components.water_heater] Setting up mqtt.water_heater 20:27:01.714 INFO (MainThread) [homeassistant.components.image] Setting up mqtt.image 20:27:01.714 INFO (MainThread) [homeassistant.components.light] Setting up mqtt.light 20:27:01.715 INFO (MainThread) [homeassistant.components.switch] Setting up mqtt.switch 20:27:01.732 INFO (MainThread) [homeassistant.components.sensor] Setting up mobile_app.sensor 20:27:01.733 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up mobile_app.binary_sensor 20:27:01.734 INFO (MainThread) [homeassistant.components.device_tracker] Setting up mobile_app.device_tracker 20:27:01.735 INFO (MainThread) [homeassistant.components.sensor] Setting up mobile_app.sensor 20:27:01.737 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up mobile_app.binary_sensor 20:27:01.739 INFO (MainThread) [homeassistant.components.device_tracker] Setting up mobile_app.device_tracker 20:27:01.741 INFO (MainThread) [homeassistant.components.weather] Setting up met.weather 20:27:01.852 INFO (MainThread) [homeassistant.setup] Setting up axis 20:27:01.852 INFO (MainThread) [homeassistant.setup] Setup of domain axis took 0.0 seconds 20:27:01.927 INFO (MainThread) [homeassistant.setup] Setting up default_config 20:27:01.931 DEBUG (MainThread) [axis.vapix.vapix] http://$ip_axis:80/axis-cgi/apidiscovery.cgi {'json': {'method': 'getApiList', 'apiVersion': '1.0', 'context': 'Axis library'}} 20:27:01.946 INFO (SyncWorker_1) [homeassistant.loader] Loaded backup from homeassistant.components.backup 20:27:02.038 INFO (MainThread) [homeassistant.setup] Setting up backup 20:27:02.039 INFO (MainThread) [homeassistant.setup] Setup of domain backup took 0.0 seconds 20:27:02.042 INFO (MainThread) [homeassistant.setup] Setup of domain default_config took 0.1 seconds 20:27:02.049 DEBUG (MainThread) [axis.vapix.vapix] Response: {"method": "getApiList", "apiVersion": "1.1", "data": {"apiList": [{"id": "onscreencontrols", "version": "1.6", "name": "On-Screen Controls", "docLink": "https://www.axis.com/partner_pages/vapix_library/#/", "status": "official"}, {"id": "recording-export", "version": "1.2", "name": "Export edge recording", "docLink": "https://www.axis.com/partner_pages/vapix_library/#/", "status": "official"}, {"id": "analytics-metadata-config", "version": "1.0", "name": "Analytics Metadata Producer Configuration API", "docLink": "https://www.axis.com/partner_pages/vapix_library/#/", "status": "official"}, {"id": "recording-storage-limit", "version": "1.0", "name": "Edge Recording storage limit", "docLink": "https://www.axis.com/partner_pages/vapix_library/#/", "status": "official"}, {"id": "temperaturecontrol", "version": "1.0", "name": "Temperature Control", "docLink": "https://www.axis.com/partner_pages/vapix_library/#/", "status": "official"}, {"id": "rtsp-over-websocket", "version": "1.0", "name": "RTSP Streaming over WebSocket", "docLink": "https://www.axis.com/partner_pages/vapix/#/", "status": "official"}, {"id": "image-size", "version": "1.0", "name": "Image Size", "docLink": "https://www.axis.com/partner_pages/vapix_library/#/", "status": "official"}, {"id": "audio-mixer", "version": "1.0", "name": "Audio Mixer", "docLink": "https://www.axis.com/partner_pages/vapix_library/#/", "status": "official"}, {"id": "customhttpheader", "version": "1.1", "name": "Custom HTTP header", "docLink": "https://www.axis.com/partner_pages/vapix_library/#/", "status": "official"}, {"id": "mediaclip", "version": "1.0", "name": "Mediaclip", "docLink": "https://www.axis.com/partner_pages/vapix_library/#/", "status": "official"}, {"id": "event-streaming-over-websocket", "version": "1.0", "name": "Event Streaming over WebSocket", "docLink": "https://www.axis.com/partner_pages/vapix_library/#/", "status": "official"}, {"id": "mqtt-client", "version": "1.5", "name": "MQTT Client API", "docLink": "https://www.axis.com/partner_pages/vapix_library/#/", "status": "official"}, {"id": "stream-profiles", "version": "1.0", "name": "Stream Profiles", "docLink": "https://www.axis.com/partner_pages/vapix_library/#/", "status": "official"}, {"id": "mdnssd", "version": "1.1", "name": "mDNS-SD", "docLink": "https://www.axis.com/partner_pages/vapix_library/#/", "status": "official"}, {"id": "disk-management", "version": "1.0", "name": "Edge storage Disk management", "docLink": "https://www.axis.com/partner_pages/vapix_library/#/", "status": "official"}, {"id": "oak", "version": "1.0", "name": "OAK", "docLink": "https://www.axis.com/partner_pages/vapix_library/#/", "status": "official"}, {"id": "feature-flag", "version": "1.0", "name": "Feature Flag API", "docLink": "https://www.axis.com/partner_pages/vapix_library/#/", "status": "official"}, {"id": "api-discovery", "version": "1.1", "name": "API Discovery Service", "docLink": "https://www.axis.com/partner_pages/vapix_library/#/", "status": "official"}, {"id": "network-settings", "version": "1.15", "name": "Network Settings", "docLink": "https://www.axis.com/partner_pages/vapix_library/#/", "status": "official"}, {"id": "privacy-mask", "version": "2.0", "name": "Privacy Masking", "docLink": "https://www.axis.com/partner_pages/vapix_library/#/", "status": "official"}, {"id": "ntp", "version": "1.2", "name": "NTP", "docLink": "https://www.axis.com/partner_pages/vapix_library/#/", "status": "official"}, {"id": "io-port-management", "version": "1.1", "name": "IO Port Management", "docLink": "https://www.axis.com/partner_pages/vapix_library/#/", "status": "official"}, {"id": "custom-firmware-certificate", "version": "1.0", "name": "Custom Firmware Certificate", "docLink": "https://www.axis.com/partner_pages/vapix_library/#/", "status": "official"}, {"id": "time-service", "version": "1.0", "name": "Time API", "docLink": "https://www.axis.com/partner_pages/vapix_library/#/", "status": "official"}, {"id": "disk-properties", "version": "1.1", "name": "Edge storage Disk properties", "docLink": "https://www.axis.com/partner_pages/vapix_library/#/", "status": "official"}, {"id": "user-management", "version": "1.1", "name": "User Management", "docLink": "https://www.axis.com/partner_pages/vapix_library/#/", "status": "official"}, {"id": "recording", "version": "1.0", "name": "Edge Recording", "docLink": "https://www.axis.com/partner_pages/vapix_library/#/", "status": "official"}, {"id": "dynamicoverlay", "version": "1.7", "name": "Dynamic Overlay", "docLink": "https://www.axis.com/partner_pages/vapix_library/#/", "status": "official"}, {"id": "upnp", "version": "1.1", "name": "UPnP", "docLink": "https://www.axis.com/partner_pages/vapix_library/#/", "status": "official"}, {"id": "remote-syslog", "version": "1.0", "name": "Remote Syslog API", "docLink": "https://www.axis.com/partner_pages/vapix_library/#/", "status": "official"}, {"id": "packagemanager", "version": "1.4", "name": "Package Manager", "docLink": ""}, {"id": "shuttergain-cgi", "version": "2.0", "name": "Shuttergain CGI", "docLink": "https://www.axis.com/partner_pages/vapix_library/#/", "status": "official"}, {"id": "systemready", "version": "1.2", "name": "Systemready", "docLink": "https://www.axis.com/partner_pages/vapix_library/#/", "status": "official"}, {"id": "overlayimage", "version": "1.0", "name": "Overlay image API", "docLink": "https://www.axis.com/partner_pages/vapix_library/#/", "status": "official"}, {"id": "remoteservice", "version": "1.0", "name": "Remote service", "docLink": "https://www.axis.com/partner_pages/vapix_library/#/", "status": "official"}, {"id": "capture-mode", "version": "1.0", "name": "Capture Mode", "docLink": "https://www.axis.com/partner_pages/vapix_library/#/", "status": "official"}, {"id": "view-area", "version": "1.0", "name": "View Area", "docLink": "https://www.axis.com/partner_pages/vapix_library/#/", "status": "official"}, {"id": "zipstream", "version": "1.0", "name": "ZipStream", "docLink": "https://www.axis.com/partner_pages/vapix_library/#/", "status": "official"}, {"id": "signed-video", "version": "1.0", "name": "Signed Video", "docLink": "https://www.axis.com/partner_pages/vapix_library/#/", "status": "official"}, {"id": "disk-network-share", "version": "1.0", "name": "Edge storage Network share", "docLink": "https://www.axis.com/partner_pages/vapix_library/#/", "status": "official"}, {"id": "event-mqtt-bridge", "version": "1.2", "name": "Event-MQTT Bridge API", "docLink": "https://www.axis.com/partner_pages/vapix_library/#/", "status": "official"}, {"id": "basic-device-info", "version": "1.3", "name": "Basic Device Information", "docLink": "https://www.axis.com/partner_pages/vapix_library/#/", "status": "official"}, {"id": "ptz-control", "version": "1.1", "name": "PTZ Control", "docLink": "https://www.axis.com/partner_pages/vapix_library/#/", "status": "official"}, {"id": "audio-device-control", "version": "1.0", "name": "Audio Device Control", "docLink": "https://www.axis.com/partner_pages/vapix_library/#/", "status": "official"}, {"id": "audio-streaming-capabilities", "version": "1.0", "name": "Audio Streaming Capabilities", "docLink": "https://www.axis.com/partner_pages/vapix_library/#/", "status": "official"}, {"id": "light-control", "version": "1.2", "name": "Light Control", "docLink": "https://www.axis.com/partner_pages/vapix_library/#/", "status": "official"}, {"id": "ssh", "version": "1.0", "name": "SSH", "docLink": "https://www.axis.com/partner_pages/vapix_library/#/", "status": "official"}, {"id": "network-speaker-pairing", "version": "1.1", "name": "Network Speaker Pairing", "docLink": "https://www.axis.com/partner_pages/vapix_library/#/", "status": "official"}, {"id": "recording-group", "version": "1.0", "name": "Edge Recording group", "docLink": "https://www.axis.com/partner_pages/vapix_library/#/", "status": "official"}, {"id": "guard-tour", "version": "1.0", "name": "Guard Tour", "docLink": "https://www.axis.com/partner_pages/vapix_library/#/", "status": "official"}, {"id": "fwmgr", "version": "1.4", "name": "Firmware Management", "docLink": "https://www.axis.com/partner_pages/vapix_library/#/", "status": "official"}, {"id": "param-cgi", "version": "1.0", "name": "Legacy Parameter Handling", "docLink": "https://www.axis.com/partner_pages/vapix_library/#/", "status": "official"}]}, "context": "Axis library"} from $ip_axis 20:27:02.053 DEBUG (MainThread) [axis.vapix.vapix] http://$ip_axis:80/axis-cgi/basicdeviceinfo.cgi {'json': {'method': 'getAllProperties', 'apiVersion': '1.1', 'context': 'Axis library'}} 20:27:02.055 DEBUG (MainThread) [axis.vapix.vapix] http://$ip_axis:80/axis-cgi/io/portmanagement.cgi {'json': {'method': 'getPorts', 'apiVersion': '1.0', 'context': 'Axis library'}} 20:27:02.056 DEBUG (MainThread) [axis.vapix.vapix] http://$ip_axis:80/axis-cgi/lightcontrol.cgi {'json': {'method': 'getLightInformation', 'apiVersion': '1.1', 'context': 'Axis library'}} 20:27:02.057 DEBUG (MainThread) [axis.vapix.vapix] http://$ip_axis:80/axis-cgi/streamprofile.cgi {'json': {'method': 'list', 'apiVersion': '1.0', 'context': 'Axis library', 'params': {'streamProfileName': []}}} 20:27:02.058 DEBUG (MainThread) [axis.vapix.vapix] http://$ip_axis:80/axis-cgi/viewarea/info.cgi {'json': {'method': 'list', 'apiVersion': '1.0', 'context': 'Axis library'}} 20:27:02.169 DEBUG (MainThread) [axis.vapix.vapix] Response: {"method": "list", "context": "Axis library", "apiVersion": "1.0", "data": {"streamProfile": [], "maxProfiles": 26}} from $ip_axis 20:27:02.192 DEBUG (MainThread) [axis.vapix.vapix] Response: { "apiVersion": "1.1", "context": "Axis library", "method": "getPorts", "data": { "numberOfPorts": 0 } } from $ip_axis 20:27:02.195 DEBUG (MainThread) [axis.vapix.vapix] Response: {"apiVersion": "1.2", "context": "Axis library", "method": "getLightInformation", "data": {"items": [{"lightID": "led0", "lightType": "IR", "enabled": true, "synchronizeDayNightMode": true, "lightState": false, "automaticIntensityMode": true, "automaticAngleOfIlluminationMode": false, "nrOfLEDs": 2, "error": false, "errorInfo": ""}]}} from $ip_axis 20:27:02.202 DEBUG (MainThread) [axis.vapix.vapix] Response: {"apiVersion": "1.3", "data": {"propertyList": {"Architecture": "aarch64", "ProdNbr": "M2036-LE", "HardwareID": "7EC.1", "ProdFullName": "AXIS M2036-LE Bullet Camera", "Version": "10.12.213", "ProdType": "Bullet Camera", "SocSerialNumber": "9C53A057-91045BE2-76544607-D43E82F3", "Soc": "Ambarella CV25", "Brand": "AXIS", "WebURL": "http://www.axis.com", "ProdVariant": "", "SerialNumber": "$serial", "ProdShortName": "AXIS M2036-LE", "BuildDate": "Nov 03 2023 16:42"}}, "context": "Axis library"} from $ip_axis 20:27:02.331 DEBUG (MainThread) [axis.vapix.vapix] Response: {"apiVersion": "1.0", "context": "Axis library", "method": "list", "data": {"viewAreas": [{"id": 1000002, "source": 0, "camera": 2, "configurable": true, "canvasSize": {"horizontal": 2688, "vertical": 1512}, "rectangularGeometry": {"horizontalOffset": 0, "horizontalSize": 2688, "verticalOffset": 0, "verticalSize": 1512}, "minSize": {"horizontal": 640, "vertical": 360}, "maxSize": {"horizontal": 2688, "vertical": 1512}, "grid": {"horizontalOffset": 0, "horizontalSize": 2, "verticalOffset": 0, "verticalSize": 2}}, {"id": 1000001, "source": 0, "camera": 1, "configurable": true, "canvasSize": {"horizontal": 2688, "vertical": 1512}, "rectangularGeometry": {"horizontalOffset": 0, "horizontalSize": 2688, "verticalOffset": 0, "verticalSize": 1512}, "minSize": {"horizontal": 640, "vertical": 360}, "maxSize": {"horizontal": 2688, "vertical": 1512}, "grid": {"horizontalOffset": 0, "horizontalSize": 2, "verticalOffset": 0, "verticalSize": 2}}]}} from $ip_axis 20:27:02.332 DEBUG (MainThread) [axis.vapix.vapix] http://$ip_axis:80/axis-cgi/param.cgi?action=list&group=root.Properties {} 20:27:02.335 DEBUG (MainThread) [axis.vapix.vapix] http://$ip_axis:80/axis-cgi/param.cgi?action=list&group=root.PTZ {} 20:27:02.337 DEBUG (MainThread) [axis.vapix.vapix] http://$ip_axis:80/axis-cgi/param.cgi?action=list&group=root.Image {} 20:27:02.522 DEBUG (MainThread) [axis.vapix.vapix] Response: root.Properties.AlwaysMulticast.AlwaysMulticast=yes root.Properties.API.Browser.Language=yes root.Properties.API.Browser.RootPwdSetValue=yes root.Properties.API.Browser.UserGroup=yes root.Properties.API.ClientNotes.ClientNotes=yes root.Properties.API.HTTP.AdminPath=/index.html root.Properties.API.HTTP.Version=3 root.Properties.API.Metadata.Metadata=yes root.Properties.API.Metadata.Version=1.0 root.Properties.API.OnScreenControls.OnScreenControls=yes root.Properties.API.PTZ.Presets.Version=2.00 root.Properties.API.RTP.OnvifReplayExt=yes root.Properties.API.RTSP.AdjustableStreamSettings= root.Properties.API.RTSP.RTSPAuth=yes root.Properties.API.RTSP.Version=2.01 root.Properties.API.WebService.EntryService=yes root.Properties.API.WebService.WebService=yes root.Properties.API.WebService.ONVIF.ONVIF=yes root.Properties.API.WebService.ONVIF.Version=1.02 root.Properties.API.WebSocket.RTSP.RTSP=yes root.Properties.ApiDiscovery.ApiDiscovery=yes root.Properties.Audio.Audio=no root.Properties.Audio.DuplexMode= root.Properties.Audio.Format= root.Properties.Audio.InputType= root.Properties.Audio.Decoder.Format= root.Properties.AudioClip.Format=au,mp3,opus,vorbis,wav root.Properties.AudioClip.PlayOptions=location,repeat,volume root.Properties.AudioClip.StopClip=yes root.Properties.DynamicOverlay.DynamicOverlay=yes root.Properties.DynamicOverlay.Version=1.7 root.Properties.EmbeddedDevelopment.CacheSize=51380224 root.Properties.EmbeddedDevelopment.DefaultCacheSize=67108864 root.Properties.EmbeddedDevelopment.EmbeddedDevelopment=yes root.Properties.EmbeddedDevelopment.Version=2.18 root.Properties.EmbeddedDevelopment.RuleEngine.MultiConfiguration=yes root.Properties.Firmware.BuildDate=Nov 03 2023 16:42 root.Properties.Firmware.BuildNumber=1 root.Properties.Firmware.Version=10.12.213 root.Properties.FirmwareManagement.Version=1.4 root.Properties.Gatekeeper.Gatekeeper=no root.Properties.Geolocation.Geolocation=yes root.Properties.Geolocation.Version=1.0 root.Properties.GuardTour.GuardTour=yes root.Properties.GuardTour.MaxGuardTours=100 root.Properties.GuardTour.MinGuardTourWaitTime=1 root.Properties.GuardTour.RecordedTour=no root.Properties.HTTPS.HTTPS=yes root.Properties.Image.Format=jpeg,mjpeg,h264,h265 root.Properties.Image.NbrOfViews=2 root.Properties.Image.Resolution=2688x1512,1920x1080,1280x720,1024x576,640x360 root.Properties.Image.Rotation=0,90,180,270 root.Properties.Image.ShowSuboptimalResolutions=false root.Properties.Image.H264.Profiles=Main,High root.Properties.Image.H265.Profiles=Main root.Properties.Image.I0.Resolution=2688x1512,1920x1080,1280x720,1024x576,640x360 root.Properties.Image.I0.ShowSuboptimalResolutions=false root.Properties.Image.I1.Resolution=2688x1512,1920x1080,1280x720,1024x576,640x360 root.Properties.Image.I1.ShowSuboptimalResolutions=false root.Properties.Image.RateControl.Version=1.1 root.Properties.Image.RateControl.ABR.ABR=yes root.Properties.IO.ManualTriggerNbr=6 root.Properties.LEDControl.LEDControl=yes root.Properties.LightControl.LightControl2=yes root.Properties.LightControl.LightControlAvailable=yes root.Properties.LocalStorage.AutoRepair=yes root.Properties.LocalStorage.ContinuousRecording=yes root.Properties.LocalStorage.DiskEncryption=yes root.Properties.LocalStorage.DiskHealth=yes root.Properties.LocalStorage.ExportRecording=yes root.Properties.LocalStorage.FailOverRecording=yes root.Properties.LocalStorage.LocalStorage=yes root.Properties.LocalStorage.NbrOfContinuousRecordingProfiles=1 root.Properties.LocalStorage.RequiredFileSystem=yes root.Properties.LocalStorage.SDCard=yes root.Properties.LocalStorage.StorageLimit=yes root.Properties.LocalStorage.Version=1.00 root.Properties.Motion.MaxNbrOfWindows=10 root.Properties.Motion.Motion=yes root.Properties.NetworkShare.CIFS=yes root.Properties.NetworkShare.IPV6=yes root.Properties.NetworkShare.NameLookup=yes root.Properties.NetworkShare.NetworkShare=yes root.Properties.PackageManager.FormatListing=yes root.Properties.PackageManager.LicenseKeyManagement=yes root.Properties.PackageManager.PackageManager=yes root.Properties.PrivacyMask.MainSwitch=yes root.Properties.PrivacyMask.MaxNbrOfCorners=10 root.Properties.PrivacyMask.MaxNbrOfPrivacyMasks=32 root.Properties.PrivacyMask.Polygon=yes root.Properties.PrivacyMask.PrivacyMask=yes root.Properties.PrivacyMask.Query=list,position,listpxjson,positionpxjson root.Properties.PTZ.DigitalPTZ=yes root.Properties.PTZ.DriverManagement=no root.Properties.PTZ.DriverModeList=none root.Properties.PTZ.EmbeddedDrivers=no root.Properties.PTZ.PTZ=yes root.Properties.PTZ.PTZOnQuadView=no root.Properties.PTZ.SelectableDriverMode=no root.Properties.RemoteService.RemoteService=no root.Properties.RTC.RTC=yes root.Properties.Serial.Serial=no root.Properties.SRTP.Acceleration=none root.Properties.SRTP.Authentication=hmac-sha1 root.Properties.SRTP.Encryption=aes-ctr-128,aes-ctr-256,aes-gcm-128,aes-gcm-256 root.Properties.SRTP.SRTP=yes root.Properties.SRTP.Version=1.0 root.Properties.System.Architecture=aarch64 root.Properties.System.HardwareID=7EC.1 root.Properties.System.Language= root.Properties.System.LanguageType= root.Properties.System.SerialNumber=$serial root.Properties.System.Soc=Ambarella CV25 root.Properties.Tampering.Tampering=yes root.Properties.TemperatureSensor.Fan=no root.Properties.TemperatureSensor.Heater=yes root.Properties.TemperatureSensor.TemperatureControl=yes root.Properties.TemperatureSensor.TemperatureSensor=yes root.Properties.VirtualInput.VirtualInput=yes root.Properties.ZipStream.ZipStream=yes from $ip_axis 20:27:02.612 DEBUG (MainThread) [axis.vapix.vapix] Response: root.Image.DateFormat=YYYY-MM-DD root.Image.MaxViewers=10 root.Image.MotionDetection=no root.Image.NbrOfConfigs=2 root.Image.OverlayPath=/etc/overlays/axis(128x44).ovl root.Image.OwnDateFormat=%F root.Image.OwnDateFormatEnabled=no root.Image.OwnTimeFormat=%T root.Image.OwnTimeFormatEnabled=no root.Image.PrivacyMaskType=none root.Image.Referrers= root.Image.ReferrersEnabled=no root.Image.RFCCompliantMultipartEnabled=yes root.Image.TimeFormat=24 root.Image.TimeResolution=1 root.Image.I0.Enabled=yes root.Image.I0.Name=View Area 1 root.Image.I0.Source=0 root.Image.I0.Appearance.ColorEnabled=yes root.Image.I0.Appearance.Compression=30 root.Image.I0.Appearance.MirrorEnabled=no root.Image.I0.Appearance.Resolution=2688x1512 root.Image.I0.Appearance.Rotation=180 root.Image.I0.MPEG.Complexity=50 root.Image.I0.MPEG.ConfigHeaderInterval=1 root.Image.I0.MPEG.FrameSkipMode=drop root.Image.I0.MPEG.ICount=1 root.Image.I0.MPEG.PCount=31 root.Image.I0.MPEG.UserDataEnabled=no root.Image.I0.MPEG.UserDataInterval=1 root.Image.I0.MPEG.ZChromaQPMode=off root.Image.I0.MPEG.ZFpsMode=fixed root.Image.I0.MPEG.ZGopMode=fixed root.Image.I0.MPEG.ZMaxGopLength=300 root.Image.I0.MPEG.ZMinFps=0 root.Image.I0.MPEG.ZProfile=classic root.Image.I0.MPEG.ZProfileLevel=0 root.Image.I0.MPEG.ZStrength=10 root.Image.I0.MPEG.H264.Profile=high root.Image.I0.MPEG.H264.PSEnabled=no root.Image.I0.MPEG.H265.PSEnabled=no root.Image.I0.MPEG.SignedVideo.Enabled=no root.Image.I0.Overlay.Enabled=no root.Image.I0.Overlay.XPos=0 root.Image.I0.Overlay.YPos=0 root.Image.I0.Overlay.MaskWindows.Color=black root.Image.I0.RateControl.MaxBitrate=0 root.Image.I0.RateControl.Mode=vbr root.Image.I0.RateControl.Priority=framerate root.Image.I0.RateControl.TargetBitrate=0 root.Image.I0.RateControl.ABR.MaxBitrate=0 root.Image.I0.RateControl.ABR.RetentionTime=7 root.Image.I0.RateControl.ABR.TargetBitrate=0 root.Image.I0.SizeControl.MaxFrameSize=0 root.Image.I0.Stream.Duration=0 root.Image.I0.Stream.FPS=0 root.Image.I0.Stream.NbrOfFrames=0 root.Image.I0.Text.BGColor=black root.Image.I0.Text.ClockEnabled=no root.Image.I0.Text.Color=white root.Image.I0.Text.DateEnabled=no root.Image.I0.Text.Position=top root.Image.I0.Text.String= root.Image.I0.Text.TextEnabled=no root.Image.I0.Text.TextSize=medium root.Image.I1.Enabled=no root.Image.I1.Name=View Area 2 root.Image.I1.Source=0 root.Image.I1.Appearance.ColorEnabled=yes root.Image.I1.Appearance.Compression=30 root.Image.I1.Appearance.MirrorEnabled=no root.Image.I1.Appearance.Resolution=2688x1512 root.Image.I1.Appearance.Rotation=180 root.Image.I1.MPEG.Complexity=50 root.Image.I1.MPEG.ConfigHeaderInterval=1 root.Image.I1.MPEG.FrameSkipMode=drop root.Image.I1.MPEG.ICount=1 root.Image.I1.MPEG.PCount=31 root.Image.I1.MPEG.UserDataEnabled=no root.Image.I1.MPEG.UserDataInterval=1 root.Image.I1.MPEG.ZChromaQPMode=off root.Image.I1.MPEG.ZFpsMode=fixed root.Image.I1.MPEG.ZGopMode=fixed root.Image.I1.MPEG.ZMaxGopLength=300 root.Image.I1.MPEG.ZMinFps=0 root.Image.I1.MPEG.ZProfile=classic root.Image.I1.MPEG.ZProfileLevel=0 root.Image.I1.MPEG.ZStrength=10 root.Image.I1.MPEG.H264.Profile=high root.Image.I1.MPEG.H264.PSEnabled=no root.Image.I1.MPEG.H265.PSEnabled=no root.Image.I1.MPEG.SignedVideo.Enabled=no root.Image.I1.Overlay.Enabled=no root.Image.I1.Overlay.XPos=0 root.Image.I1.Overlay.YPos=0 root.Image.I1.RateControl.MaxBitrate=0 root.Image.I1.RateControl.Mode=vbr root.Image.I1.RateControl.Priority=framerate root.Image.I1.RateControl.TargetBitrate=0 root.Image.I1.RateControl.ABR.MaxBitrate=0 root.Image.I1.RateControl.ABR.RetentionTime=7 root.Image.I1.RateControl.ABR.TargetBitrate=0 root.Image.I1.SizeControl.MaxFrameSize=0 root.Image.I1.Stream.Duration=0 root.Image.I1.Stream.FPS=0 root.Image.I1.Stream.NbrOfFrames=0 root.Image.I1.Text.BGColor=black root.Image.I1.Text.ClockEnabled=no root.Image.I1.Text.Color=white root.Image.I1.Text.DateEnabled=no root.Image.I1.Text.Position=top root.Image.I1.Text.String= root.Image.I1.Text.TextEnabled=no root.Image.I1.Text.TextSize=medium from $ip_axis 20:27:02.702 DEBUG (MainThread) [axis.vapix.vapix] Response: root.PTZ.BoaProtPTZOperator=password root.PTZ.CameraDefault=1 root.PTZ.NbrOfCameras=2 root.PTZ.NbrOfSerPorts=0 root.PTZ.PresetNameMaxLen=95 root.PTZ.ResponseEncoding=iso-8859-1 root.PTZ.CamPorts.Cam1Port=1 root.PTZ.CamPorts.Cam2Port=2 root.PTZ.ImageSource.I0.PTZEnabled=false root.PTZ.Limit.L1.MaxFieldAngle=100 root.PTZ.Limit.L1.MaxPan=155 root.PTZ.Limit.L1.MaxTilt=155 root.PTZ.Limit.L1.MaxZoom=9999 root.PTZ.Limit.L1.MinFieldAngle=1 root.PTZ.Limit.L1.MinPan=-155 root.PTZ.Limit.L1.MinTilt=-155 root.PTZ.Limit.L1.MinZoom=1 root.PTZ.Limit.L2.MaxFieldAngle=100 root.PTZ.Limit.L2.MaxPan=155 root.PTZ.Limit.L2.MaxTilt=155 root.PTZ.Limit.L2.MaxZoom=9999 root.PTZ.Limit.L2.MinFieldAngle=1 root.PTZ.Limit.L2.MinPan=-155 root.PTZ.Limit.L2.MinTilt=-155 root.PTZ.Limit.L2.MinZoom=1 root.PTZ.Preset.P0.HomePosition=1 root.PTZ.Preset.P0.ImageSource=0 root.PTZ.Preset.P0.Name= root.PTZ.Preset.P0.Position.P1.Data=pan=0.000000:tilt=0.000000:zoom=1.000000 root.PTZ.Preset.P0.Position.P1.Name=Home root.PTZ.Preset.P1.HomePosition=1 root.PTZ.Preset.P1.ImageSource=1 root.PTZ.Preset.P1.Name= root.PTZ.Preset.P1.Position.P1.Data=pan=0.000000:tilt=0.000000:zoom=1.000000 root.PTZ.Preset.P1.Position.P1.Name=Home root.PTZ.PTZDriverStatuses.Driver1Status=3 root.PTZ.PTZDriverStatuses.Driver2Status=3 root.PTZ.Support.S1.AbsoluteBrightness=false root.PTZ.Support.S1.AbsoluteFocus=false root.PTZ.Support.S1.AbsoluteIris=false root.PTZ.Support.S1.AbsolutePan=true root.PTZ.Support.S1.AbsoluteTilt=true root.PTZ.Support.S1.AbsoluteZoom=true root.PTZ.Support.S1.ActionNotification=true root.PTZ.Support.S1.AreaZoom=true root.PTZ.Support.S1.AutoFocus=false root.PTZ.Support.S1.AutoIrCutFilter=false root.PTZ.Support.S1.AutoIris=false root.PTZ.Support.S1.Auxiliary=false root.PTZ.Support.S1.BackLight=false root.PTZ.Support.S1.ContinuousBrightness=false root.PTZ.Support.S1.ContinuousFocus=false root.PTZ.Support.S1.ContinuousIris=false root.PTZ.Support.S1.ContinuousPan=true root.PTZ.Support.S1.ContinuousTilt=true root.PTZ.Support.S1.ContinuousZoom=true root.PTZ.Support.S1.DevicePreset=false root.PTZ.Support.S1.DigitalZoom=false root.PTZ.Support.S1.GenericHTTP=false root.PTZ.Support.S1.IrCutFilter=false root.PTZ.Support.S1.JoyStickEmulation=true root.PTZ.Support.S1.LensOffset=false root.PTZ.Support.S1.OSDMenu=false root.PTZ.Support.S1.ProportionalSpeed=true root.PTZ.Support.S1.RelativeBrightness=false root.PTZ.Support.S1.RelativeFocus=false root.PTZ.Support.S1.RelativeIris=false root.PTZ.Support.S1.RelativePan=true root.PTZ.Support.S1.RelativeTilt=true root.PTZ.Support.S1.RelativeZoom=true root.PTZ.Support.S1.ServerPreset=true root.PTZ.Support.S1.SpeedCtl=true root.PTZ.Support.S2.AbsoluteBrightness=false root.PTZ.Support.S2.AbsoluteFocus=false root.PTZ.Support.S2.AbsoluteIris=false root.PTZ.Support.S2.AbsolutePan=true root.PTZ.Support.S2.AbsoluteTilt=true root.PTZ.Support.S2.AbsoluteZoom=true root.PTZ.Support.S2.ActionNotification=true root.PTZ.Support.S2.AreaZoom=true root.PTZ.Support.S2.AutoFocus=false root.PTZ.Support.S2.AutoIrCutFilter=false root.PTZ.Support.S2.AutoIris=false root.PTZ.Support.S2.Auxiliary=false root.PTZ.Support.S2.BackLight=false root.PTZ.Support.S2.ContinuousBrightness=false root.PTZ.Support.S2.ContinuousFocus=false root.PTZ.Support.S2.ContinuousIris=false root.PTZ.Support.S2.ContinuousPan=true root.PTZ.Support.S2.ContinuousTilt=true root.PTZ.Support.S2.ContinuousZoom=true root.PTZ.Support.S2.DevicePreset=false root.PTZ.Support.S2.DigitalZoom=false root.PTZ.Support.S2.GenericHTTP=false root.PTZ.Support.S2.IrCutFilter=false root.PTZ.Support.S2.JoyStickEmulation=true root.PTZ.Support.S2.LensOffset=false root.PTZ.Support.S2.OSDMenu=false root.PTZ.Support.S2.ProportionalSpeed=true root.PTZ.Support.S2.RelativeBrightness=false root.PTZ.Support.S2.RelativeFocus=false root.PTZ.Support.S2.RelativeIris=false root.PTZ.Support.S2.RelativePan=true root.PTZ.Support.S2.RelativeTilt=true root.PTZ.Support.S2.RelativeZoom=true root.PTZ.Support.S2.ServerPreset=true root.PTZ.Support.S2.SpeedCtl=true root.PTZ.UserAdv.U1.MoveSpeed=100 root.PTZ.UserAdv.U2.MoveSpeed=100 root.PTZ.UserCtlQueue.U0.Priority=10 root.PTZ.UserCtlQueue.U0.TimeoutTime=60 root.PTZ.UserCtlQueue.U0.TimeoutType=activity root.PTZ.UserCtlQueue.U0.UseCookie=no root.PTZ.UserCtlQueue.U0.UserGroup=Administrator root.PTZ.UserCtlQueue.U1.Priority=30 root.PTZ.UserCtlQueue.U1.TimeoutTime=60 root.PTZ.UserCtlQueue.U1.TimeoutType=activity root.PTZ.UserCtlQueue.U1.UseCookie=no root.PTZ.UserCtlQueue.U1.UserGroup=Operator root.PTZ.UserCtlQueue.U2.Priority=50 root.PTZ.UserCtlQueue.U2.TimeoutTime=60 root.PTZ.UserCtlQueue.U2.TimeoutType=timespan root.PTZ.UserCtlQueue.U2.UseCookie=no root.PTZ.UserCtlQueue.U2.UserGroup=Viewer root.PTZ.UserCtlQueue.U3.Priority=20 root.PTZ.UserCtlQueue.U3.TimeoutTime=20 root.PTZ.UserCtlQueue.U3.TimeoutType=activity root.PTZ.UserCtlQueue.U3.UseCookie=no root.PTZ.UserCtlQueue.U3.UserGroup=Event root.PTZ.UserCtlQueue.U4.Priority=40 root.PTZ.UserCtlQueue.U4.TimeoutTime=60 root.PTZ.UserCtlQueue.U4.TimeoutType=infinity root.PTZ.UserCtlQueue.U4.UseCookie=no root.PTZ.UserCtlQueue.U4.UserGroup=Guardtour root.PTZ.UserCtlQueue.U5.Priority=35 root.PTZ.UserCtlQueue.U5.TimeoutTime=60 root.PTZ.UserCtlQueue.U5.TimeoutType=infinity root.PTZ.UserCtlQueue.U5.UseCookie=no root.PTZ.UserCtlQueue.U5.UserGroup=Autotracking root.PTZ.UserCtlQueue.U6.Priority=1 root.PTZ.UserCtlQueue.U6.TimeoutTime=60 root.PTZ.UserCtlQueue.U6.TimeoutType=activity root.PTZ.UserCtlQueue.U6.UseCookie=no root.PTZ.UserCtlQueue.U6.UserGroup=Onvif root.PTZ.Various.V1.CtlQueueing=false root.PTZ.Various.V1.CtlQueueLimit=20 root.PTZ.Various.V1.CtlQueuePollTime=20 root.PTZ.Various.V1.HomePresetSet=true root.PTZ.Various.V1.Locked=true root.PTZ.Various.V1.MaxProportionalSpeed=200 root.PTZ.Various.V1.PanEnabled=true root.PTZ.Various.V1.ProportionalSpeedEnabled=true root.PTZ.Various.V1.ReturnToOverview=0 root.PTZ.Various.V1.SpeedCtlEnabled=true root.PTZ.Various.V1.TiltEnabled=true root.PTZ.Various.V1.ZoomEnabled=true root.PTZ.Various.V2.CtlQueueing=false root.PTZ.Various.V2.CtlQueueLimit=20 root.PTZ.Various.V2.CtlQueuePollTime=20 root.PTZ.Various.V2.HomePresetSet=true root.PTZ.Various.V2.Locked=true root.PTZ.Various.V2.MaxProportionalSpeed=200 root.PTZ.Various.V2.PanEnabled=true root.PTZ.Various.V2.ProportionalSpeedEnabled=true root.PTZ.Various.V2.ReturnToOverview=0 root.PTZ.Various.V2.SpeedCtlEnabled=true root.PTZ.Various.V2.TiltEnabled=true root.PTZ.Various.V2.ZoomEnabled=true from $ip_axis 20:27:02.704 DEBUG (MainThread) [axis.vapix.vapix] http://$ip_axis:80/axis-cgi/applications/list.cgi {} 20:27:02.728 DEBUG (MainThread) [homeassistant.components.mqtt.client] Subscribing to homeassistant/+/+/config, mid: 1, qos: 0 20:27:02.728 DEBUG (MainThread) [homeassistant.components.mqtt.client] Subscribing to homeassistant/+/+/+/config, mid: 1, qos: 0 20:27:02.728 DEBUG (MainThread) [homeassistant.components.mqtt.client] Subscribing to drop_connect/discovery/#, mid: 1, qos: 0 20:27:02.728 DEBUG (MainThread) [homeassistant.components.mqtt.client] Subscribing to dsmr/#, mid: 1, qos: 0 20:27:02.728 DEBUG (MainThread) [homeassistant.components.mqtt.client] Subscribing to fully/deviceInfo/+, mid: 1, qos: 0 20:27:02.729 DEBUG (MainThread) [homeassistant.components.mqtt.client] Subscribing to tasmota/discovery/#, mid: 1, qos: 0 20:27:02.864 DEBUG (MainThread) [axis.vapix.vapix] Response: from $ip_axis 20:27:02.866 DEBUG (MainThread) [axis.vapix.vapix] http://$ip_axis:80/local/objectanalytics/control.cgi {'json': {'method': 'getConfiguration', 'apiVersion': '1.0', 'context': 'Axis library', 'params': {}}} 20:27:02.868 DEBUG (MainThread) [axis.vapix.vapix] http://$ip_axis:80/local/vmd/control.cgi {'json': {'method': 'getConfiguration', 'apiVersion': '1.2', 'context': 'Axis library'}} 20:27:02.892 DEBUG (MainThread) [axis.vapix.vapix] Response: {"data":{"cameras":[{"id":1,"active":true,"rotation":0}],"profiles":[{"filters":[{"active":true,"data":[5,5],"type":"sizePercentage"},{"active":true,"data":1,"type":"timeShortLivedLimit"},{"active":true,"data":5,"type":"distanceSwayingObject"}],"triggers":[{"type":"includeArea","data":[[-0.97,-0.97],[-0.97,0.97],[0.97,0.97],[0.97,-0.97]]}],"uid":1,"camera":1,"name":"Profile 1"}],"configurationStatus":0},"apiVersion":"1.4","method":"getConfiguration","context":"Axis library"} from $ip_axis 20:27:02.953 DEBUG (MainThread) [axis.vapix.vapix] Response: {"apiVersion": "1.3", "data": {"devices": [{"id": 1, "type": "camera", "isActive": true, "rotation": 180}], "perspectives": [{"id": 1, "bars": [{"height": 180, "points": [[-0.2719, -0.04333], [-0.2719, -0.7511]]}, {"height": 180, "points": [[0.6312, -0.65], [0.6312, -0.9889]]}]}], "metadataOverlay": [{"id": 1, "drawOnAllResolutions": true}], "scenarios": [{"id": 1, "type": "motion", "name": "Scenario 1", "objectClassifications": [{"type": "human"}], "perspectives": [1], "metadataOverlay": 1, "devices": [{"id": 1}], "triggers": [{"type": "includeArea", "vertices": [[0.97, 0.97], [0.97, -0.97], [-0.97, -0.97], [-0.97, 0.97]]}], "filters": [{"distance": 5, "type": "distanceSwayingObject"}, {"time": 1, "type": "timeShortLivedLimit"}, {"type": "sizePerspective", "width": 75, "height": 75}]}], "trail": {"isActive": false, "lifetimeInSec": 10}}, "method": "getConfiguration", "context": "Axis library"} from $ip_axis 20:27:02.961 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up axis.binary_sensor 20:27:03.077 INFO (MainThread) [homeassistant.components.camera] Setting up axis.camera 20:27:03.079 INFO (MainThread) [homeassistant.components.light] Setting up axis.light 20:27:03.082 INFO (MainThread) [homeassistant.components.switch] Setting up axis.switch 20:27:03.089 DEBUG (MainThread) [axis.stream_manager] rtsp://$ip_axis/axis-media/media.amp?video=0&audio=0&event=on 20:27:03.090 DEBUG (MainThread) [axis.vapix.vapix] http://$ip_axis:80/axis-cgi/mqtt/client.cgi {'json': {'method': 'getClientStatus', 'apiVersion': '1.0', 'context': 'Axis library', 'params': {}}} 20:27:03.092 DEBUG (MainThread) [axis.rtsp] Stream listener online 20:27:03.105 DEBUG (MainThread) [axis.rtsp] OPTIONS rtsp://$ip_axis/axis-media/media.amp?video=0&audio=0&event=on RTSP/1.0 CSeq: 0 User-Agent: HASS Axis 20:27:03.108 DEBUG (MainThread) [axis.rtsp] Received data ['RTSP/1.0 200 OK', 'CSeq: 0', 'Public: OPTIONS, DESCRIBE, ANNOUNCE, GET_PARAMETER, PAUSE, PLAY, RECORD, SETUP, SET_PARAMETER, TEARDOWN', 'Server: GStreamer RTSP server', 'Date: Mon, 29 Jan 2024 20:27:07 GMT', ''] from $ip_axis 20:27:03.109 DEBUG (MainThread) [axis.rtsp] DESCRIBE rtsp://$ip_axis/axis-media/media.amp?video=0&audio=0&event=on RTSP/1.0 CSeq: 1 User-Agent: HASS Axis Accept: application/sdp 20:27:03.111 DEBUG (MainThread) [axis.rtsp] Received data ['RTSP/1.0 401 Unauthorized', 'CSeq: 1', 'WWW-Authenticate: Digest realm="AXIS_$serial", nonce="000052f6Y99093504ec545195a3a8d6f81d456591d4a03e", stale=FALSE', 'Server: GStreamer RTSP server', 'Date: Mon, 29 Jan 2024 20:27:07 GMT', ''] from $ip_axis 20:27:03.111 DEBUG (MainThread) [axis.rtsp] DESCRIBE rtsp://$ip_axis/axis-media/media.amp?video=0&audio=0&event=on RTSP/1.0 CSeq: 1 Authorization: Digest username="hass", realm="AXIS_$serial", algorithm="MD5", nonce="000052f6Y99093504ec545195a3a8d6f81d456591d4a03e", uri="rtsp://$ip_axis/axis-media/media.amp?video=0&audio=0&event=on", response="49546130c03a01b5a0467ed3090b618a" User-Agent: HASS Axis Accept: application/sdp 20:27:03.140 DEBUG (MainThread) [axis.rtsp] Received data ['RTSP/1.0 200 OK', 'CSeq: 1', 'Content-Type: application/sdp', 'Content-Base: rtsp://$ip_axis/axis-media/media.amp/', 'Server: GStreamer RTSP server', 'Date: Mon, 29 Jan 2024 20:27:08 GMT', 'Content-Length: 499', '', 'v=0', 'o=- 11297224012027663049 1 IN IP4 $ip_axis', 's=Session streamed with GStreamer', 'i=rtsp-server', 't=0 0', 'a=tool:GStreamer', 'a=type:broadcast', 'a=range:npt=now-', 'a=control:rtsp://$ip_axis/axis-media/media.amp?video=0&audio=0&event=on', 'm=application 0 RTP/AVP 98', 'c=IN IP4 0.0.0.0', 'a=rtpmap:98 vnd.onvif.metadata/90000', 'a=ts-refclk:local', 'a=mediaclk:sender', 'a=x-onvif-track:APPLICATION000', 'a=recvonly', 'a=control:rtsp://$ip_axis/axis-media/media.amp/stream=0?video=0&audio=0&event=on'] from $ip_axis 20:27:03.141 DEBUG (MainThread) [axis.rtsp] SETUP rtsp://$ip_axis/axis-media/media.amp/stream=0?video=0&audio=0&event=on RTSP/1.0 CSeq: 2 Authorization: Digest username="hass", realm="AXIS_$serial", algorithm="MD5", nonce="000052f6Y99093504ec545195a3a8d6f81d456591d4a03e", uri="rtsp://$ip_axis/axis-media/media.amp?video=0&audio=0&event=on", response="097e8224c3d700d0979cf055160bdc3d" User-Agent: HASS Axis Transport: RTP/AVP;unicast;client_port=33187-33188 20:27:03.145 DEBUG (MainThread) [axis.rtsp] Received data ['RTSP/1.0 200 OK', 'CSeq: 2', 'Transport: RTP/AVP;unicast;client_port=33187-33188;server_port=50000-50001;ssrc=2902B740;mode="PLAY"', 'Server: GStreamer RTSP server', 'Session: byM.Y.z-UMEX+VrU;timeout=60', 'Date: Mon, 29 Jan 2024 20:27:08 GMT', ''] from $ip_axis 20:27:03.146 DEBUG (MainThread) [axis.rtsp] PLAY rtsp://$ip_axis/axis-media/media.amp?video=0&audio=0&event=on RTSP/1.0 CSeq: 3 Authorization: Digest username="hass", realm="AXIS_$serial", algorithm="MD5", nonce="000052f6Y99093504ec545195a3a8d6f81d456591d4a03e", uri="rtsp://$ip_axis/axis-media/media.amp?video=0&audio=0&event=on", response="39cb5673eebfd0c7aac319159dd3c8e9" User-Agent: HASS Axis Session: byM.Y.z-UMEX+VrU 20:27:03.235 DEBUG (MainThread) [axis.rtsp] Received data ['RTSP/1.0 200 OK', 'CSeq: 3', 'RTP-Info: url=rtsp://$ip_axis/axis-media/media.amp/stream=0?video=0&audio=0&event=on;seq=16381;rtptime=2202970846', 'Range: npt=now-', 'Server: GStreamer RTSP server', 'Session: byM.Y.z-UMEX+VrU;timeout=60', 'Date: Mon, 29 Jan 2024 20:27:08 GMT', ''] from $ip_axis 20:27:03.258 DEBUG (MainThread) [axis.vapix.vapix] Response: { "apiVersion": "1.5", "context": "Axis library", "method": "getClientStatus", "data": { "status": { "state": "active", "connectionStatus": "connected" }, "config": { "server": { "protocol": "tcp", "host": "$ip_mqtt_hass", "port": 1883, "alpnProtocol": "" }, "username": "axis1", "password": "*****", "clientId": "client_$serial", "keepAliveInterval": 60, "connectTimeout": 60, "cleanSession": false, "autoReconnect": true, "deviceTopicPrefix": "homeassistant/axis/$serial", "lastWillTestament": { "useDefault": true, "topic": "", "message": "", "retain": false, "qos": 0 }, "connectMessage": { "useDefault": true, "topic": "", "message": "", "retain": false, "qos": 0 } } } } from $ip_axis 20:27:03.260 INFO (MainThread) [homeassistant.bootstrap] Home Assistant initialized in 15.45s 20:27:03.263 INFO (MainThread) [homeassistant.core] Starting Home Assistant 20:27:03.302 DEBUG (MainThread) [homeassistant.components.mqtt.trigger] Attaching MQTT trigger for topic: 'objectdetect', payload: 'None' 20:27:03.315 INFO (MainThread) [homeassistant.components.automation.xmpp_send_alert] Initialized trigger XMPP Send Alert 20:27:04.182 ERROR (SyncWorker_8) [homeassistant.components.dhcp] Cannot watch for dhcp packets: [Errno 1] Operation not permitted 20:27:04.311 DEBUG (MainThread) [homeassistant.components.mqtt.client] Subscribing to $serial/#, mid: 2, qos: 0 20:27:04.311 DEBUG (MainThread) [homeassistant.components.mqtt.client] Subscribing to objectdetect, mid: 2, qos: 0 20:27:06.314 DEBUG (MainThread) [homeassistant.components.mqtt.client] Transmitting message on homeassistant/status: 'online', mid: 3, qos: 1 20:27:58.237 DEBUG (MainThread) [axis.rtsp] OPTIONS rtsp://$ip_axis/axis-media/media.amp?video=0&audio=0&event=on RTSP/1.0 CSeq: 4 User-Agent: HASS Axis Session: byM.Y.z-UMEX+VrU 20:27:58.243 DEBUG (MainThread) [axis.rtsp] Received data ['RTSP/1.0 200 OK', 'CSeq: 4', 'Public: OPTIONS, DESCRIBE, ANNOUNCE, GET_PARAMETER, PAUSE, PLAY, RECORD, SETUP, SET_PARAMETER, TEARDOWN', 'Server: GStreamer RTSP server', 'Session: byM.Y.z-UMEX+VrU;timeout=60', 'Date: Mon, 29 Jan 2024 20:28:03 GMT', ''] from $ip_axis ```

Kane610 commented 7 months ago

The logs look fine, everything needed for setup has been shown, you don't seem to get any events over rtsp or mqtt. Without receiving the events the integration will not create any entities

I see that you have changed the topic prefix, this is a current limitation I should improve but right now the integration only looks at $serial/#

Im currently reworking the axis library and soon the integration and stuff like this can more easily be improved.

mesonium commented 7 months ago

you don't seem to get any events over rtsp or mqtt

Any idea why? Could this be due to a wrong configuration from my side related to the camera, HomeAssistant or the server or all I can do now is waiting until you have reworked the integration? :-)

right now the integration only looks at $serial/#

If I got you right, I have changed the MQTT topic in the camera to $serial (and reloaded) w/o success.

Im currently reworking the axis library and soon the integration and stuff like this can more easily be improved.

\o/

Kane610 commented 7 months ago

Any idea why?

There have been a few occurrences of people reporting it and Im not sure why it wouldn't start sending the events, it can be an issue on both sides.

MQTT most definitely needs a revisit :)

mesonium commented 7 months ago

you don't seem to get any events over rtsp or mqtt

"Any" can't be correct, otherwise the Axis integration wouldn't add the entity "camera-stream"?

Without receiving the events the integration will not create any entities

How would an event, which results in adding an entity, look like in the debug log?

Just to understand it correctly, if I hadn't set up an MQTT broker / enabled MQTT on the camera or HA, the Axis integration would only use RTSP to query events and add entities? If MQTT is enabled, it uses both?

In case of entities to add, would RTSP alone be sufficient or can a subset of all existing entities only be added over MQTT?

Edit: Does the Axis integration make directly use of the MQTT integration, i.e. uses the Discovery prefix configured there for instance?

Im currently reworking the axis library and soon the integration and stuff like this can more easily be improved.

Thank you! Looking forward to testing! :)

mesonium commented 7 months ago

Alright, after adding the right conditions under System -> MQTT -> MQTT publications at least the Motion and Object detections are registered entities in HA for the Axis integration. :)

mesonium commented 7 months ago

Some time later ... I finally ran into https://github.com/home-assistant/core/issues/91558 :-(

Kane610 commented 7 months ago

Some time later ... I finally ran into #91558 :-(

Do you see anything in the logs that could hint why it stops?

mesonium commented 7 months ago

I tried to look it up now, but I had to notice that the logs don't reach back in time far enough, what a pity! Should it pick up and loose the entities again, I will check it immediately.

Edit: I see that there are occasionally events received:

2024-01-30T22:33:58.333274015+00:00 stderr F 2024-01-30 22:33:58.332 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on $serial/event/CameraApplicationPlatform/VMD/Camera1ProfileANY (qos=0): b'{"topic":"axis:CameraApplicationPlatform/VMD/Camera1ProfileANY","timestamp":1706654037759,"serial":"$serial","message":{"source":{},"key":{},"data":{"active":"1"}}}'
2024-01-30T22:34:00.760191987+00:00 stderr F 2024-01-30 22:34:00.758 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on $serial/event/CameraApplicationPlatform/VMD/Camera1ProfileANY (qos=0): b'{"topic":"axis:CameraApplicationPlatform/VMD/Camera1ProfileANY","timestamp":1706654040715,"serial":"$serial","message":{"source":{},"key":{},"data":{"active":"0"}}}'

but it doesn't result in any entity created. The MQTT events for motion and object detection do in general work as they keep triggering custom scripts in Home Assistant.

Kane610 commented 6 months ago

Hello! As your running the container; how is your network setup with the container?

mesonium commented 6 months ago

Hello! As your running the container; how is your network setup with the container?

Camera and the HA host are on the same internal subnet (192.168.120.0/24) both with a fixed IP, connected over an OPNsense HW FW.

HA and Mosquitto run together in a pod on a Debian 12 system, whereby the pod does a 1:1 port forwarding from the host to its internal container subnet (10.89.1.0/24):

The network setup hasn't been changed since I have setup the system. In the meantime HA's Axis integration was capable of identifying the Motion and Object detection entities only once for a half a day, after the system had been running for a few days.

Besides from that, MQTT messages (QoS = 2) from the camera arrive just fine to trigger self written Motion and Object detection scripts.

Kane610 commented 6 months ago

Do you run the container with "--network=host" a problem people run into is that the rtsp stream used by the integration to connect to the device needs to negotiate input ports for the camera to send events on

mesonium commented 6 months ago

Looks like it was running in bridge mode by default contradicting the official docs: https://github.com/containers/podman/issues/16940 I have now changed it to slirp4netns, though nothing has improved. :)

If you want to try it out yourself, here's my full hass-pod.yaml configuration (not cleaned up)

Click to expand

``` # Save the output of this file and use kubectl create -f to import # it into Kubernetes. # # Created with podman-4.3.1 apiVersion: v1 kind: Pod metadata: annotations: bind-mount-options: /home/homeassistant/mosquitto/data:Z io.kubernetes.cri-o.ContainerType/hass: container io.kubernetes.cri-o.ContainerType/mosq: container io.kubernetes.cri-o.SandboxID/hass: ac8a80455f92bab521f8e84705d8912d28f16611526a9b1eb0852f67e2197a3 io.kubernetes.cri-o.SandboxID/mosq: ac8a80455f92bab521f8e84705d8912d28f16611526a9b1eb0852f67e2197a3 io.kubernetes.cri-o.TTY/hass: "false" io.kubernetes.cri-o.TTY/mosq: "false" io.podman.annotations.autoremove/hass: "FALSE" io.podman.annotations.autoremove/mosq: "FALSE" io.podman.annotations.init/hass: "FALSE" io.podman.annotations.init/mosq: "FALSE" io.podman.annotations.privileged/hass: "FALSE" io.podman.annotations.privileged/mosq: "FALSE" io.podman.annotations.publish-all/hass: "FALSE" io.podman.annotations.publish-all/mosq: "FALSE" creationTimestamp: "2024-01-22T18:38:21Z" labels: app: hass-pod name: hass-pod spec: automountServiceAccountToken: false containers: - image: docker.io/homeassistant/home-assistant:stable name: hass ports: - containerPort: 1883 hostPort: 1883 - containerPort: 8123 hostPort: 8123 resources: {} securityContext: capabilities: drop: - CAP_MKNOD - CAP_NET_RAW - CAP_AUDIT_WRITE volumeMounts: - mountPath: /etc/localtime name: etc-localtime-host-0 readOnly: true - mountPath: /config name: home-homeassistant-hass_config-host-1 - mountPath: /mnt/snapshots name: home-homeassistant-hass_snapshots-host-0 - args: - /usr/sbin/mosquitto - -c - /mosquitto/config/mosquitto.conf image: docker.io/library/eclipse-mosquitto:latest name: mosq resources: {} securityContext: capabilities: drop: - CAP_MKNOD - CAP_NET_RAW - CAP_AUDIT_WRITE volumeMounts: - mountPath: /mosquitto/config name: home-homeassistant-mosquitto-config-host-0 - mountPath: /mosquitto/data name: home-homeassistant-mosquitto-data-host-1 - mountPath: /mosquitto/log name: home-homeassistant-mosquitto-data-host-2 - mountPath: /etc/localtime name: etc-localtime-host-3 readOnly: true enableServiceLinks: false hostname: hass-pod restartPolicy: Never volumes: - hostPath: path: /etc/localtime type: File name: etc-localtime-host-0 - hostPath: path: /home/homeassistant/hass_config type: Directory name: home-homeassistant-hass_config-host-1 - hostPath: path: /home/homeassistant/axis_snapshots type: Directory name: home-homeassistant-hass_snapshots-host-0 - hostPath: path: /home/homeassistant/mosquitto/config type: Directory name: home-homeassistant-mosquitto-config-host-0 - hostPath: path: /home/homeassistant/mosquitto/data type: Directory name: home-homeassistant-mosquitto-data-host-1 - hostPath: path: /home/homeassistant/mosquitto/data type: Directory name: home-homeassistant-mosquitto-data-host-2 - hostPath: path: /etc/localtime type: File name: etc-localtime-host-3 status: {} ```

which can be started by podman play kube --net slirp4netns:port_handler=slirp4netns --replace hass-pod.yaml

Edit: mind the paths and volumes.

mesonium commented 6 months ago

Do you run the container with "--network=host"

Port mapping, which I do, can only be used with Bridge or slirp4netns networking

mesonium commented 6 months ago

the rtsp stream used by the integration to connect to the device needs to negotiate input ports for the camera to send events on

So does this mean my setup cannot work, because I'd need to forward these ports into the container? Are these ports random, within a range, can be specified ... ?

Kane610 commented 6 months ago

So I will of course improve the MQTT in the Axis integration and I might also add the option to supply a port range to configure RTSP ports within (https://github.com/home-assistant/core/issues/110794) but I can't promise when I get to it.

mesonium commented 6 months ago

I can't promise when I get to it

No problem, thank you very much for your efforts anyway! :)

Kane610 commented 5 months ago

Hey @mesonium ! With 2024.4.0 there are improvements to the MQTT support of the Axis integration. Is it working as expected to you now?

mesonium commented 5 months ago

Hey @mesonium ! With 2024.4.0 there are improvements to the MQTT support of the Axis integration. Is it working as expected to you now?

Hey! I'm now on 2014.04.1 but unfortunately the issue still persists.

Kane610 commented 5 months ago

Hey @mesonium ! With 2024.4.0 there are improvements to the MQTT support of the Axis integration. Is it working as expected to you now?

Hey! I'm now on 2014.04.1 but unfortunately the issue still persists.

I know rtsp is not fixed but any improvement to mqtt?

mesonium commented 3 months ago

I know rtsp is not fixed but any improvement to mqtt?

Hi! Sorry for the long delay, I will answer this question once I get access to the HA device again. :)

renaatdb commented 2 weeks ago

Hello, I am running : core-2024.8.2 Home Assistant OS 13.0 Running Axis integration. I have 2 M3206-LVE camera's (M3206-LVE 0 and M3206-LVE 1) M3206-LVE 1 give me no camera stream. Ax1 Ax3 Ax2 Same software axis 10.12.240 , same settings. What can be the problem?