-
Notifications
You must be signed in to change notification settings - Fork 6
/
appsettings.json
105 lines (105 loc) · 2.64 KB
/
appsettings.json
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
{
"Logging": {
"PathFormat": "logs/log_{Date}.txt",
"FileSizeLimitBytes": 1048576,
"RetainedFileCountLimit": 10,
"Json": true,
"IncludeScopes": false,
"LogLevel": {
"Default": "Debug",
"System": "Warning",
"Microsoft": "Warning"
},
"Debug": {
"LogLevel": {
"Default": "Debug",
"System": "Warning",
"Microsoft": "Warning"
}
},
"Console": {
"LogLevel": {
"Default": "Debug",
"System": "Warning",
"Microsoft": "Warning"
}
}
},
"Network": {
"Proxy": {
"UseProxy": false,
"Address": "127.0.0.1",
"Port": 8080
}
},
"ConnectionStrings": {
"SmarthomeDB": "Server=(localdb)\\MSSQLLocalDB;Database=MyDatabaseName;Trusted_Connection=True;ConnectRetryCount=0"
},
"TokenStoreConfig": {
"ClassNameMapping": {
"PersistingDigitalstromAuth": "digitalstrom.GraphIoT",
"ViessmannPlatformClient": "viessmann_platform",
"ViessmannVitotrolClient": "viessmann_vitotrol",
"SonnenPortalClient": "sonnen_portal",
"WeConnectPortalClient": "we_connect"
}
},
"DigitalstromConfig": {
"PollingService": {
"Name": "Digitalstrom",
"TimerInterval": "5m"
},
"EventProcessor": {
"ItemCollectionInterval": "5s",
"DuplicateDetectionInterval": "1s"
},
"TokenAppId": "GraphIoT",
"DssUsername": "<user>",
"DssPassword": "<pass>",
"DssCertificate": "MIIC+jCCA<...base64cert...>g==",
"DssUriLocal": "https://10.0.0.1:8080",
"DssUriDsNet": "https://{CloudDssId}.digitalstrom.net:8080/",
"DssUriCloudredir": "https://cloudredir.somedomain.tld/?adr={CloudDssId}&token={CloudredirToken}&path=",
"CloudDssId": "<dssId>",
"CloudredirToken": "<redirToken>",
"UseCloudredir": false
},
"NetatmoConfig": {
"PollingService": {
"Name": "Netatmo",
"TimerInterval": "5m"
},
"Username": "<user>",
"Password": "<pass>",
"AppId": "<appId>",
"AppSecret": "<appSecret>",
"Scope": "read_station read_presence access_presence"
},
"SonnenConfig": {
"PollingService": {
"Name": "Sonnen",
"TimerInterval": "5m"
},
"ClientId": "<appId>",
"Username": "<user>",
"Password": "<pass>"
},
"ViessmannConfig": {
"PollingService": {
"Name": "Viessmann",
"TimerInterval": "5m"
},
"InstallationId": "<id>",
"GatewayId": "<id>",
"ClientId": "<appId>",
"RedirectUri": "http://localhost:4000"
},
"WeConnectConfig": {
"PollingService": {
"Name": "WeConnect",
"TimerInterval": "5m"
},
"Username": "<user>",
"Password": "<pass>"
}
}