Skip to content

Instantly share code, notes, and snippets.

View bisand's full-sized avatar

André Biseth bisand

View GitHub Profile
@bisand
bisand / raspi-timemachine.sh
Last active January 4, 2018 21:46
A script for installing Apple Time Machine server on a Raspberry Pi
#!/bin/bash
# Inspired by an article from:
# https://www.howtogeek.com/276468/how-to-use-a-raspberry-pi-as-a-networked-time-machine-drive-for-your-mac/
#
# 1. The first thing you need to do is prepare the external drive to work with Time Machine. Plug the drive into your Mac,
# then launch Disk Utility. Select your external drive, then click the “Erase” button.
# You’re going to want to format the drive as “Mac OS Extended”, also known as HFS+.
#
# 2. Next, we’re going to want to ensure that your Raspberry Pi, and every device, will have permission to control the drive.
# Head to the Finder, then right-click the drive in the sidebar. Click “Get Info”.
@bisand
bisand / centos7_timechine.sh
Last active November 9, 2017 13:09 — forked from darcyliu/centos7_timechine.sh
Install Time Machine service on CentOS 7
# Install Time Machine service on CentOS 7 (i386)
# http://netatalk.sourceforge.net/wiki/index.php/Netatalk_3.1.7_SRPM_for_Fedora_and_CentOS
# http://confoundedtech.blogspot.com/2011/07/draft-draft-ubuntu-as-apple-time.html
yum install -y rpm-build gcc make wget
# install netatalk
yum install -y avahi-devel cracklib-devel dbus-devel dbus-glib-devel libacl-devel libattr-devel libdb-devel libevent-devel libgcrypt-devel krb5-devel mysql-devel openldap-devel openssl-devel pam-devel quota-devel systemtap-sdt-devel tcp_wrappers-devel libtdb-devel tracker-devel
yum install -y bison docbook-style-xsl flex dconf
@bisand
bisand / README.md
Created September 16, 2019 07:14
Tibber Pulse - Home energy monitor

Tibber Pulse - Home energy monitor

General

Use this flow as an example for how to monitor home energy consumtion using Tibber Pulse, Node-Red and Grafana.

For more information, see node-red-contrib-tibber-api

Resources