Correct this is the current content of my has_apps_loader.py which I download at 14:04
import os
import subprocess
BASE = os.path.join(os.path.dirname(__file__), "..")
WHEELSTORE = os.path.join(BASE, ".wheelstore")
SCRIPT = [
"python3", os.path.join(BASE, "wheelstore.py"),
"-w", WHEELSTORE, "-p", "pip3",
"--pip-arg=--no-cache-dir",
"--pip-arg=--disable-pip-version-check",
]
PACKAGES = [
"wheel", "pip", "setuptools",
"https://github.com/efficiosoft/hass-apps/archive/master.zip",
]
for pkg in PACKAGES:
subprocess.call([*SCRIPT, "establish", pkg])
subprocess.call([*SCRIPT, "--pip-arg=--upgrade", "install", pkg])
# This is just a stub which makes the app classes available for AppDaemon.
from hass_apps.loader import *
No just a x86 running at 64bit ubuntu 16.04
This is the output of uname -a Linux webserver 4.4.0-141201901080420-generic #0+mediatree+hauppauge-Ubuntu SMP Tue Jan 8 19:56:47 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
i’am afraid that is way over my knowledge level to analyze this further.
Just tried it on a hass.io system running at a raspberry pi Zero which gives the same compiler error but I guess that is logical since this is an ARM.
What we can try is to force pip use a binary distribution for cffi explicitly… I think it’s worth a try. You’d need to update both wheelstore and the loader to try.
I need to solve this differently. Packages that are already installed don’t need to be built into wheels at all. I’ll change the script to just download and cache the source distributions when there’s no wheel available, although this won’t happen today.
Im getting quite far with the docs but would it be possible for you to upload a full opperating config so I could take a look at that? Would be very helpful to setup my own since my experience is still very limited.
@Jules_Bousema Schedy can be used for virtually anything, so there’s no universal config. You can take the sample config and just fill in your schedule and actors… that’s the way it’s supposed to be done at least.
Hi @Jules_Bousema
What kind of configuration are you looking for switch or thermostat. I can share some of mine but as @roschi say’s it is so flexible that there are many variations which all work good.
Hi @taste
Specifically one that controls thermostats, inputs from temperature sensors, input from presence detection like life360 or pir/radar sensors.
Anything that broaches any of those subjects would be immensely valuable!
@Jules_Bousema You can create the generic thermostat component from Homeassistant This gives you the temperature sensor as input and a switch as output. Schedy will just set the temperatures for this thermostat based upon your schedule. Here is a basic example I use for a seascout group (so heating only needed a a few moment per week in winter)
I advise to have a look and make sure you understand how it work. Make a few changes and check if they do what you expect. After this you can have a look at presence detection. I would use Homeassistant automation to set/reset a boolean and create an expression which set the temperature to a permanent value if nobody is present.
Just give it a go you will learn a lot while doing this