-
Notifications
You must be signed in to change notification settings - Fork 7
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
MQTT delete topic doesn't work #10
Comments
Are you sure about the id? Maybe you recorded multiple times with same id? |
Yes, I've checked via "TestDemo_V3.012" (app for testing R503) - application is showing that recorded id's are 10 and 11. |
So, deleting 10 and 11 is not working? |
Unfortunately yes, but have in mind that those are only one recorded for now. So you may say that it doesn't work for any recorded ID's. You think that I should try to make records for other ID's and check, let's say, range of the problem? |
And one more thing. I can ofcourse with success delete those ID's using "TestDemo_V3.012" (app for testing R503). ;-) |
Never had this issue with my sensors. |
It's not an sesnsors issue. In "setup.cpp" I think there is an error in this part of code (some prints added from my side to visualize problem):
Output from serial console:
That results with registering wrong "delete" topic ("deleteTopic = /fingerprint/espfingscan1/delete/fingerprint/espfingscan1/learn") on MQTT and propper topic "/fingerprint/espfingscan1/delete" just won't work. |
Thank you. I will check (in my spare time). |
Great project, by the way. That is what my OpenHAB system was missing. ;-) Thanks! And by the way... For now, when that issue still persist, if someone still want to make "delete" topic work, you should use as "delete" topic this whole fraze ("/fingerprint/espfingscan1/delete/fingerprint/espfingscan1/learn"), and that's it. ;-) |
"status" topic and "learn" topic are working fine, but when I try to use "delete" topic, nothing happens (fingerprintId is still in sensor database).
Topic is: /fingerprint/espfingscan1/delete
Payload sended:
{
"fingerprintId":10
}
Please help.
The text was updated successfully, but these errors were encountered: