tagyoureit / nodejs-poolController

An application to control pool equipment from various manufacturers.
GNU Affero General Public License v3.0
315 stars 94 forks source link

neither gas nor solar heater showed up #199

Closed jbarneson closed 3 years ago

jbarneson commented 3 years ago

loaded up version 6 went very well -- but neither of my heaters show up in the states array:

image

I'd really like to monitor their run times - are they supposed to be returning state data? I do have the ability to set my desired heat temperature on the pool circuit... but i was hoping to see their running state as well.

tagyoureit commented 3 years ago

Hi, can you please give us the missing information from the list below? The answer may depend on your setup and what type of equipment you have. thx.

Packet Capture Follow the instructions to complete a packet capture and attach the resulting zip/log files.

Pool Equipment

Additional context Add any other context about the problem here.

rstrouse commented 3 years ago

That heaters array is for hybrid, ultratemp, and specialized heatpumps that will come later since these are the only types of heaters that report on the RS485 bus.

However, there are two places where the state of the running heaters are emitted. First is on the temps array. There is a temps.bodies[n].heatStatus which will indicate the current status of the body heating. These values will be off, heater, or solar. If you have a heatpump it will be off, heater, heatpump in *Touch controllers. There are a few other options in IntelliCenter if you have those types of heaters installed. If you have a solar preference it will flip between solar and heater depending on whether the solar heater has sufficient temperature deltas to heat the body.

The second place where this information is located is in virtualCircuits. There are virtual states for the heaters in these values for solar and gas heaters. *Touch emits solar virtual circuits when a heatpump is engaged.

gadget-monk commented 3 years ago

I added a comment on Gitter, but thought I would mention here as well. Heater status is inaccurate in “off” mode (I.e not auto). Even after the heater switches on in response to a Spa ON command, njsPC shows heater status as off. If the heating mode is Audo, the status is accurate.

rstrouse commented 3 years ago

Are you referring to spa manual heat when the heater mode is set to off. On IntelliCenter this changes the heat mode to heater and operates as if it is heating to a setpoint. Is this different in *Touch? If so what do you see in ScreenLogic or the control panels? Btw log this as an issue with a capture when the state should be heating and is not. Let's not hijack this issue.

gadget-monk commented 3 years ago

Yes, referring to spa manual heat when the heater mode is set to Off. The heat mode stays Off, but the heater kicks in and heats to a set point. Will take a capture and open a separate issue. Thanks!