iRule  Universal Remote Control

Support Center

Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Feedback Processing with Colorado vNet

Jeremy Bodokh Aug 12, 2017 05:48PM EDT

Hello,

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:

0,ITACH,1,0
0,ITACH,2,0
0,ITACH,3,0
0,ITACH,4,0
0,ITACH,5,0
0,ITACH,9,0
0,ITACH,10,1

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.

Thanks

1 Community Answers

Best Answer
Alex Milogradov Aug 12, 2017 10:21PM EDT

Jeremy,

Starts with is 0,ITACH, This is global value since every feedback has this.
Prefix: 1,
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.


Post Your Public Answer

Your name (required)
Your email address (required)
Answer (required)

Recent Discussions

Ajax-loader-small
customer-service@iruleathome.com
https://cdn.desk.com/
false
iruleathome
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
true
Invalid characters found
/customer/en/portal/articles/autocomplete
There was an error contacting Get Satisfaction
View All
0
discussions
replies
Questions
Ideas
Problems
Praise