Some scripts to control various things using the Flick raspberry pi HAT (Gesture sensing).
Takes airwheel values from the Flick library and sends them to an MQTT topic. Values range from 0-100, ideal to control things like light brightness or volume of another device.
Reads the position and sends them to MQTT. Values from 0-100.
All-in-one script implementing different gestures (flick and double tap). Triggers REST API calls for gestures, in my example I used them to call the Home Assistant API, turn a light on/off and turn the volume of a media player up and down. Double tap will shut down the raspberry pi.
Trigger REST Api calls to set brightness of a light based on airwheel values.
Set the volume of a media player via REST api calls.
Jukebox script, read values on RFID cards and send them to an MQTT topic. From there, trigger playlists based on that (I used Node-red).