Giter Club home page Giter Club logo

Comments (9)

Hamburgpriat avatar Hamburgpriat commented on June 11, 2024 2

Hi,
i have the same problem. strangely it updates the data when the cable is CONNECTED.
As soon as i unplug the cable, the M5 will not update. I can't get it solved unfortunately.

is it at all possible that the content updates automatically? Or do you always have to press the button?

from m5paperweather.

Bastelschlumpf avatar Bastelschlumpf commented on June 11, 2024

Hello,
Can you explain a little more what you mean?
Have you registered with openweathermap and are weather data displayed?
The system is set to go into deep sleep mode after displaying for one hour to save power and then fetch and display the weather data again.
ShutdownEPD(60 * 60); // every 1 hour
You can test this by setting it to 10 seconds.
ShutdownEPD(10);

from m5paperweather.

7samurai avatar 7samurai commented on June 11, 2024

Hi,
i get all the data incl. the time from openweathermap , but, if is set ShutdownEPD(10), there come no new date after an period of time:

M5EPD initializing...OK
Connecting to ****
.....WiFi connected at: 192.168.1.52
batteryVolt: 4.28
batteryCapacity: 93
Epochtime: 1621934688
DateTime: 25.05.2021 09:24:48
Latitude: 53.87
Longitude: 10.69
WifiRSSI: -38
BatteryVolt: 4.28
BatteryCapacity: 93
Sht30Temperatur: 26
Sht30Humidity: 37
MoonRise: 25.05.2021 18:18:07
MoonSet: 25.05.2021 02:35:24
Sunrise: 25.05.2021 05:00:27
Sunset: 25.05.2021 21:28:16
Winddir: 220.00
Windspeed: 2.57
WeatherDisplay::Show
Stop WiFi
Shutdown

from m5paperweather.

7samurai avatar 7samurai commented on June 11, 2024

I looks like, the display never wake up from its shutdown.

from m5paperweather.

damianharouff avatar damianharouff commented on June 11, 2024

Is your M5paper plugged in to USB? If an M5paper is plugged in, it will never shut down. This info can be found on the M5paper's forums.

Mine would also not update the weather data, until I unplugged it from USB.

from m5paperweather.

tml89 avatar tml89 commented on June 11, 2024

If the m5paper ist plugged, Shutdown will not fired. Add delay(xxxx) after ShutdownEPD() and call a refresh method

from m5paperweather.

Hamburgpriat avatar Hamburgpriat commented on June 11, 2024

If the m5paper ist plugged, Shutdown will not fired. Add delay(xxxx) after ShutdownEPD() and call a refresh method

the funny thing is that the shutdown works when it is plugged in. and when it is not plugged in, it does not work. so exactly the other way around than the manufacturers say.

from m5paperweather.

drewsed avatar drewsed commented on June 11, 2024

I think you are using another fork, where not M5.shutdown() is being used but the esp is put to sleep. But then the battery is cut before and it never wakes up as the RTC ia not set for wakeup. Just put the first command there and it's fine.

from m5paperweather.

Hamburgpriat avatar Hamburgpriat commented on June 11, 2024

I think you are using another fork, where not M5.shutdown() is being used but the esp is put to sleep. But then the battery is cut before and it never wakes up as the RTC ia not set for wakeup. Just put the first command there and it's fine.

Hi. With the original and newest code from Bastelschlumpf it works now. Thank you very much. Then I rebuild my code from his project and the forks myself, as I want it. Thank you.

from m5paperweather.

Related Issues (9)

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.