Hi Genie,
about your request, this is my configuration for bananapi and the commands used for read the sensor DS18B20
thank for the APP, work well
banana pi + HomeGenie_1_00_beta_r411_banpi-armhf-4GB + 3 sensor DS18B20 with resistor of 4700 ohm between pin 7(GPIO) and pin 1(+3.3 V), pin6 for GND.
updated the system with
sudo apt-get update && sudo apt-get dist-upgrade
update homegenie
then in the terminal:
cd /home/bananapi/
sudo apt-get install git
sudo apt-get install make
git clone
https://github.com/linux-sunxi/sunxi-toolscd sunxi-tools
sudo make
cd /boot/bananapi/
sudo /home/bananapi/sunxi-tools/bin2fex script.bin bananapi.fex
sudo nano bananapi.fex
Information: add the following at the end, save (CTRL + O) and close
[w1_para]
gpio = 4
then use the command below
sudo /home/bananapi/sunxi-tools/fex2bin bananapi.fex script.bin
sudo reboot
After reboot I can see the sensors and use ID for APP with command:
ls /sys/bus/w1/devices
28-00044a3XXX 28-00044aXXXX 28-00044XXXXX (the numbers are the 3 ID-sensor, because I used 3 sensors)
Marco