Mqtt2Mqtt icon indicating copy to clipboard operation
Mqtt2Mqtt copied to clipboard

Topics parsing

Open jsponz opened this issue 3 years ago • 16 comments

I have a topic with name "display_targettemperature" and it is ignored. Other topics without "_" work. Is there any limitation here? Special characters in the name of the topics?

Thanks

jsponz avatar Jul 19 '20 17:07 jsponz

there shouldn't be any limitation on topic names. Are you using maps with wildecards or functions?

robertsLando avatar Jul 20 '20 08:07 robertsLando

I am using wildecards.

Original topic is: "node/kitchen/1234/display_targettemperature" and I am using "node/+/+/+", but I only miss the topic with "_"

jsponz avatar Jul 20 '20 08:07 jsponz

if you remove the _ does it work? (just for testing)

robertsLando avatar Jul 20 '20 08:07 robertsLando

Yes

jsponz avatar Jul 20 '20 09:07 jsponz

@jsponz could you pull latest commit and try again?

robertsLando avatar Jul 20 '20 09:07 robertsLando

sure. I will test it this afternoon at home :-)

Thanks!

jsponz avatar Jul 20 '20 10:07 jsponz

Same result :-(

jsponz avatar Jul 22 '20 06:07 jsponz

@jsponz Culd you tell me how you configured that map? A screenshot or/and the json export would be good

robertsLando avatar Jul 22 '20 06:07 robertsLando

@jsponz I'm not able to reproduce your bug, are you sure you added the map to the client? Maybe you have created the map but you forgot to assign it to client

robertsLando avatar Jul 22 '20 07:07 robertsLando

See below.

Thanks!

2020-07-22 12_24_55-MQTT To MQTT

2020-07-22 12_25_24-MQTT To MQTT

2020-07-22 12_25_46-MQTT To MQTT

2020-07-22 12_26_03-MQTT To MQTT

2020-07-22 12_26_17-MQTT To MQTT

jsponz avatar Jul 22 '20 10:07 jsponz

@jsponz Do you get a log when you receive the message on the console?

robertsLando avatar Jul 22 '20 12:07 robertsLando

Yes, but I need to check and get back to you.

jsponz avatar Jul 22 '20 12:07 jsponz

Because I have created the exactly same map on my instance and it is working, dunno why it's not on yours. I have also released a new version, give that a try too

robertsLando avatar Jul 22 '20 12:07 robertsLando

Could you send me your screenshots? I mean when you configure my settings. Thanks!

I am trying with the last version (1.2.5)

jsponz avatar Jul 22 '20 17:07 jsponz

Could you send me your screenshots? I mean when you configure my settings. Thanks!

It's exactly the same as yours. I sugges to try to remove all maps and use just the one that you need to see if it's something weird caused by others, also you could also try to recreate that map and double check the topic is correct. For what I saw there is not reason that could cause that behaviour

robertsLando avatar Jul 23 '20 07:07 robertsLando

Ok. I will do it and get back to you.

Thanks!

jsponz avatar Jul 23 '20 07:07 jsponz