I hope you have an public an private key already. If not there a lot of manuals out there who explain that very well.
I would like to use gpg version 2 which supports gpg agent.
pkgin in gnupg2
#!/bin/sh | |
### | |
# SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer) | |
# For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos | |
### | |
# Alot of these configs have been taken from the various places | |
# on the web, most from here | |
# https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx |
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%C(bold blue)<%an>%Creset' --abbrev-commit" | |
from http://fredkschott.com/post/2014/02/git-log-is-so-2005/ |
fan: | |
- platform: template | |
fans: | |
template_bedroom_fan: | |
friendly_name: "Master Bedroom Fan" | |
# Measures the power use from a Shelly1 PM and if over 3W, marks the fan as on | |
value_template: "{% if states('sensor.bedroom_fan_shelly_power') | float > 3 %}on{% else %}off{% endif %}" | |
# Uses the Shelly1 PM sensor value to determine what speed the fan is going at. Only set to measure 1, 2 & 3 | |
speed_template: "{{ states('sensor.template_fan_speed_master') }}" | |
# Uses a fake switch from an input_boolean as the fan has no way of reporting direction back to HA |
These instructions have moved to https://github.com/emporia-vue-local/esphome