initialize
This commit is contained in:
62
LVX6048/config/powermon/powermon.yaml
Normal file
62
LVX6048/config/powermon/powermon.yaml
Normal file
@@ -0,0 +1,62 @@
|
||||
loop: 1
|
||||
|
||||
device:
|
||||
name: LVX6048 #1
|
||||
serial_number: lvx6048_1
|
||||
manufacturer: MPP Solar
|
||||
model: LVX6048
|
||||
port:
|
||||
type: usb
|
||||
path: /dev/lvx6048-1
|
||||
protocol: PI18
|
||||
|
||||
mqttbroker:
|
||||
name: <MQTT_BROKER_IP> # e.g. 10.0.0.41 (HA Mosquitto broker)
|
||||
port: 1883
|
||||
username: <MQTT_USER>
|
||||
password: <MQTT_PASSWORD>
|
||||
|
||||
commands:
|
||||
- command: GS
|
||||
trigger:
|
||||
every: 5
|
||||
outputs:
|
||||
- type: mqtt
|
||||
topic: powermon/lvx6048_1/GS
|
||||
format:
|
||||
type: hass
|
||||
discovery_prefix: homeassistant
|
||||
entity_id_prefix: lvx6048_1
|
||||
|
||||
- command: MOD
|
||||
trigger:
|
||||
every: 10
|
||||
outputs:
|
||||
- type: mqtt
|
||||
topic: powermon/lvx6048_1/MOD
|
||||
format:
|
||||
type: hass
|
||||
discovery_prefix: homeassistant
|
||||
entity_id_prefix: lvx6048_1
|
||||
|
||||
- command: PIRI
|
||||
trigger:
|
||||
every: 300
|
||||
outputs:
|
||||
- type: mqtt
|
||||
topic: powermon/lvx6048_1/PIRI
|
||||
format:
|
||||
type: hass
|
||||
discovery_prefix: homeassistant
|
||||
entity_id_prefix: lvx6048_1
|
||||
|
||||
- command: ET
|
||||
trigger:
|
||||
every: 60
|
||||
outputs:
|
||||
- type: mqtt
|
||||
topic: powermon/lvx6048_1/ET
|
||||
format:
|
||||
type: hass
|
||||
discovery_prefix: homeassistant
|
||||
entity_id_prefix: lvx6048_1
|
||||
Reference in New Issue
Block a user