Coder Social home page Coder Social logo

Add time/date timers about mycodo HOT 6 CLOSED

kizniche avatar kizniche commented on August 24, 2024
Add time/date timers

from mycodo.

Comments (6)

MisterMeeseeks avatar MisterMeeseeks commented on August 24, 2024

This would be phenomenal... I can't get the timers to work, so doing timers based on clock times would be great. Something like "Turn Relay ___ on at ___ and off at ___".

from mycodo.

Myke974 avatar Myke974 commented on August 24, 2024

"Turn Relay ___ ON only between ___ and ____"

2015-11-23 10:09 GMT+04:00 MisterMeeseeks [email protected]:

This would be phenomenal... I can't get the timers to work, so doing
timers based on clock times would be great. Something like "Turn Relay ___
on at ___ and off at ___".


Reply to this email directly or view it on GitHub
#6 (comment).

from mycodo.

kizniche avatar kizniche commented on August 24, 2024

What's difficult about implementing this is that it must only trigger once for each time, and if there's a delay in polling the time, it may pass without actually triggering. There needs to be a way to verify that it was triggered and only trigger it once.

from mycodo.

kizniche avatar kizniche commented on August 24, 2024

Something Like:

If time is past On_Time and On_Trigger == False:
    activate Timer_Relay
    On_Trigger = True
    Off_Trigger = False
If time is past Off_Time and Off_Trigger == False:
    deactivate Timer_Relay
    Off_Trigger = True
    On_Trigger = False

from mycodo.

kizniche avatar kizniche commented on August 24, 2024

half complete with commit 3372814

Still need to add functionality to execute every x days. 1 day would be every day, 2 days would be every other day, etc.

from mycodo.

AncientGate avatar AncientGate commented on August 24, 2024

Merged revisions and will test now.
If tests are all ok here, then i will request to merge to main repository
and you can decide if you want to have all changes made for SHT support and
some other things related to it.

I will start to work on UI (and then will offer it too)
I have forked to my account the MyCoDo repository

On Tue, Feb 2, 2016 at 12:07 AM, Kyle Gabriel [email protected]
wrote:

Closed #6 #6.


Reply to this email directly or view it on GitHub
#6 (comment).

from mycodo.

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.