logo elektroda
logo elektroda
X
logo elektroda
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 18569486
    tymek139
    Level 2  
    Hello
    I'm new to the subject so please be understanding.
    I have a BME280 sensor hooked up to esp8266 with ESPESY uploaded directly under Domoticz and it works fine.
    However, I would like to base the control of my project (sensors, light switches, gates, etc.) via Arduino or ESP32, while Domoticz would act as a "window" where I could view everything and set parameters.
    And this is where I run into a problem.
    ESP transmits data via JSON format.
    How to decode JSON in esp8266? .
    I cannot decode it so as to retrieve the temperature, pressure and humidity values.
    I have made the following sketch:
    Code: C / C++
    Log in, to see the code
    .

    However, it does not retrieve the above values.

    How to decode JSON in esp8266? .

    Please help
  • ADVERTISEMENT
  • #2 18570606
    Anonymous
    Level 1  
  • #3 18574497
    tymek139
    Level 2  
    Thanks for the help but I'm too thin-skinned to grasp it yet.
    I need to look for something else simpler to start with.
ADVERTISEMENT