pai icon indicating copy to clipboard operation
pai copied to clipboard

MQTT dash not published

Open lpaolini opened this issue 1 year ago • 1 comments

Alarm system

EVO192 v.7.70.1, IP150+ v.5.6

Environment

Linux, Docker

Git branch

serial_encryption

Describe the bug

metrics/exchange/pai topic is not published. I saw it for a while, but the file I had pasted in /etc/pai/mqtt_dash.txt was incomplete, so I did it again, removed the topic from MQTT and restarted PAI, but the topic never showed up again. I'm 100% sure I'm doing something silly, but I just can't see it... Probably I have overwritten the topic clicking "publish" on the MQTT Dash Android app, but shouldn't PAI recreate it?

To Reproduce

mqtt_dash.txt

[the default one in config]

pai.conf

MQTT_DASH_PUBLISH = True
MQTT_DASH_TOPIC = 'metrics/exchange/pai'
MQTT_DASH_TEMPLATE = '/etc/pai/mqtt_dash.txt'

I've double checked that /etc/pai/mqtt_dash.txt inside the Docker container contains the right file.

lpaolini avatar Jan 05 '23 18:01 lpaolini

Just use HomeAssistant =)

yozik04 avatar Jan 05 '23 21:01 yozik04