pihome-shc / pihome

PiHome - Smart Heating, Ventilation and Air Conditioning (HVAC)
http://www.pihome.eu
Other
52 stars 25 forks source link

Home Assistant integration via MQTT #457

Closed JSa1987 closed 2 years ago

JSa1987 commented 2 years ago

Added a Home Assistant integration via MQTT. The advantage over using APIs for integration is that this way the configuration needed on the HA side is minimal. PiHome will automatically broadcast over MQTT all the sensor definition needed to setup and then update the following HA sensors:

Changes

pihome-shc commented 2 years ago

@JSa1987 can we implement on MaxAir version?

JSa1987 commented 2 years ago

@pihome-shc I would think this should be possible. My understanding is that the database structure has change so I would need to adjust a bit how data is pulled. Can you confirm that pihome-shc / PiHomeHVAC is the current repository for AirMax?

Unfortunately I don't have an installation of MaxAir to experiment and test. What is the status of development for AirMax, is this mature enough to be used to control the heat system? If so, I could consider upgrading so that I can then get a better understanding of how the new system works and then port this over.

pihome-shc commented 2 years ago

Yes, MaxAir is mature now and using it in production. Yes pihome-shc/PiHomeHVAC is correct repository. Thank you for working on this.

On 14 Aug 2021, at 09:50, JSa1987 @.***> wrote:

@pihome-shc I would think this should be possible. My understanding is that the database structure has change so I would need to adjust a bit how data is pulled. Can you confirm that pihome-shc / PiHomeHVAC is the current repository for AirMax?

Unfortunately I don't have an installation of MaxAir to experiment and test. What is the status of development for AirMax, is this mature enough to be used to control the heat system? If so, I could consider upgrading so that I can then get a better understanding of how the new system works and then port this over.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

JSa1987 commented 2 years ago

Very good then. I will look into upgrading to MaxAir and start porting this also there. I will close this pull request for now. Once I will had a look at MaxAir I will revisit also the implementation for PiHome so that they are kept as similar as possible and I will then re-submit another pull request.

pihome-shc commented 2 years ago

we can still update pihome as work is already done so why not.