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

    Topics

    • kayakbabeK

      Simplfying my understanding of sendNotification and sendSocketNotification with and without a this

      Watching Ignoring Scheduled Pinned Locked Moved Development
      6
      0 Votes
      6 Posts
      375 Views
      S
      @kayakbabe and on the architecture/design topic if you are doing the signage solution, then one would want one data fetch and broadcast to each client vs each client getting the data on their own some provider apikeys count data access requests (openweather) . so while you dont NEED a node_helper, sometimes you want it. but some of the existing modules dont really support that thought
    • kayakbabeK

      Syntax Style for node_helper.js

      Watching Ignoring Scheduled Pinned Locked Moved Development
      6
      0 Votes
      6 Posts
      552 Views
      KristjanESPERANTOK
      for MagicMirror purposes, is there a preferred style to be used for modules? @kayakbabe I agree with Sam, but here’s a more detailed answer anyway: This depends on where you are. In some modules there are no rules for this - there and in your own modules it is, as Sam says, up to you. However, to avoid poor code style, such as spaghetti code and inconsistently formatted code, which not only make maintenance and further development more difficult, but also affect team collaboration, many projects use static code analysis tools such as prettier and ESLint for checking code quality. In the MagicMirror core (and with this in the default modules), we use the ESLint object-shorthand rule (see https://archive.eslint.org/docs/rules/object-shorthand) to ensure that only the shorthand version is used.
    • kayakbabeK

      With Sam's Backup and Restore script I need help

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      10
      0 Votes
      10 Posts
      911 Views
      S
      @kayakbabe well, all I can say, is I must not have tested it right. my apologies try again… all three scripts corrected now
    • kayakbabeK

      MMM-Pinfo problem on Rpi5

      Watching Ignoring Scheduled Pinned Locked Moved Solved Troubleshooting
      5
      0 Votes
      5 Posts
      670 Views
      R
      @sdetweil thanks. Regards, Ralf
    • kayakbabeK

      MMM-OneButton one button two defineable actions

      Watching Ignoring Scheduled Pinned Locked Moved System
      3
      1 Votes
      3 Posts
      681 Views
      kayakbabeK
      @BKeyport If you want to spin your own, take a look at Sams MMM-PythonPrint example he has posted in these forums. It can run any python script with little tweaking. It sure helped me get off the ground with this. I’m going to flesh my OneButtons out to do many actions with just one button (or many actions with several buttons) and add the tv cec or lcd commands to sleep and wake up. And shutdown and Reboot. It can send any notification that is useful to the Mirror or modules running. I am thinking of having it do something fun like if double clicked fast… pop up a screaming halloween face… My brother likes to try to “Break” thinks. I want to give him a surprise. I think it’s possible to do one button with maybe 6 or seven different actions. I’ve got four working so far and when I get it where I think it’s stable, I’ll put it out on git hub for some feedback.
    • kayakbabeK

      when to use init , start, loaded of node helper

      Watching Ignoring Scheduled Pinned Locked Moved Development
      9
      0 Votes
      9 Posts
      1k Views
      kayakbabeK
      @kayakbabe DRAT! I just crushed my microSD with my wheelchair. It is definitely time for bed.
    • kayakbabeK

      be able to set an array of addresses like ipWhiteList

      Watching Ignoring Scheduled Pinned Locked Moved Unsolved Feature Requests
      2
      0 Votes
      2 Posts
      546 Views
      S
      @kayakbabe set address:‘0.0.0.0’ and ipWhitelist:[] then it works anywhere.
    • kayakbabeK

      learning Python fubared my javascript

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      2
      1 Votes
      2 Posts
      337 Views
      S
      @kayakbabe lol easy to fall into the ditch!..
    • kayakbabeK

      safer weather template by adding a remote config variable

      Watching Ignoring Scheduled Pinned Locked Moved Unsolved Feature Requests
      6
      0 Votes
      6 Posts
      1k Views
      kayakbabeK
      @sdetweil I totally get the difficulty in supporting people. I have been picking njk apart by examples already in the njk templates that I’ve found.
    • kayakbabeK

      thinking about an inky touchscreen hat for mirror gestures

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      1
      0 Votes
      1 Posts
      219 Views
      kayakbabeK
      I was at microcenter and bought a pimoroni inky touchscreen just to play with. I’ve been fighting with teh MMM-flick-gesture module trying to add the airwheel gestures and learned I need to learn a lot more… Since the pisupply Flick would be hanging below the mirror anyway… I’m thinking the inky display might be a better thing to use instead. And… it could display some things when the mirror is blacked out, and when the mirror is displaying, it could show instructions on how to use it to control the mirror pages and module. I think I might be going down a rabbit hole. I’m wondering if anyone has setup an inky display magic mirror. Have you?
    • kayakbabeK

      Default Weather Module Multiple Instances for Diff Locations

      Watching Ignoring Scheduled Pinned Locked Moved Solved Troubleshooting
      5
      0 Votes
      5 Posts
      763 Views
      kayakbabeK
      @sdetweil I got it! That makes even more sense! Thanks!
    • kayakbabeK

      Compliments.json absolute or relative and proper path

      Watching Ignoring Scheduled Pinned Locked Moved Solved Troubleshooting
      6
      0 Votes
      6 Posts
      1k Views
      AssassinsA
      @kayakbabe you Can put you file in to default/compliments And insert this to config.js { module: ‘compliments’, position: ‘bottom_bar’, config: { remoteFile: ‘youfiles.compliments.json’ } },
    • kayakbabeK

      can someone help me find the post about a guy who installed the pir-sensor and got his pi stuck with the HDMI screen output

      Watching Ignoring Scheduled Pinned Locked Moved Troubleshooting
      2
      0 Votes
      2 Posts
      333 Views
      S
      @kayakbabe look thru the recent posts it’s not far back
    • kayakbabeK

      Currentweather and weatherforecast do not stay hidden

      Watching Ignoring Scheduled Pinned Locked Moved Troubleshooting
      8
      0 Votes
      8 Posts
      977 Views
      kayakbabeK
      @sdetweil Having what you have on hand makes a ton of sense. I would probably go that on route myself except I’m making this as a gift for my Dad. He is an absolute paranoid dude when it comes to cameras especially in his bathroom or bedroom, which is where this will go. And the PIR sensors are cheap. cheaper than even a pi camera. And this mirror will always be on due to the cheap monitor I"m using. I do think something in the currentweather and forecastweather is tossing out dom information that is switching the style css from display off to display block. i have commented out all the other modules except the MMM-grovegestures and the two weather modules. So it’s not coming from elsewhere. From looking at the code, it appears that there is an onIdle somewhere. I want to find that. I wish I had Coda on this pi. I’m used to coding in a Mac environment. I’m being stubborn and trying to do this all on the pi. Is there a graphic code editor which can search files in a project and not just the file you have open?
    • kayakbabeK

      after 2.12 upgrade custom.css is no longer loading

      Watching Ignoring Scheduled Pinned Locked Moved Troubleshooting
      5
      0 Votes
      5 Posts
      893 Views
      S
      @kayakbabe cool, thanks for posting a resolution…
    • 1 / 1