diff --git a/src/public/vendor/detector.js b/src/public/vendor/detector.js index 4fb24db..8fee5d9 100644 --- a/src/public/vendor/detector.js +++ b/src/public/vendor/detector.js @@ -60,7 +60,8 @@ var Types = { windowTilt: 'windowTilt', weatherCurrent: 'weatherCurrent', weatherForecast: 'weatherForecast', - warning: 'warning' + warning: 'warning', + zhiban: 'zhiban' }; // Description of flags @@ -500,6 +501,19 @@ function ChannelDetector() { patternError ], type: Types.info + }, + + //onc ext + zhiban: { + states: [ + {role: /zhiban/, indicator: false, write: false, type: 'number', name: 'ACTUAL', required: true}, + {role: /zhiban$/, indicator: false, write: false, type: 'number', name: 'SECOND', required: false}, + patternUnreach, + patternLowbat, + patternMaintain, + patternError + ], + type: Types.zhiban } };