gonzojive / heatpump

Tools for communicating with the Chiltrix CX34 heat pump using a Raspberry Pi
Apache License 2.0
6 stars 2 forks source link

Google Assistant integration #5

Open gonzojive opened 2 years ago

gonzojive commented 2 years ago

See

It looks like the fan coil units can use the FanSpeed, OnOff, TemperatureSetting, TemperatureControl, and maybe more.

njmckenzie commented 2 years ago

Have you had success connecting to the air handlers?

gonzojive commented 2 years ago

Yes, the code that's checked in connects to the air handlers, which I call "fan coil units" in this repository.

There isn't any Google Assistance integration yet, though. The fan coil units don't come with such integration - it would need to be added by this project.

njmckenzie commented 2 years ago

Sorry for being dense but I'm not seeing any code which connects to the fan coil units (probably operator error). The connection to the outdoor unit is clear in the code as well as the register values that correspond to that outdoor unit. I went through each file in the project and I don't see anything similar for the indoor equipment.

gonzojive commented 2 years ago

I just merged the air handler code into the main branch. Before now it was on the "fancoil" branch.

This will bring up a gRPC server for retrieving the status and controlling the units:

https://github.com/gonzojive/heatpump/blob/main/fancoil/cmd/fancoil_status/fancoil_status.go

See this, too

https://github.com/gonzojive/heatpump/blob/main/proto/fancoil/fancoil.proto

I have a program that sends commands to the server a few times a day to adjust the fan speed and temperature.

njmckenzie commented 2 years ago

Dang your good!