I am trying to process the feedback I receive from my colorado vnet.
Each time the status of a light is changed, I receive a feedback like this:
With the last digit being the status (0,ITACH) this is always the same, then 1 for the scene (room for example), and 0 or 1 for the status.
How can I process this to turn this into feedback ? I can see the feedback displayed on the irule app but have no idea how to parse this.
For example when I receive a feedback and find this 0,ITACH,10,1 I want to display a text.
Starts with is 0,ITACH, This is global value since every feedback has this.
Target Value: 1
Replace With: is whatever you want to show in place of 1
You may want to check, but I think there is a terminating character like Carriage Return and/or Line Feed.