Read the statement by Michael Teeuw here.
MMM-Openhab
-
I have started building my own MagicMirror and would like to use your module to display who’s home based on phones connected to the wifi. I already have OpenHab set up with a sitemap showing who is home. After following your readme file, I now get a white box with nothing in it and chromium opens when MagicMirror does.
I made a copy of the sitemap and called it MMMOpenhab.sitemap and added your extra code. The sitemap works and I can access it. I get no errors when running npm start dev so MagicMirror can see the MMM-OpenHab module. I’m just not sure whats going wrong.
-
@tmcgregor Just FYI, you could also have that solution with the module MMM-NetworkScanner.
-
@tbbear Hi, What is the command to type into the terminal to download this module? Thank you
-
@georgeashton02 where would you find this module?
-
@sdetweil I have found all of the information about it I just cannot find the information needed to install the module… Thanks
-
@georgeashton02 ok, how do you install modules in general?
-
-
Yeh you need to clone all the files of the module then mostly npm install that module but i need the address to clone for the files
-
@georgeashton02 said in MMM-Openhab:
but i need the address to clone for the files
i’m not sure I understand that… you mean github?
you know how to use search? google, or on github itself
-
@sdetweil Thanks i was being dumb, however i do have another problem any ideas why this is throwing errors at me?
sitemap MMM label="MMM-Openhab" { // Set for MMM-Openhab Webview url="/static/MMM-View.html" } Frame label="TV" { Switch item= BedroomTVPower Switch item= BedroomPauseTv } Frame label="Lights" { Colorpicker item= My_Room_Light_Colour Switch item= My_Room_Lights }This was all working before i added the code that i was told to add by the MMM-openhab github page…
-
@georgeashton02 where are those? In config?
-
@sdetweil Yes, That code if from my openhab .sitemap file
-
@georgeashton02 ok, i dont know what that means
-
@tbbear when i add that line my code throws errors back at me? The code worked before regardless of what the name is…

Any suggestions thanks
-
@georgeashton02 As u can see the error is already marked… The name of your sitemap is MMM.sitemap so name it as MMM not ourhome
-
@tbbear No I understand this, as i said the name even when changed doesnt make a difference for some reason

-
@georgeashton02 I dont know why your check tthows an error cause i typed your sitemap and i could run it without any problems in openhab2.5
-
@tbbear That is very odd… what would you suggest i do?
-
@georgeashton02 use it!
-
@tbbear I used this sitemap, put the url for my sitemap in the config script and put that config script into the magic mirror config file. What other steps do i need to complete. Im sorry very confused my bad… Thanks
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login
