I am pretty sure this is a simple question, I just can't wrap my head around JSON or expression to get it to do what I want. And I havent found a post or information on the node to help me.
I have successfully input MQTT message from Topic "tasmota1/stat/RESULT" and output it to "tasmota2/cmnd/Dimmer"
Thats half of what I need. The problem is the payload is
This gets read in and sent out. I need to only send the number. the "Dimmer": value will be 10-100.
Can someone help me understand how to delete out everything but the number at the end? The flow should look like
If it is possible to split the message I could get rid of my Change State node that turns on/off Dimm2 if Dimm1 is turned on/off.
Any help would be greatly welcomed!