2023-08-19 20:31:02 +00:00
|
|
|
{
|
|
|
|
"name-check": {
|
|
|
|
"$path-prefix": "",
|
|
|
|
"$groups": {
|
2023-08-21 20:11:14 +00:00
|
|
|
"power-toggle": [
|
|
|
|
"/^((power|pwr)[_\\s]*)?(toggle)?$/",
|
|
|
|
"/^((power|pwr)[_\\s]*)?((on[_\\/\\s]*off)|(off[_\\/\\s]*on)|toggle)$/",
|
|
|
|
"/^(turn[_\\s]*)?((on[_\\/\\s]*off)|(off[_\\/\\s]*on))$/"
|
|
|
|
],
|
|
|
|
"power-off": [
|
|
|
|
"/^((power|pwr)[_\\s]*)?off$/",
|
|
|
|
"/^(turn[_\\s]*)?(off)$/"
|
|
|
|
],
|
|
|
|
"power-on": [
|
|
|
|
"/^((power|pwr)[_\\s]*)?on$/",
|
|
|
|
"/^(turn[_\\s]*)?(on)$/"
|
2023-08-19 20:31:02 +00:00
|
|
|
],
|
|
|
|
"vol_up": [
|
|
|
|
"/^vol(ume)?[_\\s]*(up|[\\^+])$/"
|
|
|
|
],
|
|
|
|
"vol_dn": [
|
|
|
|
"/^vol(ume)?[_\\s]*(d(o?w)?n|[v\\-])$/"
|
|
|
|
],
|
|
|
|
"ch_next": [
|
|
|
|
"/^ch(an(nel)?)?[_\\s]*(up|[\\^+])$/"
|
|
|
|
],
|
|
|
|
"ch_prev": [
|
|
|
|
"/^ch(an(nel)?)?[_\\s]*(d(o?w)?n|[\\v-])$/"
|
|
|
|
],
|
|
|
|
"mute": [
|
|
|
|
"mute",
|
|
|
|
"mte",
|
|
|
|
"/^mute.*$/"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"TVs/*": {
|
|
|
|
"Power": [
|
2023-08-21 20:11:14 +00:00
|
|
|
"$group:power-toggle"
|
|
|
|
],
|
|
|
|
"Power_off": [
|
|
|
|
"$group:power-off"
|
|
|
|
],
|
|
|
|
"Power_on": [
|
|
|
|
"$group:power-on"
|
2023-08-19 20:31:02 +00:00
|
|
|
],
|
|
|
|
"Vol_up": [
|
|
|
|
"$group:vol_up"
|
|
|
|
],
|
|
|
|
"Vol_dn": [
|
|
|
|
"$group:vol_dn"
|
|
|
|
],
|
|
|
|
"Ch_next": [
|
|
|
|
"$group:ch_next"
|
|
|
|
],
|
|
|
|
"Ch_prev": [
|
|
|
|
"$group:ch_prev"
|
|
|
|
],
|
|
|
|
"Mute": [
|
|
|
|
"$group:mute"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"ACs/*": {
|
|
|
|
"Off": [
|
2023-08-21 20:11:14 +00:00
|
|
|
"$group:power-off"
|
2023-08-19 20:31:02 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"Audio_Receivers/*,SoundBars/*,Speakers/*": {
|
|
|
|
"Power": [
|
2023-08-21 20:11:14 +00:00
|
|
|
"$group:power-toggle"
|
|
|
|
],
|
|
|
|
"Power_off": [
|
|
|
|
"$group:power-off"
|
|
|
|
],
|
|
|
|
"Power_on": [
|
|
|
|
"$group:power-on"
|
2023-08-19 20:31:02 +00:00
|
|
|
],
|
|
|
|
"Vol_up": [
|
|
|
|
"$group:vol_up"
|
|
|
|
],
|
|
|
|
"Vol_dn": [
|
|
|
|
"$group:vol_dn"
|
|
|
|
],
|
|
|
|
"Mute": [
|
|
|
|
"$group:mute"
|
|
|
|
]
|
2024-10-07 22:18:00 +00:00
|
|
|
},
|
|
|
|
"LED_Lighting/*": {
|
|
|
|
"Power_off": [
|
|
|
|
"$group:power-off"
|
|
|
|
],
|
|
|
|
"Power_on": [
|
|
|
|
"$group:power-on"
|
|
|
|
],
|
|
|
|
"Brightness_up": [
|
|
|
|
"/^(b|bright(ness|en)?|light|lum|dim(mer)?)[_\\s]*(up|\\+|high|more|max|full[_\\s]*up)$/",
|
|
|
|
"/^more[_\\s]*lights?$/",
|
|
|
|
"/^b[4r]$/",
|
|
|
|
"+"
|
|
|
|
],
|
|
|
|
"Brightness_dn": [
|
|
|
|
"/^(b|bright(ness|en)?|light|lum|dim(mer)?)[_\\s]*(down|\\-|low|min(us)?|less|full[_\\s]*down)$/",
|
|
|
|
"/^less[_\\s]*lights?$/",
|
|
|
|
"b1",
|
|
|
|
"-"
|
|
|
|
],
|
|
|
|
"Red": [
|
|
|
|
"/^r(ed)?[_\\s]*(0|1|only)?$/",
|
|
|
|
"/^light[_\\s]*r(ed)?$/"
|
|
|
|
],
|
|
|
|
"Green": [
|
|
|
|
"/^g(reen)?[_\\s]*(0|1|only)?$/",
|
|
|
|
"/^light[_\\s]*g(reen)?$/"
|
|
|
|
],
|
|
|
|
"Blue": [
|
|
|
|
"/^b(lue)?[_\\s]*(0|1|only)?$/",
|
|
|
|
"/^light[_\\s]*b(lue)?$/",
|
|
|
|
"/^b$/"
|
|
|
|
],
|
|
|
|
"White": [
|
|
|
|
"/^w(hite)?[_\\s]*(1|only)?$/",
|
|
|
|
"/^warm[_\\s]*w(hite)?$/",
|
|
|
|
"/^whitish$/"
|
|
|
|
]
|
2023-08-19 20:31:02 +00:00
|
|
|
}
|
|
|
|
}
|
2023-08-21 20:11:14 +00:00
|
|
|
}
|