Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[teleinfo] Initial contribution #7744

Merged
merged 182 commits into from
Sep 7, 2020
Merged
Show file tree
Hide file tree
Changes from 180 commits
Commits
Show all changes
182 commits
Select commit Hold shift + click to select a range
d4c6525
Initial commit
nokyyz Jul 11, 2019
db5e0bf
Add ADPS, HHPHC & lastUpdate channels to HC/HP electricity meter
nokyyz Jul 12, 2019
7ff5925
Disable Unused pricing configuration for HC/HP eletricity meter
nokyyz Jul 12, 2019
ba3dd23
Review of TeleinfoInputStream class
nokyyz Jul 12, 2019
8858b98
Add BASE electricity meter support
nokyyz Jul 12, 2019
06888ab
Add UML datamodel
nokyyz Oct 11, 2019
f7dae51
Total refactoring to support Base/HC/Ejp/Tempo CBEMM and
nokyyz Oct 15, 2019
f15c5b9
Add unit test for CBETM EJP option
nokyyz Oct 15, 2019
573af63
Add unit test for CBEMM Tempo option
nokyyz Oct 15, 2019
2964044
Add ProgrammeCircuit1 and ProgrammeCircuit2 channels to Tempo option
nokyyz Oct 15, 2019
5cd09b9
Fix ThingUID constants with OpenHAB XML definitions
nokyyz Oct 15, 2019
569fdc9
Update <label> of thing types
nokyyz Oct 15, 2019
ad13659
Add Retry mechanism on fatal errors
nokyyz Oct 15, 2019
7dc6f2c
Update "Retry in progress..." message (log)
nokyyz Oct 15, 2019
4485c34
Improve "Got invalid frame" error message and "The group line seems
nokyyz Oct 16, 2019
cfc6609
Improve "The label '%s' is unknown" error message
nokyyz Oct 16, 2019
7f2930b
Fix https://github.com/nokyyz/openhab2-addons/issues/10 issue
nokyyz Oct 25, 2019
f412723
Update info log "Serial port is initialized" to "Teleinfo Serial port is
nokyyz Oct 25, 2019
bfd0394
Message logs improvements
nokyyz Oct 25, 2019
8527d35
Fix typo issues
nokyyz Oct 29, 2019
9f57e34
Fix https://github.com/nokyyz/openhab2-addons/issues/7 issue
nokyyz Oct 29, 2019
f2f9271
Fix issues from OH code analysis report
nokyyz Oct 29, 2019
10d6385
Message logs improvements
nokyyz Oct 29, 2019
4af715f
Modify some message logs
nokyyz Nov 4, 2019
77aa2f3
Modifiy some message logs
nokyyz Nov 4, 2019
cdd72db
Add current owner information in PortInUseException message log
nokyyz Nov 4, 2019
766f70f
Fix https://github.com/nokyyz/openhab2-addons/issues/11 issue
nokyyz Nov 4, 2019
7c591fd
Fix typo error
nokyyz Nov 12, 2019
73be21c
Fix https://github.com/nokyyz/openhab2-addons/issues/12
nokyyz Nov 14, 2019
a57cf99
Bump parent version to 2.5.4-SNAPSHOT
olivierkeke Mar 31, 2020
b7551ff
Add missing import
olivierkeke Apr 3, 2020
9e8846a
update coypright year
olivierkeke Apr 3, 2020
2406ada
Apply spotless
olivierkeke Apr 3, 2020
f0e63ae
Add missing copyright headers
olivierkeke Apr 6, 2020
fdb880e
Initialize channel description table.
olivierkeke Apr 6, 2020
61b17aa
Small corrections
olivierkeke Apr 6, 2020
e7e9630
Cosmetic corrections
olivierkeke Apr 6, 2020
ef852a0
Initialize full example part
olivierkeke Apr 6, 2020
e33ff95
Add thing configuration table
olivierkeke Apr 16, 2020
99ea14e
Improve things configuration description
olivierkeke Apr 17, 2020
e78e018
improve terminology
olivierkeke Apr 17, 2020
0510e48
Remove copy/paste error
olivierkeke Apr 17, 2020
9e1f323
replace named by labelled
olivierkeke Apr 17, 2020
f0989d9
Improve channels table
olivierkeke Apr 19, 2020
fde6fba
Simplify and add three phase in channels table
olivierkeke Apr 19, 2020
29d36d8
Test for directly edit
nokyyz Apr 20, 2020
7e15075
Supported hardwares chapter updates
nokyyz Apr 20, 2020
fcab9bc
Correct phase number
olivierkeke Apr 20, 2020
c31d300
Precise specific ICC evolution channels
olivierkeke Apr 20, 2020
d54c7ce
Add things table
olivierkeke Apr 20, 2020
144f8bf
Fix typo
olivierkeke Apr 20, 2020
b19c31b
Fix missing three phase modes
olivierkeke Apr 20, 2020
e84e333
Introduce modem in intro
olivierkeke Apr 20, 2020
ff08c8e
Rename electricity meter identifier
olivierkeke Apr 25, 2020
7280c21
Precise format of adco
olivierkeke Apr 25, 2020
545c7d2
Correct tested power energy meter model
olivierkeke Apr 25, 2020
cf7040a
Update file configuration example
olivierkeke Apr 25, 2020
4685863
Correct serialport
olivierkeke Apr 25, 2020
f7400bb
Add process to get adco
olivierkeke Apr 25, 2020
17d7c70
Re-add mandatory discovery section
olivierkeke Apr 26, 2020
6ec870b
correct typo
olivierkeke Apr 26, 2020
ff5dcaf
remove item group
olivierkeke Apr 26, 2020
d6b0cf3
minor fixes
olivierkeke Apr 26, 2020
d493c0c
improve example description
olivierkeke Apr 26, 2020
cd06a45
fix typo
olivierkeke Apr 26, 2020
6aab740
Replace adco property by parameter (only for cbemm_evolution_icc_hc_e…
olivierkeke Apr 23, 2020
86d4e78
Replace adc property by parameter (for all remaining electricity meters)
olivierkeke Apr 25, 2020
c81bc7c
Update files author list
olivierkeke Apr 27, 2020
5d747bd
Update ADCO channel description
olivierkeke Apr 28, 2020
d43b8fb
Add pattern for ADCO parameter
olivierkeke Apr 29, 2020
6857c31
Use OH core version instead of project version
olivierkeke Apr 18, 2020
28bd2c3
Fix #13 issue ("Try to repair automatically invalid frame with "ADPSx…
nokyyz May 1, 2020
d51ae6b
Update teleinfo pom.xml version (to '2.5.5-SNAPSHOT')
nokyyz May 2, 2020
1c2fb2e
Fix Code Analysis Tool error in serialController.xml file (whitespace…
nokyyz May 2, 2020
72e6a16
Fix Code Analysis Tool error in TeleinfoInputStream.java file ("Count…
nokyyz May 2, 2020
c32df99
Remove dependency duplication
olivierkeke May 19, 2020
973182b
update teleinfo pom.xml version (to 2.5.6-SNAPSHOT)
olivierkeke May 19, 2020
725be92
Remove explicit commons lang dependency
olivierkeke May 23, 2020
3d62dd9
Refactor predicate
olivierkeke Jun 17, 2020
32cc48d
Remove commented lines
olivierkeke Jun 17, 2020
7735c7e
Remove commented line
olivierkeke Jun 17, 2020
31ade44
Remove commented line
olivierkeke Jun 17, 2020
aa03cee
Use property name as representation property
olivierkeke Jun 17, 2020
ae00801
Refactor predicate
olivierkeke Jun 17, 2020
d7470bf
Change argument type to avoid type check
olivierkeke Jun 17, 2020
99c1974
Remove unnecessary if
olivierkeke Jun 17, 2020
9968981
Make listeners list synchronized
olivierkeke Jun 17, 2020
a26d8ff
Syntactical sugar
olivierkeke Jun 17, 2020
a89b283
Remove debug logging
olivierkeke Jun 17, 2020
d5e9e0b
Refactor predicate
olivierkeke Jun 19, 2020
ed9b451
Combine two if
olivierkeke Jun 19, 2020
a4921d3
Add annotation to suppress warning
olivierkeke Jun 19, 2020
3f7ed1d
Check for null value
olivierkeke Jun 19, 2020
875a106
Use real name
olivierkeke Jun 19, 2020
7d9b519
Refactor predicate
olivierkeke Jun 19, 2020
483cb03
Inverse equals parameters order
olivierkeke Jun 19, 2020
9dddd0e
Fix exception message
olivierkeke Jun 19, 2020
ee97458
Remove catch clause
olivierkeke Jun 19, 2020
473e3fc
Use lambda instead of implementing interface
olivierkeke Jun 19, 2020
7eed3f7
Remove useless dataType argument
olivierkeke Jun 19, 2020
a16006c
Replace StringUtils by native java code
olivierkeke Jun 20, 2020
25379c9
Fix typo
olivierkeke Jun 20, 2020
2a718a4
Add NonNullByDefault annotation
olivierkeke Jun 20, 2020
0aa44c0
Remove unused class
olivierkeke Jun 20, 2020
c18a0f3
Remove unused method
olivierkeke Jun 24, 2020
3df44f7
Use OpenHAB thread pool and check for null value
olivierkeke Jun 24, 2020
b361df2
Replace apache commons method by native method
olivierkeke Jun 24, 2020
71feaca
Remove trailing whitespaces
olivierkeke Jun 24, 2020
0e01dda
Update parent version to 2.5.7-SNAPSHOT
olivierkeke Jun 24, 2020
56bac15
Java 8 compatibility
olivierkeke Jun 24, 2020
dc9a19e
Remove useless logging
olivierkeke Jun 25, 2020
d9ea4d3
Remove empty xml file
olivierkeke Jun 25, 2020
75c6846
Update binding author name
olivierkeke Jun 25, 2020
1dba739
Reduce thing label length
olivierkeke Jun 26, 2020
06c7d13
Remove commented lines
olivierkeke Jun 26, 2020
516ffa4
Replace channel units by %unit%
olivierkeke Jun 26, 2020
76a4459
Make PTEC value representation more user friendly
olivierkeke Jun 26, 2020
f193852
Capitalize word in label
olivierkeke Jun 26, 2020
7f765d8
Use reference for configuration description
olivierkeke Jun 26, 2020
dc635fe
Remove serial event listener hack
olivierkeke Jun 26, 2020
80977d7
Use configuration description registry
olivierkeke Jun 26, 2020
7593849
Add new line at the end of file
olivierkeke Jun 26, 2020
8019a8d
Make loggers non static
olivierkeke Jun 26, 2020
657c68a
Reorder static keyword
olivierkeke Jun 26, 2020
c989ba4
Fix @NonNullByDefault warnings
olivierkeke Jun 26, 2020
5f7744d
Fix @NonNull warning
olivierkeke Jun 26, 2020
e6f2c4f
Fix static variable name
olivierkeke Jun 26, 2020
df9af47
Fix checkstyle warning
olivierkeke Jun 26, 2020
f1ed104
Fix tests compilation warning
olivierkeke Jun 26, 2020
9750e1d
Fix @NonNull compilation warning
olivierkeke Jun 26, 2020
36a23b3
Fix use of deprecated method
olivierkeke Jun 27, 2020
a1a3c5b
Open serial port in scheduler thread
olivierkeke Jun 27, 2020
1942d3f
Remove unused field
olivierkeke Jun 27, 2020
f39dcd5
Fix null value check compiler warnings
olivierkeke Jun 27, 2020
14e6076
Fix parameter label
olivierkeke Jun 27, 2020
1208cce
Complete channels description table
olivierkeke Jun 27, 2020
18ba53a
Use same channel description than in README.md
olivierkeke Jun 27, 2020
bbb0079
Remove degug logging
olivierkeke Jun 27, 2020
40efff5
Apply spotless formatter
olivierkeke Jun 27, 2020
08ecb27
Revert "Make PTEC value representation more user friendly"
olivierkeke Jun 29, 2020
b8b8b85
Use QuantityType to set units to decimal values
olivierkeke Jun 30, 2020
3f86700
Remove currentPower channels
olivierkeke Jun 30, 2020
2eba672
Fix typo in README.md
olivierkeke Jul 2, 2020
486cf67
Make timeout values final and uppercase
olivierkeke Jul 2, 2020
60c1cad
Add bridge reference in things xml description
olivierkeke Jul 2, 2020
fccaab8
Remove empty lines
olivierkeke Jul 2, 2020
ed86106
Capitalize words in label
olivierkeke Jul 5, 2020
af95d59
Fix typo in thing label
olivierkeke Jul 5, 2020
8429640
Use openhab scheduler
olivierkeke Jul 5, 2020
32387e3
Throw exception and remove return statement
olivierkeke Jul 6, 2020
33db28f
Fix microseconds suffix
olivierkeke Jul 6, 2020
2dc2f5a
Use warn instead of error level
olivierkeke Jul 6, 2020
e8dce54
Delay status change to UNKNOW
olivierkeke Jul 6, 2020
d15140f
Activate thread daemon mode
olivierkeke Jul 6, 2020
9be4d8e
Remove useless check
olivierkeke Jul 6, 2020
344a6d8
Fix logger message level
olivierkeke Jul 6, 2020
0091a51
Reinterrupt thread when catching InterruptedException
olivierkeke Jul 6, 2020
5d38d1a
Prevent shutdown of openhab scheduler
olivierkeke Jul 8, 2020
4fbb6a5
Fix microsecond suffix
olivierkeke Jul 14, 2020
9dfa133
Remove useless executor service creation
olivierkeke Jul 14, 2020
438e3a1
Log exception in debug mode instead of warn
olivierkeke Jul 14, 2020
32b809e
Add microseconds suffix
olivierkeke Jul 24, 2020
ec2a577
Remove commented line
olivierkeke Jul 24, 2020
ec6ca01
Add millisecond suffix
olivierkeke Jul 24, 2020
b15847c
Add receiver thread join delay
olivierkeke Jul 24, 2020
7323b50
Update pom.xml
olivierkeke Jul 24, 2020
8095684
Update openhab version
olivierkeke Aug 30, 2020
eeda197
Improve syntax
olivierkeke Sep 1, 2020
4d02251
Reduce log level
olivierkeke Sep 1, 2020
8f96bb8
Remove code duplication
olivierkeke Sep 1, 2020
f0d347a
Clarify property name
olivierkeke Sep 1, 2020
e86810e
Remove useless adaptator class
olivierkeke Sep 1, 2020
e97c096
Remove useless override method
olivierkeke Sep 1, 2020
f1aa72b
Use data class to store thing configuration
olivierkeke Sep 1, 2020
89c3312
Clarify receiver thread name
olivierkeke Sep 1, 2020
9aa3672
Fix style warning
olivierkeke Sep 1, 2020
f618a4c
Make DiscoveryService implement ThingHandlerService
olivierkeke Sep 1, 2020
929433f
Use specific Exception type
olivierkeke Sep 3, 2020
b0d6162
Move spleep in reader thread
olivierkeke Sep 3, 2020
415f354
Register discovery service
olivierkeke Sep 5, 2020
f658134
Remove useless discovery service unregistration
olivierkeke Sep 6, 2020
f6f251f
Inject serial port manager in discovery constructor
olivierkeke Sep 6, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@
/bundles/org.openhab.binding.tado/ @dfrommi
/bundles/org.openhab.binding.tankerkoenig/ @dolic @JueBag
/bundles/org.openhab.binding.telegram/ @ZzetT
/bundles/org.openhab.binding.teleinfo/ @Nokyyz
/bundles/org.openhab.binding.tellstick/ @jarlebh
/bundles/org.openhab.binding.tesla/ @kgoderis
/bundles/org.openhab.binding.tibber/ @kjoglum
Expand Down
5 changes: 5 additions & 0 deletions bom/openhab-addons/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1054,6 +1054,11 @@
<artifactId>org.openhab.binding.telegram</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.openhab.addons.bundles</groupId>
<artifactId>org.openhab.binding.teleinfo</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.openhab.addons.bundles</groupId>
<artifactId>org.openhab.binding.tellstick</artifactId>
Expand Down
13 changes: 13 additions & 0 deletions bundles/org.openhab.binding.teleinfo/NOTICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
This content is produced and maintained by the openHAB project.

* Project home: https://www.openhab.org

== Declared Project Licenses

This program and the accompanying materials are made available under the terms
of the Eclipse Public License 2.0 which is available at
https://www.eclipse.org/legal/epl-2.0/.

== Source Code

https://github.com/openhab/openhab2-addons
121 changes: 121 additions & 0 deletions bundles/org.openhab.binding.teleinfo/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
# Teleinfo Binding

The Teleinfo binding supports an interface to ENEDIS/ERDF [Teleinfo protocol](http://www.linuxembarque.free.fr/electro/compt_energie/specifications_techniques_edf_teleinfo.pdf) for (French) Electricity Meter. This binding works with a Teleinfo modem plugged to the I1 and I2 terminals of your electricity meter. Teleinfo modems can be ordered (see the [list of tested hardware](#tested-hardware) below) or build by yourself (see [this example](http://bernard.lefrancois.free.fr)).

Teleinfo is a protocol to read many electrical statistics of your electricity meter: instantaneous power consumption, current price period, meter reading...
These values can be used to

- send your meter reading to your electricity provider with a simple copy/paste,
- improve your rules and minimize electricity costs,
- check if your subscription is relevant for your needs,
- monitor your electricity consumption,

## Supported Things

The Teleinfo binding provides support for both single phase and three phase connection, ICC evolution and the following pricing modes:

- HCHP mode
- Base mode
- Tempo mode
- EJP mode

| Thing type | Connection | Pricing mode | ICC evolution |
|--------------------------------------------|--------------|--------------|---------------|
| cbemm_base_electricitymeter | single-phase | Base | |
| cbemm_ejp_electricitymeter | single-phase | EJP | |
| cbemm_hc_electricitymeter | single-phase | HCHP | |
| cbemm_tempo_electricitymeter | single-phase | Tempo | |
| cbemm_evolution_icc_base_electricitymeter | single-phase | Base | [x] |
| cbemm_evolution_icc_ejp_electricitymeter | single-phase | EJP | [x] |
| cbemm_evolution_icc_hc_electricitymeter | single-phase | HCHP | [x] |
| cbemm_evolution_icc_tempo_electricitymeter | single-phase | Tempo | [x] |
| cbetm_base_electricitymeter | three-phase | Base | |
| cbetm_ejp_electricitymeter | three-phase | EJP | |
| cbetm_hc_electricitymeter | three-phase | HCHP | |
| cbetm_tempo_electricitymeter | three-phase | Tempo | |

## Discovery

Before the binding can be used, a serial controller must be added. This needs to be done manually. Select __Teleinfo Serial Controller__ and enter the serial port. Once the serial controller added, electricity meters will automatically appear when trying to add a new thing, with default label __Teleinfo ADCO #adco__ where __#adco__ is your electricity meter identifier.

## Thing Configuration

| Thing type | Parameter | Meaning | Possible values |
|----------------------|--------------|---------------------------------------|------------------|
| `serialcontroller` | `serialport` | Path to the serial controller | /dev/ttyXXXX |
| `*_electricitymeter` | `adco` | Electricity meter identifier | 12 digits number |

## Channels

Channel availability depends on the electricity connection (single or three phase) and on the pricing mode (Base, HCHP, EJP or Tempo).

| Channel | Type | Description | Phase | Mode |
|----------|---------------------------|----------------------------------------------------------|--------|-------|
| isousc | `Number:ElectricCurrent` | Subscribed electric current | All | All |
| ptec | `String` | Current pricing period | All | All |
| imax | `Number:ElectricCurrent` | Maximum consumed electric current | Single | All |
| imax1 | `Number:ElectricCurrent` | Maximum consumed electric current on phase 1 | Three | All |
| imax2 | `Number:ElectricCurrent` | Maximum consumed electric current on phase 2 | Three | All |
| imax3 | `Number:ElectricCurrent` | Maximum consumed electric current on phase 3 | Three | All |
| adps | `Number:ElectricCurrent` | Excess electric current warning | Single | All |
| adir1 | `Number:ElectricCurrent` | Excess electric current on phase 1 warning | Three | All |
| adir2 | `Number:ElectricCurrent` | Excess electric current on phase 2 warning | Three | All |
| adir3 | `Number:ElectricCurrent` | Excess electric current on phase 3 warning | Three | All |
| iinst | `Number:ElectricCurrent` | Instantaneous electric current | Single | All |
| iinst1 | `Number:ElectricCurrent` | Instantaneous electric current on phase 1 | Three | All |
| iinst2 | `Number:ElectricCurrent` | Instantaneous electric current on phase 2 | Three | All |
| iinst3 | `Number:ElectricCurrent` | Instantaneous electric current on phase 3 | Three | All |
| ppot | `String` | Electrical potential presence | Three | All |
| pmax | `Number:Energy` | Maximum consumed electric power on all phases | Three | All |
| papp | `Number` | Instantaneous apparent power (Unit: `VA`) | Three, single (ICC evolution only) | All |
| hhphc | `String` | Pricing schedule group | All | HCHP |
| hchc | `Number:Energy` | Total consumed energy at low rate pricing | All | HCHP |
| hchp | `Number:Energy` | Total consumed energy at high rate pricing | All | HCHP |
| base | `Number:Energy` | Total consumed energy | All | Base |
| ejphn | `Number:Energy` | Total consumed energy at low rate pricing | All | EJP |
| ejphpm | `Number:Energy` | Total consumed energy at high rate pricing | All | EJP |
| bbrhcjb | `Number:Energy` | Total consumed energy at low rate pricing on blue days | All | Tempo |
| bbrhpjb | `Number:Energy` | Total consumed energy at high rate pricing on blue days | All | Tempo |
| bbrhcjw | `Number:Energy` | Total consumed energy at low rate pricing on white days | All | Tempo |
| bbrhpjw | `Number:Energy` | Total consumed energy at high rate pricing on white days | All | Tempo |
| bbrhcjr | `Number:Energy` | Total consumed energy at low rate pricing on red days | All | Tempo |
| bbrhpjr | `Number:Energy` | Total consumed energy at high rate pricing on red days | All | Tempo |
| pejp | `Number:Duration` | Prior notice to EJP start | All | EJP |
| demain | `String` | Following day color | All | Tempo |

## Full Example

The following `things` file declare a serial USB controller on `/dev/ttyUSB0` for a Single-phase Electricity meter with HC/HP option - CBEMM Evolution ICC and adco `031528042289` :

```
Bridge teleinfo:serialcontroller:teleinfoUSB [ serialport="/dev/ttyUSB0" ]{
Thing cbemm_evolution_icc_hc_electricitymeter myElectricityMeter [ adco="031528042289"]
}
```

`adco` is a 12 digit number writen on the electricity meter (There might be two additional digits on the electricity meter, in this case the two last digits must be omitted to obtain 12 digits). The first 6 digits of `adco` can also be retrieved by pushing 6 times the `selection` button of your electricity meter, and the last 6 digits by pushing the `defilement` button.

This `items` file links some supported channels to items:

```
Number TLInfoEDF_PAPP "PAPP" <energy> {channel="teleinfo:cbemm_evolution_icc_hc_electricitymeter:teleinfoUSB:myElectricityMeter:papp"}
Number:ElectricCurrent TLInfoEDF_ISOUSC "ISOUSC" <energy> {channel="teleinfo:cbemm_evolution_icc_hc_electricitymeter:teleinfoUSB:myElectricityMeter:isousc"}
String TLInfoEDF_PTEC "PTEC" <energy> {channel="teleinfo:cbemm_evolution_icc_hc_electricitymeter:teleinfoUSB:myElectricityMeter:ptec"}
Number:ElectricCurrent TLInfoEDF_IMAX "IMAX" <energy> {channel="teleinfo:cbemm_evolution_icc_hc_electricitymeter:teleinfoUSB:myElectricityMeter:imax"}
Number:ElectricCurrent TLInfoEDF_ADPS "ADPS" <energy> {channel="teleinfo:cbemm_evolution_icc_hc_electricitymeter:teleinfoUSB:myElectricityMeter:adps"}
Number:ElectricCurrent TLInfoEDF_IINST "IINST" <energy> {channel="teleinfo:cbemm_evolution_icc_hc_electricitymeter:teleinfoUSB:myElectricityMeter:iinst"}
Number:Energy TLInfoEDF_HCHC "HCHC" <energy> {channel="teleinfo:cbemm_evolution_icc_hc_electricitymeter:teleinfoUSB:myElectricityMeter:hchc"}
Number:Energy TLInfoEDF_HCHP "HCHP" <energy> {channel="teleinfo:cbemm_evolution_icc_hc_electricitymeter:teleinfoUSB:myElectricityMeter:hchp"}
String TLInfoEDF_HHPHC "HHPHC" <energy> {channel="teleinfo:cbemm_evolution_icc_hc_electricitymeter:teleinfoUSB:myElectricityMeter:hhphc"}
```

## Tested hardwares

The Teleinfo binding has been successfully validated with below hardware configuration:

| Serial interface | Power Energy Meter model | Mode(s) |
|----------|--------|------------------------------|
| GCE Electronics USB Teleinfo module [(more details)](http://gce-electronics.com/fr/usb/655-module-teleinfo-usb.html) | Actaris A14C5 | - Single-phase HCHP & Base |
| Cartelectronic USB Teleinfo modem [(more details)](https://www.cartelectronic.fr/teleinfo-compteur-enedis/17-teleinfo-1-compteur-usb-rail-din-3760313520028.html) | Sagem S10C4 | Single-phase HCHP |


Loading