|
Post by les1397 on Feb 4, 2023 7:47:06 GMT -8
Im still not on weatherstem but one other issue I wanted to resolve was the AQI as in a test it shows the details but on the Dash app its just 0 ..?
I looked at the config and it is set right from the manual for the pins etc but i see this at the start if the test,..? Is this just because the skyweathe is running ..? but it does seem to say 19. Th gio pins are set to 20 SCL and 21 SDA and it is working so it communicating just wondered if it has a hangup since i dont see it in the dash app and its not plotting anything.
pi@SwitchDocLabs:~/SDL_Pi_SkyWeather2 $ sudo python3 testDustHM3301.py
./SkyWeather2.JSON File exists
testDustHM3301.py:19: RuntimeWarning: This channel is already in use, continuing anyway. Use GPIO.setwarnings(False) to disable warnings.
GPIO.setup(config.DustSensorPowerPin, GPIO.OUT)
Starting pigpio daemon
b''
b''
data= [34, 46, 53, 27, 40, 47]
PM1.0 Standard particulate matter concentration Unit:ug/m3 = 34
PM2.5 Standard particulate matter concentration Unit:ug/m3 = 46
PM10 Standard particulate matter concentration Unit:ug/m3 = 53
PM1.0 Atmospheric environment concentration ,unit:ug/m3 = 27
PM2.5 Atmospheric environment concentration ,unit:ug/m3 = 40
PM10 Atmospheric environment concentration ,unit:ug/m3 = 47
AQI= 112
Thanks Regards Les
|
|
|
Post by SDL on Feb 4, 2023 9:27:46 GMT -8
Yes, you are getting that error because skyweather2 is running.
Data looks good.
BP
|
|
|
Post by les1397 on Feb 6, 2023 4:16:22 GMT -8
Thanks, Im now wondering why the Dash App doesn't show anything but 0.0 when its working , it was working fine one day and then the next 0.0 seemed to happen around the time WeatherStem stopped working also, maybe just a coincidence, but will try and trace why the data isn't showing up if its working.
Regards Les
|
|
|
Post by SDL on Feb 16, 2023 9:05:57 GMT -8
Let us know what you find out.
BP
|
|