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
253 stars 58 forks source link

How to use MQTT_PREFIX HOSTNAME? #156

Closed testkandidat closed 10 months ago

testkandidat commented 10 months 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 10 months 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 10 months ago

I assume solved. I will close this one