Skip to content

Commit 4cc846e

Browse files
committed
v1.2.1 Third Official Release
1 parent 59e27b9 commit 4cc846e

29 files changed

+254
-284
lines changed

DSMRloggerAPI.h

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
***************************************************************************
33
** Program : DSMRloggerAPI.h - definitions for DSMRloggerAPI
4-
** Version : v1.1.3
4+
** Version : v1.2.1
55
**
66
** Copyright (c) 2020 Willem Aandewiel
77
**
@@ -68,16 +68,7 @@
6868
enum { PERIOD_UNKNOWN, HOURS, DAYS, MONTHS, YEARS };
6969

7070
#include "Debug.h"
71-
72-
uint16_t settingOledSleep; // needs to be declared before the oledStuff.h include
73-
uint8_t settingOledFlip; // olse needs to be declared before oledStuff.h
74-
75-
#if defined( HAS_OLED_SSD1306 ) && defined( HAS_OLED_SH1106 )
76-
#error Only one OLED display can be defined
77-
#endif
78-
#if defined( HAS_OLED_SSD1306 ) || defined( HAS_OLED_SH1106 )
79-
#include "oledStuff.h"
80-
#endif
71+
#include "oledStuff.h"
8172
#include "networkStuff.h"
8273

8374
/**

DSMRloggerAPI.ino

Lines changed: 144 additions & 123 deletions
Large diffs are not rendered by default.

Debug.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
***************************************************************************
33
** Program : Debug.h, part of DSMRloggerAPI
4-
** Version : v1.1.0
4+
** Version : v1.2.1
55
**
66
** Copyright (c) 2020 Willem Aandewiel
77
** Met dank aan Erik

FSexplorer.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
***************************************************************************
33
** Program : FSexplorer, part of DSMRloggerAPI
4-
** Version : v1.1.2
4+
** Version : v1.2.1
55
**
66
** Mostly stolen from https://www.arduinoforum.de/User-Fips
77
** For more information visit: https://fipsok.de

MQTTstuff.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
***************************************************************************
33
** Program : MQTTstuff, part of DSMRloggerAPI
4-
** Version : v1.1.2
4+
** Version : v1.2.1
55
**
66
** Copyright (c) 2020 Willem Aandewiel
77
**

MinderGas.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
**************************************************************************
33
** Program : MinderGas.ino
4-
** Version : v1.1.2
4+
** Version : v1.2.1
55
**
66
** Copyright (c) 2020 Robert van den Breemen
77
**

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,10 @@ Documentation can be found [here](https://mrwheel-docs.gitbook.io/dsmrloggerapi/
1010
<table>
1111
<tr><th>Versie</th><th>Opmerking</th></tr>
1212
<tr>
13-
<td valign="top">1.1.2 (dev)</td>
14-
<td>Development release
13+
<td valign="top">1.2.1</td>
14+
<td>Third Official Release
15+
<br>Instelling SM_HAS_NO_FASE_INFO nu via settings
16+
<br>Selectie OLED scherm via settings
1517
<br>Mogelijkheid om het oled scherm 180* te flippen via settings
1618
<br>Check op volgordelijkheid Uren (in de GUI)
1719
<br>macaddress in /api/v1/dev/info (Phyxion)

SPIFFSstuff.ino

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
***************************************************************************
33
** Program : SPIFFSstuff, part of DSMRloggerAPI
4-
** Version : v1.1.2
4+
** Version : v1.2.1
55
**
66
** Copyright (c) 2020 Willem Aandewiel
77
**
@@ -601,39 +601,43 @@ bool DSMRfileExist(const char* fileName, bool doDisplay)
601601
strConcat(fName, 29, fileName);
602602

603603
DebugTf("check if [%s] exists .. ", fName);
604-
#if defined( HAS_OLED_SSD1306 ) || defined( HAS_OLED_SH1106 )
605-
oled_Print_Msg(1, "Bestaat:", 10);
606-
oled_Print_Msg(2, fName, 10);
607-
oled_Print_Msg(3, "op SPIFFS?", 250);
608-
#endif
604+
if (settingOledType > 0)
605+
{
606+
oled_Print_Msg(1, "Bestaat:", 10);
607+
oled_Print_Msg(2, fName, 10);
608+
oled_Print_Msg(3, "op SPIFFS?", 250);
609+
}
609610

610611
if (!SPIFFS.exists(fName) )
611612
{
612613
if (doDisplay)
613614
{
614615
Debugln(F("NO! Error!!"));
615-
#if defined( HAS_OLED_SSD1306 ) || defined( HAS_OLED_SH1106 )
616+
if (settingOledType > 0)
617+
{
616618
oled_Print_Msg(3, "Nee! FOUT!", 6000);
617-
#endif
619+
}
618620
writeToSysLog("Error! File [%s] not found!", fName);
619621
return false;
620622
}
621623
else
622624
{
623625
Debugln(F("NO! "));
624-
#if defined( HAS_OLED_SSD1306 ) || defined( HAS_OLED_SH1106 )
626+
if (settingOledType > 0)
627+
{
625628
oled_Print_Msg(3, "Nee! ", 6000);
626-
#endif
629+
}
627630
writeToSysLog("File [%s] not found!", fName);
628631
return false;
629632
}
630633
}
631634
else
632635
{
633636
Debugln(F("Yes! OK!"));
634-
#if defined( HAS_OLED_SSD1306 ) || defined( HAS_OLED_SH1106 )
635-
oled_Print_Msg(3, "JA! (OK!)", 250);
636-
#endif
637+
if (settingOledType > 0)
638+
{
639+
oled_Print_Msg(3, "JA! (OK!)", 250);
640+
}
637641
}
638642
return true;
639643

convertPRD2RING.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
***************************************************************************
33
** Program : convertPRD2RING, part of DSMRloggerAPI
4-
** Version : v1.1.0
4+
** Version : v1.2.1
55
**
66
** Copyright (c) 2020 Willem Aandewiel
77
**

data/DSMRindex.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
***************************************************************************
33
** Program : DSMRindex.css, part of DSMRfirmwareAPI
4-
** Version : v1.1.0
4+
** Version : v1.2.1
55
**
66
** Copyright (c) 2020 Willem Aandewiel
77
**

0 commit comments

Comments
 (0)