I’ve got very poor response with knobs on the front page. They stop updating and only way to bring them back to life is reload the page. I might try your solution. Thanks
Hi Kris
It long time you have posted your menu solution. I have problems to set up this way of menu. Can you help me? I don’t unterstand how it work “Menu_Page” or what I need to prepare taht the button works?
BR
Miro
hi miro, what is the problem? you need to create a string item in the items file, called Menu_Page
Then in the HabPanel settings , select the string item you created
Then use this rule:
when
Item Menu_Page received command
then
Thread::sleep(2300)
Menu_Page.postUpdate("")
end
Hi Kris
Thank you for your answer. I have created this this item and now I can select Menu_page in the HabPanel settings.
it this the dashboard name ‘System’ in the code down?
<div class="control" ng-class="{true: 'on'}[itemValue('MENU_page')=='System']" ng-click="sendCmd('MENU_page', '**System**')"....BR
Miro
The dashboard name is system, yes.
Hi All revisiting this because its not a fool proof solution and works only 70% of the time.
I can see the changes in the console, where the command is received to change to the correct dashboard, but the change does not occur
12:30:04.197 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'MENU_page' received command Irrigation
12:30:04.198 [INFO ] [smarthome.event.ItemStateChangedEvent] - MENU_page changed from to Irrigation
12:30:04.200 [INFO ] [smarthome.event.ItemStateChangedEvent] - MENU_page changed from Irrigation to
If using HabPanel and you swipe from the left to retrieve the dashboards, they all change correctly and instantly. So it appears the rule that is causing this issue.
Any suggestions and has anyone seen something similiar? Its ruining the usability of the dashboard system
Thanks!