MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. nigel-daniels
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    N
    Offline
    • Profile
    • Following 3
    • Followers 2
    • Topics 10
    • Posts 74
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Pi Zero

      @Neokamikaze HI thanks for the suggestion, I’ve ensured both my versions of these files match yours, but somewhere DPMS is being enabled… 10 mins in the screen blanks. I can see in the file /var/log/Xorg.0.log the following lines:

      [ 81.864] (II) FBTURBO(0): enabled fbdev copyarea acceleration
      [ 81.865] (==) FBTURBO(0): Backing store enabled
      [ 81.875] (==) FBTURBO(0): DPMS enabled
      [ 81.875] (II) FBTURBO(0): failed to enable hardware cursor

      Something somewhere is setting DPMS up and for some reason the xset -dpms command is being skipped. I’ll try adding the set command to the start.sh and see if that forces the issue.

      posted in Hardware
      N
      nigel-daniels
    • RE: Pi Zero

      @Neokamikaze hi, what did you do to stop the screen from blanking? Having got the kweb and MM running perfectly I set this up to run without screen blanking an got the mirror in position… but it still blanks after about 10 mins+. The steps I took were:

      Turn off the monitors energy saving mode.

      I then edited ~/.config/lxsession/LXDE-pi/autostart and /etc/xdg/lxsession/LXDE-pi/autostart commented out the screensaver line and added:

      @xset s off
      @xset -dpms
      @xset s noblank

      Finally in /etc/kbd/config I set the following to:

      BLANK_TIME=0
      BLANK_DPMS=off
      POWERDOWN_TIME=0

      What am I missing here?

      posted in Hardware
      N
      nigel-daniels
    • RE: Pi Zero

      @nigel-daniels Ok deeper digging into the kweb code has revealed that the ratio options are hard coded :( I’ve put a request to the Kweb authors for this to be an option. As a short term hack you can install kweb as per @Neokamikaze suggested, then:

      git clone https://github.com/ekapujiw2002/kweb
      sudo apt-get install webkitgtk-3.0

      Then open up kweb.c and change one of the parameter settings to be the ratio you need, for example I set 8 to be 1080x1920. Then make the kweb code and replace /usr/bin/kweb with your custom binary. Now alter the start.sh to use the number you chose for your custom ratio.

      posted in Hardware
      N
      nigel-daniels
    • RE: Pi Zero

      @nigel-daniels Follow up I just did a full reinstall, Kweb now seems to get the screen width of the rotated screen but still only uses the upper third portion of the screen :( Any thoughts on how I tell it the screen height.

      posted in Hardware
      N
      nigel-daniels
    • RE: MMM-FAA-Delay

      https://github.com/nigel-daniels/MMM-FAA-Delay

      posted in Transport
      N
      nigel-daniels
    • RE: Pi Zero

      Has anyone encountered the following issue with kweb. I got everything up and running on the Pi0 and used the platform to develop a new module MMM-FAA-Delay. I then stopped VNC from auto starting, set the boot to console with pi logged in, reinstated the autostart MM2 and kweb script. However this time I also set the screen rotation in config.txt. Everything works fine but it looks like kweb is still using the previous screen ratio even though it’s rotated. i.e. it only fills the top third or so of the screen and the left hand side is ‘off screen’.

      Any thoughts?

      posted in Hardware
      N
      nigel-daniels
    • MMM-FAA-Delay

      0_1471474410836_airport-delays.png

      This module displays information published by the FAA on delays and weather conditions at some US airports. The full airport list can be seen here.

      This is my first module so please let me know if you find any errors in the code/documentation. It currently covers US airports only, so if you know of other feeds for different regions then let me know and I’ll see if they can be integrated.

      I hope you like this and find it useful!

      posted in Transport
      N
      nigel-daniels
    • Calendar error: 'Invalid UNTIL value'

      I have updated my config.js to load my own calendar hosted in iCloud. I’ve got the URL correct but on the mirror I Just see:

      Nigel Calendar


      Loading…

      Looking at the command line output using ‘node serverstart &’ I can see the following:

      Whoops! There was an uncaught exception…
      [Error: Invalid UNTIL value: 20160730T115959]

      Any suggestions on what I need to do to correct this? When I look in my calendar there is no entry for that date.

      posted in Troubleshooting
      N
      nigel-daniels
    • RE: Pi Zero

      @darkeagl105 I found out with kweb you must enable cookies and Java Script for anything to work. So far I’ve only tested with the default modules, if I find out more about the non-default modules I’ll post here. Kweb is nice and light, I tried firefox but the Pi0 struggles to run it.

      posted in Hardware
      N
      nigel-daniels
    • RE: Attach the monitor with glue to the mirror?

      I used some double sided tape from 3M, the product is used to attach touchscreen faces to led screens. E.g. iPad screens etc. It’s very thin and black so it cannot be seen behind the screen while keeping the screen very close. It is also very strong so be careful when you fit the two together as once stuck it stays stuck.

      I placed two parallel strips on each side of the metal surround of the monitor I used for extra strength and to cover the metallic surface.

      A link to the product on the US Amazon site is here.

      posted in Hardware
      N
      nigel-daniels
    • RE: Preference Page

      @darkeagl105 I like this idea, it would be great if it served it’s own page so you could access it from another device like your phone to set up the MM2.

      posted in Requests
      N
      nigel-daniels
    • RE: Pi Zero

      @KirAsh4 it may be worth getting the support statement updated to the same level as using the Pi1, the Pi0 will run MM2 quite happily using ‘node serveronly’… in my case it turn out you just need to be sure kweb is set up correctly if that is the browser of choice ;)

      posted in Hardware
      N
      nigel-daniels
    • RE: Pi Zero

      @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!

      posted in Hardware
      N
      nigel-daniels
    • RE: Pi Zero

      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?

      posted in Hardware
      N
      nigel-daniels
    • 1 / 1