Page 1 of 1

Z-uno is not responsive (USB and Push Button)

Posted: 14 May 2017 01:06
by SaveMyLifePlease
Hi Everyone !

In my study project I have to use the Z-wave technology with a Z-Uno Module.
Specifically, I need to communicate with several wall plugs by fibaro. I’m supposed to switch them on and off remotely and retrieve their live consumption. The last one in kinda heavy.

To do that I need to make an arduino’s script which will perform all the tasks. And it’s where I met the challenge.

The main problem is that since Yesterday my laptop doesn’t recognize the Z-Uno module (USB). At more, I can’t reset it ! The ‘BTN or Service’ button doesn’t work .
However I can see that the power is there, the green LED is on. When I push RST others LEDs ( withe and red) light up …

I’m blocked and I can’t go any further with my project.

Could you help me please ?

Thanks in advance to anyone who may have any idea.

Re: Z-uno is not responsive (USB and Push Button)

Posted: 14 May 2017 10:24
by A.Harrenberg
Hi,

you can try rescue mode:
To go into Rescue mode hold down the Service Button and then hold down the Reset button, wait for a second, release the Reset button then release the Service Button. User code will not be executed until reboot (it is not erased from Z-Uno).
or try a Device reset:
Device reset

Z-Uno can be excluded from network by following Exclusion process via Z-Wave controller or by resetting the device via Service button: hold Service button for 5 seconds and then press three times. Use this procedure only if your controller is missing or inoperable. Note that the sketch is not erased during exclusion or reset process.
You can find these informations on the troubleshooting page here

Good luck!
Andreas.

Re: Z-uno is not responsive (USB and Push Button)

Posted: 15 May 2017 01:56
by SaveMyLifePlease
Hi,

Thanks for your quick reply

But the Service Button doesn't work, that's why I can't use "reset mode" or "a device reset" ...
Moreover my laptop doesn't recognize the Z-Uno Module (USB)

I'm very embarrased because I do not use the Z-Uno module and the deadline (my final project assignment) is looming

Could you help me please ?

Thanks in advance to anyone who may have any idea.

Re: Z-uno is not responsive (USB and Push Button)

Posted: 15 May 2017 08:42
by A.Harrenberg
Hi,

what do you mean by the "service button doesn't work"? The reset mode must work under all circumstances. It is part of the internal system that can't be erased or overwritten with a user sketch.

But you really have to HOLD the service button while pressing the reset button for a second, then release the reset and only after that release the service button. If that is really not working, than I am afraid there is a hardware issue with you Z-Uno...

The laptop most likely does not recognize the Z-Uno because it is doing an inifinite busy loop or is crashing in you user sketch. By entering the rescue mode, the user sketch is not started at all.

If you succeed in entering the rescue mode, upload one of the unmodified examples to make sure the device will be accessable after a restart.

Regards,
Andreas.

Re: Z-uno is not responsive (USB and Push Button)

Posted: 15 May 2017 15:27
by SaveMyLifePlease
Thanks a lot for your help, the Z-Uno works well !

Now I do retrieve the consumption of the fibaro wall plugs but I have difficult with the arduino's script...

I don't understand how to programming the getter and resetter paramaters
(https://z-uno.z-wave.me/Reference/ZUNO_METER/)

I don't know the using of :

Code: Select all

DWORD getterFunction() {
    return currentValue;
}

void resetterFunction() {
    currentValue = 0;
Could you help me please ?

The wall plug (https://www.fibaro.com/en/products/wall-plug/)

Thanks anymore for you help !

Re: Z-uno is not responsive (USB and Push Button)

Posted: 15 May 2017 15:44
by A.Harrenberg
Hi,
I am not sure if I understand your task correct, but you want to retrieve the power readings from another node in the Z-Uno?

I think that is not supported by the (current) Z-Uno libraries...

The ZUNO_METER refer to an implementation of a metering device IN the Z-Uno itself and are not ment for a communication to another node sending this information.

You can programm the wall-plug to send the information to the Z-Uno, but as far as I know there is no way to receive the messages and use them inside Z-Uno.

What you can do is calculate a "fake" consumption by assuming a constant load and just start/stop the calculation of the consumption when you switch the wall plug on and off and report these values via the ZUNO_METER. But I don't know if that would be a solution that is allowed in your study...

Sorry if that is no good news for you study project...

Regards,
Andreas.

Re: Z-uno is not responsive (USB and Push Button)

Posted: 15 May 2017 16:20
by SaveMyLifePlease
Thank a lot for your clear answer.

Do you know if the first part of my project which consists in to switch On/Off regardless several wall plugs with the module Z-Uno is possible with an arduino's script ?

In my opinon, I need to use several groups per wall plugs

I have three plugs :
- One Fibaro (https://www.fibaro.com/en/products/wall-plug/)
- Two Aeotec (https://aeotec.freshdesk.com/support/so ... ser-guide-)

Currently, I succeeded in switching On/Off one wall plug (Fibaro)

Thanks again for your help !

Thanks

Re: Z-uno is not responsive (USB and Push Button)

Posted: 15 May 2017 20:18
by A.Harrenberg
Hi,

the Z-UNO is a node and not really ment to control other nodes...

How do you solved the problem for the first plug? I assume that you used a SWITCH_BINARY and instead of switching on output pin you used zunoSendToGroupSetValueCommand() to send the on/off command to the wall plug?

If that worked you need to create more channels in the same way, you just need to setup the associations correctly.

As this is your study project, I won't give you more hints... ,-) (unless there is very specific question/problem that can't be solved by looking at the examples or at the reference)

Regards,
Andreas.