Capture energy sources via WiFi with TASMOTA
Step by step.
Step by step.
Before one can manage one's energy sources and consumers, it is first necessary to record as many consumers and energy sources as possible in the system with measuring points. Missing measuring points that cannot be integrated directly into KNX must be integrated via alternative BUS systems. One of these options is the integration of WiFi-capable ESP WLAN radio modules with the TASMOTA firmware. The energy values can be queried via HTTP request in the local network and, depending on the radio module, switching operations are also possible.
The integration of a TASMOTA meter in KNX takes place via the EIBPORTwhich has all the necessary interfaces and integration modules for this and has integrated diverse visualisation tools for all possible end devices. The following example describes the integration of a TASMOTA top-hat rail electricity meter into the web visualisation with CONTROL. L.
Integration of the TASMOTA measured values by means of a logic group in the EIBPORT
To integrate the TASMOTA meter into the KNX system, it must be assigned a fixed IP address. By default, the meter is set to DHCP, the change to a static IP address is done by programming via the "Console".
The measured values are integrated into the KNX system via a logic group in the EIBPORT. For this purpose, the LOGIC EDITOR is called up in the EIBPORT and the logic group is imported or created. The logic group for an http request and the transmission of the measured values into the KNX requires only a few logic elements, which can be selected under "+ Add".
Transfer measured values from TASMOTA meters to the KNX bus
To transfer the measured values from TASMOTA meters to the KNX bus, various steps are carried out:
Through these steps, the measured values are available in the required data format in order to be able to display them in a visualisation. The display takes place in the example web visualisation CONTROL L. The visualisation elements "Switch", "Button", "Dynamic text" or "Graphic element" can be used here. The measured values are output via the visualisation element "Value display" with the corresponding DPT 14.* or EIS 9 (4 byte FP).
As this value display can be created easily and quickly, it lends itself as a copy template for other counters.
The measured values can now be used flexibly in the KNX bus. The TASMOTA meter also has a switching function with which connected loads can be switched off, e.g. in standby mode. This function can also be integrated into the KNX by downloading another logic group.