Page 1 of 1

mqtt : play like http

Posted: Thursday 23 August 2018 9:32
by mrelfire
Hi,

on HTTP we can rename device "text" to put what we want.
I have tryed the same logic on mqtt but it dosen't like it ;)

this is the log
2018-08-23 09:28:56.793 MQTT: Topic: domoticz/in, Message: {"command":"renamedevice","idx":968,"nvalue":0,"svalue":"Major Pollution : - Air Quality :48"}
2018-08-23 09:28:56.793 Error: MQTT: Unknown command received: renamedevice

please any suggestions ?

Re: mqtt : play like http

Posted: Thursday 23 August 2018 9:51
by waaren
mrelfire wrote: Thursday 23 August 2018 9:32 2018-08-23 09:28:56.793 MQTT: Topic: domoticz/in, Message: {"command":"renamedevice","idx":968,"nvalue":0,"svalue":"Major Pollution : - Air Quality :48"}
2018-08-23 09:28:56.793 Error: MQTT: Unknown command received: renamedevice
What is the result if you change "renamedevice" to "udevice" ?

Re: mqtt : play like http

Posted: Thursday 23 August 2018 13:20
by mrelfire
unfortunately doesn't work

on http it is working

Re: mqtt : play like http

Posted: Thursday 23 August 2018 13:52
by jvdz
Looked at the MQTT sourcecode and there is no option to update the devicename as far as I can see.

Jos

Re: mqtt : play like http

Posted: Saturday 25 August 2018 8:56
by mrf68
Isn’t is possible for mqtt to open the url that works?

Martin