//////////////////////////////////////////////////////////////////////////////////////// //Decoder WIFI, CAN, RF // http://en.isys.pl/ // http://eHouse.BIZ/ ubyte type; //type must be TYPE_WIFI1=11 ubyte size; ubyte AddrH; //IP Address combined ubyte AddrL; // 192.168.AddrH.AddrL ubyte code; //'s'; //Dimmers Levels ubyte DimmerR; ubyte DimmerG; ubyte DimmerB; ubyte DimmerW; //ADC Measuremnts short ADC1; short ADC2; short ADC3; short ADC4; //ADC High Levels for Regulations short ADCH1; short ADCH2; short ADCH3; short ADCH4; //ADC Low Levels for Regulations short ADCL1; short ADCL2; short ADCL3; short ADCL4; //ADC Unit Suffix utf8 unit1; utf8 unit2; utf8 unit3; utf8 unit4; //Binary Outputs Dout bit out1; bit out2; bit out3; bit out4; bit out5; bit out6; bit out7; bit out8; //Binary Inputs DIn bit input1; bit input2; bit input3; bit input4; bit input5; bit input6; bit input7; bit input8; byte CURRENT_PROGRAM; //Program Nr. byte CURRENT_ZONE; //Security Zone Nr. byte CURRENT_ADC_PROGRAM; //ADC program byte CURRENT_PROFILE; //Program Nr. ubyte RSSI; //Signal Level ushort ActiveFrom; { "Controller Type WIFI, RF, CAN":{{type}}, "Address":"({{addrh}} , {{addrl}})", "Light Scene Nr.": {{current_program}}, "ADC Program Nr.": {{current_adc_program}}, "Active From": {{activefrom}}, "RSSI": "-{{rssi}} dBm", "Dimmer R":"{{dimmerr}} [%]", "Dimmer G":"{{dimmerg}} [%]", "Dimmer B":"{{dimmerb}} [%]", "Dimmer W":"{{dimmerw}} [%]", "ADC 1":{{#math}}{{adc1}}/10{{/math}}, "Units 1":"{{unit1}}", "ADCLow 1":{{#math}}{{adcl1}}/10{{/math}}, "ADCHigh 1": {{#math}}{{adch1}}/10{{/math}}, "ADC 2":{{#math}}{{adc2}}/10{{/math}}, "Units 2":"{{unit2}}", "ADCLow 2":{{#math}}{{adcl2}}/10{{/math}}, "ADCHigh 2": {{#math}}{{adch2}}/10{{/math}}, "ADC 3":{{#math}}{{adc3}}/10{{/math}}, "Units 3":"{{unit3}}", "ADCLow 3":{{#math}}{{adcl3}}/10{{/math}}, "ADCHigh 3": {{#math}}{{adch3}}/10{{/math}}, "ADC 4":{{#math}}{{adc4}}/10{{/math}}, "Units 4":"{{unit4}}", "ADCLow 4":{{#math}}{{adcl4}}/10{{/math}}, "ADCHigh 4": {{#math}}{{adch4}}/10{{/math}}, "DOUT 1": {{out1}}, "DOUT 2": {{out2}}, "DOUT 3": {{out3}}, "DOUT 4": {{out4}}, "DOUT 5": {{out5}}, "DOUT 6": {{out6}}, "DOUT 7": {{out7}}, "DOUT 8": {{out8}}, "DIN 1": {{input1}}, "DIN 2": {{input2}}, "DIN 3": {{input3}}, "DIN 4": {{input4}}, "DIN 5": {{input5}}, "DIN 6": {{input6}}, "DIN 7": {{input7}}, "DIN 8": {{input8}} }