My Turris Omnia arrived today!
LED colors based on Network Traffic
Video of it in action: https://youtu.be/bMkGp54xWqQ
Forum post: https://forum.turris.cz/t/led-color-based-on-bandwidth-usage/1262
The RGB LEDs can be controlled by sysfs, the "A" and "B" ones are available as:
In the picture, I set user1 to red and user2 to green with these command line arguments:
echo -n 0 >/sys/class/leds/omnia-led:user1/autonomous echo -n 255 0 0 >/sys/class/leds/omnia-led:user1/color echo -n 255 >/sys/class/leds/omnia-led:user1/brightness echo -n 0 >/sys/class/leds/omnia-led:user2/autonomous echo -n 0 255 0 >/sys/class/leds/omnia-led:user2/color echo -n 255 >/sys/class/leds/omnia-led:user2/brightness
Looks like there's a stm32f030 (marked U21 on the schematic) that drives the LEDs with a custom firmware.
There's a file "trigger" that will let you trigger them based on some event (wifi activity, disk activity, network state, etc). See the linux LED documents for more details. There's also some support for changing LED settings in LuCI under
System > Rainbow and
System > LED Configuration
I had to switch my country code under the LuCI interface at
Network > Wireless > (radio 0/1) > Advanced Settings > Country Code. I setup both 2ghz and 5ghz and ran some speedtests on my Nexus 6P (supports 802.11ac 2x2).
These wifi tests were done in the same room. LuCI was showing "-46 dBm signal / -101 dBm noise" and "866.7 Mbps" RX rate, which is the max for 2x2 80MHz wifi.
I have 300M/20M internet, so this is a good result.
There's an ATSHA204 security eeprom on the i2c bus
There are headers with a variety of GPIO/SPI/UART/I2C pins.
Because the default is to use knot resolver, the default *.lan hostnames from dnsmasq aren't available.
See more on the forum post: https://forum.turris.cz/t/dnsmasq-lan-domain-while-still-using-knot-resolver/1253
Upsides: 7GB free space on an openwrt router is luxurious, more rgb blinky lights = more better, uses about 7 watts, uses openwrt out of the box, 3x3 802.11ac hardware.