Code Monkey home page Code Monkey logo

epeversolarmonitor's People

Contributors

glitterkitty avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

epeversolarmonitor's Issues

Trying to contact you

I've created a hardware device using a wemos D1 Mini with a web interface etc and used some of your code for inspiration, wondered if i could send you as a thank you? Sorry for creating this as an issue but couldn't see anyway to contact you direct.

I'm on twitter as @eplop if your on there or you can get me at [email protected]

Why seperate pins for Max485 De and Re

Could you explain to me why you are using 2 pins on the nodemcu to drive DE and RE on the max485.?
In the program they are both held high or low together so why not just tie them together?

question: wifi connecting

Hi,

is it correct that the wifi gets only connected when some values have been read via the max485 ?

Stuck in wifi connection loop -> with workaround

Hi,

first of all thanks for your work. This awesome stuff :)

Not sure if that happens only with me but my Wemos D1 gets randomly (sometimes after 10 minutes sometimes after 2 days) stuck in the WIFI connection loop. The Blue LED is on and stays on forever until i make a hardware reset. Then everything works normal again until it get stuck again. No fun of course so i added the code you see in the bottom right after which makes the Wemos go to sleep for a while if it can't connect to the Access point within 30 seconds.
I am a script kiddy. So it doesn't mean that this code is smart... but it works. Since then i never have to reset the Wemos any more.
I guess a restart after 30 seconds would have been the better option. Anyway. You get the idea.
My access point is the TP Link Archer 7 if that is of interest.

Change this code:

while (WiFi.status() != WL_CONNECTED) {
    delay(500);
    Serial.print(".");
  } 

With this one:

 int z = 0;
  while (WiFi.status() != WL_CONNECTED && z < 30) {
    delay(500);
    z++;
    Serial.print(".");
  }
  
  if (WiFi.status() != WL_CONNECTED) {
      // DeepSleep n microseconds
  // 
  Serial.print("\nWifi Connection problems. DeepSleep for ");
  Serial.print(sleepSeconds);
  Serial.println(" Seconds");
  ESP.deepSleep(sleepSeconds * 1000000);
  }

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.