@Sean I have drawn DOM in getDOM() by doing this:
this.show(0);
this.updateDom();
updateDom() will call get DOM() first and in that hidden will be false and hence will get executed
There seems to be issue in conflict in positions defined in config… like top_left and top_center as I removed one of the entries which were common same issue does not appear
This is my config file:
modules: [
{
module: “alert”,
},
{
module: “updatenotification”,
position: “top_bar”
},
{
module: "compliments",
position: "top_third"
},
{
module: "newsfeed",
position: "bottom_bar",
config: {
feeds: [
{
title: "New York Times",
url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml"
}
],
showSourceTitle: true,
showPublishDate: true
}
},
{
module: ‘MMM-Voice-Control-Sonus’,
config: {
projectId: ‘aimevoice2017’,
keyFilename: ‘/resources/AimeVoice-91efae41b5b4-1.json’,
hotWord : ‘aime’,
hotWordFile : ‘/resources/aime.pmdl’
}
},
{
module: ‘MMM-googlemaps’,
position: ‘top_center’,
config: {
apikey: ‘AIzaSg5aknOUo5shOQ’,
origin: ‘-31.952326,115.857847’,
destination: ‘-32.00469,115.89405’,
width: “600px”, // Optional. Default: 100%
height: “300px” //Optional. Default: 100px
}
},
/{
module: “MMM-EmbedYoutube”, // Path to youtube module from modules folder Exmaple: MagicMirror/modules/custom/youtube/ so it’s custom/youtube
position: “bottom_left”, // This can be any of the regions.
config: {
// See ‘Configuration options’ for more information.
watch: “w3jLJU7DT5E”
}
},/
{
module: ‘MMM-Events’,
position: ‘top_left’,
config: {
city: “Bangalore”, // Your City
eventType: “sports”, // Choose from Events List below
when: “This Week”, // “All”, “Future”, “Past”, “Today”, “Last Week”, “This Week”, “Next week”, and months by name, e.g. “October”
mode: “noFrame”, // “Frame” or “noFrame” (around picture)
apikey: “8V8gdwJ8WcHQnLJB”,
rotateInterval: 5 * 60 * 1000, // New Event Appears every 5 minutes
useHeader: false, // Set to true if you want a header
header: “”,
animationSpeed: 3000, // Event fades in and out
picture: true, // true, false = no image
}
},
When I comment out MMM-googlemaps in above config then there is no issue . IS it related to position values??