Giter Club home page Giter Club logo

self-watering-empire-pot's People

Contributors

mickekring avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

self-watering-empire-pot's Issues

Tweepy api.user_timelime stops after awhile

I think I request the user timeline too often. Trying to tweak it to every 40 seconds from now on. I hit over that value per 24h.

From dev.twitter - "This method can only return up to 3,200 of a user’s most recent Tweets. Native retweets of other statuses by the user is included in this total, regardless of whether include_rts is set to false when requesting this resource."

Script breaks at first run every new day

Been running the script for a couple of days straight, and it breaks every new day, after 00:00. Not sure why so far.
Could be the variables that set which day it is, but I'm not sure.

NameError: name 'temperature' is not defined

Traceback (most recent call last):
File "empirepot.py", line 637, in
Main()
File "empirepot.py", line 605, in Main
water_reading()
File "empirepot.py", line 134, in water_reading
logging()
File "empirepot.py", line 304, in logging
print("\n{0},{1},{2},{3}".format(strftime("%Y-%m-%d %H:%M:%S"),str(temperature),str(humidity),str(waterLevel)))
NameError: name 'temperature' is not defined

Fuction for water tank messaging when empty

When the pump is engaged, it's on for 3 seconds. A full water tank holds ten (10) 3-second bursts of water. The system should warn me when there's like 2-3 left.
That also means I must be able to reset that value. Accept a command via twitter, "refill". It would be good if that value could be stored in a file, so that it remains if I need to reboot.

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.