Wemos D1 mini is like a "little Arduino with wifi" for a great price. It's based around the ESP8266, has one analogue port and 11 digital ports. It's programmed via micro-USB (or remote flash via wifi). You can use it with the Arduino IDE, micropython or NodeMCU.
It runs from 5V or 3.3V. Logic levels are 3.3V for all ports.
If you use the Arduino IDE, there are a lot of example sketches already provided. This makes life relatively easy to be able to do what you want.
I used these to read temperatures in various locations and send the data to a Raspberry Pi web server via wifi.
They work well with TMP36, DS18B20, RasPiO InsPiRing RGB LEDs, PIR motion sensors, BME280 barometric pressure/temperature/humidity sensors
|Digital I/O Pins
|Analog Input Pins
|1(Max input: 3.2V)
|Analog input, max 3.3V input
|IO, 10k Pull-up
|IO, 10k Pull-up, BUILTIN_LED
|IO, 10k Pull-down, SS