@Mitchfarino I’m using a Pi Zero (Raspbian Jessie Lite) with the node serveronly option. After that Kweb browser starts in kiosk mode.
Installation on Pi Zero
Install Node with dpkg (apt repo has old version)
- sudo wget http://node-arm.herokuapp.com/node_latest_armhf.deb
- sudo dpkg -i node_latest_armhf.deb
- sudo apt-get install npm
- cd /home/pi/
- git clone https://github.com/MichMich/MagicMirror
- sudo npm install
Install Kweb and unclutter
- sudo apt-get install kweb
- sudo apt-get install unclutter (removes cursor)
Autostart at boot
- Setup autologin with raspi-config (http://elinux.org/RPi_raspi-config), mode: Console Autologin
- Create script /home/pi/start.sh:
node serveronly &
xinit /usr/bin/kweb -KJE4 “http://localhost:8080”
- Edit /home/pi/.bashrc
- Add /home/pi/start.sh at the bottom.
I don’t find the solution for the moment.
@Neokamikaze I did not use the installation script, the above method works for me.
Now is ok for the Pi0. But just for install Kweb.
i use this commands:
wget http://steinerdatenbank.de/software/kweb-1.7.3.tar.gz tar -xzf kweb-1.7.3.tar.gz cd kweb-1.7.3 ./debinstall
I’ve just tried out running MM2 on a Pi0. It all seems to load up using the server only but when I fire up kweb I just end up with a blank screen. This was a new install so I used the basic config file and added my own data (e.g. weather app key, etc.). I’m new to using MM2 as well so I was not sure if I should be seeing lines like:
No helper found for module: nnnn
As far as I can tell the calendar and newsfeed have started, but nothing is displayed :(
Any recommendations on the diagnostic steps I need to take?
Hopefully the community can help you out here as the Pi0 is not supported. Some people may have gotten it to work though …
@evos I’ve only just seen this. Awesome work! I’ll check it out!
This means I can free up my Pi3 for something else
@Neokamikaze thanks, I’d manually got to the same sort of place the script would have got me to… It would have got me there faster ;) Further testing has shown it was my set up of kweb that was at fault not MM2 (the page loaded correctly with firefox). I was testing the page in regular browser mode before using kiosk mode so I can perfect my own config.sh. It turned out I had jScript and cookies off, with these enabled fixed the issue I was seeing.
Thanks for all your great work on getting MM2 working on the Pi0!