Hi All,
This might be a very newbie question but I'm struggling with the REGEX on Mosquitto Bindings.
Example:
Number temp1 "Wired Temperature 3 [%.1f C]" <temperature> (MainSpace) {mqtt="<[mymosquitto:temp:state:REGEX(TA)]" }
Number temp2 "Wired Temperature 3 [%.1f C]" <temperature> (MainSpace) {mqtt="<[mymosquitto:temp:state:REGEX(TB)]" }
I'm sending a command similar to this aTBTMPA22.00 and aTATMPA21.00 There TB or TA is the address of the sensor and 22.00 or 21.00 is temp.
Whatever I do, temp1 takes on both TA both TB and the same for temp2.
Also another question. How would I extract only the temp part once I've got it once reacting to the correct message....
This is driving me mad! :)
T