The flow uses an itho wifi add-on (https://github.com/arjenhiemstra/ithowifi) to control an itho CVE-S ventilation unit.
The flow monitors absolute humidity (shower) and presence (toilets) to increase ventilation flow.
Ventilation is stopped during the night.
When the indoor temperature is above 25°C and the outdoor temperature is cooler ventilation is increased (night cooling).
Telegram messages are sent when: the ventilation is high for more than 45 minutes; when actual ventilation differs from setpoint (e.g. because of CO2 control in the itho unit).
Many variables are published to a Domoticz client.
Interaction with the itho add-on is through web API calls.
Node-RED version 3.1.0
20230321 Added some bug fixes
20231016 Many changes: Shelly Mqttt workaround, RF disable, moved Fritz sleeping room to other flow,
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (err) | |
{ | |
log_error("deserializeJson() failed\n"); | |
log_debug("%s", err.c_str()); | |
log_error(); | |
log_error(m_rxbuffer); | |
// Skip this message id due to the impossibility to parse correctly | |
m_lastUpdateId = m_rxbuffer.substring(m_rxbuffer.indexOf(F("\"update_id\":")) + strlen("\"update_id\":")).toInt() + 1; | |
// int64_t chat_id = m_rxbuffer.substring( m_rxbuffer.indexOf("{\"id\":") + strlen("{\"id\":")).toInt(); | |
// Inform the user about parsing error (blocking) |