Open mim212 opened 4 years ago
Hello, it seems, your system is missing development files for libcurl. For example, in debian, install one of these packages: https://packages.debian.org/search?mode=path&suite=buster§ion=all&arch=any&searchon=contents&keywords=%2Fusr%2Fbin%2Fcurl-config
I believe you're right though looking into it a bit more its possible that the issue is that pycurl doesnt support python 3.7.4 yet, which the latest build of home assistant uses. I'm running hassio on a raspberry pi, so installing dependencies on the host is impossible AFAIK, though happy to learn if there is a way? Otherwise I would attempt to install the dependencies directly instead of through the integration.
Have you thought about making this available on Home Assistant Community Store (HACS)?
I was able to get pycurl working on HA 0.100.3.
First i found my container id of HA with:
docker ps
Then started shell inside:
docker exec -it containerid /bin/sh
Then installed packages
apk update
apk add gcc
apk add libc-dev
apk add curl-dev
It throws some other error, my code is not compatible with new HA.
I guess, i will have to make it work with python-requests anyway (but i don't know, why it does not work) ...
Hi, i have managed to switch from pycurl to requests. Requests needed just one more header to add to make it working. Now i have to figure out, howto wire this into HA configuration
Firstly let me say this will be an absolute lifesaver of a project. I'm in the process of migrating from an ASUS wrt device to the more secure SonicWall SOHO W.
The SonicOS side of things is fine but when deploying the custom component and restarting hassio (Home Assistant 0.97.2) the dependencies will not install. I've deployed manually and using HACs (adding as custom repo), both have the same result.
Full log printout below