Are you using USB speakers directly into the Omega dock? I believe the error is because you need the speakers to be plugged into a USB sound card (since the Omega doesn't have a sound card built-in)
For more info, check out the USB audio page on OpenWRT (the verison of linux used on the Omega):
In particular, you can test sound with these commands:
speaker-test -Dplug:front -c2 -tsine -f440
speaker-test -Dplug:front -c2 -twav -f440
@Gilad-Fride Awesome project! Little bit of hardware hacking, little bit of software, very IoT and very cool!
We want to show you our appreciation by giving you an Omega2! Please email email@example.com with your shipping info or let us know if what we have on file from your previous order is ok!
@Cody-Swann Thanks for sharing your project! We want to show you our appreciation by giving you an Omega2! Please email firstname.lastname@example.org with your shipping info or let us know if what we have on file from your previous order is ok!
@Laurence-HR Thanks for sharing your project! We want to show you our appreciation by giving you an Omega2! Please email email@example.com with your shipping info or let us know if what we have on file from your previous order is ok!
The 16 PWM signals means that you can run up to 16 separate servos, but you would need an external 5V power supply with enough current to supply all of them. The Omega by itself can power 1 or 2 small servos under very light load, although it can get a standard size servo to turn a door lock here!
You would definitely need to find the maximum current draw of each servo (usually in their specs), and make sure your external power supply can provide more than the sum of all maximum currents (for safety).
Labelling each wire is very handy, you can either label by part/location or by #; the connectors on the Expansion are marked from S0 to S15.
Full technical details are available in our Servo Expansion Tutorial.
PS: Please post your project when you're done, we'd love to see it!
@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