Like all my other servers, I'm running a bare install, no GUI. Only SSH and reef-pi's webserver will be running.
I wasn't able to get reef-pi running using either precompiled pi3 or pizero builds, but I was able to compile from git myself.
At the moment, reef-pi runs, and says "listening on localhost:8080". I've modified the test configuration to listen on 0.0.0.0:8080, however the builtin webserver is still only listing on localhost.
I've already modified the "address", and both "interface" options to reflect the ethernet ports listed using ifconfig.
My current config:
Code:
---
database: "reef-pi.db"
address: 0.0.0.0:8080
system:
enable: true
interface: enxb827ebf47fe0
display: false
dev_mode: true
name: controller
equipments:
enable: true
dev_mode: true
outlets:
AC1:
pin: 12
AC2:
pin: 13
lighting:
enable: true
dev_mode: true
jacks:
SingleChannel:
pins:
- 24
DoubleChannel:
pins:
- 21
- 23
camera:
enable: true
timers:
enable: true
ato:
enable: false
dev_mode: true
sensor: 12
check_interval: 5
control: true
pump: 16
temperature:
enable: true
min: 77
max: 79
check_interval: 60
heater: 14
cooler: 17
adafruitio:
enable: false
token: xxx
user: xxx
feed: temperature
enable_gpio: true
enable_pwm: true
database: "reef-pi.db"
api:
enable_auth: false
auth:
id: 35adsjfaksjfdhks5eun435b.apps.googleusercontent.com
secret: adqwieuqiwue
callback_url: http://localhost:8088/auth/callback/google
domain: example.com
users:
- foobar
gomni_auth_secret: sadfhsadfkh238asdf
image_directory: /var/lib/reef-pi/images
interface: enxb827ebf47fe0
display: false