MENU

Fun & Interesting

Micropython Weather Station on M5Stack with urequests and ujson

M5Stack 4,810 5 years ago
Video Not Working? Fix It Now

For the M5Stack fans who love to code in micropython, heres how you can get data from websites to your M5Stack device using urequests and ujson modules. We'll use this useful skill to create a simple weather station which gets current data from an api https://developer.accuweather.com/ Get your M5Stack Device here: https://m5stack.com/collections/m5-core Weather data websites: http://wttr.in/ https://developer.accuweather.com/ Code sample on github https://github.com/lukasmaximus89/get-weather-data-with-urequests Uiflow Micropython API Documentation https://github.com/m5stack/UIFlow-Code/wiki Docs: https://docs.m5stack.com/#/ http://docs.micropython.org/en/latest/ Micropython Module documentation https://docs.micropython.org/en/latest/library/esp32.html Forums http://community.m5stack.com/ ----------------------music credit-------------------------- Carefree Kevin MacLeod (incompetech.com) Licensed under Creative Commons: By Attribution 3.0 License http://creativecommons.org/licenses/by/3.0/

Comment