-
Notifications
You must be signed in to change notification settings - Fork 1
/
INSTALL
133 lines (100 loc) · 3.2 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
Raspberry Pi OS (bullseye)
##########################
To install pihome "master":
---------------------------
Install with "Add / Remove Software"
====================================
lighttpd
Install with "pip3 install -U"
==============================
sqlitedict
Install homematicip-rest-api
============================
See https://homematicip-rest-api.readthedocs.io/en/latest/gettingstarted.html
Install Enviro Plus
===================
git clone https://github.com/pimoroni/enviroplus-python.git enviro
cd enviro
sudo ./install.sh
Install PiGlow
==============
sudo raspi-config
- activate I2C interface
sudo apt-get install python3-smbus libi2c-dev
From https://github.com/pimoroni/piglow:
- curl -sS https://get.pimoroni.com/piglow | bash
From https://github.com/benleb/PyGlow
- cd PyGlow && git checkout v0.2
- sudo python setup.py install
reboot!
Raspbian Wheezy
###############
To install pihome v1.1:
-----------------------
Install latest 3.x kernel (3.18.16+)
====================================
sudo apt-get update
sudo apt-get upgrade
sudo rpi-update d3e6f4a2
Install BlueZ 5.42
==================
sudo apt-get install libdbus-1-dev libglib2.0-dev automake libudev-dev libical-dev libreadline-dev
wget https://www.kernel.org/pub/linux/bluetooth/bluez-5.42.tar.gz
tar xvf bluez-5.42.tar.gz
cd bluez-5.42
./configure --disable-systemd
make
sudo make install
sudo cp attrib/gatttool /usr/local/bin/gatttool542
Install pexpect 3.3
===================
sudo apt-get install python-dev
git clone https://github.com/pexpect/pexpect.git
cd pexpect
git checkout 3.3
sudo python setup.py install
Install lighttpd
================
sudo apt-get install lighttpd
Install PiGlow
==============
sudo raspi-config (navigate to Advanced Options, then I2C and answer Yes to both questions)
sudo apt-get install python-smbus libi2c-dev
curl get.pimoroni.com/i2c | bash
reboot!
git clone https://github.com/benleb/PyGlow.git
cd PyGlow && git checkout v0.2
sudo python setup.py install
Use thingspeak cloud logging
############################
See https://thingspeak.com
thingspeak.py together with thingspeak.conf maps values to either
a thingspeak channel field or a bit within a channel field.
Texas Instruments SensorTag
###########################
Install SensorTag-FW:
---------------------
Install latest SensorTag firmware (V1.5) with iOS SensorTag-App.
Install SensorTag 2.0-FW:
-------------------------
Install latest SensorTag firmware (V1.3) with iOS SensorTag-App.
RedBearLab BLEMini
##################
Install Biscuit-FW
==================
See http://http://redbearlab.com/blemini/
and https://github.com/RedBearLab/Biscuit.git.
Install Biscuit-UART_20140409 from revision 1f6832fc.
Texas Instruments Launchpad MSP430G2552
#######################################
Download sketch ./Launchpad/blemini_digitalread to Launchpad with MSP430G2552
=============================================================================
Download sketch with Energia 0101E0015.
Arduino Nano
############
Download sketch ./Arduino/blemini_digitalread to Arduino
========================================================
Download sketch with Arduino 1.0.5.
Wiring of Arduino Nano / Launchpad with BLEMini
###############################################
TODO