Raspberry Pi temperature and humidity datalogger, using cosim directly