@Justin-Sowers As per this post: https://community.onion.io/topic/9/how-to-install-gcc/47 it is possible to set up the Omega with swap space that effectively gives it extra usable memory space (note that usage of USB for overlay as in https://wiki.onion.io/Tutorials/Using-USB-Storage-as-Rootfs only makes more disk space available for the /overlay directory, it does not increase usable memory space).
Currently, most of the opkg packages are designed around the relatively limited basic resources of the Omega. What is needed is access to packages that can (a) make use of greater disk space (e.g.via /overlay on USB drive) and/or (b) use more memory space if it is available via swap
This question might be silly but I am sure I'm not the only one who wants to get sure before destroying something :)
I'd like to use the relay expansion to switch on/off a light bulb (for testing purposes). Therefore I would cut the electricity cable of a lamp into two and put the ends in the two sockets of a relay on the expansion.
Is the relay expansion designed to handle this amount of power (230V, 50Hz)? Is there anything I need to know to take care of before I start?
This is a very good question. And the answer is that most relay expansion boards are not designed so that they safely can be connected to the mains voltage without causing a safety hazard that could result in electric shock or a fire.
The reason in most cases is that the circuit board is made with too short distances between low voltage parts and mains voltage traces. To save money, most of the relay boards use relays that were never intended for this type of use. The relay may have been designed to be used where the low voltage circuitry is grounded, so that if a connection between live wiring and the circuitry that controls the coil, the low voltage circuitry would not end up at a hazardous voltage.
But with micro controllers for hobby use it is most of the time so that the circuitry is not connected to ground, and even if it was (through USB cable ground) the ground connection is not strong enough that it will be safe. So the relay boards that are going to be used for controlling mains voltage will look different. there will be large distances between AC power traces and the rest of the circuitry. THe relays will be different and a bit larger, with much longer creepage distances and with coil pins far away from power pins.
Still, most relay board manufacturers list the characteristics of the relay, not understanding that the circit board design must meet electical safety requirments to be safe. They invite users to connect the relay board to the mains voltage but their product is unsafe.
Another thing to remember is that there must be a fuse in series with the load, and the fuse rating must be low enough that if there is an overload the fuse will open before the circuit board traces or the relay contacts are damaged. A relay with 2A contacts, I would use max 1.5A fuse. The mains outlet may have 10A or even higher rating.
@Rudy-Trujillo Further to the good comments from @Andrei-Railean the following tips about opkg may be helpful (but always do a opkg update first):
opkg list takes wild cards, so a similar effect can be had by doing (e.g.): opkg list *python*
opkg info <package> is helpful for details about a particular package
Using opkg without any commands or parameters will give a helpful summary of the available commands and parameters
You can use:- expled 0xFFFFFF to turn it back on full white or any colour by varying each colour but I expect you knew this but expled 0x0 does not turn it fully off just very low level.
Thanks so I must remember this.
I tried re flashing the arduino dock again, that seem to have work, I get in trouble once I try flashing the blink2 sketch, using the second method, because I'm not seeing the Omega in the port menu in the Arduino IDE
@Kit-Bishop@Rich-Rector@pau-cucart-galbis Sorry about the terrible experience :( This problem will be addressed in the next manufacturing run. We have added a new criteria for QA, which is to test the switch to make sure that it does not break easily.
Are you copying the files over to /tmp? There should be quite a bit of space there as RAM disk, which is good for installing ipk packages. If there's still not enough space, you might consider extending the storage of your Omega with ext-root. You can find more information here: https://wiki.onion.io/Tutorials/Using-USB-Storage-as-Rootfs.
It's quite unlikely to brick Omega by installing packages. Unless the package crashes the system on startup, in which case it will get into a boot-loop.
@Johan-Simons Yeah, we have a cron job called wifi-saint that runs every 5 minutes to detect if you are on configured to connect to a Wifi network but are unable to connect successfully. It will turn off the connection to the wifi network to enable AP in this case.
Disabled Categories are greyed out
This topic will be moved to the category
Looks like your connection to Community was lost, please wait while we try to reconnect.