Hide Device

is it somehow possible to “hide” a device ?

fibaro dual switches also come with 3 devices added where one is hiding …
how can i set this for another one ?

In case it helps someone else… I had this same issue where I wanted to hide all the devices used to control Xmas lights after they’d been taken down for the year, without having to set everything up again next year.

I’ve setup a scene called ‘Hide Xmas light control’ with this Luup code (the numbers at the end are the device IDs that you can get by looking in Devices / select a device / advanced in UI7. To make them appear again I just need to replace the 1 with a 0 on each line.

luup.attr_set(“invisible”,“1”,60)
luup.attr_set(“invisible”,“1”,61)
luup.attr_set(“invisible”,“1”,62)
luup.attr_set(“invisible”,“1”,63)
luup.attr_set(“invisible”,“1”,65)

NICE ! i actually did not follow up on that … its good to know now as i have a bunch of useless (but somehow needed) devices i really want to get rid of.

works like a charm !

thanks alot

You could also put this in your startup LUA so that it hides the devices also after a reboot:
Go to APPS > Develop APPS > Edit Startup Lua

luup.attr_set(“invisible”, 1, DEV_ID1)
luup.attr_set(“invisible”, 1, DEV_ID2)
luup.attr_set(“invisible”, 1, etc…)

And click ‘GO’.

works without (on UI5)
the setting appear to be stored in user_data … so its persistent

To unhide devices (there was an issue in UI5)

luup.attr_set(“invisible”,“”,deviceID)

http://forum.micasaverde.com/index.php/topic,10527.msg73244.html#msg73244