Read the statement by Michael Teeuw here.
MMM-Openhab
-
@P-Bo726 Hi, first of all u have to use openHAB, if u do then its easy to get ur sitemap into MM. The response time is under one second for ex. if u want to switch a light on or off.
-
For the URL is that my OpenHAB basicui, paperui, etc?
-
@P-Bo726 the url is the same u would call in your browser to get your basicui sitemap, only with (see in readme) a little modification, thats why i recomment to copy your basicui sitemap for ex. my def. sitemap is wr.sitemap and i did a copy to MMM.sitemap. In this add the extra line like said in the readme.
-
Im am using an openhabianpi Server on a Raspi2. Now i build a MagicMirror und i was happy to find your MMM Openhab Modul.
i configured everything like you told, but my Raspi didn´t find the MMM-View.html File. The Mirror shows the MMM-Sitemap but it has a white background und at the Top of the Module it shows … cant find MMM-View.htmldo you have any ideas whats wrong ?
sorry for my not so good english its not my main language
greets
Orakel -
@orakel Hi, thank’s for using my module. Please check if your MMM-View.html file is in the right directory and it has the same
owner and group that u use to run your MM. -
thx for your response
@tbbear so i have changed the owner and group from MMM-View.html from openhabian to openhab. same problem like before. you wrote that i have to change the owner and group like the owner i use on my MM, but i can´t change the owner to the owner pi.
is there any other idea, i really like to use your module.
greeting Orakel
-
@orakel of course, i’m sorry i ment to change it to the same owner u use for openhab.
-
@orakel U are using openhab2? The view file is in the directory …/html? I am sure its only a access problem.
-
hi tbbear.
yes i am using openhab2 on a raspi2.
the MMM-View.html is in the /html directory and the css dir is in the /html directory 2.
both html file and the css directory are owner of the openhab user on the openhab2 server.
wenn i open my MMM Sitemap within the PaperUI i can see my sitemap but at the top of it it saysHTTP ERROR 404
Problem accessing /static/MMM-View.html. Reason: Not Foundi have to change to url in my config.js from http://… to http://… to see the Modul on the MagicMirror but i looks the same like in the paperUI view.
white background… but i want it black with white fonts
i tried to put the html file and the css directory into /icon/classic/ directory and changed the IP Adresse to localhost. i must do that for the Image Show in a sitemap. Now i have no errors viewing the Modul in the Mirror but it´s still white… like the sitemaps always shown in the paperUI from openhab2. But in the BasicUI view of the sitemap, if i move the mouse cursor to the top it appears that the localhost has refused the connection.
i don´t know what i shoul do to get the modul working… still any ideas ?
greetings
-
@orakel Can u try something: Replace the dir name ‘static’ in the files MMM-sitemap and in MMM-View with ‘html’