Skip to content

Commit

Permalink
Add SENEC_SCHEMA configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
ledermann committed Aug 18, 2023
1 parent 264121c commit 952b484
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 2 deletions.
2 changes: 2 additions & 0 deletions guide/external-server/README.md
Expand Up @@ -245,6 +245,7 @@ docker run \
--restart unless-stopped \
-d \
-e SENEC_HOST=[YOUR-SENEC-IP-ADDRESS] \
-e SENEC_SCHEMA=[http OR https] \
-e SENEC_INTERVAL=5 \
-e INFLUX_PORT=8086 \
-e INFLUX_HOST=[YOUR-SERVER-IP-ADDRESS] \
Expand Down Expand Up @@ -290,6 +291,7 @@ docker rm senec-collector
Check the arguments of your `docker run` command:

- Is you SENEC device responding to the IP address you defined as `SENEC_HOST`?
- Have you defined the correct `SENEC_SCHEMA` (http or https)? It's the same as you use in your browser to access your SENEC device.
- Is the InfluxDB server (see Step 1) responding to the IP address you defined as `INFLUX_HOST`?
- Did your Influx credentials given in `INFLUX_ORG`, `INFLUX_BUCKET` and `INFLUX_TOKEN` match your InfluxDB setup (see Step 1)?

Expand Down
1 change: 1 addition & 0 deletions guide/raspberry-pi/.env
Expand Up @@ -73,6 +73,7 @@ DB_VOLUME_PATH=/home/pi/solectrus/postgresql
#
# Change this to your own SENEC IP address!
SENEC_HOST=192.168.178.123
SENEC_SCHEMA=http
SENEC_INTERVAL=5

##################################################################
Expand Down
3 changes: 2 additions & 1 deletion guide/raspberry-pi/README.md
Expand Up @@ -85,9 +85,10 @@ Edit the downloaded file and change values to your needs.
nano .env
```

IMPORTANT settings, MUST be changed:
IMPORTANT settings, MUST be changed or checked:

- SENEC_HOST # Hostname or IP address of your SENEC device
- SENEC_SCHEMA # http or https, depending on the firmware running on your SENEC device
- APP_HOST # Hostname or IP address of your Raspberry Pi

Not required, but highly recommended:
Expand Down
1 change: 1 addition & 0 deletions guide/raspberry-pi/docker-compose.yml
Expand Up @@ -96,6 +96,7 @@ services:
- influxdb
environment:
- SENEC_HOST
- SENEC_SCHEMA
- SENEC_INTERVAL
- INFLUX_HOST
- INFLUX_SCHEMA
Expand Down
1 change: 1 addition & 0 deletions guide/synology/.env
Expand Up @@ -73,6 +73,7 @@ DB_VOLUME_PATH=/volume1/docker/solectrus/postgresql
#
# Change this to your own SENEC IP address!
SENEC_HOST=192.168.178.123
SENEC_SCHEMA=http
SENEC_INTERVAL=5

##################################################################
Expand Down
3 changes: 2 additions & 1 deletion guide/synology/README.md
Expand Up @@ -67,9 +67,10 @@ Edit the downloaded file and change values to your needs.
vim .env
```

IMPORTANT settings, MUST be changed:
IMPORTANT settings, MUST be changed or checked:

- SENEC_HOST # Hostname or IP address of your SENEC device
- SENEC_SCHEMA # http or https, depending on the firmware running on your SENEC device
- APP_HOST # Hostname or IP address of your Synology NAS

Not required, but highly recommended:
Expand Down
1 change: 1 addition & 0 deletions guide/synology/docker-compose.yml
Expand Up @@ -96,6 +96,7 @@ services:
- influxdb
environment:
- SENEC_HOST
- SENEC_SCHEMA
- SENEC_INTERVAL
- INFLUX_HOST
- INFLUX_SCHEMA
Expand Down

0 comments on commit 952b484

Please sign in to comment.