Git Product home page Git Product logo

Comments (10)

dekuNukem avatar dekuNukem commented on July 23, 2024 3

Thanks, the relevant code is around here in the RX firmware. received_data[0] is the unique ID, you can check that and do your stuff.

If you're unfamiliar with STM32 dev, I have wrote a tutorial about it too.

from daytripper.

dekuNukem avatar dekuNukem commented on July 23, 2024

You sure can keep it plugged in all the time, you don't even need the battery if you do that. As for controlling the lights, you can take a look at executing custom action.

from daytripper.

RGSMA avatar RGSMA commented on July 23, 2024

Either an IFTTT Webhook or a Python script such as WeMo.py should work.

from daytripper.

nh2 avatar nh2 commented on July 23, 2024

Interested in that too. Thanks for answering the "keep plugged in" question, that was also my first one.

Second, can you use (and purchase) multiple TX with a single RX, so that you can use one RX "base station" to handle multiple doors?

from daytripper.

dekuNukem avatar dekuNukem commented on July 23, 2024

I touched upon this topic in advanced usage guide .

Basically, daytripper wasn't really designed with multiple TX or RX in mind, so I haven't done much testing. However Single RX multiple TX does seem to work, and RX will respond when ANY TX triggers.

And if you do want to buy a single RX and multiple TX, we can arrange what as well.

from daytripper.

nh2 avatar nh2 commented on July 23, 2024

Thanks! When one of multipe TX triggers, can the RX figure out which one it was?

from daytripper.

dekuNukem avatar dekuNukem commented on July 23, 2024

At the moment no. RX will do the same thing if any of the multiple TX triggers.

However, each TX does include a unique ID in its on-air-packet. So if you're willing to do a bit programming, it is completely possible to assign different actions to different TXs.

RX also prints out debug information in its debug serial harder, so that's another way to tell.

from daytripper.

nh2 avatar nh2 commented on July 23, 2024

However, each TX does include a unique ID in its on-air-packet. So if you're willing to do a bit programming

That's great, that'll do.

I've ordered one just now to try it out.

from daytripper.

nh2 avatar nh2 commented on July 23, 2024

Good stuff, very appreaciated!

That's how modern hardware should work: Easy to order, easy to modify for your needs. 👍

from daytripper.

Slomo17 avatar Slomo17 commented on July 23, 2024

At the moment no. RX will do the same thing if any of the multiple TX triggers.

However, each TX does include a unique ID in its on-air-packet. So if you're willing to do a bit programming, it is completely possible to assign different actions to different TXs.

RX also prints out debug information in its debug serial harder, so that's another way to tell.

I have a simmilar project, which may be possible with the daytripper.
For years i wanted to build something, that pauses the movie i am watching when i leave the room, and resumes it when i am back (i use kodi as a media center on a raspberry pi). The main problem here is if there are more than just me in the room and another person leaves the room it would resume the movie. So i would need something that can detect the direction of the person crossing the laser, for which i would need two lasers. With the ID you mention it may be possible for me to use two TX und figure out which one got activated first to determin the direction

from daytripper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.