Home Automation with Raspberry Pi: Difference between revisions

From Wurst-Wasser.net
Jump to navigation Jump to search
Line 36: Line 36:


=== Update the Software ===
=== Update the Software ===
Use the graphical interface or some CLI (apt) tool.
Use the graphical interface or some CLI (apt) tool. Setting up WiFi might help :)


=== Set up 1-wire ===
=== Set up 1-wire ===

Revision as of 21:58, 5 December 2018

The Why Of Fry

TBD

Preparation

Parts list

• Raspberry Pi (I formerly used this Rev 2 for http://www.wurst-wasser.net/wiki/index.php/Tomat-O-Mat - I have a garden now and don’t need it anymore) • Power supply for the Pi • DHT11 (side project RaspberryPi Humidity and Temperature Sensor)

  • DS18B20 (side project RaspberryPi Temperature Sensor)
  • some resistors, cables, wires, boards, and the usual soldering equipment

Setting up the Pi

Since the Pi was running Debian Wheezy (which is AFAIK obsolete) I decided to install Raspbian Stretch.

I skipped NOOBS and did the installation myself (with help from https://www.raspberrypi.org/documentation/installation/installing-images/README.md and https://www.raspberrypi.org/documentation/installation/installing-images/mac.md ):

# diskutil list
[…]
/dev/disk5 (external, physical):
  #:                       TYPE NAME                    SIZE       IDENTIFIER
  0:     FDisk_partition_scheme                        *15.8 GB    disk5
  1:             Windows_FAT_32                         58.7 MB    disk5s1
  2:                      Linux                         15.8 GB    disk5s2
# diskutil unmountDisk /dev/disk5
Unmount of all volumes on disk5 was successful
# dd bs=1m if=2018-11-13-raspbian-stretch-full.img of=/dev/rdisk5 conv=sync
5052+0 records in
5052+0 records out
5297405952 bytes transferred in 486.102151 secs (10897722 bytes/sec)
# diskutil eject /dev/rdisk5
Disk /dev/rdisk5 ejected
#

After that, enable interfaces (ssh, camera port or 1-wire) as needed.

Update the Software

Use the graphical interface or some CLI (apt) tool. Setting up WiFi might help :)

Set up 1-wire

Set up camera