Skip to content

BME280 - Temp, press + humd - Temp not working. #113

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
meatalhead opened this issue May 15, 2020 · 1 comment
Closed

BME280 - Temp, press + humd - Temp not working. #113

meatalhead opened this issue May 15, 2020 · 1 comment

Comments

@meatalhead
Copy link

I've just created a webthing through a ESP8266 with a BME280. If I just add a single property of temperature it works fine however if I add pressure and humidity then temperature stops working. Has anyone else had this problem?

@mrstegeman
Copy link
Contributor

See the configuration section of the README.

  • If you have a complex device with large thing descriptions, you may need to
    increase the size of the JSON buffers. The buffer sizes are configurable as
    such:

    // By default, buffers are 256 bytes for small documents, 1024 for larger ones
    
    // To use a pre-defined set of larger JSON buffers (4x larger)
    #define LARGE_JSON_BUFFERS 1
    
    // Else, you can define your own size
    #define SMALL_JSON_DOCUMENT_SIZE <something>
    #define LARGE_JSON_DOCUMENT_SIZE <something>
    
    #include <Thing.h>
    #include <WebThingAdapter.h>

There's also a BME280 example, which uses LARGE_JSON_BUFFERS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants