I migrated my Home Assistant from a RPi4 to a KVM virtual machine using the instructions here:
Everything works except I cannot get the
curl command to run. I have several shell commands that use curl to trigger sirens on my poe cameras. None of them work. I can successfully
ping the cameras from the HA web terminal so I know that HA can reach the cameras. However, curl is unable to reach the cameras. I am puzzled because this worked fine when HA was running on the RPi4.
For example, this is one of the shell commands in my configuration.yaml file that no longer works:
rear_south_lights_on: curl --digest -g "http://username:[email protected]/cgi-bin/coaxialControlIO.cgi?action=control&channel=1&info.Type=1&info.IO=1"
But I am able to ping 192.168.50.29 successful from the HA terminal. When I use this curl command I get the following error message:
curl: (28) Failed to connect to 192.168.50.29 port 80 after 131128 ms: Couldn't connect to server
Does anyone have any thoughts about how to solve this problem?