mqtt : play like http

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
mrelfire
Posts: 40
Joined: Wednesday 03 August 2016 15:12
Target OS: Windows
Domoticz version:
Contact:

mqtt : play like http

Post 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 ?
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: mqtt : play like http

Post 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" ?
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
mrelfire
Posts: 40
Joined: Wednesday 03 August 2016 15:12
Target OS: Windows
Domoticz version:
Contact:

Re: mqtt : play like http

Post by mrelfire »

unfortunately doesn't work

on http it is working
User avatar
jvdz
Posts: 2446
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: mqtt : play like http

Post by jvdz »

Looked at the MQTT sourcecode and there is no option to update the devicename as far as I can see.

Jos
mrf68

Re: mqtt : play like http

Post by mrf68 »

Isn’t is possible for mqtt to open the url that works?

Martin
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest