|
Post by SDL on Feb 8, 2020 17:26:09 GMT -8
Marc,
I don't understand your second comment. Could you clarify?
BP
|
|
|
Post by Marc on Feb 9, 2020 4:26:49 GMT -8
Sure i try to explain.
If i start the initial setup and connect to the local AP of the OurWeather i click on configure and select my wifi and enter the Password for the WIFI, there are no other fields to enter as it is stated in the setup guide. No Station Name and no altitude. You can just configure wifi.
Tryed different browsers with the same results.
Hope i clarified the point.
Best regards Marc
|
|
|
Post by 556duckvader on Feb 9, 2020 8:08:51 GMT -8
Sure i try to explain. If i start the initial setup and connect to the local AP of the OurWeather i click on configure and select my wifi and enter the Password for the WIFI, there are no other fields to enter as it is stated in the setup guide. No Station Name and no altitude. You can just configure wifi. Tryed different browsers with the same results. Hope i clarified the point. Best regards Marc Mine was the same way. I only had the option to configure the WiFi.
|
|
|
Post by SDL on Feb 9, 2020 9:48:32 GMT -8
I'll see if I can reproduce this problem. I understand now!
BP
|
|
|
Post by SDL on Feb 9, 2020 16:59:02 GMT -8
Fixed in V056 - I had to recode the WiFi configuration page.
BP
|
|
|
Post by Marc on Feb 12, 2020 3:30:29 GMT -8
Thanks again i should start work as beta tester Another question from my side, how can i lower the energy consumption of the whole system? I work with solar power and did a test last night on a 6600 mah battery and in the morning batterylevel was down to 3,6 volts. Battery was fully charged so around 4,12. I saw the task in the code to ask the sensors every 10 seconds, i would like to extend to 30seconds or 1 minute. How can i do this? Is it the vdelay function? Can i put the esp32 in some light sleep mode in between? My ina is reorting a constant 300ma draw with all the sensors connected thats quite alot. Best regards Marc
|
|
|
Post by SDL on Feb 12, 2020 14:54:57 GMT -8
Yes, there are MANY things we can do to lower power consumption. The ESP32 is magic for that. This is one of the projects on our plate. We would move to 30 second or one minute (when you are looking at the OLED nice to have more current data) and then place the ESP32 in sleep mode woken up on a timer. With tasks running in the RTOS, this is a bit complicated. Yes, increase the delay in vDelay. I suspect that it won't show too much of a reduction. Sleep mode (and turning off the WiFi is going to do that). We are going to be hooking it up to a USB PowerCentral and log data to get this down. Here is an example of what we will be doing (albeit sampling a Raspberry Pi instead of an WeatherPlus2 but it is the same principle. www.switchdoc.com/2019/10/raspberry-pi-3b-4b-startup-currents-examined/BP
|
|
|
Post by Marc on Feb 13, 2020 1:11:43 GMT -8
For me it would be good if i just put in light sleep mode to save wifi power. If i include that in the readSensor Task and put a timer to wake it up before the RTOS is starting the task again this should save some power. DeepSleep would be nice but i do not think this will work.
I dont use the OLed because the OurWeather is mounted in a remote location and i just use it to send the data over wifi to my house into my home automation system.
Best regards Marc
|
|
|
Post by SDL on Feb 13, 2020 11:09:15 GMT -8
Marc,
BTW, I just looked at my current consumption on a fully fleshed out OurWeather and I'm seeing 150mA. With the OLED. Where is the rest of your drain coming from? You are using the ESP32 version, correct?
BP
|
|
|
Post by Marc on Feb 13, 2020 13:47:45 GMT -8
Yes iam Using the esp32 with the follwing sensors:
- sunairplus - airqualitysensor - wind speed - vane - rain bucket - thunder board - sht35 - veml6070 uv sensor - sunlight sensor
The ~300ma are during wifi send so this is the maximum draw but i want to Lower this during non active send if data. Any thoughts how to implement a light sleep for example?
|
|
|
Post by SDL on Feb 13, 2020 19:35:20 GMT -8
I'll bet it is the air sensor. And is that at 300mA at the 5V level?
BP
|
|
|
Post by Marc on Feb 14, 2020 10:03:59 GMT -8
Sorry i need to correct it is the suncontrol board with the ina i2c sensor so yes it is the 5v rail.
|
|
|
Post by SDL on Feb 15, 2020 14:26:40 GMT -8
Try unplugging the air quality sensor and see what the values are.
John
|
|
|
Post by Marc on Feb 20, 2020 2:54:17 GMT -8
Just for feedback if i do not use the air quality sensor iam down to 140-150ma.
|
|