Finally found a solution:
If you use your own custom webserver to setup the omega and want to display nearby Networks.
<?php
echo shell_exec("ubus call onion wifi-scan \"{'device':'ra0'}\"");
?>
^ This DOESN'T work! because:
the php-interpreter doesn't have enaught ram to excute the command. It'll take a eternity.
Solution:
in /etc/php.ini
set memory_limit form 8M to 32M
memory_limit = 32M ; Maximum amount of memory a script may consume.
now the scan only takes about 5sec.
@Manny-Rodriguez We've actually written about using MQTT on the Omega. Check out the MQTT heading in the tip index at https://onion.io/2-bullet-tuesday/
@Marti-MG I hope I'm not too late.
If you want to use GPIO18 (PWM_CH0) only then you should remove U6 the 6 pin SOT23 marking C145 SMD IC only.
See also the official Omega-Power-Dock schematic.
After this modification Power Dock 1 remains fully functioning. You can check the battery level visually with the pover-dock command as before - but the 'battery level check' scripts will not work of course.
Power Dock Checking the Battery Level
Yes, thank you for the prompt response. The info was contained in the link you provided at the end. Perhaps others will find this in their searches more quickly than I, sam
@Zheng-Han
This morning I turned on my Omega, entered ping repo.onion.io and then opkg uptate. Update did not happen, I was upset and turned off Omega. Now I turned on Omega and it successfully booted without errors, and the update was also performed. I hope that my problem has finally been resolved. But if she comes back, I will return to you. Thank you for your help.
Had a new one though....I have python 2 and 3 installed on the Omega. Though, I can't get the python 3 script to use the pyserial module. It keeps giving me a 'module not found' error. Should I uninstall Python 2 and try to reinstall pyserial?
Similar module LinkIt Smart 7688 seems to have it...
Hello Onion staff, full audio support could be a smashing
freature for a small form factor module, but missing nice
features like camera port etc.