golles / ha-kamstrup_403

Custom component that integrates the Kamstrup 403 heating system into Home Assistant. This component does also support a few other heating systems
MIT License
70 stars 10 forks source link

Use HTTP request for fetching data from Kamstrup 401 #51

Closed Gilbertonl closed 1 year ago

Gilbertonl commented 1 year ago

Did you read the instructions?

The request

I now use a ESP8266 to get data from Kamstrup401. With a URL i can fetch data from the ESP8266. The IR reader is connected to the ESP8266 Example : http://192.168.0.207/energy The response is: {"energy [GJ]" : 371.383,"power [kW]" : 0.0,"flow [l/h]" : 0,"water [m3]" : 27509.55,"tempin" : 29.48,"tempout" : 22.59,"tempdiff" : 6.89} So it would be nice if this also can be used.

Additional information

No response

golles commented 1 year ago

This is out of scope.

If you use an ESP to read the values from your meter, why not publish them to MQTT and let Home Assistant get them from there? Or when using ESPHome, you can publish the values directly into Home Assistant. In both these suggestions you can use push mechanisms instead of fetch, which is IMO always preferred.

StevenLooman commented 1 year ago

Or perhaps you can use the rest integration for this.

vittrup88 commented 1 year ago

Did you read the instructions?

The request

I now use a ESP8266 to get data from Kamstrup401. With a URL i can fetch data from the ESP8266. The IR reader is connected to the ESP8266

Example : http://192.168.0.207/energy

The response is: {"energy [GJ]" : 371.383,"power [kW]" : 0.0,"flow [l/h]" : 0,"water [m3]" : 27509.55,"tempin" : 29.48,"tempout" : 22.59,"tempdiff" : 6.89}

So it would be nice if this also can be used.

Additional information

No response

Can you share the code for esp8266? I have multical 603 and would like esp to publish data into MQTT. Also the ir sensor is diy?

Gilbertonl commented 1 year ago

Did you read the instructions?

The request

I now use a ESP8266 to get data from Kamstrup401. With a URL i can fetch data from the ESP8266. The IR reader is connected to the ESP8266 Example : http://192.168.0.207/energy The response is: {"energy [GJ]" : 371.383,"power [kW]" : 0.0,"flow [l/h]" : 0,"water [m3]" : 27509.55,"tempin" : 29.48,"tempout" : 22.59,"tempdiff" : 6.89} So it would be nice if this also can be used.

Additional information

No response

Can you share the code for esp8266? I have multical 603 and would like esp to publish data into MQTT. Also the ir sensor is diy?

Sure, How can i contact you?

vittrup88 commented 1 year ago

Did you read the instructions?

The request

I now use a ESP8266 to get data from Kamstrup401. With a URL i can fetch data from the ESP8266. The IR reader is connected to the ESP8266 Example : http://192.168.0.207/energy The response is: {"energy [GJ]" : 371.383,"power [kW]" : 0.0,"flow [l/h]" : 0,"water [m3]" : 27509.55,"tempin" : 29.48,"tempout" : 22.59,"tempdiff" : 6.89} So it would be nice if this also can be used.

Additional information

No response

Can you share the code for esp8266? I have multical 603 and would like esp to publish data into MQTT. Also the ir sensor is diy?

Sure, How can i contact you?

Could you create a repo at your github and we could talk about it there? It might also be possible to do a direct esphome version for usage in home assistant like home assistant glow.

cybrain29 commented 1 year ago

Did you read the instructions?

The request

I now use a ESP8266 to get data from Kamstrup401. With a URL i can fetch data from the ESP8266. The IR reader is connected to the ESP8266 Example : http://192.168.0.207/energy The response is: {"energy [GJ]" : 371.383,"power [kW]" : 0.0,"flow [l/h]" : 0,"water [m3]" : 27509.55,"tempin" : 29.48,"tempout" : 22.59,"tempdiff" : 6.89} So it would be nice if this also can be used.

Additional information

No response

Can you share the code for esp8266? I have multical 603 and would like esp to publish data into MQTT. Also the ir sensor is diy?

Sure, How can i contact you?

Can you also share the ESP8266 code with me? I am in a similar situation where the meter is nowhere near the RPi

golles commented 1 year ago

With the latest release, this component is able to connect to a remote serial connection, see https://github.com/golles/ha-kamstrup_403/releases/tag/2.5.0