Closed lorbetzki closed 2 months ago
The hostname should work. What did you set the hostname to?
I can retest here, but most of my stuff uses the hostname.
Bear in mind if prefixapp is set it is appname/hostname
HI,
I apologize, I expressed myself in a misleading way.
I can send a json like {dark: true} to hostname/setting (in my case, ac-dach/setting), but if i send without payload, i received all the existing settings to id/topic
MQTT Explorer shows
but i expected to receive the existing settings to hostname/setting
Best Regards
Ah, I see. That may be a documentation omission. That is deliberate.
Unlike command
and info
/status
messages which have a clear direction, the setting
is used to set settings, but it did not fit well to make this setting dump response something different. As such the response is the same as the setting command. Not ideal design, I agree. But only matters when two devices have the same hostname, for example, as each will see the response as address to them to change settings.
I'\ll update documentation.
Hello,
i'm not really sure if this is a bug, but in your advanced.md i found this section
but i cannot send setting/hostname i need to send setting/ID. If i enable "prefixhost" in the advanced settings it turns to
ID/setting, but i expect hostname/setting like the image said on the "prefixhost"-line
And now to the initial question, is it a bug or is it intentional?
Best regards