mikelle
(Michael)
1
Hello everybody
I am currently sending data to emoncms.org with an arduino.
I want to expand my system this year and double the number of feeds.
Therefore I would like to switch to a localhost to reduce costs.
I own a raspberry 3 (no experience) and have been trying to install emoncms for days with various instructions. so far without success.
I would like to start over with the installation and hope for your support.
Question is this guide the right one for my project?
Or schould i try another?
Michael
https://emoncms.org/dashboard/view?id=44470
borpin
(Brian Orpin)
2
Welcome.
Short answer, no.
As it says at the very top of the page
mikelle
(Michael)
4
I have installed the image from this site:
https://github.com/openenergymonitor/EmonScripts/blob/master/install/readme.md
the raspberry shows emonpi login:
Whats next: " Install the EmonCMS Installation Scripts" ?
<
borpin
(Brian Orpin)
5
If you have installed the image there is not much else to do.
Nothing to install - Emoncms is preinstalled.
mikelle
(Michael)
6
that sounds good. How can I access the localhost? Do I have to adjust settings? Is there a graphic interface?
mikelle
(Michael)
7
I tried to connect via browser “http://emonpi.local/” or IP adress and get the following message
Can’t connect to database, please verify credentials/configuration in settings.ini
Error message: Connection refused
/var/www/emoncms/settings.ini
emoncms_dir = "/opt/emoncms"
openenergymonitor_dir = "/opt/openenergymonitor"
[sql]
server = "192.168.0.175"
database = "emoncms"
username = "emoncms"
password = "emonpiemoncmsmysql2016"
; Skip database setup test - set to false once database has been setup.
dbtest = true
[redis]
enabled = true
prefix = ''
[mqtt]
enabled = true
user = 'emonpi'
password = 'emonpimqtt2016'
[feed]
engines_hidden = [0,6,10]
redisbuffer[enabled] = true
redisbuffer[sleep] = 300
phpfina[datadir] = '/var/opt/emoncms/phpfina/'
phptimeseries[datadir] = '/var/opt/emoncms/phptimeseries/'
[interface]
enable_admin_ui = true
feedviewpath = "graph/"
favicon = "favicon_emonpi.png"
[log]
; Log Level: 1=INFO, 2=WARN, 3=ERROR
level = 2
borpin
(Brian Orpin)
8
You appear to have changed this - have you setup the database on this host?
mikelle
(Michael)
9
yes i have changed that from 127.0.0.1 because my raspberrys ip is on 192.168.0.175.
mistake?
mikelle
(Michael)
10
How can i setup the database on this host ?
borpin
(Brian Orpin)
11
just leave it as the local host IP