Zuno 2 - Unsecure inclusion Meter CC issue

Discussion about Z-Uno product. Visit http://z-uno.z-wave.me for more details.
Post Reply
niky94547
Posts: 22
Joined: 31 May 2019 10:51

Zuno 2 - Unsecure inclusion Meter CC issue

Post by niky94547 »

Hello ZWave.Me team,

I've testing unsecure inclusion on our project and there is an issue with Meter CC . Only KWH scale interviewed correctly and report to Z-way, all other scales are not configured.

Just for reference, it's valid for all three Meter sub types Electric, Water and Gas, as only first scale (0x00 - KWH, METERS3) are configured correctly on unsecured inclusion. On S2/S0 inclusion, there is no issue.

Please find details and minimize code below:

More Info:
Z-Uno2 bootloader version:3.0.10
Security: Unsecure
Frequency:EU
Device included:yes
Device included securely by controller:no
Controller:RaZberry7 - 7.28 / Z-Way - 4.0.3 [/list]

Code: Select all

ZUNO_SETUP_CHANNELS(
 ZUNO_METER(
  ZUNO_METER_TYPE_ELECTRIC,
  METER_RESET_DISABLE,
  ZUNO_METER_ELECTRIC_SCALE_WATTS,
  METER_SIZE_TWO_BYTES,
  METER_PRECISION_ZERO_DECIMALS,
  getterSensor,
  resetterSensor
  ),
 ZUNO_METER(
  ZUNO_METER_TYPE_ELECTRIC,
  METER_RESET_DISABLE, 
  ZUNO_METER_ELECTRIC_SCALE_PULSECOUNT,
  METER_SIZE_TWO_BYTES,
  METER_PRECISION_TWO_DECIMALS,
  getterSensor,
  resetterSensor
  ),
 ZUNO_METER(
  ZUNO_METER_TYPE_ELECTRIC, 
  METER_RESET_ENABLE, 
  ZUNO_METER_ELECTRIC_SCALE_KWH, 
  METER_SIZE_TWO_BYTES, 
  METER_PRECISION_TWO_DECIMALS, 
  getterSensor,
  resetterSensor
  )
    );

word chValue = 0;

void setup() {
chValue = 1;
}

void loop() {
}

word getterSensor(void){
 return chValue;
}

void resetterSensor(byte value){
 chValue = 0;
}
Z-Way img

Thanks for your support,
Best Regards
Post Reply