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

    Posts

    Recent Best Controversial
    • RE: MMM-newsfeedtouch - News so hot you wanna touch it

      This module only seems to work properly when used in top_bar or bottom_bar - or something that spans the entire “middle” of the screen.

      The description doesn’t work properly when used in top_right or bottom_right, although the rest of the module does work - the description doesn’t work.

      It’s possible there is some magic css that would make it work properly.

      I’m trying it on a 7" touchscreen, so real estate is limited

      -Earle

      posted in Utilities
      emloweE
      emlowe
    • Enphase PV Module - Direct from Enphase Envoy-C

      There are several other Solar PV Modules, including one that uses the official Enphase API to download data.
      However, I couldn’t get the Enphase API to work because for some reason I’m not considered the owner of the system to enable it.
      So I decided to write a module that takes data directly from the Envoy-C gateway module on your network - so there is no cloud required here for this.
      There is no official API for the old firmware running on my older Envoy-C gateway, so I parse the HTML to provide basic details

      [card:emlowe/MMM-EnphaseEnvoy]

      posted in Utilities
      emloweE
      emlowe
    • RE: JQuery Draggable and UI Touch Punch

      Also, you may find the hack of running node serveronly and then chrome in kiosk mode is ok for your use:

      node servonly
      and later start chromium in kiosk mode.

      chromium --noerrdialogs --kiosk 127.0.0.1:8080

      -Earle

      posted in Development
      emloweE
      emlowe
    • RE: JQuery Draggable and UI Touch Punch

      I don’t know, but electron seems to have some issues with touch

      • https://github.com/electron/electron/issues/8725
      • https://github.com/electron/electron/issues/8125
      • https://stackoverflow.com/questions/40359462/electron-enable-touch-events-for-a-touch-screen

      I was thinking of trying to use the ZingTouch JS library to see it could be used to add some touch support easily

      -Earle

      posted in Development
      emloweE
      emlowe
    • RE: MM is eating all memory and crash!

      Oh, and MM specifically is up for 20days:

      pm2 show mm
       Describing process with id 0 - name mm 
      │ status            │ online                               │
      │ name              │ mm                                   │
      │ restarts          │ 6                                    │
      │ uptime            │ 20D
      
      posted in Troubleshooting
      emloweE
      emlowe
    • RE: MM is eating all memory and crash!
      $ uptime
       21:34:37 up 37 days, 58 min,  3 users,  load average: 0.08, 0.13, 0.09
      
      $ cat /etc/issue
      Raspbian GNU/Linux 8 \n \l
      
      $ uname -a
      Linux raspberrypi 4.9.35-v7+ #1014 SMP Fri Jun 30 14:47:43 BST 2017 armv7l GNU/Linux
      
      $ free -m
                   total       used       free     shared    buffers     cached
      Mem:           923        878         44        149         64        487
      -/+ buffers/cache:        326        596
      Swap:           99         99          0
      
      $ df -k
      Filesystem     1K-blocks    Used Available Use% Mounted on
      /dev/root        5863924 4248140   1294864  77% /
      devtmpfs          468148       0    468148   0% /dev
      tmpfs             472756  147656    325100  32% /dev/shm
      tmpfs             472756   12364    460392   3% /run
      tmpfs               5120       4      5116   1% /run/lock
      tmpfs             472756       0    472756   0% /sys/fs/cgroup
      /dev/mmcblk0p6     66528   21418     45110  33% /boot
      tmpfs              94552       0     94552   0% /run/user/1000
      tmpfs              94552       0     94552   0% /run/user/1001
      /dev/mmcblk0p5     30701     463     27945   2% /media/elowe/SETTINGS
      
       $ npm ls | grep -i magicmirror
      magicmirror@2.1.3 
      
      $ npm ls | grep electron
      ├─┬ electron@1.7.5
      │ ├─┬ electron-download@3.3.0
      │ ├─┬ electron-chromedriver@1.6.0
      │ │ ├── electron-download@3.3.0 deduped
      │ │ │ └── electron-to-chromium@1.3.24
      

      Modules:

      • clock
      • currentweather
      • weatherforecast
      • MMM-MyScoreboard
      • MMM-EnphaseEnvoy
      • MMM-CalenderExt
      • MMM-AirNow
      • MMM-AutelisPentair
      • MMM-Globe
      • MMM-Remote-Control
      • MMM-PIR-Sensor
      posted in Troubleshooting
      emloweE
      emlowe
    • RE: MMM-MyScoreboard

      Sorry for the delay in responding. Yes you fixed the one error and the other error is caused by some interaction with MMM-RemoteControl.

      Feature Request - I’d like it to say “No Games” or “No Games for selected teams” rather than just not showing anything

      Thanks - great module!

      posted in Sport
      emloweE
      emlowe
    • RE: MMM-MyScoreboard

      Getting some errors using the default config

      I’m running node serveronly and I updated to MM 2.1.3

      SyntaxError: Unexpected token function
      at createScript (vm.js:56:10)
      at Object.runInThisContext (vm.js:97:10)
      at Module._compile (module.js:542:28)
      at Object.Module._extensions…js (module.js:579:10)
      at Module.load (/home/elowe/MagicMirror/modules/MMM-MyScoreboard/node_modules/coffee-script/lib/coffee-script/register.js:45:36)
      at tryModuleLoad (module.js:446:12)
      at Function.Module._load (module.js:438:3)
      at Module.require (module.js:497:17)
      at require (internal/module.js:20:19)
      at Class.loadModuleDefaultConfig (/home/elowe/MagicMirror/modules/MMM-Remote-Control/node_helper.js:254:17)
      at /home/elowe/MagicMirror/modules/MMM-Remote-Control/node_helper.js:211:10
      at FSReqWrap.oncomplete (fs.js:123:15)

      And then :

      TypeError: Cannot read property ‘indexOf’ of undefined
      at /home/elowe/MagicMirror/modules/MMM-MyScoreboard/providers/ESPN.js:98:34
      at Array.filter (native)
      at Object.formatScores (/home/elowe/MagicMirror/modules/MMM-MyScoreboard/providers/ESPN.js:97:39)
      at /home/elowe/MagicMirror/modules/MMM-MyScoreboard/providers/ESPN.js:75:27
      at /home/elowe/MagicMirror/modules/MMM-MyScoreboard/node_modules/json-parse-async/index.js:20:14
      at _combinedTickCallback (internal/process/next_tick.js:73:7)
      at process._tickCallback (internal/process/next_tick.js:104:9)

      posted in Sport
      emloweE
      emlowe
    • RE: What the best slim LCD for 24"+ magic mirror? I've been only been able to get components down to 1.5".

      You can get thinner if you go with a laptop LCD panel and source the controller separately, but then you are much smaller than 24" - you’ll be at 17" since that is typically the largest laptop screen you will find readily.

      You could, however, go with dual MM’s - 2 17 inch laptop LCD screens and 2 rpi. You would have to configure them independently though.

      -Earle

      posted in Hardware
      emloweE
      emlowe
    • RE: MMM-MyScoreboard

      @j.e.f.f

      You can use xml2js and convert the XML to JSON for processing. A few other modules do this. As long as the XML isn’t overly complex, you get somewhat reasonable JSON

      -Earle

      posted in Sport
      emloweE
      emlowe
    • 1 / 1