Git Product home page Git Product logo

Comments (11)

RogerSchaefer avatar RogerSchaefer commented on August 15, 2024

Hello Thomas,

In your oled setup add the line:
ui.setTargetFPS(30);

That should fix it.
Oldmicroguy

from esp8266-weather-station.

stony2k avatar stony2k commented on August 15, 2024

Same issue here, ui.setTargetFPS(30); was already added. I remember that the ticking seconds worked in the past. Roger, does it work for you?

from esp8266-weather-station.

RogerSchaefer avatar RogerSchaefer commented on August 15, 2024

Hi,

Yes it does work for me.
The blue LED on the NodeMCU is on continuously while the time frame is displayed indicating the the data for the frame is being continuously updated.
With the other frames the LED is only on briefly.

That said, before I sent this email I retested by commenting out that line and it made no difference. So I am getting the ticking seconds but don’t know why.

If you send me your email I’ll send you a copy of my version.
Roger

From: stony2k
Sent: Thursday, June 02, 2016 10:40 AM
To: squix78/esp8266-weather-station
Cc: RogerSchaefer ; Comment
Subject: Re: [squix78/esp8266-weather-station] Time (seconds in frame1) standing still and only get updated when frame changes (#26)

Same issue here, ui.setTargetFPS(30); was already added. I remember that the ticking seconds worked in the past. Roger, does it work for you?


You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

from esp8266-weather-station.

stony2k avatar stony2k commented on August 15, 2024

Could post your code here so everyone could benefit from it? :)

from esp8266-weather-station.

RogerSchaefer avatar RogerSchaefer commented on August 15, 2024

Well, not at this time.
It’s really Daniel Eichhorn program.
And I am not finished with the modifications I wanted to make. Hopefully Daniel will find a solution to the 512 byte limit so weather alerts can be loaded.
Roger

From: stony2k
Sent: Thursday, June 02, 2016 11:57 AM
To: squix78/esp8266-weather-station
Cc: RogerSchaefer ; Comment
Subject: Re: [squix78/esp8266-weather-station] Time (seconds in frame1) standing still and only get updated when frame changes (#26)

Could post your code here so everyone could benefit from it? :)


You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

from esp8266-weather-station.

 avatar commented on August 15, 2024

Hi Daniel,

i have found a solution that work for me but i dont know what is going false here. In the function "bool drawFrame1" i have to add "return true;" at the end. Then it works correctly. But why? Is this a really a bug? I work with your latest Code showing up in Arduino IDE

from esp8266-weather-station.

RogerSchaefer avatar RogerSchaefer commented on August 15, 2024

Hello ht81,

I just tried adding “return true” and it didn’t help.

Thankfully, most places, most times do not have severe weather and the “alerts” function returns very little. However, if you plug in a location that is currently experiencing severe weather “alerts” will return a field called “message” which is very long. Whenever the program encounters a field with more than 512 bytes it crashes. That is the problem.

Roger

From: ht81
Sent: Saturday, June 04, 2016 3:06 PM
To: squix78/esp8266-weather-station
Cc: RogerSchaefer ; Comment
Subject: Re: [squix78/esp8266-weather-station] Time (seconds in frame1) standing still and only get updated when frame changes (#26)

Hi Daniel,

i have found a solution that work for me but i dont know what is going false here. In the function "bool drawFrame1" i have to add "return true;" at the end. Then it works correctly. But why? Is this a really a bug? I work with your latest Code showing up in Arduino IDE


You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

from esp8266-weather-station.

 avatar commented on August 15, 2024

Hi Roger,
ok i understand. Is it possible to disable the alerts in wounderground? Or have Daniel to bugfix this? Can you tell me why my Solutions also work?

from esp8266-weather-station.

stony2k avatar stony2k commented on August 15, 2024

Just updated this lib and made the new changes in comparison to the weather station demo: ticking seconds work without adding a "return true;" in "void drawDateTime" (old "bool drawFrame1")

from esp8266-weather-station.

 avatar commented on August 15, 2024

stony2k confirmed. This works now :)

from esp8266-weather-station.

stale avatar stale commented on August 15, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from esp8266-weather-station.

Related Issues (20)

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.