# Easy HAN ® Firmware V2 - 7.321 - Contadores Inteligentes

**URL:** <https://forum.cpha.pt/t/easy-han-firmware-v2-7-321-contadores-inteligentes/13409>\
**Category:** Partilha de Projectos\
**Tags:** tasmota, modbus, han\
**Created:** [15 Fevereiro , 2024 15:52 UTC](https://forum.cpha.pt/t/easy-han-firmware-v2-7-321-contadores-inteligentes/13409 "2024-02-15T15:52:05Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![nikito7](https://forum.cpha.pt/user_avatar/forum.cpha.pt/nikito7/32/18185_2.png) [@nikito7](https://forum.cpha.pt/u/nikito7)\
**Post date:** [15 Fevereiro , 2024 15:52 UTC](https://forum.cpha.pt/t/easy-han-firmware-v2-7-321-contadores-inteligentes/13409/1 "2024-02-15T15:52:05Z")

</div>

Plugin Tasmota: a lógica modbus em C.

 ![1000024838](https://forum.cpha.pt/uploads/default/original/3X/1/0/10f725442abc9e71f536e710ba2582eb89cfe1fc.jpeg)

 ![1000024839](https://forum.cpha.pt/uploads/default/original/3X/3/9/39c309e4be007fb156580df643dece585135633a.jpeg)

 ![1000024840](https://forum.cpha.pt/uploads/default/original/3X/7/7/77906b7bed53c9bb7efd661f38342e27bc8b0fb3.jpeg)

 ![1000024841](https://forum.cpha.pt/uploads/default/original/3X/e/1/e1fde9dac8245b81efc65f892e7faf47df1b86ce.jpeg)

[[https://github.com/nikito7/easyhan/tree/dev/V2](https://github.com/nikito7/easyhan/tree/dev/V2)]

A V2 não tem grandes mudanças a nivel de Home Assistant.

---

<div class="post-metadata">

**Author:** ![nikito7](https://forum.cpha.pt/user_avatar/forum.cpha.pt/nikito7/32/18185_2.png) [@nikito7](https://forum.cpha.pt/u/nikito7)\
**Post date:** [15 Fevereiro , 2024 15:54 UTC](https://forum.cpha.pt/t/easy-han-firmware-v2-7-321-contadores-inteligentes/13409/2 "2024-02-15T15:54:39Z")

</div>

![1000024842](https://forum.cpha.pt/uploads/default/original/3X/d/a/daf6c60745b73b48dcf8ca25b0a207a0652a87b8.jpeg)

 ![1000024843](https://forum.cpha.pt/uploads/default/original/3X/d/0/d07ae48cc9df865d9d5f6ac918dadbb98b35309b.jpeg)

 ![1000024844](https://forum.cpha.pt/uploads/default/original/3X/a/4/a4b8462a3a2b6d66a3f8c19e6da8bd6472fe747c.jpeg)

---

<div class="post-metadata">

**Author:** ![nikito7](https://forum.cpha.pt/user_avatar/forum.cpha.pt/nikito7/32/18185_2.png) [@nikito7](https://forum.cpha.pt/u/nikito7)\
**Post date:** [17 Fevereiro , 2024 13:51 UTC](https://forum.cpha.pt/t/easy-han-firmware-v2-7-321-contadores-inteligentes/13409/3 "2024-02-17T13:51:06Z")

</div>

Landis S5 + WithUs

 ![easyhan.pt](https://forum.cpha.pt/uploads/default/original/3X/9/4/947dc58520e465bd5786344d239f9ee683a5db2a.jpeg)

Janz GPRS

 ![1000025193](https://forum.cpha.pt/uploads/default/original/3X/b/d/bdfe2b284b1c3e2203bcc4be21006b663f477902.jpeg)

---

<div class="post-metadata">

**Author:** ![nikito7](https://forum.cpha.pt/user_avatar/forum.cpha.pt/nikito7/32/18185_2.png) [@nikito7](https://forum.cpha.pt/u/nikito7)\
**Post date:** [18 Fevereiro , 2024 15:37 UTC](https://forum.cpha.pt/t/easy-han-firmware-v2-7-321-contadores-inteligentes/13409/4 "2024-02-18T15:37:59Z")

</div>

![easyhan.pt](https://forum.cpha.pt/uploads/default/original/3X/e/f/efffa25dfa1cca3aaea816407f3007050794120d.jpeg)

 ![1000025323](https://forum.cpha.pt/uploads/default/original/3X/6/4/64ced4dd2bd481cd2979027aa7bd480f4ff1fee9.jpeg)

---

<div class="post-metadata">

**Author:** ![nikito7](https://forum.cpha.pt/user_avatar/forum.cpha.pt/nikito7/32/18185_2.png) [@nikito7](https://forum.cpha.pt/u/nikito7)\
**Post date:** [22 Fevereiro , 2024 14:52 UTC](https://forum.cpha.pt/t/easy-han-firmware-v2-7-321-contadores-inteligentes/13409/5 "2024-02-22T14:52:28Z")

</div>

Diagrama de carga mal configurado no contador,  
pode causar problemas a nivel de netmetering.

[Contador 1] Ordem incorrecta (LP ID)

 ![netmetering easyhan.pt](https://forum.cpha.pt/uploads/default/original/3X/3/9/39f46039b782ebb48222c42ce0766105247ee71a.jpeg)

[Contador 2] Ordem correcta (LP ID)

 ![netmetering easyhan.pt](https://forum.cpha.pt/uploads/default/original/3X/d/2/d20d5ca3a0681110f0b3978a7fdd62190776ea9c.jpeg)

LP3 - 9 0x09 Active energy (+A) inc.  
LP4 - 11 0x0B Reactive energy (+Ri) inc.  
LP5 - 14 0x0E Reactive energy (-Rc) inc.  
LP6 - 10 0x0A Active energy (-A) inc.  
LP7 - 13 0x0D Reactive energy (-Ri) inc.  
LP8 - 12 0x0C Reactive energy (+Rc) inc.

**Caso** a e-redes processe os valores de acordo com a tabela não causa problema a ordem destes…

A inexistência dos LP6, 7, 8. Causa a energia exportada ser contada como consumo.

---

<div class="post-metadata">

**Author:** ![nikito7](https://forum.cpha.pt/user_avatar/forum.cpha.pt/nikito7/32/18185_2.png) [@nikito7](https://forum.cpha.pt/u/nikito7)\
**Post date:** [24 Março , 2024 00:22 UTC](https://forum.cpha.pt/t/easy-han-firmware-v2-7-321-contadores-inteligentes/13409/6 "2024-03-24T00:22:31Z")

</div>

```auto
00:17:39.328 CMD: HanProfile
00:17:40.020 MQT: stat/edpbox8/RESULT = {"HanProfile":"0000,Error,Limit,6720,6720"}

00:17:51.975 CMD: HanProfile 1
00:17:52.764 MQT: stat/edpbox8/RESULT = {"HanProfile":"0001,2024-01-14T00:30Z00,00,0061,0039,0010,0000"}

00:18:02.786 CMD: HanProfile 6720
00:18:03.570 MQT: stat/edpbox8/RESULT = {"HanProfile":"6720,2024-03-24T00:15Z00,00,0074,0034,0008,0000"}

```

---

<div class="post-metadata">

**Author:** ![nikito7](https://forum.cpha.pt/user_avatar/forum.cpha.pt/nikito7/32/18185_2.png) [@nikito7](https://forum.cpha.pt/u/nikito7)\
**Post date:** [9 Maio , 2024 16:16 UTC](https://forum.cpha.pt/t/easy-han-firmware-v2-7-321-contadores-inteligentes/13409/7 "2024-05-09T16:16:00Z")

</div>

![easyhan.pt easy han emi edpbox v2](https://forum.cpha.pt/uploads/default/original/3X/c/3/c3ea22c345f5160c7d09bb5d584841e8ff0cb1fc.jpeg)

---

<div class="post-metadata">

**Author:** ![KatsuOBarbaro](https://forum.cpha.pt/letter_avatar_proxy/v4/letter/k/77aa72/32.png) [@KatsuOBarbaro](https://forum.cpha.pt/u/KatsuOBarbaro)\
**Post date:** [18 Julho , 2024 15:29 UTC](https://forum.cpha.pt/t/easy-han-firmware-v2-7-321-contadores-inteligentes/13409/8 "2024-07-18T15:29:40Z")

</div>

Hey @nikito7,

Eu tenho o modulo HAN do Chaveiro, podes partilhar os steps necessários para utilizar o teu firmware e scripts?  
O meu contador é um Sagemcom T215.

Obrigado

---

<div class="post-metadata">

**Author:** ![chaveiro](https://forum.cpha.pt/letter_avatar_proxy/v4/letter/c/5fc32e/32.png) [@chaveiro](https://forum.cpha.pt/u/chaveiro)\
**Post date:** [14 Novembro , 2024 21:30 UTC](https://forum.cpha.pt/t/easy-han-firmware-v2-7-321-contadores-inteligentes/13409/9 "2024-11-14T21:30:55Z")

</div>

É possível sim, basta fazer o update OTA, seguindo as instruções do nikito:

> <https://github.com/nikito7/easyhan/blob/dev/V2/Easy-HAN-V2.md>

---

<div class="post-metadata">

**Author:** ![nikito7](https://forum.cpha.pt/user_avatar/forum.cpha.pt/nikito7/32/18185_2.png) [@nikito7](https://forum.cpha.pt/u/nikito7)\
**Post date:** [20 Setembro , 2025 12:59 UTC](https://forum.cpha.pt/t/easy-han-firmware-v2-7-321-contadores-inteligentes/13409/11 "2025-09-20T12:59:21Z")

</div>

# Override Settings

Tools \> Manage filesystem

Criar o ficheiro config.txt

```js
HanDelayWait 1000
HanDelayError 5000
HanTimeout 1500
HanRestart 0
TelePeriod 10
HanSkip 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0

```

O ficheiro só é aplicado aos 30 segundos depois de iniciado.

# HanSkip

HanSkip 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0

```js
1 - EB Type
2 - EMI Info
3 - Contract
4 - LP ID
5 - Clock
6 - Voltage. Current.
7 - Power. Power Factor mono.
8 - Power Factor tri. Frequency mono.
9 - kWh Energy Tarifas
10 - kWh Total Energy
11 - kWh L1 L2 L3 
12 - Reserved
13 - Load Profile
14 - Ciclo. Tarifa.
15 - ICP Status

```

Apenas Watts:

```js
HanSkip 1,1,1,1,1,1,0,1,1,1,1,1,1,1,1

```

Pára todas as funções extra do Easy HAN.

# HAN V2

[https://github.com/nikito7/han-dev/tree/dev/tasmota/xdrv100](https://github.com/nikito7/han-dev/tree/dev/tasmota/xdrv100)

#

---

<div class="post-metadata">

**Author:** ![nikito7](https://forum.cpha.pt/user_avatar/forum.cpha.pt/nikito7/32/18185_2.png) [@nikito7](https://forum.cpha.pt/u/nikito7)\
**Post date:** [13 Outubro , 2026 16:18 UTC](https://forum.cpha.pt/t/easy-han-firmware-v2-7-321-contadores-inteligentes/13409/12 "2026-10-13T16:18:32Z")

</div>

# 7.321

[https://github.com/nikito7/han-dev/commits/dev/tasmota/xdrv100](https://github.com/nikito7/han-dev/commits/dev/tasmota/xdrv100)

[https://u.easyhan.pt/v2/](https://u.easyhan.pt/v2/)

[https://u.easyhan.pt/v2/32/](https://u.easyhan.pt/v2/32/)
