Razberry controller does not recognize Z-Uno FLIRS device

Discussions about RaZberry - Z-Wave board for Raspberry computer
Post Reply
rishamee
Posts: 5
Joined: 24 Aug 2018 18:56

Razberry controller does not recognize Z-Uno FLIRS device

Post by rishamee » 06 Jan 2019 11:34

Hi all,

I have a problem when I add a Z-Uno FLIRS-device to my Razberry ZWay controller.

It did work in the past, but now after inclusion in de ZWay-expert-UI the device is shown as Mains, Routing Multilevel Sensor.

I think the problem started after the upgrade to 2.3.8

Some techncal details:

Z-Uno bootloader version: 2.1.3, AND 2.1.4 (both the same behaviour, unless that with 2.1.4 the device is not listed under Device/Battery)
Security: none
Frequency: EU
Device included: yes

Z-Uno config parms (1, 11, 12): all default

Interview result classes (all OK):
Basic, SensorMultilevel, AssociationGroupInformation, DeviceResetLocally, ZWavePlusInfo, MultiChannel, Configuration, ManufacturerSpecific, PowerLevel, FirmwareUpdate, Battery, Association, Version, MultiChannelAssociation, SensorMultilevel, SensorMultilevel

Controller info:
Hardware: RaZberry by Z-Wave.Me
Firmware: SDK Version: 6.71.01, Serial API Version: 05.23
Software Version number: v2.3.8

Code snippet:

Code: Select all

#define TEMPSENSORCHANNEL 2
#define SUNSENSORCHANNEL 1

ZUNO_SETUP_CHANNELS(
        ZUNO_SENSOR_MULTILEVEL(ZUNO_SENSOR_MULTILEVEL_TYPE_GENERAL_PURPOSE_VALUE, 
                          SENSOR_MULTILEVEL_SCALE_PERCENTAGE_VALUE,
                          SENSOR_MULTILEVEL_SIZE_TWO_BYTES,
                          SENSOR_MULTILEVEL_PRECISION_ONE_DECIMAL,
                          sunGetter),
        ZUNO_SENSOR_MULTILEVEL(ZUNO_SENSOR_MULTILEVEL_TYPE_TEMPERATURE, 
                          SENSOR_MULTILEVEL_SCALE_CELSIUS, 
                          SENSOR_MULTILEVEL_SIZE_TWO_BYTES, 
                          SENSOR_MULTILEVEL_PRECISION_ONE_DECIMAL,
                          tempGetter));                        

ZUNO_SETUP_SLEEPING_MODE(ZUNO_SLEEPING_MODE_FREQUENTLY_AWAKE);
ZUNO_SETUP_CFGPARAMETER_HANDLER(config_changed);

void setup() {
  delay(200);
}

void loop() {
  zunoSendReport(SUNSENSORCHANNEL);
  zunoSendReport(TEMPSENSORCHANNEL);

  zunoSetBeamCountWU(240);
  zunoSendDeviceToSleep();
}

int sunGetter() {
  return 123;
}

int tempGetter() {
   return 200;
}

void config_changed(byte param, unsigned long* value) {
}
The Z-Uno works as FLIRS-device, it sends reports every 240 (zunoSetBeamCountWU) seconds. But is does not accept commands from the controller, unless I bring it in rescue-mode.

Does somebodyhave an idea what is going wrong?

(I have the same problem adding sleeping (battery) devices!!)

K.R.
rishamee

User avatar
PoltoS
Posts: 4408
Joined: 26 Jan 2011 19:36

Re: Razberry controller does not recognize Z-Uno FLIRS device

Post by PoltoS » 09 Jan 2019 09:30

What do you mean by not accepting commands?

rishamee
Posts: 5
Joined: 24 Aug 2018 18:56

Re: Razberry controller does not recognize Z-Uno FLIRS device

Post by rishamee » 11 Jan 2019 16:11

It does not react when I request te battery-status from the expert-UI, for instance. Neither it reacts when I request te actual value of a confuguration parameter or try to set one. Either it does not act like a FLIRS device, or the controller sends the wrong command.

User avatar
PoltoS
Posts: 4408
Joined: 26 Jan 2011 19:36

Re: Razberry controller does not recognize Z-Uno FLIRS device

Post by PoltoS » 18 Jan 2019 01:29

Can you check the queue? Are packets sent to Z-Uno or just hanging in the queue? Make sure to exclude and include back after changing the type of device

Post Reply