Dashboard hide and show

Hi made a simple button HIDE with a payload to hide a tab..
Cant get it to work..
In the end the hide button must be a toggle button, hide/ show

See my attachments

flow

[{"id":"f3fa38e1.3683e","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"46062d38.1ed1a4","type":"ui_ui_control","z":"f3fa38e1.3683e","name":"browser","events":"all","x":340,"y":200,"wires":[[]]},{"id":"29fa925f.37865e","type":"debug","z":"f3fa38e1.3683e","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":330,"y":100,"wires":[]},{"id":"b0a57b0b.111258","type":"ui_button","z":"f3fa38e1.3683e","name":"MNU HIDE","group":"e3c1dba9.5039a8","order":30,"width":3,"height":"1","passthru":false,"label":"HIDE","tooltip":"","color":"","bgcolor":"","icon":"","payload":"{\"tabs\":{\"hide\":\"CAMERAS\"}}","payloadType":"json","topic":"","x":130,"y":200,"wires":[["46062d38.1ed1a4","29fa925f.37865e"]]},{"id":"e3c1dba9.5039a8","type":"ui_group","z":"","name":"BEHEEROMGEVING ","tab":"ee7d12b5.222e4","order":1,"disp":true,"width":14,"collapse":true},{"id":"ee7d12b5.222e4","type":"ui_tab","z":"","name":"BEHEEROMGEVING DOMOTICA","icon":"dashboard","order":1,"disabled":false,"hidden":false}]
type or paste code here

Solved the first part myself..
Looks much better, i can switch groups on or off

I changed the content off the button to {"group":{"hide":["BEHEEROMGEVING_DOMOTICA_CAMERAS"]}} for the button , and now it works !

Last thing to do, i need a little bit of help:

  1. How to let individual items hide and show, like "number off days: dutch: aantal dagen)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.