-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsolarpy-default.cfg
More file actions
108 lines (95 loc) · 2.53 KB
/
Copy pathsolarpy-default.cfg
File metadata and controls
108 lines (95 loc) · 2.53 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
[program]
#If no logfile is given, logging to stdout and stderror
#logfile=./solarpy.log
#logbackupcount=3
# How to get PV-Data: restapi, ifcardeasy, simulation, sma
#datasource=ifcardeasy
#datasource=restapi
#datasource=sma
datasource=simulation
#Only relevant if [program]datasource=ifcardeasy
[fronius]
comport=COM3
baudrate=19200
#Only relevant if [program]datasource=sma
[sma]
ip=192.168.15.165
port=502
unit=3
# TODO: implement the following Parameter
#dashvaluesurl=https://192.168.15.165/dyn/getDashValues.json
#totalcounterjson=01B8-xxxxx731.6400_0046C300.9.0.val
# Set to 0 if you dont have the counter value handy. correct counting takes up to 24h then.
#pwrdaycounterstart=249593
#pwrdaycounterstartdate=2025-05-18
#Only relevant if [program]datasource=restapi
[restapi]
host=http://127.0.0.1
url=/rawdata.html
[weather]
#set to False to switch weather feature off
enabled=False
# Quelle der Wetterdaten: wunderground, ecowitt
source=ecowitt
url=https://api.ecowitt.net/api/v3/device/real_time?application_key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&api_key=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx&mac=C4:5B:BE:FF:FF:FF&call_back=all
# url=http://127.0.0.1/weatherdata.txt
user=user
password=<secret>
#the height of the weatherstation in meter
wsheight=222
[influx]
#set to False to switch influxdb feature off
enabled=True
host=127.0.0.1
port=8086
user=admin
password=secret
database=pvtest
#Intervall for saving data in seconds. Set to 0 to turn off saving in intervalls.
interval=120
[influx2]
#set to False to switch influxdb2 feature off
enabled=True
host=192.168.15.238
port=8086
org=private
token=xxxxxxxxxxxxxxxxxxxxhBZYgSQ9pq54QQcccnOhfdD0MajnULYAZezTys_Zjdbc0ixxxxxxxxxxxxxxxxxxxx==
bucket=PVTest
#Intervall for saving data in seconds. Set to 0 to turn off saving in intervalls.
interval=120
[mysql]
#set to False to switch mysql feature off
enabled = True
host=127.0.0.1
port=3306
user=user
password=secret
database=pvtest
tablename=Data
#Intervall for saving data in seconds. Set to 0 to turn off saving in intervalls.
interval=120
[mqtt]
#set to False to switch mqtt feature off
enabled=True
broker=test.mosquitto.org
id=SolarPyDefault1
port=1880
user=user
password=secret
#Intervall for saving data in seconds. Set to 0 to turn off saving in intervalls.
interval=120
keepalive=60
basetopic=solarpy/pv000001/
[httpserver]
enabled=True
srvaddress=127.0.0.1
port=8080
directory=./templates
[webcam]
enabled=True
url=http://localhost:80/image.jpg
#username=admin
#password=secret
saveinterval=120
ttffile=./Roboto-Regular.ttf
savedirectory=./templates/public/webcam/