Comments (10)
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.
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.
Either an IFTTT Webhook or a Python script such as WeMo.py should work.
from daytripper.
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.
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.
Thanks! When one of multipe TX triggers, can the RX figure out which one it was?
from daytripper.
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.
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.
Good stuff, very appreaciated!
That's how modern hardware should work: Easy to order, easy to modify for your needs. 👍
from daytripper.
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)
- Electronic components HOT 1
- About firmware HOT 5
- How much is the power consumption of the TX? HOT 2
- About TX HOT 1
- About schematic diagram HOT 1
- TX unit not working HOT 6
- Disable Blue LED HOT 6
- Having two close by HOT 2
- broken rx HOT 1
- what is this game in the video? HOT 2
- RX not receiving signal HOT 5
- Not recording keystrokes anymore HOT 4
- Hi, I was wondering, did you print these circuit boards by yourself? HOT 2
- the difference between the photo and the bom HOT 1
- import firmware into Stem32CubeIDE or System Workbench HOT 1
- question on having the PCB manufactured
- Custom Commands documentation incorrect for macOS
- Daytripper configurator fatal error (Daytripper configurator v0.2.0)
- Dvorak layout windows lock unsupported?
- No sales? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from daytripper.