From: rickerdo <ric...@sa...> - 2016-10-20 14:25:17
|
I'm in the process of trying to create a few custom pages in IA7 using direct control (no pop-up) of Insteon based light objects. No matter what I do, the static HTML page I create will not allow direct control. However, the same object in "Browse All Lights" does allow direct control (no pop-up). Any ideas why direct control works in an MH created page, but not my custom page? My custom page does show a heavier black border around the "Garage" button, but it still creates a pop-up when clicked, so I know the json is being parsed and is being applied. The results are the same on both master and stable branches. Thanks! My code: cat /home/mh/data/web/ia7_config.json { "prefs" : { "header_button" : "yes", "state_log_show" : "yes", "state_log_entries" : "4", "always_double_buttons" : "yes", "fp_icon_size" : "32", "fp_state_popovers" : "yes", "substate_percentages" : "20", "disable_current_state" : "yes", "notifications" : "yes", "speech_default" : "banner" }, "objects" : { "Garage" : { "direct_control" : "yes" } } } cat /home/mh/data/web/mypages/test2.shtml <div class="col-sm-4"> <div style="vertical-align:middle"> <button entity='Garage' class='btn btn-lg btn-block btn-list btn-popover btn-direct btn-state-cmd navbutton-padding btn-default'>Garageloading...</button> </div> </div> -- View this message in context: http://misterhouse.10964.n7.nabble.com/Custom-IA7-pages-with-direct-control-tp21468.html Sent from the Misterhouse - User mailing list archive at Nabble.com. |