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

Run bash command on local computer/user outside homeassistant container

$
0
0

Hello everyone, I wanted to know if it is possible to run a command or script on the local machine outside of the home assistant container. Because it is the only way I have to control the ip camera with PTZ commands using onvif-ptz. Which was installed with the local user on my computer.

I am trying to do this, testing it on home assistant terminal, i can connect via ssh using passfrase

ssh user@192.168.88.23 -i / usr / local / bin / onvif-ptz goto-preset --baseUrl = http: //192.168.88.43 -u = admin -p = xxxxxx --preset = 2

and i get

But if i do ssh and then run:

/usr/local/bin/onvif-ptz goto-preset --baseUrl=http://192.168.88.43 -u=admin -p=xxxxxx --preset=2

Works ok.

Thanks in advance!

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 106602

Trending Articles



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