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
#!/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”. |
# 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 |
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