Comments (3)
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:
Let me know if that seems about right.
from node-red-contrib-eskomsepush.
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.
@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)
- Request failed with status code 429 HOT 4
- [BUG] Updating every minute HOT 6
- [BUG] HOT 9
- EskomSePush integration with inverter on/off 10 min prior Loadshedding/Grid return HOT 6
- "No API calls left, not checking status/schedule" during and after no loadshedding. HOT 3
- [BUG]"TypeError: dates.stages[(EskomSePushInfo.calc.stage - 1)] is not iterable" HOT 8
- [BUG] now.getUTCDate) missing brackets () HOT 1
- [BUG] TypeError: Cannot read properties of undefined (reading 'start') HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-red-contrib-eskomsepush.