Simple WoT app for the fischertechnik TXT that makes the TXT serve its IO as a web thing using the python library from Mozilla.
The advantage of the web of things over the "smart home" service by fischertechnik, is that it is all in your local network, no cloud provider involved.
The input data refresh rate is set to three seconds in this demo, which is why there are noticeable delays in the input values. If the refresh rate is set lower, the gateway UI starts having trouble displaying all the values and changing the outputs.
Source code for the TXT app: https://github.com/freaktechnik/WebOfTXT
TXT configuration: I1: button I2: NTC resistor I3: Photoresistor I4: Ultrasonic distance measurement I8: Color sensor (supports red, blue and white in current implementation) O1: Lamp M2: Motor