-
-
Notifications
You must be signed in to change notification settings - Fork 255
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add fully scripted influxdb + grafana installation
Closes #366 Partly resolves #437 This patch aims to script the installation instructions found: https://community.openhab.org/t/influxdb-grafana-persistence-and-graphing/13761
- Loading branch information
1 parent
ecf59c4
commit 2ad7cf3
Showing
2 changed files
with
241 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2ad7cf3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi There, Nice work, I am testing this on RPI3 and will share testing results shortly.
Suggestion for line 419 - update the message text "Soon this procedure will also set up the connection between them and with openHAB. For now, please follow the instructions found here:
\nhttps://community.openhab.org/t/13761/1" ... Since the new setup this code will in fact attempt to configure the connections.
2ad7cf3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There appears to be an issue with Grafana installation on RaspberryPi3B.
$ dpkg -i grafana_5.3.4_arm64.deb dpkg: error processing archive grafana_5.3.4_arm64.deb (--install): **package architecture (arm64) does not match system (armhf)** Errors were encountered while processing: grafana_5.3.4_arm64.deb
System Details
Release = Raspbian GNU/Linux 9 (stretch)
Kernel = Linux 4.14.79-v7+
Platform = Raspberry Pi 3 Model B Rev 1.2
openHAB 2.3.0-1 (Release Build)
sudo dpkg --print-architecture
armhf
uname -a
Linux openHABianPi 4.14.79-v7+ #1159 SMP Sun Nov 4 17:50:20 GMT 2018 armv7l GNU/Linux
cat /proc/cpuinfo
processor : 0
model name : ARMv7 Processor rev 4 (v7l)
BogoMIPS : 38.40
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
Perhaps a code update around lines 606 to add an architecture check and include that in the if statement to determine which package to download/install.