Skip to content

Commit 8ba22d1

Browse files
authored
Winky Teleinfo new parameters (#53)
* Added example of new configuration parameters Added example of new configuration parameters * enable auto detection of Standard or Legacy mode enable auto detection of Standard or Legacy mode default led to 75% brightness and period color * align teleinfo config to Winky align teleinfo config to Winky * secure device restart at the end of init.bat secure device restart at the end of init.bat
1 parent e63ab56 commit 8ba22d1

File tree

10 files changed

+107
-19
lines changed

10 files changed

+107
-19
lines changed

raw/esp32/DenkyD4_V1.1/_autoexec.be

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,14 @@
1212
# Set Teleinfo in Standar mode at 9600 baud.
1313
#tasmota.cmd("EnergyConfig Standard")
1414

15+
# Set Teleinfo to autodetect mode (standard or historique)
16+
#tasmota.cmd("EnergyConfig automode")
17+
18+
# Set LED brightness to 75%, in sleep mode it will be bright/2
19+
# 0 for Green LED and 1 for Period Indicator (blue, white or red)
20+
#tasmota.cmd("EnergyConfig bright=75")
21+
#tasmota.cmd("EnergyConfig period=1")
22+
1523
# Disable Boot Loop Detection
1624
#tasmota.cmd("SetOption65 1")
1725

raw/esp32/DenkyD4_V1.1/init.bat

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,21 @@ SetOption65 1
1313
; define OTA Url
1414
OtaUrl https://github.com/NicolasBernaerts/tasmota/raw/master/teleinfo/binary/tasmota32-teleinfo-denkyd4.bin
1515

16-
; # Set auto timezone
16+
; Set auto timezone
1717
Backlog0 Timezone 99; TimeStd 0,0,10,1,3,60; TimeDst 0,0,3,1,2,120
1818

19-
; # Set Teleinfo in legacy (historique) mode at 1200 baud.
19+
; Set Teleinfo in legacy (historique) mode at 1200 baud.
2020
; EnergyConfig Historique
2121

22-
; # Set Teleinfo in stadard mode at 9600 baud.
22+
; Set Teleinfo in standard mode at 9600 baud.
2323
; EnergyConfig Standard
24+
25+
; Set LED brightness to 75%, in sleep mode it will be bright/2
26+
Energyconfig bright=75
27+
28+
; 0 for Green LED and 1 for Period Indicator (blue, white or red)
29+
Energyconfig period=1
30+
31+
; Set Teleinfo to autodetect mode (standard or historique)
32+
; this one restart device, use it at the end of file
33+
Energyconfig automode

raw/esp32/DenkyD4_V1.3/_autoexec.be

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,14 @@
1212
# Set Teleinfo in Standar mode at 9600 baud.
1313
#tasmota.cmd("EnergyConfig Standard")
1414

15+
# Set Teleinfo to autodetect mode (standard or historique)
16+
#tasmota.cmd("EnergyConfig automode")
17+
18+
# Set LED brightness to 75%, in sleep mode it will be bright/2
19+
# 0 for Green LED and 1 for Period Indicator (blue, white or red)
20+
#tasmota.cmd("EnergyConfig bright=75")
21+
#tasmota.cmd("EnergyConfig period=1")
22+
1523
# Disable Boot Loop Detection
1624
#tasmota.cmd("SetOption65 1")
1725

raw/esp32/DenkyD4_V1.3/init.bat

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,21 @@ SetOption65 1
1313
; define OTA Url
1414
OtaUrl https://github.com/NicolasBernaerts/tasmota/raw/master/teleinfo/binary/tasmota32-teleinfo-denkyd4.bin
1515

16-
; # Set auto timezone
16+
; Set auto timezone
1717
Backlog0 Timezone 99; TimeStd 0,0,10,1,3,60; TimeDst 0,0,3,1,2,120
1818

19-
; # Set Teleinfo in legacy (historique) mode at 1200 baud.
19+
; Set Teleinfo in legacy (historique) mode at 1200 baud.
2020
; EnergyConfig Historique
2121

22-
; # Set Teleinfo in stadard mode at 9600 baud.
22+
; Set Teleinfo in standard mode at 9600 baud.
2323
; EnergyConfig Standard
24+
25+
; Set LED brightness to 75%, in sleep mode it will be bright/2
26+
Energyconfig bright=75
27+
28+
; 0 for Green LED and 1 for Period Indicator (blue, white or red)
29+
Energyconfig period=1
30+
31+
; Set Teleinfo to autodetect mode (standard or historique)
32+
; this one restart device, use it at the end of file
33+
Energyconfig automode

raw/esp32/DenkyD4_V1.3a/_autoexec.be

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,14 @@
1212
# Set Teleinfo in Standar mode at 9600 baud.
1313
#tasmota.cmd("EnergyConfig Standard")
1414

15+
# Set Teleinfo to autodetect mode (standard or historique)
16+
#tasmota.cmd("EnergyConfig automode")
17+
18+
# Set LED brightness to 75%, in sleep mode it will be bright/2
19+
# 0 for Green LED and 1 for Period Indicator (blue, white or red)
20+
#tasmota.cmd("EnergyConfig bright=75")
21+
#tasmota.cmd("EnergyConfig period=1")
22+
1523
# Disable Boot Loop Detection
1624
#tasmota.cmd("SetOption65 1")
1725

raw/esp32/DenkyD4_V1.3a/init.bat

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,21 @@ SetOption65 1
1313
; define OTA Url
1414
OtaUrl https://github.com/NicolasBernaerts/tasmota/raw/master/teleinfo/binary/tasmota32-teleinfo-denkyd4.bin
1515

16-
; # Set auto timezone
16+
; Set auto timezone
1717
Backlog0 Timezone 99; TimeStd 0,0,10,1,3,60; TimeDst 0,0,3,1,2,120
1818

19-
; # Set Teleinfo in legacy (historique) mode at 1200 baud.
19+
; Set Teleinfo in legacy (historique) mode at 1200 baud.
2020
; EnergyConfig Historique
2121

22-
; # Set Teleinfo in stadard mode at 9600 baud.
22+
; Set Teleinfo in standard mode at 9600 baud.
2323
; EnergyConfig Standard
24+
25+
; Set LED brightness to 75%, in sleep mode it will be bright/2
26+
Energyconfig bright=75
27+
28+
; 0 for Green LED and 1 for Period Indicator (blue, white or red)
29+
Energyconfig period=1
30+
31+
; Set Teleinfo to autodetect mode (standard or historique)
32+
; this one restart device, use it at the end of file
33+
Energyconfig automode

raw/esp32c3/Winky/_autoexec.be

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,14 @@
1212
# Set Teleinfo in Standar mode at 9600 baud.
1313
#tasmota.cmd("EnergyConfig Standard")
1414

15+
# Set Teleinfo to autodetect mode (standard or historique)
16+
#tasmota.cmd("EnergyConfig automode")
17+
18+
# Set LED brightness to 75%, in sleep mode it will be bright/2
19+
# 0 for Green LED and 1 for Period Indicator (blue, white or red)
20+
#tasmota.cmd("EnergyConfig bright=75")
21+
#tasmota.cmd("EnergyConfig period=1")
22+
1523
# Disable Boot Loop Detection
1624
#tasmota.cmd("SetOption65 1")
1725

raw/esp32c3/Winky/init.bat

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Br load("Winky.autoconf#cp2fs.be")
2-
Template {"NAME":"Winky","GPIO":[1,4704,1376,5632,4705,640,608,1,1,32,1,0,0,0,0,0,0,0,1,1,1,1],"FLAG":0,"BASE":1}
2+
Template {"NAME":"Winky C3","GPIO":[1,4704,1376,5632,4705,640,608,1,1,32,1,0,0,0,0,0,0,0,1,1,1,1],"FLAG":0,"BASE":1}
33
Module 0
44

55
; All these parameters are saved onto flash device
@@ -19,16 +19,24 @@ TelePeriod 290
1919
; Set Sleeping time
2020
DeepSleepTime 290
2121

22-
23-
2422
; define OTA Url
2523
OtaUrl https://github.com/NicolasBernaerts/tasmota/raw/master/teleinfo/binary/tasmota32c3-teleinfo-winky.bin
2624

27-
; # Set auto timezone
25+
; Set auto timezone
2826
Backlog0 Timezone 99; TimeStd 0,0,10,1,3,60; TimeDst 0,0,3,1,2,120
2927

30-
; # Set Teleinfo in legacy (historique) mode at 1200 baud.
28+
; Set Teleinfo in legacy (historique) mode at 1200 baud.
3129
; EnergyConfig Historique
3230

33-
; # Set Teleinfo in stadard mode at 9600 baud.
34-
; EnergyConfig Standard
31+
; Set Teleinfo in stadard mode at 9600 baud.
32+
; EnergyConfig Standard
33+
34+
; Set LED brightness to 75%, in sleep mode it will be bright/2
35+
Energyconfig bright=75
36+
37+
; 0 for Green LED and 1 for Period Indicator (blue, white or red)
38+
Energyconfig period=1
39+
40+
; Set Teleinfo to autodetect mode (standard or historique)
41+
; this one restart device, use it at the end of file
42+
Energyconfig automode

raw/esp32c6/Winky/_autoexec.be

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,14 @@
1212
# Set Teleinfo in Standar mode at 9600 baud.
1313
#tasmota.cmd("EnergyConfig Standard")
1414

15+
# Set Teleinfo to autodetect mode (standard or historique)
16+
#tasmota.cmd("EnergyConfig automode")
17+
18+
# Set LED brightness to 75%, in sleep mode it will be bright/2
19+
# 0 for Green LED and 1 for Period Indicator (blue, white or red)
20+
#tasmota.cmd("EnergyConfig bright=75")
21+
#tasmota.cmd("EnergyConfig period=1")
22+
1523
# Disable Boot Loop Detection
1624
#tasmota.cmd("SetOption65 1")
1725

raw/esp32c6/Winky/init.bat

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,21 @@ DeepSleepTime 290
2222
; define OTA Url
2323
OtaUrl https://github.com/NicolasBernaerts/tasmota/raw/master/teleinfo/binary/tasmota32c6-teleinfo-winky.bin
2424

25-
; # Set auto timezone
25+
; Set auto timezone
2626
Backlog0 Timezone 99; TimeStd 0,0,10,1,3,60; TimeDst 0,0,3,1,2,120
2727

28-
; # Set Teleinfo in legacy (historique) mode at 1200 baud.
28+
; Set Teleinfo in legacy (historique) mode at 1200 baud.
2929
; EnergyConfig Historique
3030

31-
; # Set Teleinfo in stadard mode at 9600 baud.
31+
; Set Teleinfo in standard mode at 9600 baud.
3232
; EnergyConfig Standard
33+
34+
; Set LED brightness to 75%, in sleep mode it will be bright/2
35+
Energyconfig bright=75
36+
37+
; 0 for Green LED and 1 for Period Indicator (blue, white or red)
38+
Energyconfig period=1
39+
40+
; Set Teleinfo to autodetect mode (standard or historique)
41+
; this one restart device, use it at the end of file
42+
Energyconfig automode

0 commit comments

Comments
 (0)