Comments (4)
Hey @gohigher14,
This particular ino file you've referenced is designed to work with an ESP32xx based board. The header file your compiler is looking for is known as a watchdog timer (wdt). I've used it to reboot the microcontroller when WiFi connection is lost or reset, as there is no WiFi reconnection strategy implemented in this code base. You can checkout #11 (comment) for more info.
#24 has your 8266 based code with an R503 sensor. Do take a look! as might solve your issue. However, wdt is not implemented in #24.
For your ESP8266 based board, you have the option of removing the wdt and use the code (It will get stuck if you lose WiFi connection momentarily, as reconnection is not implemented) or you can replace the esp_task_wdt.h library with its 8266 equivalents (Example: https://techtutorialsx.com/2017/01/21/esp8266-watchdog-functions/).
Similarly,
Multiple libraries were found for "PubSubClient.h"
I believe you need to install the MQTT pubSub library from library manager.
Let me know if you need anything else. Thanks!
from fingerprint-mqtt.
In case you are using an FPM10A fingerprint scanner with your wemos d1 mini (ESP8266), please use the default code:
https://github.com/EverythingSmartHome/fingerprint-mqtt/blob/master/fingerprint-mqtt/fingerprint-mqtt.ino (No wdt)
from fingerprint-mqtt.
FPM10A fingerprint scanner
Hi,
Thanks for the help. I've installed the one you suggested in #24 . But now i'm getting lots of error reading from my scanner.
And this without touching my scanner . :)
Connected, IP address: 192.168.129.92
Configuring WDT...
Attempting MQTT connection...connected
Image taken
Image converted
Match!
Found ID #10 with confidence of 0
Image taken
Unknown error
Image taken
Image converted
Match!
Found ID #10 with confidence of 0
Image taken
Image converted
Did not find a match
Image taken
Unknown error
Image taken
Communication error
Image taken
Image converted
Match!
Found ID #10 with confidence of 0
Unknown error
Image taken
Image converted
Match!
Found ID #10 with confidence of 0
Image taken
Image converted
Did not find a match
Image taken
Image converted
Did not find a match
Image taken
Image converted
Did not find a match
Image taken
Image converted
Did not find a match
Image taken
Unknown error
Image taken
Communication error
from fingerprint-mqtt.
Hey @gohigher14,
This particular ino file you've referenced is designed to work with an ESP32xx based board. The header file your compiler is looking for is known as a watchdog timer (wdt). I've used it to reboot the microcontroller when WiFi connection is lost or reset, as there is no WiFi reconnection strategy implemented in this code base. You can checkout #11 (comment) for more info.
#24 has your 8266 based code with an R503 sensor. Do take a look! as might solve your issue. However, wdt is not implemented in #24.
For your ESP8266 based board, you have the option of removing the wdt and use the code (It will get stuck if you lose WiFi connection momentarily, as reconnection is not implemented) or you can replace the esp_task_wdt.h library with its 8266 equivalents (Example: https://techtutorialsx.com/2017/01/21/esp8266-watchdog-functions/).
Similarly,
Multiple libraries were found for "PubSubClient.h"
I believe you need to install the MQTT pubSub library from library manager.Let me know if you need anything else. Thanks!
Can you help me out with replacing the esp_task_wdt.h library with its 8266 equivalents? I'm very new to this so i don't understand all well enough.
from fingerprint-mqtt.
Related Issues (17)
- unknown error HOT 2
- relay HOT 1
- Not getting it to work with Oled HOT 7
- Connecting a relay to work with solenoid HOT 3
- ESP01 not booting with his code. HOT 2
- Fingerprint matched but unavailable name HOT 9
- Support for R503 FPS and watchdog HOT 4
- Configuration sensor/topic code depricated HOT 12
- Communication error HOT 3
- R503 fingerprint - working script for esp HOT 2
- Reboot regulary HOT 3
- (oled)automations.yaml dosent work
- Home assistant and the name of id HOT 4
- 2nd Sensor
- No createModel in class Adafruit_Fingerprint HOT 1
- MQTT - learning HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fingerprint-mqtt.