Deskcontrol
Code to provide local controls for the Arup IoT desk. Utilises the tinkerforge hardware stack.
Install / Use
/learn @arupiot/DeskcontrolREADME
IoT Desk Controller
Code to provide local controls for the Arup IoT desk. Utilises the tinkerforge hardware stack.
Hardware
Intended to run on a tinkerforge redbrick and Raspberry Pi but can run on any system with the required python dependencies installed so long as you can connect to the tinkerforge stack over a network.
It will auto-detect bricklets compatible with the code and provide sensor readings / control of relays on a 128x64 OLED - joystick or multitouch can be used to navigate the menu.
The code may need running multiple times before it runs successfully.
Installation
Requirements for Debian based systems:
sudo apt-get install libusb-1.0-0 libudev0 pm-utils
wget http://download.tinkerforge.com/tools/brickd/linux/brickd_linux_latest_armhf.deb
sudo dpkg -i brickd_linux_latest_armhf.deb
apt install python-dev python-setuptools libjpeg-dev python-cryptography
pip install -r requirements.txt
Testing mode:
./python controller.py
Installation on Redbrick / Debian Jessie:
sudo cp deskcontrol /etc/init.d/deskcontrol
sudo update-rc.d deskcontrol defaults
sudo service deskcontrol start
ToDo
- Add menu items to disable/change motion detection timer (currently 10 mins)
- Implement lighting control functionality (protocol tbc)
- Add touch interface using KiVi on WaveShare 3.5" touch screen for Raspberry Pi
- Add microphone based sound sensor
Credits
- Ben Hussey ben.hussey@arup.com
- Francesco Anselmo francesco.anselmo@arup.com
- George Ogden 2287@trinity.croydon.sch.uk
Related Skills
node-connect
344.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
99.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
344.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
344.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
