On ESP code don't forget to replace your own SSID and PASSWORD for WiFi connection.
Additionaly, it can be necessary to update drivers so that your computer recognizes Arduino on USB port.
- Check wifi_sensors.ino for ESP8266 code
- Check arduino_sensors.ino for Arduino code.