It’s just a mistake between your examples from and to…
No, those are the switches of the valves, according to your drawing above.
hi robi, thanks for the clarification.
Pushed fix to all conditions, by migrating from template to state, to fix against the warnings appearing lately in HA.
hi robi, you’ve mentioned to replace in pump-relation.yaml switch.heater_1 and switch.heater_2 for the valves in my drawing. But they are triggers, do I make a mistake?
Also a question how to integrate the pump on the groundfloor so that is turming off with an hour delay.
hi robi, solved I rebuild pump-relation.yaml to my needs and seems to be working (still a bit in test). Thanks for the help
Repository updated with simplified triggers. No more extracomplicated templates needed.
Hi folks,
I’m not able to find where the binary_sensor.workday_extra is defined, in the zz_binary folder the workdays-holidays.yaml file doesn’t contain it. I see this sensor is used ONLY in the time-chooser.yaml automation
can you point me in the right direction?
regards
Done some calibration tests with DS18B20 temp sensors, 21 pieces, all from Aliexpress. All mounted in parallel on the same board, next to each other:
Pretty disappointing. 1.6 degrees difference between the highest and the lowest value:
Measurement done outdoors, tested for 2 hours.
Also took a bunch of DS18B20 waterproof version. 32 pieces - did the tests of boiling vs iced water (100C vs. 0C).
These are much better, as there’s only 0.6 degrees difference between the worst ones:
Also measured 7pcs of SHTC3 (the white one on the testboard) there’s 0.3 degrees difference between the worst ones. These can’t be measured in parallel (same I2C bus with same addresses) so I took as a reference the one from the waterproof DS18B20 and replaced the SHTC3s one by one, measured after 10-15 minutes outdoors. Compared to the reference, I had one shifted 0.1C, three shifted -0.1, one -0.2 and two showing the same value. No graph to show them compared to each other as they were shifted in time.
Conclusion:
- DS18B20 solderable PCB (TO-92 packaging) are worse quality, and since they are not waterproof, they can only be calibrated to a reference, and then the measured offset can be applied (possible in ESPHome and Tasmota, also in HA with templating). Try calibration close to the temperature where it will be used intentionally, as it’s likely that the linear offset is still unprecise.
- DS18B20 waterproof version are better, and can be calibrated using 2 points. Since we all learned in school that water boils at 100C, and water and ice present in the same time is at 0C (at sea level) it’s possible to do actual measurements of what the sensor sees in these practical conditions. ESPHome has
calibrate_linear
andcalibrate_polynomial
functions which allow for much more precise compensation than a simple offset. - SHTC3 is simply great. 0.1 or 0.2 degrees difference is acceptable.It’s not waterproof but it still can be tweaked with a linear offset, given that there’s a good reference to be compared with. But I don’t think it needs to. Also I like that it responds to temperature changes pretty quick, DS18B20 is way slower.
One could select a reference sensor from the pack of multiple DS18B20 waterproof sensors. From my 32 pieces I found one which was measuring 99,9C at water boiling, and -0,1 at iced water so I’ll set that aside and label it as reference sensor for the future.
Hi, any idea where I can find the definition of the workday_extra binary sensor?
Sorry, my mistake. You don’t need any workday_extra. Fixed the repo.
(I made workday_extra for myself only with a template, to manually override the default workdays in HA for certain special occasions in our family).
Already got one in the mail, will re-do the tests with SHTC3 when it arrives.
hi @robi,
thanks for sharing hw components…
Do you use RS485 to power on/off 24V roth valves? What kind of 24 power adaptor do you use? Is rs485 required only to power on/off (open/close) valves?
Also instead relay / and cabled 24 or 230V valves … can I use zwave for example> zwave eurotronic valve
Did u have some specific reason not to use zwave/ etc…?
Can I use to for powering on/off my electrical heater, i mean i need something galvanicaly separated from the main power just simple relay…
Qubino ZMNHND1 Flush 1D
Appreciate!
I did tests with Zigbee and it turned out to be unreliable due to interference so I prefer a cabled set up. As far as I’ve read zWave is similar, I don’t want to spend on more test hardware which likely will fail for me. Additionally the valves will be placed at the manifold distribution in the same box not at the radiators so the cables will only run there.
That RS485 relay board is something I found to be reliable to use on the long term (eg it has original Omron reays in sockets so if any of them fail after a few years all I need to do is to replace it in the socket no need to dismount the whole thing). This board is specifically RS485 Modbus so yes, and ESP32 will be used to integrate that in Home Assistant (tried HA’s own Modbus component with an Ethernet to RS485 converter, unfortunately the way it’s implemented in HA is not very good). I intend to also gather most of the sensors with the same ESP32 and will investigate ESPHome’s own climate components too.
Originally I wanted to develop my own relays board with an ESP32 built-in, but it was simpler and cheaper to get this one ready made.
I use Meanwell HDR-100-24 power adaptor.
To power on/off your heater you can use any kind of switch you want which can be integrated in HA.
Evaluating LYWSD03MMC with pvvx
firmware. This one seems promising combined with ESPHome using esp32_ble_tracker
and pvvx_mithermometer
components.
This device equipped with that custom firmware can send temp readings every 60 seconds (or faster) using Bluetooth Advertisments. No need to pair with the device to get the values! This makes a huge advantage on battery time. Some say it can last for even 1 year. Well I bought one for testing.
Adds custom advertisment intervals (say, every 60 seconds, +instant updates on configurable temperature deltas, like 0.2 degrees), it can be integrated with HA in various ways, not only ESPHome.
If it could prove reliable enough and sending temps often enough, could be a winner due to its portability (could be placed freely anywhere - in optimal mesurement locations) - as long as the battery doesn’t drain too fast. Has SHTC3/SHTV3 sensor inside which is excellent.
Impressive results:
Blue line: LYWSD03MMC through WT32-ETH01 running ESPHome with esp32_ble_tracker
and pvvx_mithermometer
Pink line: DS18B20 through an ESP8266 running Tasmota.
LYWSD03MMC battery at 100% still. Runs pvvx
firmware which shows battery levels too.