@Blair-Hadfield That's awesome, really cool application of IFTTT & the Omega!
Regarding the delay issue:
It looks like
is actually a soft-link to
But I'm guessing that ubus likes using the /sys/class/leds/onion\:amber\:system/ path more!
Thanks for the heads-up!
It seems the easy part of this is the actual opening of the gate. A simple bash or python script can run the appropriate commands to send a signal to open a relay/GPIO pin.
The hard part seems to be the connection between phone (as you want to be mobile!) and the onion.
A couple of ways I can think of:
1: Use Telegram - It is a messaging app but you can use it to send commands to a device. The device polls Telegram through an API and if a specific command is sent then you can tell it to do something. ie, run a script that opens a gate!
2: Use IFTTT maker channel - Its a simple cloud based automation tool. So you can either have an IF This Then That, so if your phone gets to this GPS co-ord then open the gate. Or better would be the DO function of IFTTT which you launch the app and it has specific buttons which you can set, ie button to open gate, button to close. In the background, again the device will need a webhook to poll the API of IFTTT looking for the DO button presses.
Each method relies on polling the API of the service, IFTTT DO function would work better as the command structure of Telegram would mean you'd have to a send a command (ie /opengate) whereas the DO presents a nice button on an app you press.
As each method relies on polling an API and you'd want it to be fast I reckon you'd want something like poll every second. I dont know if this is possible because I've not used it before!
I did make a post on how to use Telegram for notifications, so you can use this to setup your bots which seems a bit odd at first. https://community.onion.io/topic/499/sending-telegram-messages-via-bots/1
Hi @Stephen-Moraco, unfortunately we are still stumbling when it comes to getting newer versions of node to compile. We have searched for ways that the Arduino Yun has compiled it, but it seems that they did not open source the patch/makefile for their pre-built version. If you can extract the files from your device that would be great. We can try to repackage it as an ipk and release that.
which files do you need? For getting usb audio to work, or squeezelite, or squeezeslave?
But in general you should be able to find it here: https://www.dropbox.com/sh/g12gf4ko9512pec/AACDj55QPvxf46LM1V5AwpHoa?dl=0
For usb audio devices @fader also wrote a great howto.
Hi @Jardel-Inacio-Moreira-Vieira, unfortunately I don't think the Omega has enough resources to run couchDB. I tried to do some google searches but I wasn't able to find any information on compiling it for OpenWRT. However, I was able to find a lite noSQL here: http://whitedb.org, however I am not sure if it fits your requirement.
Looks like your connection to Community was lost, please wait while we try to reconnect.