Rules Question - Can you do "Calculations" in rules?
Posted: 27 Dec 2020, 10:55
Hi All
I have a rule that decode a mqtt event and split each of the 16 bits to switch a MCP23017 port On/Off, thanks to ThomasB - viewtopic.php?f=4&t=7988#p47122
I would like to display the "Calculated" value on a oled, each bit represent a different value, how can i:
1. Assign a value to the "bit"
2. Sum the value and make it available to display?
Is this possible, or is there another way of doing this?
Z69
I have a rule that decode a mqtt event and split each of the 16 bits to switch a MCP23017 port On/Off, thanks to ThomasB - viewtopic.php?f=4&t=7988#p47122
I would like to display the "Calculated" value on a oled, each bit represent a different value, how can i:
1. Assign a value to the "bit"
2. Sum the value and make it available to display?
Is this possible, or is there another way of doing this?
Z69