Closed shmick closed 1 year ago
What are the addresses being curled? Local dns? Other container? The last 2 docker versions had issues with docker dns but that would likely affect the older version as well.
Does the integration have a debug log option?
@aptalca
Making calls to IPs rather than hostnames.
The commands are:
ssh -oStrictHostKeyChecking=no -i /config/ssh/id_ed25519 user@IP 'docker exec pihole bash /etc/pihole/setGroupStatus.sh <group> <enable|disable|status>
and
curl -m 3 -s --digest -u user:pass "http://ip-of-camera/cgi-bin/configManager.cgi?action=getConfig&name=MotionDetect\[0\].Enable" | grep -o "Enable=true"
running the commands from inside the HA container works fine, and as mentioned, the switches all appear to be functioning and reporting their status correctly, but the HA logs report a problem for some reason
I just saw in the HA discord mentions of changes to the command line integration yaml. Don't know the details but that could explain your issue. They mentioned the docs got updated: https://www.home-assistant.io/integrations/command_line/
I did already migrate the config when moving to 2023.6
This seems to be a known issue
Will be fixed in 2023.6.3 by https://github.com/home-assistant/core/pull/94672
Thanks for circling back
Is there an existing issue for this?
Current Behavior
After updating from
2023.6.0
to2023.6.1
I'm getting these log entries for command line switches.The errors go away when going back to
2023.6.0
The switches still work and report their status back, so I'm not sure why it's making these entries in the logs every 30 seconds.
These switches are all
curl
commandsExpected Behavior
No errors
Steps To Reproduce
update from 2023.6.0 to 2023.6.1
Environment
CPU architecture
arm64
Docker creation
Container logs