Code Monkey home page Code Monkey logo

Comments (3)

dirkjanfaber avatar dirkjanfaber commented on August 10, 2024

Thanks. I am not 100% certain if I understand the request right. Please correct me when I am wrong.

I think that it is a matter of checking if there is a difference between calc.stage and calc.next.stage, in case the next shedding is because of an event.

That would end up look something like this:
image

Let me know if that seems about right.

from node-red-contrib-eskomsepush.

Johan-Bo avatar Johan-Bo commented on August 10, 2024

Hi Dirkjanfaber

Can you please help me.
I'm trying to integrate with your EskomsePush by using your second output.
How and what do I use to get the start and end time of the current load-shedding as well as the time for the next expected load-shedding.
I want to use this to switch off the inverter before load-shedding starts (10min prior) and reconnect the inverter after 10min once grid has returned.
I'm experiencing huge surges and want to avoid them before load-shedding happens and after grid returned.
The Eskomsepush node is up and running and is showing the current stage and time in my area just need to know how to get those info as mentioned above.

Kind Regards,
J

from node-red-contrib-eskomsepush.

dirkjanfaber avatar dirkjanfaber commented on August 10, 2024

@Johan-Bo : I would use the first output and look at msg.calc.next.start and msg.calc.next.end fields. Or perhaps even msg.calc.secondstostatechange

But I do not want to hijack this issue with something unrelated. So closing this one (as isHigherState has just been added to the latest release). Please file a new issue.

from node-red-contrib-eskomsepush.

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.