ParadoxAlarmInterface / pai

Paradox Magellan, Spectra and EVO, with MQTT, Signal, Pushbullet, Pushover and others
https://gitter.im/paradox-alarm-interface
Eclipse Public License 2.0
337 stars 90 forks source link

MQTT dash not published #341

Closed lpaolini closed 3 months ago

lpaolini commented 1 year ago

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.

yozik04 commented 1 year ago

Just use HomeAssistant =)