Giter VIP home page Giter VIP logo

Comments (5)

stefanbode avatar stefanbode commented on July 20, 2024

Hi, this can be changed easily in the standard already in sonoff.ino. OK?

#define MAX_PULSETIMERS 4 // Max number of supported pulse timers

Thanks for pointing out the pulsetimers. Haven't seen them so far. Yes great help and make it simpler. Will enable this for my project also.

from sonoff-tasmota.

mrmin24 avatar mrmin24 commented on July 20, 2024

Yes, I will test this too. I suppose it is worth having a" IFDEF USE_PCF8574" to adjust these to 8 or more.

from sonoff-tasmota.

stefanbode avatar stefanbode commented on July 20, 2024

There is an additional hardcoded line in sonoff.ino: line 1373 somewhere here:

This is hardcoded &3 (Binary 11) and needs to be flexible.

pulse_timer[(device -1)&((1<<MAX_PULSETIMERS)-1)] = (power & mask) ? sysCfg.pulsetime[(device -1)&((1<<MAX_PULSETIMERS)-1)] : 0;

from sonoff-tasmota.

mrmin24 avatar mrmin24 commented on July 20, 2024

I tested your latest baseline and the timers are working, but it seems that if you activate the nth timer and the n + 4th time (e.g.1 and 5 or 2 and 6) at the same time, the nth relay never switches off. If you activate any other timer with nth timer, it works fine

from sonoff-tasmota.

stefanbode avatar stefanbode commented on July 20, 2024

Fixed with 5.1.4 update

from sonoff-tasmota.

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.