Hello,
i trz to use the HASP hardware which is described here in this forum but it is programmed with the old mqtt binding and I tried to translate it but failed…Can some one help me with this translating??
here is the old mqtt item
Number HASP_Plate01_Page "HASP Plate 01 Page Select [%d]" (HASP) {mqtt=">[broker:hasp/plate01/command/page:command:*:default]"}
my translation was
item:
Number HASP_Plate01_Page "HASP Plate 01 Page Select [%d]" (HASP) {channel="mqtt:topic:haspplate01:command_page"}
thing:
Thing mqtt:topic:haspplate01 (mqtt:broker:mosquitto) {
Type number : command_page "command_page" [ stateTopic="hasp/plate01/command/page"]
}
but failed is this correct??
my mqtt broker is working for other topics already…
No idea; I don’t know what you are trying to achieve.
Your original single v1 Item had only an outgoing binding link.
stateTopic is for listening to incoming messages.
What’s the follow profile for?
What’s the expires= parameter in your Thing channel? No mention of that in binding docs; you can’t just make syntax up…