Read the statement by Michael Teeuw here.
I have a touchscreen, would like to call up a module via a button
-
Thank you. I have that module setup. I have a button that can turn the wifi display on and off. The way I have it configured it seems to affect only the current page. for example I put the wifi on 2 pages, and the touch module turns it off on each page individually. I’ll look at the config more. I’m glad to hear I am on the right track
-
@kent what is the notification you are sending
PAGE_CHANGED, 3 now, page 4 or page 1 next
PAGE_INCREMENT, from current pageAll you can do is change a page,
or
stop changing pages/resume changing -
I am using a simplified version of the example button config from the github page.
config: { buttons: { "1": { module: "all", symbol: "toggle-on", symbol2: "toggle-off", }, "2": { module: "MMM-2Day-NOAA-Forecast", text: "Forecast on", text2: "Forecast off", symbol: "fas fa-sun", symbol2: "far fa-sun", }, "3": { module: "MMM-WiFiPassword", text: "Wifi", text2: "off", symbol: "fa-solid fa-wifi", symbol2: "fa-thin fa-wifi", }, } } -
I take back some of what I said… the module I am currently using is MMM-ModuleBar. I’ll look at touchbutton again.
-
@kent right, that module provides buttons that show/hide A module
