HVAC Control: How to Control HVAC from iNELS system using Tasmota IR Controller
Last updated
Last updated
iNELS Central Unit (CU) for Bus System or eLAN Gateway for Wireless System
iNELS Bridge (running MQTT broker, Home Assistant, NodeRed)
IR Blaster (MQTT supported) IR Blaster
iNELS System Units (Controllers, Actuators, Power Supply, etc.)
Install the iNELS System: Follow the instructions to physically install all iNELS system units (controllers, actuators, power supplies, etc.).
Program the iNELS System: Use the iDM software to configure and program your iNELS bus system according to your requirements. FOr wireless system use iNELS App to configure the eLAN gateway.
Install and Configure MQTT Broker: Ensure that your iNELS Bridge is running an MQTT broker (e.g., Mosquitto). Configure the MQTT broker with appropriate settings for your network.
Connect CU or eLAN Gateway to MQTT Broker:
Access the configuration interface of the CU or eLAN Gateway.
Enter the MQTT broker details (IP address, port, username, password, etc.).
Save and apply the settings to establish the connection.
Install and Configure IR Blaster:
Follow the instructions from the IR Blaster's documentation to set it up physically.
Buyers should make sure to check if their devices are supported by Tasmota's IR remote library prior to purchase. ATHOM provides pre-flashed Tasmota controllers, but cannot guarantee compatibility. Buyers should be aware that there is a risk of incompatibility and take their own precautions.
Please refer to the following link for the supported protocols and related information
https://tasmota.github.io/docs/Tasmota-IR/
https://github.com/crankyoldgit/IRremoteESP8266/blob/master/SupportedProtocols.md
Access the IR Blaster's configuration interface (via web browser or app). Connect to your network by adding the wifi.
Go to the Main menu -> Upfate the Firmware
Then go to the Configuration page and confugure the Template.
Template:
{"NAME":"Athom_IR_Remote","GPIO":[32,0,0,0,1056,1088,0,0,0,576,0,0,0,0],"FLAG":0,"BASE":18}
GPIOs:
GPIO# Component
GPIO0 Button
GPIO1 None
GPIO2 None
GPIO3 None
GPIO4 IRsend
GPIO5 IRrecv
GPIO9 None
GPIO10 None
GPIO12 No
GPIO13 LedLink_i
GPIO14 None
GPIO15 None
GPIO16 None
FLAG None
Enter the MQTT broker details (same as for the CU or eLAN Gateway).
Save and apply the settings to establish the connection.
Enter Learning Mode on IR Blaster:
Access the IR Blaster's console .
Point Remote Control at IR Blaster:
Press the desired button on the IR remote control.
Observe the IR Blaster console for the captured IR command and protocol.
Record IR Commands:
Note down the IR command details and the associated protocol from the IR Blaster console.
Publish Test IR Commands:
Use an MQTT client to publish the captured IR commands to the appropriate MQTT topic.
cmd/tasmota_F99867/IRSend
Verify that the IR Blaster successfully sends the command to the target device (e.g., TV, AC, etc.).
Confirm Command Execution:
Ensure that the target device responds correctly to the IR commands.
Home Assistant (HASS)
Access Home Assistant:
Open Home Assistant interface via web browser.
Add MQTT Integration:
Go to Configuration > Integrations.
Add the MQTT integration if it is not already added.
Create Automation:
Go to Configuration > Automations.
Click on "Add Automation".
Define the trigger (e.g., button press on iNELS controller).
Define the action to publish the IR command to the MQTT topic.
Save the automation.
Node-RED
Access Node-RED:
Open Node-RED interface via web browser.
Add MQTT Nodes:
Add an "MQTT in" node to subscribe to the relevant iNELS controller topic.
Add an "MQTT out" node to publish the IR command.
Create Flow:
Connect the "MQTT in" node to a function node if any processing is needed.
Connect the function node to the "MQTT out" node.
Configure the nodes with appropriate topic names and payloads.
Deploy the flow.
Capture IR Command for Increasing Temperature:
Use the IR Blaster to learn the IR command for increasing the AC temperature.
Note down the command details.
Home Assistant Automation:
Trigger: Button press on iNELS controller.
Action: Publish the IR command to the MQTT topic controlling the IR Blaster.
Node-RED Flow:
Input Node: Subscribe to the iNELS controller button press topic.
Function Node: Create a message with the payload of the IR command.
Output Node: Publish the message to the MQTT topic controlling the IR Blaster.
By following these steps, you can control your iNELS system using an IR controller, allowing for seamless integration and automation with devices such as air conditioners, TVs, and more.