absalom-muc / MHI-AC-Ctrl

Reads and writes data (e.g. power, mode, fan status etc.) from/to a Mitsubishi Heavy Industries (MHI) air conditioner (AC) via SPI controlled by MQTT
MIT License
279 stars 62 forks source link

How to use MQTT_PREFIX HOSTNAME? #156

Closed testkandidat closed 1 year ago

testkandidat commented 1 year ago

Hello,

i set #define MQTT_PREFIX HOSTNAME "/ac_dg" and i am not sure how the resulting publishing path looks like after setting this option.

absalom-muc commented 1 year ago

Assumed that HOSTNAME is still "MHI-AC-Ctrl" then it will be "MHI-AC-Ctrl/ac_dg"

You could also just test it e.g. by using the MQTT Explorer

glsf91 commented 1 year ago

I assume solved. I will close this one