-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.example
33 lines (27 loc) · 1.02 KB
/
.env.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# There are two ways to get data from Shelly devices:
# 1. Direct connection to the device
# 2. Using the Shelly cloud
# You can choose one of the two methods by commenting out the other.
# Alternative 1: Direct connection to the device
SHELLY_HOST=192.168.1.1
# Alternative 2: Using the Shelly cloud
# Use the Shelly cloud. Get Server and Auth_Key from
# https://control.shelly.cloud/#/settings/user
SHELLY_CLOUD_SERVER=https://shelly-42-eu.shelly.cloud
SHELLY_AUTH_KEY=the-long-auth-key
SHELLY_DEVICE_ID=12345abcdef0
# Interval in seconds to get data from Shelly
SHELLY_INTERVAL=5
# Credentials of your InfluxDB installation
INFLUX_HOST=influxdb.example.com
INFLUX_SCHEMA=https
INFLUX_PORT=443
INFLUX_TOKEN=my-super-secret-write-token
INFLUX_ORG=solectrus
# Customize InfluxDB storage
INFLUX_BUCKET=my-solectrus-bucket
INFLUX_MEASUREMENT=shelly
# Optional: Essential mode to reduce data sent to InfluxDB
# When enabled, it minimizes the data sent to InfluxDB
# by skipping consecutive records with zero power values.
# INFLUX_MODE=essential