MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Approach to show message in MM once an RF signal was detected

    Scheduled Pinned Locked Moved General Discussion
    1 Posts 1 Posters 928 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • MAF1981M Offline
      MAF1981
      last edited by

      Hi there,
      I’m looking for an approach to accomplish the following:
      I have some (remote) radio controlled power outlets (on 433 MHz signals). Currently I have 4 of these outlets, so 8 different codes (on /off). I would like to display a message on my MagicMirror once a particular power outlet has been switched on. The message should disappear if the particular power outlet has been switched off again.
      I have a wireless receiver for my Pi up and running and also found a RFSniffer (https://github.com/ninjablocks/433Utils/tree/master/RPi_utils) written in C++ which works fine so far. I can see all codes for each outlet if I switch it on/off by the remote control.
      Now I’m struggling with the implementation in my module for MM. I understand that I have to use the node_helper.js somehow to receive notifications. But I only found a way to get results of Python scripts back to the node_helper. I don’t find a RFSniffer tool written in Python.
      Question 1: Is there any Python RFSniffer available?
      Question 2: How can I get the result from the C++ Sniffer to the node_helper.js to evaluate it in my module? Is there a way without having a Python script inbetween? If not, is there any tutorial or similar code available that I can use as template to solve my requirement?

      Thanks in advance!
      MAF1981

      1 Reply Last reply Reply Quote 0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      • 1 / 1
      • First post
        Last post
      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