(Not a bug) How to hide a device ? Topic is solved

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
Thorgal789
Posts: 883
Joined: Wednesday 15 August 2018 14:38
Target OS: -
Domoticz version:
Contact:

(Not a bug) How to hide a device ?

Post by Thorgal789 »

Hello, ATM I m using a script to mix 3 devices in a 4th. I m using a LUA script with

Code: Select all

if (devicechanged['first_devices']) then
But with that, I have 4 devices, and only 1 usefull.
If I put the 3 firsts device in "unused device" state, the script stop working (devicechanged is not trigger). Someone know if it's possible to "hide" the 3 first devices ?
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: (Not a bug) How to hide a device ?

Post by waaren »

Thorgal789 wrote: Friday 19 April 2019 22:30 Hello, ATM I m using a script to mix 3 devices in a 4th. I m using a LUA script with

Code: Select all

if (devicechanged['first_devices']) then
But with that, I have 4 devices, and only 1 usefull.
If I put the 3 firsts device in "unused device" state, the script stop working (devicechanged is not trigger). Someone know if it's possible to "hide" the 3 first devices ?
Put a $ in front of the name and they will not be shown in the switches or utility tab
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Thorgal789
Posts: 883
Joined: Wednesday 15 August 2018 14:38
Target OS: -
Domoticz version:
Contact:

Re: (Not a bug) How to hide a device ?

Post by Thorgal789 »

Yeah ^^.
And the LUA script is working too.
Thx a lot, I realy don't know this "secret feature".
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest