ak-homberger / d1mini-gascounter Goto Github PK
View Code? Open in Web Editor NEWA smart gas meter with a web interface and optional ioBroker integration.
License: GNU General Public License v3.0
A smart gas meter with a web interface and optional ioBroker integration.
License: GNU General Public License v3.0
Hi,
I get this error message during compilation with Arduino 2.1.1
"_/Users/name/Downloads/D1Mini-GasCounter-main-2/Gascounter/Gascounter.ino: In function 'void setup()':
/Users/name/Downloads/D1Mini-GasCounter-main-2/Gascounter/Gascounter.ino:140:35: error: 'configTzTime' was not declared in this scope
configTzTime(TZ_INFO, NTP_SERVER); // Synchronise system time with NTP
^
exit status 1
Compilation error: 'configTzTime' was not declared in this scope_"
What to do?
Any hints?
Thanks a lot.
Hello,
various errors are generated when compiling the code via the Arduino IDE 2.1.x.
D5 was not declared in this scope
MAIN_PAGE was not declared in this scope
The code and all devices are from your github page.
All libraries and dependencies are installed and present
Have you any Idea for this Problem?
Thanks for your Help
Hallo, ich bekomme nach erfolgreicher Installation keine Daten im iob angezeigt. Ich vermute es liegt am mqtt Benutzer und/oder matt Passwort. Hier habe ich aber nicht herausfinden können, wie diese Information im Sketch mitgegeben werden müssen. Hatte es wie im Sketch angegeben versucht, leider lief dies bereits in der arduino IDE auf einen Fehler.
Hi,
sometimes the value is not exactly as the gas meter shows. That could be bouncing / prellen if the reed contact is near the magnet and no active gas flow.
Any ideas to solve this issue ?
Hi AK-Homberger, Teams,
I do get the following compilation error message:
C:\Users\XXX\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\cores\esp8266/time.cpp:28: multiple definition of
_Z12getLocalTimeP2tmj'; C:\Users\XXX\AppData\Local\Temp\arduino\sketches\AE7AE1529F0AC61DE62B2B28D03E0C2B\sketch\Gascounter.ino.cpp.o:C:\Users\alo\Downloads\D1Mini-GasCounter-main\Gascounter/Gascounter.ino:294: first defined here
collect2.exe: error: ld returned 1 exit status
exit status 1
Compilation error: exit status 1
`
This was solved by renaming the funtion getLocalTime to something else, e.g. getLocalTimeXXX and change all their references in code.
regards, Alexander
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.