|
Post by SDL on Feb 7, 2020 14:58:41 GMT -8
Marc, "Thanks that helps but brings up the next issue. There must be some error in the code of esp32.
Check line 667 and 670. according to the code your board contains two adcs the 1015 for the windvane/aneometer and the 1115 for the air polition sensor.
Problem is both are defined for the same i2c address in the code. If i do not change this and compile this i do not get a wind and direction reading.
What is the address of both adcs? My vane is working because led is flashing if i turn it but i do not get a reading.
Best regards Marc"There is a bug! Adafruit_ADS1015 ads1015(0x49);
int current_quality = -1; Adafruit_ADS1115 adsAirQuality(0x49);
I have two drivers wired to the same I2C address. This happened because we added an ADS1015 to the WeatherPlus2 board at 0x49 and a grove plug for the AirQuality sensor so we didn't have to have an extra ADC in the system. We didn't see this in testing because it kind of works sometimes. A1 is wired to the Wind Vane. A3 (the Grove Analog Plug - J3) is wired to the Air Quality Sensor. This is being released in V054 - It won't be up on the update server for a while, but we will put it up on GitHub shortly. BP
|
|
|
Post by SDL on Feb 7, 2020 15:01:37 GMT -8
Marc,
Regarding your other problem. Based on your data (now that I got by the air quality sensor issue), you have the RJ11 plugs reversed. Check your wiring and try it again!
BP
|
|
|
Post by Marc on Feb 7, 2020 15:23:47 GMT -8
Marc, Regarding your other problem. Based on your data (now that I got by the air quality sensor issue), you have the RJ11 plugs reversed. Check your wiring and try it again! BP Thanks for this i put but my wiring is correct. Correct leds are flashing if i tip the bucket or turn the aneometer. I will wait until the 54er software is on github hope this fixes also the other problems. But currently none of the wind/rain sensor is working. My wind/rain sensor is ok i checked them with my resistence gauge. Can you please check also for these two issues or if they related to the same problem? BeT regards Marc
|
|
|
Post by SDL on Feb 7, 2020 15:40:14 GMT -8
Sorry about that, I was confused by your statement.
I'll check out the WeatherRack issue next.
PB
|
|
|
Post by SDL on Feb 7, 2020 15:41:25 GMT -8
I have duplicated your problem. Now to figure out why!!!
BP
|
|
|
Post by Marc on Feb 7, 2020 15:43:42 GMT -8
Sorry about that, I was confused by your statement. I'll check out the WeatherRack issue next. PB No problem. English is not my native language i will try my best to help. I looked in the documentation of the v2 board and iam a bit confused. Are the rj11 plugs just routed to the JP2? Is there no connection to the gpio pins 12 and 14 according code?
|
|
|
Post by SDL on Feb 7, 2020 15:50:17 GMT -8
Found it and fixed your WeatherRack problem. Introduced with the SolarMAX software in V053. It was a logical clause problem. Actually my fault!!!!
Updated with Version 054 up on Github. I will get this on the Auto Update too as soon as I can do a little more testing.
Hopefully these are all the bugs I find today!
BP
|
|
|
Post by Marc on Feb 7, 2020 15:52:30 GMT -8
Found it and fixed your WeatherRack problem. Introduced with the SolarMAX software in V053. It was a logical clause problem. Actually my fault!!!! Updated with Version 054 up on Github. I will get this on the Auto Update too as soon as I can do a little more testing. Hopefully these are all the bugs I find today! BP Thanks alot will respond when 054 is on github and flashed
|
|
|
Post by SDL on Feb 7, 2020 15:57:27 GMT -8
V054 is up there now! Thank you for bringing these problems to our attention.
BP
|
|
|
Post by Marc on Feb 8, 2020 2:49:50 GMT -8
i have tested 054 and can confirm wind direction and windspeed is working. Rain Bucket is still not reading values. I clicked the rain bucket at least 30-40 times and the led is Flash put in the Serial Output rain total is Always Zero.
|
|
|
Post by SDL on Feb 8, 2020 8:18:48 GMT -8
I'll check into this during the weekend!
BP
|
|
|
Post by Marc on Feb 8, 2020 9:13:52 GMT -8
I'll check into this during the weekend! BP Ok if you look into the software please look also after the following issue: How to set the station name? How to set the altitude? Didnt found anything in the documentation about setting that over the rest interface. Also your documentation according to the setup is wrong i only get asked about the wifi details, there is no addition fields to fill in this data on the first setup. Thanks and best regards Marc
|
|
|
Post by SDL on Feb 8, 2020 10:17:08 GMT -8
The station name and altitude is set on the screen where you set up the initial WiFi. No rest command for that at this point.
BP
|
|
|
Post by SDL on Feb 8, 2020 10:52:13 GMT -8
Marc,
Well that took 5 minutes to fix. Rain Bucket fix is up on V055 on GitHub.
It will be on autoupdate shortly too.
BP
|
|
|
Post by Marc on Feb 8, 2020 12:33:51 GMT -8
THanks for the fix, i can confirm this is working PRoblem is on the inital WIFI there is only WIFI, nothing else, somebody mentioned this here already.
|
|