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

Topics

  • M

    MMM-atHome

    Watching Ignoring Scheduled Pinned Locked Moved Utilities
    1 Jan 12, 2021, 10:30 AM
    Jan 12, 2021, 10:30 AM
    1
    0 Votes
    1 Posts
    702 Views
    M Jan 12, 2021, 10:30 AM
    This is pretty niche, but I wanted to show my next rubbish collections as we have multiple that are on different weeks. My local council doesn’t appear have an API and the website to view the next collections isn’t the easiest to pull data from. They do however use the @HOME app, and from this I have pulled back the relevant JSON. More details can be found at: MMM-atHome [image: 1610447338782-screenshot.png]
  • M

    MMM-qnapDownloadStation

    Watching Ignoring Scheduled Pinned Locked Moved Utilities
    1 Sep 18, 2020, 7:03 AM
    Sep 18, 2020, 7:03 AM
    1
    0 Votes
    1 Posts
    242 Views
    M Sep 18, 2020, 7:03 AM
    I’ve created a module, MMM-qnapDownloadStation, that will show the current downloads from Download Station running under a QNAP NAS. [image: 1600412610872-example.png]
  • M

    Convert bytes to megabytes - JSON

    Watching Ignoring Scheduled Pinned Locked Moved Development
    8 Sep 17, 2020, 6:40 AM
    Sep 16, 2020, 6:46 AM
    0 Votes
    8 Posts
    2k Views
    M Sep 17, 2020, 6:40 AM
    Thanks for the replies :thumbs_up_light_skin_tone: I’ve got the bytes string converting to a number, so that’s all good. Now the next question, @Bugsounet how do I use your function within the JSON.parse function? var payload = JSON.parse(payload, function (key, value) { if ( key === 'down_rate' ) { var num = Number(value); return (num/(1024*1024)).toFixed(2); } Just to add, I had tried the following and receive a this.convert is not a function var downrate = this.convert(value,0); return downrate;
  • M

    sendSocketNotification not working

    Watching Ignoring Scheduled Pinned Locked Moved Development
    3 Apr 5, 2018, 3:23 PM
    Apr 5, 2018, 1:41 PM
    0 Votes
    3 Posts
    2k Views
    M Apr 5, 2018, 3:23 PM
    Got this sorted - found there is another url that holds the information so added another request. The request I was having issues with was a post request, whereas the one I am using is a get.
  • M

    MMM-Hive

    Watching Ignoring Scheduled Pinned Locked Moved Utilities
    39 Sep 30, 2023, 11:27 AM
    Jul 29, 2017, 9:06 AM
    4
    4 Votes
    39 Posts
    21k Views
    N Sep 30, 2023, 11:27 AM
    I think its to do with Hive’s 2-factor authentication Does anyone have a workaround for it?
  • M

    [Solved] Data layout - icon and text in same cell with spacing

    Watching Ignoring Scheduled Pinned Locked Moved Troubleshooting
    2 Jul 29, 2017, 7:47 AM
    Jul 29, 2017, 6:23 AM
    2
    0 Votes
    2 Posts
    1k Views
    M Jul 29, 2017, 7:47 AM
    I’ve been ‘googling’ since posting and have found the solution (may not be the best solution, but it is now working). I’ll put it here as it may help someone, or someone else may have a better suggestion: targetTemperatureCell.insertBefore(frostCell, targetTemperatureCell.firstChild);
  • M

    Passing variable from one request to another

    Watching Ignoring Scheduled Pinned Locked Moved Troubleshooting
    8 Jul 27, 2017, 8:12 AM
    Jul 26, 2017, 12:44 PM
    0 Votes
    8 Posts
    3k Views
    S Jul 27, 2017, 8:12 AM
    @mongo116 the callback of the request gets executed async, so you can’t put them just next to each other. Because then the second request would be fired before the first one got his respond, by nesting you can ensure that the first request got a respond.
  • M

    Hive current room temperature

    Watching Ignoring Scheduled Pinned Locked Moved Requests
    10 Jul 29, 2017, 9:09 AM
    Jul 18, 2017, 11:32 AM
    0 Votes
    10 Posts
    5k Views
    M Jul 29, 2017, 9:09 AM
    I’ve only gone and bloody done it!! https://forum.magicmirror.builders/topic/4576/mmm-hive [card:flick116/MMM-Hive] Please be gentle with the critique!
  • 1 / 1
Enjoying MagicMirror? Please consider a donation!
MagicMirror created by Michael Teeuw.
Forum managed by Sam, technical setup by Karsten.
This forum is using NodeBB as its core | Contributors
Contact | Privacy Policy