I am testing this program with a WiPy, I have the boot file configured to connect the board to my home WiFi.
I am using this Light Sensor ALS PT19 you could find it on Adafruit, we are going to read the Analog value of the sensor. Just connect 3.3V and GND and wire the output to P13 or G5 on the expansion board.
Initial State is a very easy to setup cloud, ideal for a maker where we just want something to WORK. Setup an account , create a new Stream Bucket, get your credentials and just paste them on the program.
Take a look at the Github Repository you will find the files to program this example.