-
Disable and stop the systemd-resolved service:
sudo systemctl disable systemd-resolved.service sudo systemctl stop systemd-resolved
-
Then put the following line in the
[main]
section of your/etc/NetworkManager/NetworkManager.conf
:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Installs Home Assistant on VirtualBox following https://www.home-assistant.io/installation/linux | |
# Install VirtualBox | |
sudo apt-get -y install virtualbox | |
# Create a new VM | |
VBoxManage createvm --name homeassistant --register | |
# Select OS type "Other Linux (64-bit)" | |
VBoxManage modifyvm homeassistant --ostype Linux_64 | |
# Set RAM to 6GB (modify to your needs, TODO: make this an option, default value 2GB), video memory to 16MB (TODO: make this an option, default value 16MB) | |
VBoxManage modifyvm homeassistant --memory 6144 --vram 16 | |
# 2 vCPUs (TODO: make this an option, default value 2) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Ambee Pollen | |
# Must be added in sensor.yml | |
# replace LAT, LONG and API-KEY with your values | |
- platform: rest | |
scan_interval: 3600 | |
resource: https://api.ambeedata.com/latest/pollen/by-lat-lng?lat=LAT&lng=LONG | |
name: "Ambee Pollen" | |
headers: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This package assumes the name of your camera is 'Front Door'. You may need to change some things if it's not. | |
downloader: | |
download_dir: www/ring | |
python_script: | |
# Put this, un-commented, in a folder named 'python_scripts' at the root of your home assistant config. | |
# Also create a folder named 'ring' in 'www' | |
# # ==== ring_download.py START ==== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Homebrew Script for OSX | |
# To execute: save and `chmod +x ./brew-install-script.sh` then `./brew-install-script.sh` | |
echo "Installing brew..." | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
echo "Installing brew cask..." | |
brew tap homebrew/cask |