Coder Social home page Coder Social logo

Comments (2)

roscoe81 avatar roscoe81 commented on July 17, 2024

A few questions to help me get a picture of the potential issue...

Did you get an "Invalid Adafruit IO Package" error?
Have you equipped your Enviro Monitor with an SGP30 sensor? You need that to get the eCO2 and TVOC levels for the Premium Plus Adafruit IO package.
What is "aio_package" set to in your config.json file? It should be "Premium Plus"
What is "enable_eco2_tvoc" set to in your config.json file? It should be true

from enviro-monitor.

jdv213 avatar jdv213 commented on July 17, 2024

Thank you very much for the quick reply!

Last night I did a bit more testing and I suspect my SGP30 might be a culprit as I received it 'used' with some pretty bad soldering and know it was removed from another project. I placed an order for 2 new ones this morning, so will only have them in a week, but in the meantime:

What is "aio_package" set to in your config.json file? It should be "Premium Plus - Yes" What is "enable_eco2_tvoc" set to in your config.json file? It should be true - set to true

I actually changed the 'Premium Plus' to 'Premium' to see if i could get onto the next steps and received some more errors which are linked a) the noise feature and b) to the location (I added Spain as a timezone and also added it to the custom locations field along with GPS coordinates):

Traceback (most recent call last): File "/home/pi/enviro-monitor/Northcliff_AQI_Monitor_Gen.py", line 2365, in <module> outdoor_noise_max_datetime, outdoor_noise_values, outdoor_noise_freq_values) File "/home/pi/enviro-monitor/Northcliff_AQI_Monitor_Gen.py", line 965, in display_results air_quality_data_no_gas, icon_air_quality_levels, gas_sensors_warm, own_noise_level, own_noise_max) File "/home/pi/enviro-monitor/Northcliff_AQI_Monitor_Gen.py", line 1334, in display_icon_weather_aqi progress, period, day, local_dt = sun_moon_time(city_name, time_zone) File "/home/pi/enviro-monitor/Northcliff_AQI_Monitor_Gen.py", line 1240, in sun_moon_time local_dt = utc_dt.astimezone(pytz.timezone(time_zone)) File "/usr/local/lib/python3.7/dist-packages/pytz-2020.1-py3.7.egg/pytz/__init__.py", line 181, in timezone raise UnknownTimeZoneError(zone) pytz.exceptions.UnknownTimeZoneError: 'Spain'

Will play around with these errors until the new sensor arrives and will surely have more questions then :)
Feel free to close this issue for now and thanks again

from enviro-monitor.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.