This repository was archived by the owner on Mar 28, 2026. It is now read-only.
forked from pdmct/solarmax-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.json
More file actions
45 lines (45 loc) · 1.29 KB
/
config.json
File metadata and controls
45 lines (45 loc) · 1.29 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
{
"name": "Solarmax to MQTT",
"version": "1.1.0",
"slug": "solarmax-mqtt",
"description": "Solarmax inverter to MQTT bridge with Home Assistant auto-discovery",
"url": "https://github.com/oschick/solarmax-agent",
"startup": "application",
"boot": "auto",
"arch": ["armhf", "armv7", "aarch64", "amd64", "i386"],
"map": ["config:rw"],
"options": {
"inverter_ip": "192.168.1.100",
"inverter_port": 12345,
"update_interval": 30,
"mqtt_host": "core-mosquitto",
"mqtt_port": 1883,
"mqtt_username": "",
"mqtt_password": "",
"device_name": "Solarmax Inverter",
"device_id": "solarmax_inverter",
"home_assistant_discovery": true,
"discovery_prefix": "homeassistant",
"mqtt_topic_prefix": "solarmax",
"log_level": "INFO"
},
"schema": {
"inverter_ip": "str",
"inverter_port": "int(1,65535)",
"update_interval": "int(5,3600)",
"mqtt_host": "str",
"mqtt_port": "int(1,65535)",
"mqtt_username": "str?",
"mqtt_password": "password?",
"device_name": "str",
"device_id": "str",
"home_assistant_discovery": "bool",
"discovery_prefix": "str",
"mqtt_topic_prefix": "str",
"log_level": "list(DEBUG|INFO|WARNING|ERROR)?"
},
"services": ["mqtt:want"],
"environment": {
"LOG_FORMAT": "{LEVEL}: {MESSAGE}"
}
}