ebaauw / homebridge-deconz

Homebridge plugin for deCONZ
Apache License 2.0
135 stars 6 forks source link

[deCONZ] Homebridge Button: Programmable Switch Event: Single Press #214

Closed microfx closed 4 months ago

microfx commented 4 months ago

Hey Erik,

I know this has been asked 1000 times and you have pasted 1000 times the wiki link. I have no clue where to set what. Your wiki might be an excellent library for you to read up on stuff but you have to remember that your brain interpolates a lot because you probably know every single text character in this project.

Could you maybe give a few more tips / instructions where to change what? I now tried it this way: Clicked in Homebridge on the Homebridge Deconz

Bildschirmfoto 2024-03-04 um 22 17 18

And then tried to add the line here (I tried to orient it from one of the examples where it's under the "name"

Bildschirmfoto 2024-03-04 um 22 17 51

This doesn't work.

Any clue?

Cheers

ebaauw commented 4 months ago

As described in the Wiki, dynamic settings aren't in config.json. Instead, use the ui tool to change these.

microfx commented 4 months ago

it's super unclearly stated in the wiki tbh - but as said that's a perspective thing... Inverse Dunning Kruger Effect maybe or something 😀 No offense.

I will look into it again.

You would help more people if you would just give the answer since google is now thinking this is an answer but it's not helpful for the majority.

I will try to write the solution to this problem (I am fearing lots of obstacles on the way as per usual when a dev says "just do this" and I am 3 days into learning how to compile the multitude of libraries with different toolchains 😂)

microfx commented 4 months ago

The magic command for everyone else caring for a solution:

Open up Homebridge UI in the browser, click on the ... and then Console. Then type into the CLI:

ui put / '{"periodicEvents": false}'

Or if you want to do it over SSH (in my case the path is like this):

/var/lib/homebridge/node_modules/.bin/ui put / '{"periodicEvents": false}'