ESP8266 Learnings

  • reducing voltage with resistors can interfere with the PULLUP of your GPIO -> don't pullup
  • a 1€ USB powerplug is crap. you get a lot of interference on your analog signal (i.e. PPD42NS)
  • always cross-check with an oscilloscope. you may be surprised how bad your sensor signal is.

Django-jsonfield unicode

The problem was that unicode strings i.e. Südteile are displayed as Su00fcdteile in the django-jsonfield. Sometimes the solution is really easy, but you need some time to find it:

field = jsonfield.JSONField(dump_kwargs={"ensure_ascii": False})