PowerSet X for Devices without Power Monitoring #10640
Replies: 13 comments 25 replies
-
This request was originally made by @danielr1996 on #9314 Moved to Github Discussion for further exploration of this idea, but this new feature of github didn't copy all the previous comment. Sorry about that. Bug already reported to Github. |
Beta Was this translation helpful? Give feedback.
-
The other challenge is that currently the energy/power sensor code can only handle a single device, while the standard relay control can handle up to 8. I have some devices that are just on on/off controls. I have a Grafana transformation/calculation that calculates on time, which I find to be a more interesting number than energy usage. If all you want reported is xx W when the switch is on that would not require extra storage, but I am not sure it would provide a whole lot of value either. My take on it is: if I care about the power usage, I need to measure it and I am willing to pay the $10-15 extra per circuit to do that. I am doing the same thing with a low voltage circuit by using an INA219 to measure power and energy. It is not that I really care about the energy use from a cost perspective (or even an environmental one), but I do care about what the energy usage tells me about the health of the mechanical system it is powering and that it really is doing so. |
Beta Was this translation helpful? Give feedback.
-
In such case, as the power would not be effectively measured by the devce, I would handle energy at the home application level (in my case node-red+influx) |
Beta Was this translation helpful? Give feedback.
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
Try latest development version. Enable feature by selecting any GPIO as See file Do not forget to enable |
Beta Was this translation helpful? Give feedback.
-
Wow! This was quite fast! I don't dare to ask, if this could also be extended to more relays in one device. Joerg |
Beta Was this translation helpful? Give feedback.
-
Fixed in latest dev version. Don't ask for more! |
Beta Was this translation helpful? Give feedback.
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
I cant find this in the pre-built 9.4.0 release. Can it be added to a custom build? |
Beta Was this translation helpful? Give feedback.
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
Hmm, I have already assigned gpio12 to Option A2 but I get nothing on the main page. I am actually compiling my own firmware (with slave/client support). I wonder if there is some conflict with this. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
This feature is great. There is one thing missing for me though - the ability to set the power/load per relay. My use case is as follows: I have a 2 gang wall light switch with no built in means for power monitoring. Connected to both of those relays inside the switch is a different sized bank of lights, hard-wired. One is around 450 watts, and another is around 250 watts. The tasmota web UI as is, appears to allow for a different power, voltage and current setting per relay. But I have tried many variations of things like "PowerSet1 450" "PowerSet 1 450" and so on, and cannot get different values to "stick" to each relay. Is it at all possible to get this feature? Thanks |
Beta Was this translation helpful? Give feedback.
-
Have you looked for this feature in other issues and in the docs?
I've searched the issues and found #3208 which suggests that the feature is currently not available.
The Documention for Power Calibration has no info on the supported devices.
Is your feature request related to a problem? Please describe.
I cannot validate if this is already possible because i don't have the required devices and want to check the features before buying them.
Power Monitoring with devices like the Sonoff Pow R2 is nice for devices with varying loads such as computers, washing machines, tvs, etc. but quite unneccesary for devices with static loads like light bulbs because the sonoff pow would always display roughly the same value or zero if turned off.
Describe the solution you'd like
Devices with Power Measurement
Devices that already measure the power consumption would not be affected at all.
Devices with on/off switch
On Devices with an on/off switch but no power measurement i want to set the power consumption manually (e.g. by measuring with kill-a-watt, another sonoff pow, reading the spec for a light bulb,...) with
PowerSet X
.Now if the device is turned on i'd like the device to report a power usage of X, if the device is turned off a power usage of 0.
Devices with a dimmer
In addition to the on/off behaviour (on meaning 100% dimmer position) the device would report X * dimmer position as power consumption (Assuming that dimmer position correlates linearly to the power usage).As stated in the comments a reliable value for every dimmer setting can not be calculated for dimmers.
Describe alternatives you've considered
Alternativly one could just monitor the on/off state and use that in custom software or ioBroker to calculate the power consumption afterwards. Currently i'm using a custom tasmota build with the prometheus extension, a prometheus instance that scrapes the sonoff pow and a grafana dashboard that displays the scraped values. Calculating the power usage afterwards would require either
Additional context
I know this is rather an edge case but i hope there are other people that are facing the same problem.
I'm not experienced with programming of embedded software but i would get my hands dirty and try to and submit a pull request implementing this feature.
(Please, remember to close the issue when the problem has been addressed)
Beta Was this translation helpful? Give feedback.
All reactions