paul-reed / node-red-contrib-watt2kwh Goto Github PK
View Code? Open in Web Editor NEWA node-RED node that converts a power feed (Watts) to energy (Wh) and ultimately kWh..
License: Apache License 2.0
A node-RED node that converts a power feed (Watts) to energy (Wh) and ultimately kWh..
License: Apache License 2.0
Hi,
I use the watt2kWh node to calculate the energy consumption from my Shelly plus 1PM devices.
As it seems I missunderstood the functionality of the node - or the node is not working correct.
example:
one of my Shellies has a current power consumption of 0.4W - and the watt2kWh node delivers only strange values
Is there anything I´ve overlooked? Or configuration?
thanks,
Walter
Hey,
I'm trying to install this on my system, but it fails.
Please see my log:
2022-02-24T07:46:52.532Z Install : node-red-contrib-watt2kwh 0.1.2
2022-02-24T07:46:53.866Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production [email protected]
2022-02-24T07:46:56.021Z [err] npm WARN npm npm does not support Node.js v10.24.0
2022-02-24T07:46:56.021Z [err] npm WARN npm You should probably upgrade to a newer version of node as we
2022-02-24T07:46:56.021Z [err] npm WARN npm can't make any promises that npm will work with this version.
2022-02-24T07:46:56.021Z [err] npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.
2022-02-24T07:46:56.021Z [err] npm WARN npm You can find the latest version at https://nodejs.org/
2022-02-24T07:47:25.269Z [out] + [email protected]
2022-02-24T07:47:25.269Z [out] updated 1 package in 28.474s
2022-02-24T07:47:25.294Z rc=0
I suggest you add more conversions to the drop down box.
Cents/hr to $/Day - The required output is equivalent to the (Kilowatt conversion * 10 )
An alternative method is to add a Custom field that accepts a manually entered conversion factor.
I'd also suggest the generic name "Integrator" instead of Watt2kWh.
Again, thanks for a good module.
When I run Wh with zero input result repeats same value 13 times on debug over the course of a minute but then increases the result by 0.513146493047 Wh. It then repeats the same again. Over the course of a night with no Input power from solar this adds abit onto the overall Wh figure.
Is there any way to prevent this from straying when no power input as works really well otherwise. Thanks.
Installing node-red-contrib-watt2kwh throws this error:
Installation fehlgeschlagen: node-red-contrib-watt2kwh
Cannot read property 'nodes' of null
Überprüfen Sie das Protokoll auf weitere Informationen.
2024-02-16T17:08:34.797Z installieren : node-red-contrib-watt2kwh 0.1.2
2024-02-16T17:08:34.869Z npm install --no-package-lock --global-style --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production [email protected]
2024-02-16T17:08:41.544Z [out]
2024-02-16T17:08:41.544Z [out] up to date in 6s
2024-02-16T17:08:41.589Z rc=0
I would very likely use this node to calculate the running energy - please could you help?
best regards
Ernst
Hi,
I found your Node in the RedMatic Pallette (RedMatic = NodeRed in Homematic).
But if I try to install, I get the error Message "ERR! Cannot destructure property 'package' of 'node.target' as it is null.".
If I click on Details I got the following Info:
2022-08-15T19:15:48.623Z installieren : node-red-contrib-watt2kwh 0.1.2
2022-08-15T19:15:48.683Z npm install --no-package-lock --global-style --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production [email protected]
2022-08-15T19:15:55.567Z [out]
2022-08-15T19:15:55.567Z [out] up to date in 6s
2022-08-15T19:15:55.641Z rc=0
Have you an idea? I am no developer so I have not the knowledge to understand backround of the message.
I would be grateful if you have any advice/solution for me how to use the node..
Hello,
since I am unfortunately not familiar with js-files, I am not sure how the energy is calculated from the power values.
Is it done like in this simple (for better unterstanding) example?
For every measurement point, e.g. 3, the power value at that time (1000 W) is multiplicated by the time difference between that measurement point and the one before (8 h) -> 1 kW * 8 h = 8 kWh?
Or is there the average of the two power values for the corresponding time intervall taken into account? e.g. energy between measurement 2 and 3: (3 kW + 1 kW) / 2 * 8 h = 16 kWh?
Thank you very much in advance!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.