This is a quick look at the project in progress: http://sunajtech.blogspot.com/2016/06/smart-bracelet-using-omega-onion-and.html?m=1
Janus Sanders
@Janus Sanders
Electrical Engineer (BSEE), I've worked in the field of computer engineering and Data Systems for over 25 years! My passion is data science using machine learning and IoT!!
Best posts made by Janus Sanders
-
Rechargeable Arc Reactor Bracelet
-
RE: Mini Wireless HD Webcam
@Guest you're most welcome! Thanks also to the Onion Team on a job well done!
-
RE: No-header Omega Onion as an option?
@Lazar-Demin I've performed the surgery twice and getting proficient at it. Thought I'd ask.
-
RE: Power Bare Onion Board?
@Dave-M yeah, strange. You're right about the 200mah's also. Does the Omega have surge protection? I've always switched power into the onion. Perhaps the direct battery to contact surge is getting in the way?
Latest posts made by Janus Sanders
-
RE: I have installed a package, it says that it has installed fine but then I can only find the library files (*.so.*) and no headers (.h) ?
@cas well said. I set my Docker image to
40Gb
! -
Omega Onion 2S+ Looses WiFi AP when Home Router Disconnected
Like the title says, I first connect to my home router using
wifisetup
. Everything works fine. As soon as I unplug my home router, the Omega Onion 2S+ Access Point also shuts down.Is there a way to prevent this from happening?
Also,
If the Onion 2S+ cannot connect to the configured home router, It will never show it's wireless AP or finalize it's boot sequence.
This is considered a critical failure in the boot sequence.
-
RE: I have installed a package, it says that it has installed fine but then I can only find the library files (*.so.*) and no headers (.h) ?
@Edward-Cheadle That's correct. Also, I highly recommend using Docker. You'll spend several hours (expert) if not weeks (novice) learning how to build the LEDE environment. Do yourself a huge favor and learn Docker with DockerHub.
-
RE: What makes a camera fail
I did some very basic research, so this may not be very accurate. It appears that your USB camera has audio that may be interfering with the USB drivers on the Omega Onion (again...not exactly sure). Try the following:
- Make sure the volume on the Camera is turned all the way down or off
- Use a USB camera that doesn't have audio
And try again.
From your error message, it appears that the USB camera disconnects and reconnects a couple times then finally fails.
-
RE: what is wrong with this code (using python 3{omega 2+}) [sorry im new to this its all code but the bottom where i say i get]
Indentations are extremely important to the Python interpreter. It appears that Python doesn't know what parent method that line belongs to.
-
RE: I have installed a package, it says that it has installed fine but then I can only find the library files (*.so.*) and no headers (.h) ?
There seems to be some confusion here. The OpenWrt package manager
opkg
only deployscompiled
binaries (i.e. the.so
) files. If you looking to build and deploy your own binaries (again the.so
files), you'll need to setup aCross-Compile Build Environment
. That's where you will need to deal with the.h
files. -
RE: Can't get Omega2 to connect to my home wifi
The most common issues I've had regarding wifi is a
weak signal
. The first step is to get as close to the wifi source as possible. I use thehotspot
on my android that is right next to the Onion and it works every time. -
RE: Omega2+ Cross Compilation on Ubuntu 18.04 LEDE Build failing
I spent a week trying different configurations to solve this issue, the two main docker platforms I list below:
- Windows 10 running linux docker container
- Ubuntu 18.04 LTS running linux docker container
The final result on both platforms were consistent:
- libwebsockets.h not found error
- Mosquitto build fails
- Not enough space available on the container
Workarounds (note: this works on a failed container
- Increase the default docker container size allocated by the docker daemon form 20Gb to 40Gb. I found the final build is 20.7Gb total and takes about 7 hours on Windows and 4 hours on Ubuntu...Give or take. This is done by modifying the docker
daemon.json
file.
docker attach <container ID> (note: CTRL-p CTRL-Q to SIGKILL)
Attach
to the docker container anduse VIM to modify the .config
file and:
a. Search for all instances of the keyword "mosquitto" and comment them out from the build configuration. If you need mosquitto, you'll have to find another way around the issue.
note: I recommend addding the"is not used"
value after commenting out the line
vim .config
make menuconfig
- Either run
make menuconfig
to add libwebsockets library and the libwesockets examples to the build configuration. Or while you're modifying the .config file, do a search usingVIM
for libwebsockets and add the library and examples to the build.
note: I built libwebsockets library by [using an*
in menuconfig or=y
in .config they are accomplishing the same thing] and set the libwebsockets examples [M
in menuconfig or=m
in .config]
make -j1 V=s
- Run
make [options]
inside of theattached
container. Docker automatically creates several intermediate containers when necessary and I found that using a Dockerfile can be problematic for Cross-Compile build process.
Optional Build: use my Dockerfile
This workaround definitely builds on Windows 10 and Ubuntu 18.04 but it's not for the faint of heart!
Happy Hacking!