Skip to content

Commit 5bb74f1

Browse files
authored
Merge pull request #235 from theyosh/development
New release
2 parents f06a9d7 + 8913506 commit 5bb74f1

28 files changed

+1459
-1740
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,6 @@
1616
[submodule "chirp-rpi"]
1717
path = chirp-rpi
1818
url = https://github.com/ageir/chirp-rpi.git
19+
[submodule "hls-proxy"]
20+
path = hls-proxy
21+
url = https://github.com/Viblast/hls-proxy.git

CHANGELOG.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,52 @@ Changelog
22
=========
33

44

5+
3.9.3 (2018-12-27)
6+
------------------
7+
8+
**New**
9+
------
10+
- Add more precise values in gauge graphs. [#227](https://github.com/theyosh/TerrariumPI/issues/227). [TheYOSH]
11+
- Add missing translations. [#226](https://github.com/theyosh/TerrariumPI/issues/226). [TheYOSH]
12+
- Add helper for live hls webcam [#223](https://github.com/theyosh/TerrariumPI/issues/223). [TheYOSH]
13+
- Add remote HLS live streaming webcams. [#223](https://github.com/theyosh/TerrariumPI/issues/223). [TheYOSH]
14+
15+
**Fixes**
16+
------
17+
- Fix bluetooth scanning. [TheYOSH]
18+
- Fix watertank measurement based on sensor type. [TheYOSH]
19+
- Fix OWFS sensors. [TheYOSH]
20+
- Fix empty sudoers file due to missing username. [#228](https://github.com/theyosh/TerrariumPI/issues/228). [TheYOSH]
21+
- Fix raw webcam image link. [#223](https://github.com/theyosh/TerrariumPI/issues/223). [TheYOSH]
22+
- Notification fix. [TheYOSH]
23+
- Fix pH indicator. [#227](https://github.com/theyosh/TerrariumPI/issues/227). [TheYOSH]
24+
25+
**Updates**
26+
------
27+
- Update Dutch language. [TheYOSH]
28+
- Update environment sensors after upgrade. [TheYOSH]
29+
- Update live webcam streaming. [TheYOSH]
30+
- Update sensor refactoring. [TheYOSH]
31+
- Update README.md. [TheYOSH]
32+
33+
**Other**
34+
------
35+
- Allow 30 seconds timer. Lower values are not possible. [#231](https://github.com/theyosh/TerrariumPI/issues/231). [TheYOSH]
36+
- Remove debug. [#227](https://github.com/theyosh/TerrariumPI/issues/227). [TheYOSH]
37+
- Return of the minimal 90dB receiver level for Bluetooth devices.
38+
[TheYOSH]
39+
- Cleanup webcam code. [TheYOSH]
40+
- Write webcam images data to memory to save SD card wearing. Only
41+
archived images will be saved on the SD card. [TheYOSH]
42+
- Full sensors code refactor... [#202](https://github.com/theyosh/TerrariumPI/issues/202). [TheYOSH]
43+
- Finetuning rate limits. [TheYOSH]
44+
- Code cleanup. [TheYOSH]
45+
- Remove timebar from live webcam. [TheYOSH]
46+
- Uninstall incompatible python3 pip numpy. [TheYOSH]
47+
- Finetuning... [TheYOSH]
48+
- Support LED dimming through DC Dimmer switch. [#200](https://github.com/theyosh/TerrariumPI/issues/200). [TheYOSH]
49+
50+
551
3.9.1 (2018-12-08)
652
------------------
753

@@ -34,6 +80,7 @@ Changelog
3480

3581
**Updates**
3682
------
83+
- Update changelog. [TheYOSH]
3784
- Update version. [TheYOSH]
3885
- Update translations. [TheYOSH]
3986
- Update README.md. [TheYOSH]
@@ -50,6 +97,9 @@ Changelog
5097

5198
**Other**
5299
------
100+
- Merge pull request [#224](https://github.com/theyosh/TerrariumPI/issues/224) from theyosh/development. [TheYOSH]
101+
102+
New release 3.9.1
53103
- Code cleanup. [TheYOSH]
54104
- Remove debug. [TheYOSH]
55105
- Merge branch 'master' into development. [TheYOSH]
@@ -1933,3 +1983,5 @@ Changelog
19331983
- Living on the edge.... use latest beta of Leaflet. [TheYOSH]
19341984
- Initial release. [TheYOSH]
19351985
- Initial commit. [TheYOSH]
1986+
1987+

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# TerrariumPI 3.9.1
1+
# TerrariumPI 3.9.3
22
Software for cheap home automation of your reptile terrarium or any other enclosed environment. With this software you are able to control for example a terrarium so that the temperature and humidity is of a constant value. Controlling the temperature can be done with heat lights, external heating or cooling system. As long as there is one temperature sensor available the software is able to keep a constant temperature.
33

44
For humidity control there is support for a spraying system. The sprayer can be configured to spray for an X amount of seconds and there is a minumal period between two spray actions. Use at least one humitidy sensors to get a constant humidity value. In order to lower the humidity you can add a dehumidifier.

defaults.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[terrariumpi]
22
host = ::
33
port = 8090
4-
version = 3.9.1
4+
version = 3.9.3
55
title = TerrariumPI %(version)s
66
power_usage = 5
77
owfs_port = 4304

hls-proxy

Submodule hls-proxy added at 973566d

install.sh

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
#!/bin/bash
22
BASEDIR=$(dirname $(readlink -nf $0))
33
SCRIPT_USER=`who -m | awk '{print $1}'`
4+
if [ "" == "${SCRIPT_USER}" ]; then
5+
SCRIPT_USER="pi"
6+
fi
47
SCRIPT_USER_ID=`id -u ${SCRIPT_USER}`
58
VERSION=`grep ^version defaults.cfg | cut -d' ' -f 3`
69
WHOAMI=`whoami`
@@ -60,7 +63,7 @@ fi
6063

6164
debconf-apt-progress -- apt-get -y update
6265
debconf-apt-progress -- apt-get -y full-upgrade
63-
debconf-apt-progress -- apt-get -y install libftdi1 screen git subversion watchdog build-essential i2c-tools pigpio owserver sqlite3 vlc-nox ffmpeg libasound2-dev sispmctl lshw libffi-dev ntp libglib2.0-dev rng-tools libcblas3 libatlas3-base libjasper1 libgstreamer0.10-0 libgstreamer1.0-0 libilmbase12 libopenexr22 libgtk-3-0 libxml2-dev libxslt1-dev $PYTHON_LIBS
66+
debconf-apt-progress -- apt-get -y install libftdi1 screen git subversion watchdog build-essential i2c-tools pigpio owserver sqlite3 vlc-nox ffmpeg libasound2-dev sispmctl lshw libffi-dev ntp libglib2.0-dev rng-tools libcblas3 libatlas3-base libjasper1 libgstreamer0.10-0 libgstreamer1.0-0 libilmbase12 libopenexr22 libgtk-3-0 libxml2-dev libxslt1-dev python-twisted $PYTHON_LIBS
6467

6568
PROGRESS=35
6669
# Update submodules if downloaded through tar or zip
@@ -137,6 +140,13 @@ EOF
137140

138141
done
139142

143+
if [ $PYTHON -eq 3 ]; then
144+
# Remove pip numpy install that comes with an upgrade of another module. Does not work
145+
# Removing this will fallback to OS default
146+
pip3 uninstall -y -q numpy
147+
fi
148+
149+
140150
cd "${BASEDIR}"
141151
chown ${SCRIPT_USER}. .
142152
chown ${SCRIPT_USER}. * -Rf
306 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)