My basic testbed has been setup.
There are couple of quite useful commands:
Switch on a ligth
/usr/lib/knxd/groupswrite ip:127.0.0.1 0/0/1 1
Switch off a ligth
/usr/lib/knxd/groupswrite ip:127.0.0.1 0/0/1 0
My basic testbed has been setup.
There are couple of quite useful commands:
Switch on a ligth
/usr/lib/knxd/groupswrite ip:127.0.0.1 0/0/1 1
Switch off a ligth
/usr/lib/knxd/groupswrite ip:127.0.0.1 0/0/1 0
df -h
/dev/mmcblk0p1 29G 32K 29G 1% /media/marc/1FAB-7
Umount device
sudo umount /dev/mmcblk0p1
Copy image to SD card
dd bs=4M if=2017-09-07-raspbian-stretch-lite.img of=/dev/mmcblk0p1
sync
Mount image to activate ssh
mount /dev/mmcblk0 /mnt
touch /mnt/ssh
Connect raspberry to network and power up; Find IP address of Raspberry
nmap -sP 192.168.178.0/24
Nmap scan report for raspberrypi.fritz.box (192.168.178.42)
Enlarge filesystem by logging into pi with username pi and password raspbian
ssh pi@192.168.178.42
sudo raspi-config
Select 7) advanced options
Select a1) expand filesystem