is there a way (except rules) how one Item can have two statetopics?
why?
situation: RF Bridge and bunch of door/windows contacts, bigger house so I have currently two RF bridges to be reachable for sensors far away from first one.
currently both rf bridges are sharing one topic (which is fine, but tasmota is sometimes not happy because of /STATE topic.
this is current setup
...some more cotnacts
Type contact : door_side "Door Side" [ stateTopic="home/bridge/rf/tele/RESULT", transformationPattern="REGEX:(.*B03E0?.*)∩JSONPATH:$.RfReceived.Data∩MAP:contacts.map"]
...even more contacts
If I give separated topic per RF bridge, I will never know which bridge catched response or not, so I’d end up with n-times Items as many bridges I have. And then combine them in the rule.
Doable, but not elegant.
Is there a way how to do something like
Type contact : door_side "Door Side" [ stateTopic="home/bridge/rf1/tele/RESULT", stateTopic="home/bridge/rf2/tele/RESULT", transformationPattern="REGEX:(.*B03E0?.*)∩JSONPATH:$.RfReceived.Data∩MAP:contacts.map"]
My suggestion would be to use different topics for each bridge. You only merge the information on item level by linking both channels to the same item.
I don’t see why you need a rule and dummy item but it might be that I did not understand the question correctly . You can just add another link between the item and the second bridge.