MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. kayakbabe
    3. Posts
    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

    Posts

    Recent Best Controversial
    • RE: Two color font?

      @ember1205 look at the css for text . You want Shadow . It can help with this problem a lot. Won’t make it go away. But help a lot.

      posted in Custom CSS
      kayakbabeK
      kayakbabe
    • RE: FireTV or Android TV as MM client

      @korey_sed Another css tip is not to use “fixed” sizes for things like fonts and widths of div containers or images.

      I prefer to use units which are relative in size like em and vh and vw which are relative size units. so 1em on a phone versus 1em on a high rez computer screen will be different sizes relative to the media display. better than pixels which are a fixed size and do not scale with the display.

      For instance, I use vw and vh for images, because i actually move my pi around to different size monitors. vw is view height and vh is view width. So for my module that shows an random image (that can change from portrait or landscaped and size everyday), I set the css up for max-width: 50vw which translates to 50% of the view port size and 30vh. (vh is view height.) That way an image in that module will never be bigger than 50% of the width or 30% height of the screen. I find relative sizing really useful for websites that have to support a lot of different devices looking at it. No beans about it, MagicMirror is definitely a website.

      You might want to google about relative css units. here is a links to get you started if you want to try it.

      https://www.freecodecamp.org/news/css-unit-guide/

      posted in Hardware
      kayakbabeK
      kayakbabe
    • RE: Using serial (RS232) connection to control TV

      @sdetweil even better! Then it’ll run on many more operating systems!

      posted in Hardware
      kayakbabeK
      kayakbabe
    • RE: Using serial (RS232) connection to control TV

      @kayakbabe if you can get it working with python, I’m thinking maybe the python package pyserial would be enought.

      posted in Hardware
      kayakbabeK
      kayakbabe
    • RE: Using serial (RS232) connection to control TV

      @rubberduck that should be totally doable with python. And the mirror and python can be done. There are several module that use python scripts. Are you wanting to just turn the tv on and off?

      your tv will need to be able to restart on the same hdmi port you have your video from your pi feeding into. just a thought.

      If you want to just keep the tv on, but blacken the screen, your tv might have a screen saver or something … some do.

      posted in Hardware
      kayakbabeK
      kayakbabe
    • RE: MMM-OneButton one button two defineable actions

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

      posted in System
      kayakbabeK
      kayakbabe
    • MMM-OneButton one button two defineable actions

      This is my first working module. I wanted to make one button do more than one thing. This module uses a python script to poll the button state. The button can be pressed and released or it can be held down for a long period of approx 4 seconds.

      I am currently using MMM-OneButton with the MMM-Pages module to PAGE_INCREMENT the pages upon a button press.
      And to ARTICLE_NEXT for the default news module when the button is held.

      I have to give Sam kudo for all his examples he has posted on this forum. He’s really helped me a lot.

      I plan on making it even more useful by adding in the obligatory screen on/off. reboot pi, etc. But I am excited that I’m finally figuring this stuff out enough to actually make a working module.

      If you want to try it out and give me some feedback, it’s located at
      https://github.com/Kayakbabe/MMM-OneButton

      posted in System
      kayakbabeK
      kayakbabe
    • RE: FireTV or Android TV as MM client

      @OldSunGuy Thats really cool! I’ll have to check that device out.

      posted in Hardware
      kayakbabeK
      kayakbabe
    • RE: MMM-PythonPrint customisation

      @sdetweil I’m looking at the configuration variable repetative and trying to figure out what it is for.

      is this correct logic for true and false?

      repetative: true
      if your python script runs in a loop forever by itself so the spawn in node helper will just keep its connection to the python script open

      repetative: false
      if your python script runs one time, and you need node_helper to keep spawning over and over so you can get the info from the python script over and over

      posted in Troubleshooting
      kayakbabeK
      kayakbabe
    • RE: FireTV or Android TV as MM client

      @OldSunGuy That’s because the browser software itself built into older TV’s and (even firestick, chromecast, appletv if they aren’t ever updated by their owners ) etc might not be compliant with the full newer html spec.

      You also can find the situation where a web browser app on one of those older devices might have newer software insdie the app so it can display a website, that the builtin browser of the tv itself can’t display.

      If that old TV/app/computer is running a really old browser software, it isn’t going to be able to execute the newer javascript versions.

      So using the built in browser on older equipment is a crap shoot at best - especially with older televisions and old hardware that can’t be updated.

      In those cases “casting” the output from the hardware running the serverside and clientside software over to the television is the only way to get it on the tv. The quality of the “casting” device is going to matter a LOT. Hardwiring with direct cables is always going to be the best.

      But screen casting is really good now days. That said if you device only casts 720 and you have a 4k computer output and a 4k monitor it will look like crap. The screencast device can’t push the 4k info through it and will downgrade the signal to 720.
      If you get a casting setup that matches the computer and monitor, it will look a lot better.

      My old screen cast device looked horrible on my new 4k tv. So I gave it away and got a newer J5create screencast device that matches the output display on my pi and the capabilities of my best tv.
      I can cast anything I want to the tv and it looks good.

      many Chromecast /roku/hulu type devices are capable of recieving… but you might need a dongle added to your computer to send to it. I don’t use chromecast,firestick, etc.
      Becuase I run the same software locally on my laptop and I just use the J5create to send the screen to my tv.

      posted in Hardware
      kayakbabeK
      kayakbabe
    • 1 / 1