Thu 21 of Nov, 2024 [13:03 UTC]
  add
Menu [hide]
  Blogs
  FAQs
  Surveys
Online users
165 online users
backlinks print

TuxRadio V2 - Installation

The FHEM image

The TuxRadio is shipped with a microSDHC card containing Debian and FHEM pre-installed.

At first time booting this card new ssh keys will be generated. So be patient - it might take its time.

The LEDs are, by default, programmed to show harddisk activity and, once the system is up, a heartbeat.

The TuxRadio uses DHCP by default. To find allocated IP watch out for MAC addresses starting A4:50:55:... in your DHCP servers log.

FHEM will be available at http://<ip>:8083/fhem

The default password for "root" is "busware" - ssh is enabled by default

LEDs

The device has four programmable LED:
Registered led device: lo:green
Registered led device: ro:green
Registered led device: lu:orange
Registered led device: ru:orange

lo: - links oben / ro: - recht unten / etc.

Those are accessable through sys-filesystem. See this wiki.

enable/reset radio

echo out > /sys/class/gpio/gpio39/direction
echo out > /sys/class/gpio/gpio38/direction
echo 1 > /sys/class/gpio/gpio39/value
echo 0 > /sys/class/gpio/gpio38/value
echo 1 > /sys/class/gpio/gpio38/value
sleep 1

Upgrading radio firmware

Download latest CSM.hex
Stop any running instance of FHEM before doing:
echo out > /sys/class/gpio/gpio39/direction
echo out > /sys/class/gpio/gpio38/direction
echo 0 > /sys/class/gpio/gpio39/value
echo 0 > /sys/class/gpio/gpio38/value
echo 1 > /sys/class/gpio/gpio38/value
sleep 1
echo 1 > /sys/class/gpio/gpio39/value

avrdude -p atmega1284p -P /dev/ttyAPP0 -b 38400 -c avr109 -U flash:w:CSM.hex

if you're running at an old 2.x.x-kernel the device is called: /dev/ttySP1

Created by: tostmann last modification: Wednesday 05 of June, 2013 [12:22:43 UTC] by tostmann


Pictures
thumbnail
4 S0 inputs with Ethernet
Gallery: 4S0ETH
RSS Wiki RSS Blogs RSS Image Galleries RSS File Galleries