-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable energy tracking #139
Comments
You should also consider the energy used by the blower and other components. But in my opinion it is already possible, I have a powercalc sensor for ever single component and one combined to see the overall power usage. The only thing is, when using a external heatingpump the real usage is a bit delayed, but it's only 1-2 min. So not a big issue. The 200w in idle are because of the the circulation pump that is not shown in the overview. For the heater I have a state based povercalc sensor: |
Does the gecko API have a value for voltage/amperage usage (which you could calculate actual KVa from) or are we just going off on/off for the heater and going based on time for that? I'm suspicious about whether my 208v 50a is actually running at 50a all the time, but I don't want to leave a multimeter hooked up to it for long term amperage monitoring (dangerous). |
I don't know, my implementation is only based on the sensor state + measured usage in a short time, so it is not 100% exact. |
Nice ideas! For now, I'll put a binary sensor for "Heating" mode while I think about the best way to provide energy usage/consumption data. |
All good, I'd be surprised if it's in the public API but I bet it has somewhere that there's a metric tracking the current amperage (to detect faults), so I figured it was worth asking. |
I didn't realize this repo doesn't actually contain the implementation, that's in |
Looks like at least for the in.yj there's some current metrics available. |
That's a constant for the max current available to the spa. It is used so that the spa won't do daft things and trip the breaker. For example, on a single phase tub when set to say 16A, the pack will normally refuse to run the heater and any of the high current pumps at the same time. On my spa which I've wired 3-phase with a 16A 3-phase breaker it is quite happy to run everything at the same time. We need to find out what your setting is, but it won't help with current usage. Also, 50A would be a 12kW heater which I don't think they do. I've seen them up to about 3.8kW which would draw 16A. |
From my experience, the control pack doesn't implement any PWM on the heater, it's just driven by a big heatsunk triac (they have a temperature output for this in the declaration sometimes). What this means is that once we find out what rating the heater is we can do a simple calculation from the "heater is on" sensor anyway. I'm thinking of adding a set of configuration inputs for power settings of the heater and other accessories which the integration can then do simple arithmetic on to produce an estimate of the output power consumption. Would this work for you guys? |
Sounds reasonable, I can always implement that myself but it'd be handy as an additional sensor. I'm going to get a CT clamp sensor and see if I can verify the draw that way as well. |
Keep the external heating source in mind. |
@mwerkmeister Would be useful to know if the "Heating" binary sensor gets enabled when the Heat Pump is set to "Eco Heat" and the spa needs to heat up. |
Actually, there seem to be two accessors |
Yeah I didn't realize CT clamps could measure current, for some dumb reason I thought they did voltage. I'm getting a cheapo Smart Life one for $20 to test with, I can put one on the main and one on the tub circuit. Good discussion all! |
because the spa pack doesn't have any way to directly provide current, that's the best and most accurate approach. My emporia gets my bill estimate to within ~$5 each month for the whole house. (plus if you integrate it with home assistant, you can have it calculate cost per circuit and track in your Energy panel. aka, your hot tub cost $xx today/this week/this month, etc) As a side note, there is a current setting you can tweak on the spa pack depending on the size of the circuit you have installed, however, all this seems to do is make sure that too many accessories aren't running concurrently to trip the breaker. The spa pack has a current setting for each accessory for which you can tweak as you add/remove/upgrade accessories. So if you had a blower, heater, two pumps on a 20 amp circuit, it would prevent too many from running at once (or perhaps prioritize the pumps over the heat if that would exceed the current limitations of the main circuit) |
It is not enabled. |
Checklist
Is your feature request related to a problem? Please describe.
I would like to be able to follow energy usage of the spa in home assistant together with other high consumption devices
Describe the solution you'd like
A meter showing the amount of kWh used by the hot tub heater.
Describe alternatives you've considered
Additional context
Since the hot tub is a large consumer of energy it would make sense to be able to separate the energy tracking from the daily usage, just as with EV chargers and heating systems.
The text was updated successfully, but these errors were encountered: