Lots of stuff. Adding sensor is not finished yet.