SamZorSec / Open-Home-Automation

Open Home Automation with Home Assistant, ESP8266/ESP32 and MQTT
MIT License
957 stars 196 forks source link

ha_mqtt_sensor_dht22.ino ArduinoJson 5 to ArduinoJson 6 upgrade #49

Open micgoebe opened 1 year ago

micgoebe commented 1 year ago

compiling ha_mqtt_sensor_dht22.ino lately gives an error saying the code needs to be migrated from ArduinoJson 5 to ArduinoJson 6.

the following link to a website is given, and i could solve the topic by watching just the video at second example given, see https://arduinojson.org/v6/doc/upgrade/ In short: