Comments (9)
Hi @serhat-ozkara, the pins configuratios is in opentherm_component.h, review this and change it with your values
from esphome-opentherm.
@serhat-ozkara, also you can use the current pins
const int inPin = D5;
const int outPin = D6;
from esphome-opentherm.
@rsciriano Hello,
I managed to get it working by defining
const int inPin = D2; const int outPin = D1;
Now opentherm works!
But OT values from boiler seems to be not working:
from esphome-opentherm.
@serhat-ozkara try to change the constructor of OpenthermComponent
class
from
OpenthermComponent(): PollingComponent(15000) {
}
to
OpenthermComponent(): PollingComponent(3000) {
}
from esphome-opentherm.
@rsciriano Actually, I noticed this on opentherm_component.h:
`// Read sensor values
/*
float boilerTemperature = ot.getBoilerTemperature();
float ext_temperature = getExternalTemperature();
float pressure = getPressure();
float modulation = getModulation();
// Publish sensor values
//flame->publish_state(isFlameOn);
external_temperature_sensor->publish_state(ext_temperature);
return_temperature_sensor->publish_state(return_temperature);
boiler_temperature->publish_state(boilerTemperature);
pressure_sensor->publish_state(pressure);
modulation_sensor->publish_state(modulation);
*/`
They're all commented-out :)
from esphome-opentherm.
@rsciriano Actually, I noticed this on opentherm_component.h:
`// Read sensor values
/*
float boilerTemperature = ot.getBoilerTemperature();
float ext_temperature = getExternalTemperature();
float pressure = getPressure();
float modulation = getModulation();// Publish sensor values //flame->publish_state(isFlameOn); external_temperature_sensor->publish_state(ext_temperature); return_temperature_sensor->publish_state(return_temperature); boiler_temperature->publish_state(boilerTemperature); pressure_sensor->publish_state(pressure); modulation_sensor->publish_state(modulation); */` They're all commented-out :)
Yes, I commented that code because I tried without the opentherm adapter. The important thing is the heating climate and return temperature values.
from esphome-opentherm.
Hello again @rsciriano
I got it working with both uncommenting those lines & reducing polling to 3000. The values on the screenshot I marked are not changing and I get intermittent -1 values.
It seems to be working, but I had to set heating water to heat (auto turns off boiler completely), PID to auto (Heat seems to always enable boiler regardless of the temperature). Also Boiler target temp jumping from max boiler temp to 10 degrees, you can see from the screenshot.
Also there's a big delay between PID thermostat switching to heating and heating water swtiching from off to heating.
What does "termostato ambiante" switch does? Do I have to turn it on or off?
Thank you for your effort on this BTW :)
from esphome-opentherm.
Switch "Termostato ambiante" -> calculate Target temperature without PID.
from esphome-opentherm.
Hi @serhat-ozkara, sorry for the delay
I answer you in parts
I got it working with both uncommenting those lines & reducing polling to 3000. The values on the screenshot I marked are not changing and I get intermittent -1 values.
- Flame: was doubly commented on, will remain commented on
- Return Temperature: there could be a communication problem with the boiler. You could try this:
- Increse the polling time from 3000 to 5000
- Change the 160 line of code to show
boilerTemperature
instead ofreturn_temperature
on the climate component
heatingWaterClimate->current_temperature = boilerTemperature;
It seems to be working, but I had to set heating water to heat (auto turns off boiler completely),
Yes, the auto option is not implemented
PID to auto (Heat seems to always enable boiler regardless of the temperature). Also Boiler target temp jumping from max boiler temp to 10 degrees, you can see from the screenshot.
I think it is because the PID parameters are not appropriate. You should run the Autotuning mode to get the parameters that adjust to your home.
I've tried it but it doesn't work fine.
Also there's a big delay between PID thermostat switching to heating and heating water swtiching from off to heating.
I think this is the behaviour of the PID, the behaviour of my original Baxi thermostat (OpenTherm wired) was similar.
I set it first to ON and then to AUTO.
What does "termostato ambiante" switch does? Do I have to turn it on or off?
As @Aliskin-Papa rightly says, calculate Target temperature without PID.
I was previously using the Generic Thermostat from Home Assistant, the "termostato ambiente" switch is for this
from esphome-opentherm.
Related Issues (20)
- Does not remember the last state after a reboot HOT 2
- Hot water pressure -1 HOT 2
- the pump is still running
- Trying to contribute... But compile issue HOT 1
- Error while compiling; simple fix HOT 2
- noob starting out: nothing shows up HOT 7
- Add missing sensors HOT 6
- ошибка компиляции HOT 12
- Feature Request - Opentherm GATEWAY functionality HOT 9
- OpenTherm.h: No such file or directory HOT 3
- Task watchdog got triggered
- Info
- Viessmann - long time for an operation HOT 2
- does this one work as a climate or can I also use it as a switch only?
- Climate Preset HOT 1
- OpenTherm blocking communication with HASS (Error getting initial data for [IP]: Timeout waiting for response for <class 'api_pb2.ListEntitiesRequest'> after 60.0s) HOT 1
- Outdoor temperature and heating curve
- making it read only? HOT 1
- System does not boot - stuck in boot loop HOT 1
- Custom component took a long time HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esphome-opentherm.