OSError 105 : No buffer Space - Zeroconf

I'm using a NanoPi M1 (Allwinner H3 board) & running a Yocto-based OS. On my first encounter with ZeroConf-python, >>> from zeroconf import Zeroconf, ServiceBrowser >>> zero = Zeroconf() I'm...

Nginx subdomain - Home Assistant

I have a Home Assistant instance running on the same server like my nginx proxy, now I would like to create a subdomain under my public domain. In order to make my Home Assistant instance under...

Python >=3.5.3 on Synology

i am trying to install Home Automatization (https://home-assistant.io) on my Synology. I've installed python via the synology packaging system, i've done basic setup...

Traefik: Access service via local IP address as well as externally (https)?

I managed to setup a reverse proxy with my domain (https://MY-DOMAIN.COM), and I think I read that it's also possible to access the service on my local network (http://192.168.0.5:8123 or...

How can I get the ttyACM0 device from host to lxc container

I'm trying to get the /dev/ttyACM0 device on the host to be used in an LXC container. The device is an Aeotec Z-Wave Plus USB controller. I'm Ubuntu 18.04.1 LTS on the host and the same in the...

What is causing this JSONDecodeError?

I am trying to setup the itunes Media Player in HASSio. I have the REST API running on my mac, and I am able to pull it up in my browser and see that it is running. From within HA, I am able to...

MQTT NodeMCU servo can react only on decimal array payload

I'm creating a fish feeder with SG90 servo and NodeMCU I used this sketch: #include <ESP8266WiFi.h> #include <PubSubClient.h> #include <Servo.h> // Update these with values suitable for your...

Traefik doesn't route to proper backend for some containers

Some of my frontends aren't routed properly to backend. I do have 2 container: portainer; homeassistant; Portainer works properly but homeassistant is not routed properly to backend. my...

jinja2 template syntax in Homeassistant

The code below consist of .yaml template language. I have a question which is "float -2" in Jinja2 template source. I can't understand it. Does it means simply "result value minus 2" nor "result...

Expose a docker composed container with network_mode: "host" and keep container to container networking

I'm fairly new to docker and docker compose, so forgive me if this is a stupid question... I have a compose file with 2 containers. A homeassistant container with port 8123 exposed and a database...

Correct way to create IF statement using data from mqtt callback

I'm trying to trigger an action using the output of the callback function in my code. Basically, I will have a door sensor on "reedTopic" which needs to report "OFF" before allowing the payload...

Pip fails no matter what I try with "TypeError: unsupported operand type(s) for -=: 'Retry' and 'int'"

When I am trying to install something with pip on a brand new flashed SD card, it always fails. I know this has been posted before but I still haven't found an answer that has fixed it. I am...

Nginx Location of .js file

I have an nginx running by pointing https://int.example.com/homeassist using: location /homeassist/ { proxy_pass http://192.168.1.199:8123/; proxy_http_version 1.1; proxy_set_header Host...

Python: Mock ImportError with pytest.fixture

I'm trying to make tests on a helper function that reacts on import success or not. The success test is working but not the failing one, do you know why ? The helper...

Select String value as Integer in Grafana with Influxdb

I would like to show a string value as a boolean or int value in a timeseries graph (data coming from home-assistant) What I have: > select temperature, hvac_action_str from state where entity_id...

HomeAssistant cancel a callback in AppDaemon

I'm running HomeAssistant with AppDaemon and have written an AppDaemon app to control my lights. I use the self.run_in(...) function which is (as described in documentation) calling a call back...

Switch on Fan Based on Humidity readings controlled by Homeassistant

I have a Humidity problem under my House and would like to read the Humidity under my House and Outside my House. Based on the two values I like to switch on a FAN. All that should be controlled...

Docker/Node-red - npm fails to install palettes if volume is on a usb flash drive

I cannot install new palettes in Node-red if the container volume is located on a flash drive, because, npm doesn't have the right permissions to access. Can you help me? # docker-compose.yml ...

Running multiple docker-compose overrides at once

I have a docker-compose.yml file which is setup for two environments, dev and prod: docker-compose.yml Contains shared configuration for both environments version: '3.1' services: ...

Docker start container: error creating overlay mount ... /merged: no such file or directory

I had an issue with docker running on a raspberry pi 4 and I purged all of it apart from the folder with the containers/images. Reinstalled docker, run helloworld, runs ok. Installed portainer to...

arm cryptography/hazmat/bindings/_openssl.abi3.so: undefined symbol: pthread_atfork

I'm trying to install HomeAssistant on a Synology ds213j (arm). It depends on cryptography, which i installed using pip install cryptography (v2.9.2). During the home assistang start sequence, an...

Recover changes to README.md made online on github site that were lost when I made a commit from my local repo

So, I had a repo that I had always updated only from my local machine by using the following script. #!/bin/bash cd /usr/share/hassio/homeassistant source /srv/homeassistant/bin/activate hass...

Accessing the i²c bus with Node-Red in Docker on a RaspberryPi 4

I am currently setting up Home Assistant with Docker on a RaspberryPi 4. I used this tutorial :...

Configuring LIRC on Raspberry PI for AC control

I've been working on a project of automating my Carrier 42QTD018R8S Air Conditioner in order to be able to control it from HomeAssistant IO. As I have kernel 4.19, I followed this link in order to...

Trying to edit configuration.yaml but erroring

I'm trying to make a doorbell with raspberry pi, home assistant and telegram however i keep getting this error when trying to add parts to configurations.yaml. Jul 14 15:49:19 homeassistant...

Cannot access container by "network_mode: host"

I cannnot use network_mode: host in docker in windows 10. I try difference images, it cannot too. I post my docker-compose.yaml below. docker-compose.yaml homeassistant2: container_name:...

Warning: mysqli::__construct(): (HY000/2002): Connection refused

They are newbie to docker. Get phpmyadmin, php, home assistant working. But I can't configure the docker well to be able to connect from php to a database. Could you help me see what the problem...

mariadb (in docker) corruption. Fix or reset database?

I am using the official mariadb docker image, and after updating to latest version (10.5.8), I started getting errors about corruption (see logs below). Since this persists when I downgrade to...

nginx proxy pass not working on docker containers

I have nginx running in docker container on host machine with IP 192.168.1.2. And I have some other docker containers running on the same machine: sonarr, radarr, portainer etc. In nginx conf I...

Docker Compose error but portainer and other working

I am really confuse, My server was setup about 2 weeks ago, with still learning and work to do to have it complete. The server got a power fail when accidently turned off the UPS. After restart,...