zittix / Hoval-GW

Hoval Python Gateway for Hoval CAN bus
6 stars 0 forks source link

Reading out data from HOVAL TTE Set BasisModule WEZ or 2-TTE Gateway WLAN #3

Open koepferl opened 2 weeks ago

koepferl commented 2 weeks ago

Hi,

I am new to Raspberry Pi (not Python) and Hardware programming. I have an issue with my heating system therefore I would like to do the following things:

1) I would like to read out a sensor value X measured with the HOVAL system. 2) I would like to read several other sensors values and if some condition applies I would like to start or stop the pump from one buffer to another which is currently managed by the hoval system due to time interval. All this values are within the Hoval system. I know how to program the conditions in python. What I don't know is how to get the actual values and how to send back the demand to the hardware.

3) What component do I need. So far I have no equipment. Do I need a raspberry PI or can I just access the API via my home WIFI via JSON?

Kind regards,

Christine

zittix commented 2 weeks ago
  1. Have a look at the main python file, you will see an array called polled_data = []. Just add your sensor ID in there and it will start reading it.
  2. To turn on the pump you will need find the address of that pump. Have a look at the docs/ folder. Those are documentation for a lot of data points available in the system. If you find your pump then you can use that.
  3. You need a way to read/write to the Canbus of Hoval (unless you have the Hoval wifi / lan adapter which I don't know how it works). For this I'm using a Raspberry PI to which I hook up a CAN adapter such as https://www.reichelt.com/ch/de/shop/produkt/entwicklerboards_-_can-modul_mcp2515_mcp2562-239277?PROVID=2867&gad_source=1&gclid=EAIaIQobChMI9OejtL-BiQMV06iDBx3n7SqFEAQYBCABEgJvyvD_BwE&q=%2Fch%2Fde%2Fshop%2Fentwicklerboards-can-modul-mcp2515-mcp2562-debo-can-modul-p239277.html Have a look at this guide to hook it up: https://forums.raspberrypi.com/viewtopic.php?t=141052

Hope that helps.

koepferl commented 2 weeks ago

Thanks I will look into this. It might take some time. Thanks