• 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. tbouron
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
T
Offline
  • Profile
  • Following 0
  • Followers 0
  • Topics 4
  • Posts 35
  • Groups 1

tbouron

@tbouron

Module Developer
14
Reputation
307
Profile views
35
Posts
0
Followers
0
Following
Joined Nov 6, 2018, 7:20 PM
Last Online Jul 16, 2020, 8:05 AM

tbouron Unfollow Follow
Module Developer

Best posts made by tbouron

  • Finally, my first mirror is complete!

    I always wanted to try building a magic mirror for myself, but I really started the journey about 6 months ago. The goal for this build was to have something simple and minimalist.

    My first step was to sort out the software part (easier for me as I am a software engineer during daylight) then move on to the hardware.

    Software

    I have a couple of raspberry pis lying around at home. I took one and installed MagicMirror on it without any troubles. I also started to look at modules that were available: weather, calendar and clock were of course in the final bracket. But I wanted something beyond that.

    I’m living in Edinburgh and commuting by bus, so a module to display the live time data from the bus stops around the house was a must-have. It didn’t exist so I created MMM-LothianBuses.
    I can see planes from the kitchen windows. As my wife is really curious, she always wants to know what planes they are so I built MMM-FlighTracker module which does exactly that.
    A late addition to the the curated list of modules I’m running was to know what current song is playing on my Sonos network. In the spirit of having a minimalist setup I also created another MMM-Sonos module as the other one didn’t suit my needs.

    mock-up

    Hardware

    With the software out of the way, I started to build the frame for my mirror. I bought an old 21’’ monitor from which I took all my measurements. The plan was to enclose this screen into a wooden frame, sandwiched between the mirror and angle brackets to secure it in place. I have a wood recycling center close-by home, went there and bought a 1.8cm plywood sheet from which I cut strips to do the frame. I used dove-tail joints to provide enough mechanical strength to support the weight of the final product.

    Initially, I wanted to keep the frame bare with a light stain, as the plywood layers give a nice feature. But I did sort of a mess when I cut the strips, and the plywood shipped quite a bit. At the end, I had to use some filler + paint to have an nice finish. Next, I made a channel with my router on each strip to slide the mirror in. This provides a nice look but it also means that once glued, the mirror cannot be extracted or changed without breaking the frame.

    Angled square brackets

    Mirror channel

    Dove-tail joints frame #1

    Dove-tail joints frame #2

    After the assembly of the frame + mirror, I did a couple of coats of filler, then paint. I pushed down the screen against the mirror and secured it with 3D printed angled brackets. I also soldered power leads to have a nice 3 pins IEC connector at the bottom of the screen. That way, I have a nice single unit that I can plug anywhere (bonus point of my screen is that the 2 USB ports are always delivering 5V even though the screen is “off”, so the raspberry pi can be plugged there directly rather then needed an external power source)

    Power leads

    Screen prepared

    Final assembly

    First coat of paint

    To hanged the mirror, I used a very simple french cleat within the frame which makes the mirror completely flushed with the wall. Here is the result!

    Nice picture #1

    Nice picture #2

    Nice picture #3

    Nice picture #4

    After thoughts

    I’m super happy with the way it turned out, and it gave me so much satisfaction when I finished the project. However there a couple of things that I might do differently if I had to do it again:

    • not using the channel to slide the mirror in, for reasons explained above. I would rather do a simpler design for the frame.
    • use a glass mirror. I have a pretty decent acrylic mirror. It looks good but unfortunately, it:
      • wrapped a bit.
      • reduces the brightness of the text quite a lot.
      • reduces the viewing angles significantly.
    • spend more time onto the smaller details like “externalised” the screen buttons (I have all the hardware but need to wire them up) + do a an integrated on/off and reset buttons for the raspberry pi. Although this can be added later on.
    posted in Show your Mirror
    T
    tbouron
    Feb 4, 2020, 4:42 PM
  • MMM-FlightTracker - Real time plane tracker using ADS-B systems

    Hi there.

    I recently released a new module to get nearby planes information in real time, using ADS-B receiver (that is how most of the FlightRadar24 gets its data).

    All necessary information (prerequisite, configuration, screenshot) is available on the GitHub repository: https://github.com/tbouron/MMM-FlightTracker

    Hope you’ll enjoy!

    2_1577188325982_screenshot-passing-by.png
    0_1577188325979_screenshot-at-the-window.png
    1_1577188325982_screenshot-no-planes.png

    posted in Transport
    T
    tbouron
    Dec 24, 2019, 11:52 AM
  • RE: MMM-FlightTracker - Real time plane tracker using ADS-B systems

    Hi there.

    I just release v1.1.0 of the module. See the README.md for the new configuration + how it looks like.

    To update, simply do a git checkout master && git fetch origin && git pull origin master && npm i

    posted in Transport
    T
    tbouron
    Jan 7, 2020, 10:03 PM
  • RE: MMM-Sonos - Display what is currently playing on your Sonos network

    @hweigel Thanks, that’s very much appreciated!

    The module specifies classes for each element, like this one for the track so you can customise the font size via your custom.css

    posted in Entertainment
    T
    tbouron
    Jan 14, 2020, 11:57 PM
  • RE: MMM-FlightTracker - Real time plane tracker using ADS-B systems

    Hum if we can get the data out of this then yes, I can look into this :)

    I’ll look at dump1090 and see what I can do. Wanted to go back to the output design anyway so might be a nice feature to add.

    I’ll let you know.

    posted in Transport
    T
    tbouron
    Dec 29, 2019, 9:14 PM
  • RE: MMM-FlightTracker - Real time plane tracker using ADS-B systems

    Alright @ytmytm got something working with the data exposed by dump1090.
    This is available on the branch feature/network where also updated the README.md regarding the configuration: https://github.com/tbouron/MMM-FlightTracker/tree/feature/network. You will need to update the dependencies:

    git fetch && git pull feature/network && npm i
    

    I’m running this locally and seems to work quite well. However, can I ask you to test it and report back with any issues, or a thumbs up? I’ll push this “officially” when I’m sure it works for you :)

    posted in Transport
    T
    tbouron
    Jan 5, 2020, 12:59 PM
  • RE: MMM-FlightTracker - Real time plane tracker using ADS-B systems

    @ytmytm Cool, glad it works fine! I actually just realised that my last commit is not quite right regarding the connection retry if the TCP stream is closed. I’ll fix that for the merge in master.

    Regarding the dependency issue, you are right, I missed the librtlsdr-dev dependency in the prerequisites list, I’ll add that (FYI, this is needed only for the rtlsdr mode). And I think you had to rebuild the module because it was missing when you executed npm i (It is certainly not something I had to do on my Pi)

    I’ll clean this up and push to master, probably tomorrow though.

    Finally, I’m also working on a new UI with better UX (I think), I’ll post screenshots when I can.

    posted in Transport
    T
    tbouron
    Jan 6, 2020, 10:48 AM

Latest posts made by tbouron

  • RE: MMM-Sonos - Display what is currently playing on your Sonos network

    @Desaydrone The error message suggest the plugin is not able to find a Sonos device on the network. Although, it automatically retries until it finds one.

    Is there any other messages like this on the logs? Are you sure your speakers are on the same LAN?

    posted in Entertainment
    T
    tbouron
    Jul 16, 2020, 8:05 AM
  • RE: MMM-Sonos - Display what is currently playing on your Sonos network

    @PH1TCH I don’t want to have to support something that I don’t use so I’m afraid I’m going to decline.

    However, seems you are lucky as someone created a fork that includes the album cover: https://github.com/armybean/MMM-Sonos

    posted in Entertainment
    T
    tbouron
    May 29, 2020, 5:29 AM
  • RE: Finally, my first mirror is complete!

    @Mahieedaboss not sure what you mean by more slides?

    posted in Show your Mirror
    T
    tbouron
    Apr 17, 2020, 7:24 AM
  • RE: Finally, my first mirror is complete!

    @PaulB I use the antenna that came with the USB dongle. Works like a charm

    posted in Show your Mirror
    T
    tbouron
    Apr 17, 2020, 7:22 AM
  • RE: Finally, my first mirror is complete!

    Thanks @seramik, @Fozi. I already planned to have a white cable, it just hasn’t arrived yet so I used a black one as a temporary measure.

    I’ll consider upgrade to glass but later, once I get bored of the current version.

    posted in Show your Mirror
    T
    tbouron
    Feb 7, 2020, 8:53 AM
  • RE: Finally, my first mirror is complete!

    @bhepler Thanks! The slots fo the mirror give a neat finish but I’m sure there are easier technics to achieve this effect without the hassle (it wasn’t the easiest job to do the frame assembly)

    That being said, it was good woodworking practice :)

    posted in Show your Mirror
    T
    tbouron
    Feb 4, 2020, 9:28 PM
  • Finally, my first mirror is complete!

    I always wanted to try building a magic mirror for myself, but I really started the journey about 6 months ago. The goal for this build was to have something simple and minimalist.

    My first step was to sort out the software part (easier for me as I am a software engineer during daylight) then move on to the hardware.

    Software

    I have a couple of raspberry pis lying around at home. I took one and installed MagicMirror on it without any troubles. I also started to look at modules that were available: weather, calendar and clock were of course in the final bracket. But I wanted something beyond that.

    I’m living in Edinburgh and commuting by bus, so a module to display the live time data from the bus stops around the house was a must-have. It didn’t exist so I created MMM-LothianBuses.
    I can see planes from the kitchen windows. As my wife is really curious, she always wants to know what planes they are so I built MMM-FlighTracker module which does exactly that.
    A late addition to the the curated list of modules I’m running was to know what current song is playing on my Sonos network. In the spirit of having a minimalist setup I also created another MMM-Sonos module as the other one didn’t suit my needs.

    mock-up

    Hardware

    With the software out of the way, I started to build the frame for my mirror. I bought an old 21’’ monitor from which I took all my measurements. The plan was to enclose this screen into a wooden frame, sandwiched between the mirror and angle brackets to secure it in place. I have a wood recycling center close-by home, went there and bought a 1.8cm plywood sheet from which I cut strips to do the frame. I used dove-tail joints to provide enough mechanical strength to support the weight of the final product.

    Initially, I wanted to keep the frame bare with a light stain, as the plywood layers give a nice feature. But I did sort of a mess when I cut the strips, and the plywood shipped quite a bit. At the end, I had to use some filler + paint to have an nice finish. Next, I made a channel with my router on each strip to slide the mirror in. This provides a nice look but it also means that once glued, the mirror cannot be extracted or changed without breaking the frame.

    Angled square brackets

    Mirror channel

    Dove-tail joints frame #1

    Dove-tail joints frame #2

    After the assembly of the frame + mirror, I did a couple of coats of filler, then paint. I pushed down the screen against the mirror and secured it with 3D printed angled brackets. I also soldered power leads to have a nice 3 pins IEC connector at the bottom of the screen. That way, I have a nice single unit that I can plug anywhere (bonus point of my screen is that the 2 USB ports are always delivering 5V even though the screen is “off”, so the raspberry pi can be plugged there directly rather then needed an external power source)

    Power leads

    Screen prepared

    Final assembly

    First coat of paint

    To hanged the mirror, I used a very simple french cleat within the frame which makes the mirror completely flushed with the wall. Here is the result!

    Nice picture #1

    Nice picture #2

    Nice picture #3

    Nice picture #4

    After thoughts

    I’m super happy with the way it turned out, and it gave me so much satisfaction when I finished the project. However there a couple of things that I might do differently if I had to do it again:

    • not using the channel to slide the mirror in, for reasons explained above. I would rather do a simpler design for the frame.
    • use a glass mirror. I have a pretty decent acrylic mirror. It looks good but unfortunately, it:
      • wrapped a bit.
      • reduces the brightness of the text quite a lot.
      • reduces the viewing angles significantly.
    • spend more time onto the smaller details like “externalised” the screen buttons (I have all the hardware but need to wire them up) + do a an integrated on/off and reset buttons for the raspberry pi. Although this can be added later on.
    posted in Show your Mirror
    T
    tbouron
    Feb 4, 2020, 4:42 PM
  • RE: Sonos Error at startup

    @AvatarED007 If there is no error at start up, that means the module is able to fetch the groups fine. But based on the latest logs you shared, it fails to fetch again the groups when the change, which would indicate that somehow the module (hence the mirror) loose the connection to the speakers later on. Maybe your mirror has a flaky connection?

    Unfortunately, I cannot reproduce this so it’s going to be impossible to assist further :(

    posted in Troubleshooting
    T
    tbouron
    Feb 4, 2020, 4:14 PM
  • RE: Sonos Error at startup

    @AvatarED007 Hum, it doesn’t make any sense. The discover should retry even if there is an error, something is wrong here.

    Can post the entire log file please? Also, are you sure all your sonos devices are up to date?

    posted in Troubleshooting
    T
    tbouron
    Feb 2, 2020, 3:08 PM
  • RE: Sonos Error at startup

    @AvatarED007 Do you have more logs after what you shared? Did the module managed to connect to at least one Sonos device?

    FYI, error 503 and 405 suggest that the module is trying to discover a device on your network and get the groups, but fails at doing so. There are quite a lot possibilities why this can happen:

    • Is your mirror on the same network as your Sonos devices?
    • Are your Sonos devices on and connected?
    • Are your Sonos devices up to date?
    posted in Troubleshooting
    T
    tbouron
    Feb 2, 2020, 9:50 AM
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