Tasmota → Ada P1 Meter Script Translator


What does this Tasmota Rule generator do?

This small tool automatically generates the Tasmota Rule1 code, which allows you to send the meter data (power, voltage, current, total energy and the switch state) to the ADA P1 Meter. With this, your socket appears on the HMKE.app interface, and you can control it directly from there.

You provide the Tasmota device name, the serial number (01–50), and the IP address in the form, and the generator creates the complete rule from these, which you just need to paste into the Tasmota console. You can copy the code to the clipboard with a single click on the “Copy” button.

How do you set up the Tasmota device?

  1. First, configure the Wi-Fi on the Tasmota device (SSID, password). Once connected to the network, note or check its IP address in the router settings.
  2. Open in a browser:
    http://<YOUR TASMOTA DEVICE IP>/cs
    (example: http://192.168.31.170/cs) – this is the Tasmota web console.
  3. Copy the complete Rule1 code generated by the generator using the “Copy” button, then paste it into the Tasmota console window.
  4. Press Enter to execute the command. The Rule1 1 in the code enables the rule, and the TelePeriod 9 sets it to send data approximately every 9 seconds.

Once this is done, Tasmota will automatically start sending the measured data to the ADA P1 system. 

Tasmota Rule generator

Rule1
 ON Tele-ENERGY#Power DO Var1 %value% ENDON
 ON Tele-ENERGY#Voltage DO Var2 %value% ENDON
 ON Tele-ENERGY#Current DO Var3 %value% ENDON
 ON Tele-ENERGY#Total DO WebSend [okosvillanyora.local:8989]/write_tasmota?device=plugins&Tasmota_total_01=%value%&Tasmota_voltage_01=%var2%&Tasmota_current_01=%var3%&Tasmota_power_01=%var1%&Tasmota_ip_01=192.168.31.170&Tasmota_name_01=Tasmota ENDON
 ON Power1#State DO WebSend [okosvillanyora.local:8989]/write_tasmota?device=plugins&Tasmota_status_01=%value% ENDON
Rule1 1
TelePeriod 9
PZIOT-E02 consumption meter – with native okosvillanyora.hu support

PZIOT-E02 consumption meter – with native okosvillanyora.hu support

2025.10.16.    1761

The Swiss army knife of phase measurement The PZIOT-E02 can provide great help in two situations: 1. If you don’t have an electricity meter with a P1 port In this case, the PZIOT-E02 functions as a…

More
Why is it important to also measure inverter production?

Why is it important to also measure inverter production?

2025.10.16.    1595

For owners of household-scale small power plants (HMKE), it is natural to monitor the feedback to the grid. This value shows how much of the produced energy the house does not use immediately, but sen…

More
More than a thousand households already use the Hungarian-developed ADA P1 Meter for more conscious energy use

More than a thousand households already use the Hungarian-developed ADA P1 Meter for more conscious energy use

2025.12.22.    1601

In recent times, it has become increasingly important for more Hungarian households not only to see their electricity bill but also to understand what is actually happening behind the scenes. The Debr…

More

Featured

ADA P1 Meter - smart meter for electricity meter +15 cm RJ12 data cable

ADA P1 Meter - smart meter for electricity meter +15 cm RJ12 data cable

The device collects nearly 40 data points (consumption, feedback, phase parameters, reactive energie..

18,900 Forint Ex Tax: 14,882 Forint

PZIOT-E02 – with native okosvillanyora.hu and hmke.app support

PZIOT-E02 – with native okosvillanyora.hu and hmke.app support

The PZIOT-E02 is a compact, DIN rail mountable consumption meter, capable of accurately measuring th..

12,900 Forint Ex Tax: 10,158 Forint

ADA P1 Meter Cable 35 cm

ADA P1 Meter Cable 35 cm

Straight connection 35 cm long data cable for ADA P1 Meter and compatible devices...

1,425 Forint Ex Tax: 1,122 Forint

ADA485 – RS485/Modbus & TCP/Modbus IoT bridge for HMKE and industrial devices

ADA485 – RS485/Modbus & TCP/Modbus IoT bridge for HMKE and industrial devices

Mikrosilver video provides additional information and a detailed setup guide: The ADA485 is..

24,892 Forint Ex Tax: 19,600 Forint