Sometimes you may want to hide devices from your Nero interface to either prevent user access to them or to tidy up the device list presented in My Nero. This can be done by adding code to the startup file that sets the display state of the device.
Once you have hidden a device you will not be able to access the configuration pages for it. Refer to the show device section below to recover access.
Hide a device
To hide a device you need to set the Invisible attribute to 1.
- Log into your Nero gateway via the My Nero web UI (this process can not be completed through the mobile apps).
- Go to Apps and then Develop Apps.
- Select the option to Edit Startup Lua.
- Add the code below to the text box, one line per device you want to hide.
- Replace [#device id#] with the actual device ID of the device you with to hide. You can get this ID by going to the Advanced tab in the Device Page at the top of the view. See the image below for an example hiding device #7.
- Click Go and wait for the process to finish. You may need to reboot if you have a lot of devices. Your device will now appear as usual.
luup.attr_set("invisible", "1", [#device id#])
To hide multiple devices, simply copy the line multiple times, changing the device ID as required.
luup.attr_set("invisible", "1", [#device id#])
luup.attr_set("invisible", "1", [#device id#])
luup.attr_set("invisible", "1", [#device id#])
Show a hidden device
To show a hidden device you need to set the Invisible attribute back to the default 0.
- Log into your Nero gateway via the My Nero web UI (this process can not be completed through the mobile apps).
- Go to Apps and then Develop Apps.
- Select the option to Edit Startup Lua.
- Change the "1" to "0" for each device you want to show again.
- Click Go and wait for the process to finish. You may need to reboot if you have a lot of devices. Your device will now appear as usual.