Curl on hassio

Hassio on Raspian? Where?
All I see is the HassOs image for Hassio.

… if memory serves - I could not add the documented repo on stretch, so I discounted the entire process/method of installing with that option. Good thanks to you all for chiming in - I have moved on from trying to curl a text message command to Twilio and notify the text message. Thoughts are welcome failed results are being interpreted to form a intelligent question… I just know it does not work

You could try using a rest notification or rest command if all you want to do is a simple GET/POST and don’t need to save the response. Otherwise, there’s switch, sensor, and binary sensor as well.

You could also try a python script and using requests.

Finally, the last option is to write a custom component for the notify platform. That will give you the most access to libraries and such as you can essentially get whatever you may need.

My point, that got lost, is that I do not think you can put curl on HassOs.

That seems a remarkable omission.

CURL works for me, I’m running HASSOS on a RPI3:

# docker container exec homeassistant curl -V
curl 7.64.0 (armv7-alpine-linux-musleabihf) libcurl/7.64.0 OpenSSL/1.1.1b zlib/1.2.11 libssh2/1.8.0 nghttp2/1.35.1
Release-Date: 2019-02-06
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp 
Features: AsynchDNS IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP HTTP2 UnixSockets HTTPS-proxy 

who offered a how to for raspbian

nope did not get lost really - I was thinkign it went without saying after learning it was an OS masacre to get the automation system working and trifles were not considered… kinda makes the whole shell_command pretty useless.

If you are referring to curl, I already see it on my Raspian Lite. Otherwise apt-get install curl would install it just like any other Debian based system.

Thank you for the info - I have started down the path with twilio and notify, wish me luck currently looking for sample code as I have commited to my first guess at it but am missing something in the HA docs.

curl scp touch find quite a few shell commands actually and of course apt and apt-get were not there either… I think you are the wiser for installing on full OS. I believe you offered to document the shortest path to raspbian hosting home assistant system. I will be getting a arm/debian SBC with not bluetooth to hamper zwave that I would like to put home assistant on. So you did a install with a curl command on a raspbian install I would like to know what you did - I can send you a sd card if need be

I just booted my HassOs. From the console, I see scp is there apt & apt-get are only used on deb based Linux systems. Red Hat & Arch, for instance, do not have them because they use different systems.

HassOs is meant to be limited so I do not believe it has a packaging system installed. When I ran HassOs in a VM I personally had stability issues that led me to other install options.

No it doesnt have a package manager. But @Codec303 hss shown that curl exists on hassos.

I can execute a curl command from HA?

Oops I just booted it again & looked. again. curl is not there in HAssOs but it may be in the docker container.

It is in the homeassistant docker container.

so what would be the equivelent command to “curl -d number=1231234567 -d “message” -d key=f6…etc” be for my configuration.yaml

Just follow the documentation on installing on a generic Linux distro. I’ve linked the documentation.

Install Raspbian.

Install prerequisites according to the official documentation and run the script, again, following the official documentation.

When people go off and create tutorials, they become outdated and worthless. Just follow the official documentation and it will work.

Thanks… thanks

curl exists on hassio. I just set up a commandline sensor on hassio using curl.