Code for the WiFi-connected K30 sensor