Add Z-Wave device non-secure?

Fantastic, thank you very much! I will definitively give it a go…
Anyone else experiencing problems same as mine?
I have a Homey controlled by Google Home and especially controlling grouped devices are causing problems where I have to retry on/off commands several times.
Maybe I am wrong assuming the root problem is because of the secure option for my devices?

I can not really follow the discussion Secure / Unsecure!

Does that mean the homey has problems with secure included devices? Half of my 90 Z-Wave devices are secure!

But I can not find any problems?

If you don’t have/experience any problems, do nothing then. :slight_smile:

I done this to the fibaro app, installed fine. Now trying with Robb smart, getting this error. Just added the unsecure add to z-wave products of course. Anyone understands why?

C:\Users\Ryv\Downloads\nl.ROBBshop.ROBB-smarrt-master\nl.ROBBshop.ROBB-smarrt-master>homey app install
✓ Pre-processing app…
Error in app.json:
SyntaxError: Unexpected token � in JSON at position 22665

edit: Same error with me.zwave app. In fibaro I put it in before “learnmode”, some other explanation where it should be put if that is the problem?

Could you place the part of your code here? There seems to be a wrong or missing character somewhere.

I found the problem. I copy pasted the line from Peters post, is in cursive :slight_smile:

Hi

I have tried this several times with the fibaro app for the dimmer 2 (id: FGD-212)

Everything goes well, but every time I have installed the app on Homey, the app.json file on the PC changes back to original and the “inculdeSecure” line has disappeared.

The app has been successfully installed but does not include the new “inculdeSecure line”

What am I doing wrong

I don’t get it. You change the file on tour PC, upload the app to your Homey and then the edited file on your PC has gone back to the original file? Sounds very strange.

That is normal / expected behavior.
The Fibaro app, and many other apps with a large number of devices, uses the built in compose function of the CLI to build the app (app.json) manifest during installation.

So you’ll need to make the changes not in app.json (which will be recomposed), but in /drivers/FGD-212/driver.compose.json

5 Likes

Good to know for the future. Thanks for explaining.

You’re the man! :raised_hands:

Thanx!!!

No cli installation necessary!! It works out of the box! :grinning:
You only have to figure out which device forced already a unsecure inclusion. Thanks @TedTolboom
Like the Fibaro Walli switch.
By selecting the Walli switch you can include every device unsecure (as long the device support unsecure) :grinning:

1 Like

Do you mean that it is possible with the official Fibaro app by adding the Walli device?

Exactly.
In this way I include the Fibaro Motion Sensor (Z-Wave Plus) unsecure instead of secure: :grinning:
But not by adding Walli Device, only selected the Walli Device.

The result if you select the Fibaro Motion Sensor:

And here the result if you select the Fibaro Walli Switch:

3 Likes

Please keep in mind, the apps original developer has tested the device to work properly based on the released settings. In this was you are overriding one of the main Z-wave settings and potentially the devices behavior…

This seems to be the BEST WORKAROUND for this problem, thanks for sharing! :smile: :+1:

1 Like

Hi KTD,
It’s a bit of a long-shot since your post about the secure/insecure z-wave devices is a year old, but I give it a go!
I struggled a lot with the secure pairing option since it gave a lot of network traffic leading to unreliable devices. Pairing all devices not-secure fixed that for the most part.
Now I get to the point, only two devices that are still secure are my two Danalocks. The trouble is that they work véry unreliable on Z-wave.
Practically all devices have an error-rate of 0% to 2%, but the Danalocks are at 9% and 11%! This means that roughly 1 in every 10 commands are not received by the lock. For a light that could be “ok”, but for a lock that’s problematic!! I invested in these locks to:
A. Don’t take a key with me when I leave the house
B. Never forget to close a door since they’ll close automatically both at night or when everybody’s gone.

I should be able to trust Homey/Danalock to lock my door every time Not ‘every now and then’. I’m pretty convinced that this problem comes with the secure pairing!
How are your experiences with these locks? Especially with their reliability.

Thanks a lot!

Does this trick also work with the Dimmer2?

It works with all Z-Wave devices as long unsecure is supported by the device itself.

Three questions:

  1. Is it possible to change this from secure to non-secure? (My guess is “no”)
  2. If the above is indeed no, is there any easy way to remove and then re-add with the new files?
  3. Will the modified apps still receive updates when the developer make changes? (My guess is “no”)

Thanks.