Weather code for Raspberry Pi and Arduino