@song-jw @Lazar-Demin Thank you!
Posts made by Patrick Ryan
-
RE: Omega2+ cannot install kmod-fs-ext4 kmod-usb-storage-extra kernel version mismatch
@Stan-Madge Were you ever able to get this to work?
-
RE: Omega2+ cannot install kmod-fs-ext4 kmod-usb-storage-extra kernel version mismatch
@Lazar-Demin
I am running firmware version 0.1.10 b160, kernel: 4.4.46 and I am still into this issue.The link provided seems to be dead, and I cannot find the new page.
Is there any update on being able to install these additional kernel modules so we can boot from the SD card?
Any fresh pointers or suggestions on how to boot from the SD card is greatly appreciated.
Thank you
-
General Availability of Omega2 line after indiegogo campaign
In the 2-Bullet Tuesday emails, you mention: "
P.S. -- Our Omega2 Indiegogo campaign will be ending in the near future! Don't miss your chance to get the Omega2 for just $5!"
Will the Omega2 be generally available after the campaign?
It is not clear to me if you are saying you can only get it for $5 during the campaign but will be available later for a higher price, or if you are telling me that after the campaign you wont be able to get one for any price.
I am curious so I know whether to consider the Omega2 platform for further development.
Thanks for any clarification you can provide.
-
RE: is remote ssh like remot3.it/weaved possible?
@Robin-Lefever Do you have a startup script to start page kite when the omega starts? Can you share you startup script.
Thanks again
-
RE: is remote ssh like remot3.it/weaved possible?
@Robin-Lefever Thank you very much. I just signed up and installed it. It seems to work great for both exposing the web application and a direct ssh terminal.
I really appreciate the pointer.
-
Python Blynk Library
Hi Everyone
While it may exist, I did not find a python based Blynk library that was hardware agnostic that I could run on the Omega ( I don't have the Omega2 yet, but its ordered ) and something like Respeaker, or even a Raspberry PI.
I refactored the BlynkLib from the WIPY project so that it is independent of that hardware, works with Python2, and I assume Python3 but I have not tested yet, and is a single file. I also made some interface changes that I was looking for.
If you are in need a Python based Blynk library feel free to give it a try. If you find an issue let me know on github or even better give me a pull request.
https://github.com/youngsoul/BlynkLib
Thanks
Pat
-
RE: is remote ssh like remot3.it/weaved possible?
@Boken-Lin You mentioned in the referenced post that the Onion cloud would allow for remote access to the Omega. I was wondering you had any idea of rough timelines for such a feature.
I am evaluating different solutions for my project, and being able to have this kind of remote access to devices in the field is a 'must have'.
Keep in mind, that I won't have access to the network where the devices are installed, or port forwards, etc is just not an option.
Thanks
-
RE: is remote ssh like remot3.it/weaved possible?
In doing more searching through the forums, I found this:
https://community.onion.io/topic/709/how-to-access-console-apps-remotely
I am assuming that this is still the best answer.
My use case my be slightly different, in that I do not have control of the network where the device is deployed so having the ability to tunnel ssh through the onion cloud is a really important feature.
-
is remote ssh like remot3.it/weaved possible?
Hello Everyone
I was wondering if anyone has a solution for remote ssh into an omega much like the solution provided by remot3.it / weaved. The omega is behind a firewall so I need to tunnel.
I use the remot3.it service on a raspberry pi all the time and it is very handy.
I looked at shellinabox, and I don't think that will work as I would need to port forward and that is just not possible with my deployments.
Thanks in advance.
Pat
-
RE: Python Scripts - Suggested Workflow?
@Fred-Blais PyCharm does have a free community version, of course you will still need to (s)ftp the files to the Omega outside of PyCharm. As for over-kill, I think this depends upon your application and whether you can or want to write and debug with a modern IDE or just use print statement.
While I have not tried it yet, PyCharm does allow for remote debugging of applications which can very powerful. Imagine running your app on the Omega, but debugging on your Mac/PC. It also lets you setup a Remote Python Interpreter - which again I have not tried. These are likely professional features which does have a license fee. $89/ 1st year, $71 2nd year, $53 after that. And really - if you are a professional making your living writing software these are amazing tools for that price, IMHO.
Disclaimer: I am not affiliated with Jetbrains in anyway. I'm just a super happy customer of their products.
-
RE: Programming the Omega
I too have put together a few videos on python programming for the Omega just incase you find them helpful.
https://www.youtube.com/watch?v=CQELgysBgQs
https://www.youtube.com/watch?v=GJCcIlCJOx4
https://www.youtube.com/watch?v=jDDq9D50wGo
I also wrote a simple, simple wrapper for the gpio which was inspired by Omega user 'Dan L'.
-
RE: Python Scripts - Suggested Workflow?
Personally - I like PyCharm to do this. I created a video which shows you how to develop with PyCharm and deploy to the Onion Omega.
https://www.youtube.com/watch?v=CQELgysBgQs
The deployment feature is only available in the professional edition - but I feel that their tools are so reasonably priced for the feature set they provide, as a professional, it is worth the money.
This is my preferred workflow and so far it has worked great. The only thing you have to keep in mind is that you are using a far less powerful version of python so you might have to deploy and test to make sure the packages are available to you on the Omega.
I also believe PyCharm can use a remote environment on the Omega so you can be sure it works on the deployed platform - however - this is something I have not tried yet.
-
RE: Omega doesn't show setup wizard?
Does this video help?
https://www.youtube.com/watch?v=CQELgysBgQs
or this one, if you can connect via a terminal app:
-
RE: Tip: Acces web console via Bonjour on Mac
@Andrei-Railean Thanks! that is a helpful tip, even beyond just the omega.
-
Onion Omega controlling a Philips Hue light
I put together a quick demo of using the Onion Omega to control a Philips Hue light that I have at my office.
Just thought I would share in case anyone was interested in how to do this.
https://gist.github.com/youngsoul/c38287599b0e2fd743f2
Enjoy
-
RE: Simple Python wrapper and demo
@Dan-L. Thank you for sharing that implementation.
I used your implementation, then added support for pin 8 ( via fast-gpio ). I also set it up so it could run on my mac in a simulated way.
Here is a link to a video showing it all work.
https://www.youtube.com/watch?v=jDDq9D50wGo
Thanks gain
-
RE: openssh-sftp-server
I have seen this as well - not just on that particular package. I can't explain why - which means I cannot guarantee my suggestion will work for you. But here is what I have done.
I am assuming you are running the 0.0.4 version of the firmware.
-
vi /etc/opkg.conf
remove the last line because there is an issue with checking the signatures. -
opkg update
-
then try to get that package again.
I hope that works for you.
-
-
Setting up Bottle - python web framework
I created a video on how I setup the Omega to install and run Bottle, a python web framework.
https://www.youtube.com/watch?v=GJCcIlCJOx4
There is another post in the forums, 'Python web framework' which shows you how to use python3. This particular setup video uses python2.
Here is the summary of steps:
vi /etc/opkg.conf
— delete line ‘option check_signature 1'
opkg update mkdir -p /home/bottle cd /home/bottle wget --no-check-certificate https://github.com/defnull/bottle/raw/master/bottle.py opkg install python-light opkg install python-email opkg install python-codecs opkg install python-logging opkg install python-openssl vi bottle_test.py
paste:
from bottle import route, run @route('/hello/<username>') def hello(username): return "Hello {0}. Welcome to the Omega World!".format(username) run(host='0.0.0.0', port=8080, debug=True)
to run:
python bottle_test.py
-
RE: Omega's Wifi Network not showing up.
I tried this today. My Omega was running at my house, and I brought it into work to see if I could see the Omega wifi network. It does show up for me, so I'm not sure what is going on there.
As for factory reset - I do not know a hardware way to do this, but if you have a terminal program ( if you are on a Mac I suggest Serial ), and connect via a USB cable, then you can type in the command:
factory-reset -f
Also if you connect via a terminal you can setup wifi that way, and it is very easy.
I put together this video - I hope it helps.