Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95462

Using shell command in automations

$
0
0

@mouthpiec wrote:

Hi,

I have the following commands in config.yaml, and I am using this object in the automatons the command is not being triggerd.

When running the curl command in crontab it works fine (i see output in the file).
Any ideas what is wrong?

shell_command:
# Command to update DDNS with public IP address
  update_dns: 'curl https://freedns.afraid.org/dynamic/update.php?UUswNXgweabcdefghijk1pzOjE4Njk0MTE3 >> /tmp/freedns.log 2>/dev/null'

Posts: 6

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 95462

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>