Skip to content
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

It works! But... no MQTT messages... only "Alive", how to set the mqtt portnumber? (Port 1882 to 1883) #105

Open
Roellen opened this issue Dec 4, 2024 · 7 comments

Comments

@Roellen
Copy link

Roellen commented Dec 4, 2024

Hi.
I nearly got it working. :-)

It detects two fingers and it detecs send the "ring" signal when any other finger is on the sensor. Good!
But in iobroker's MQTT server I can't see any infos about the ring signal or the infos from detected fingers. :-(
It once published the topic and an "ALIVE" data-point (which is "true" = good) but nothing else.

I used the "sonoff mqtt adapter" which receives infos on port 1882.
In parallel I also have the "standard MQTT" adapter which received infos on port 1883.

I could try to use the other MQTT-browser, but... how can I change the port in the MQTT settings on the ESP?

https://www.youtube.com/watch?v=Va4gmGxTho8&ab_channel=FrankR%C3%B6llen

@tilly001
Copy link

tilly001 commented Dec 4, 2024

Have a look on this fork:
https://github.com/nobbi1991/FingerprintDoorbell

There was the option added to use another MQTT port.

@Roellen
Copy link
Author

Roellen commented Dec 4, 2024

Ok, cool! That will do the trick.

But somehow it's impossible to program this ESP32 for "normal people" with PIP and Python. I tried 10 different tutorials, no one is working like it should.

@Roellen
Copy link
Author

Roellen commented Dec 4, 2024

Ok, I was able to install it.

Using the command like shown in the instructions did not work:
esptool.py --chip esp32 --baud 460800 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 40m --flash_size detect 0x1000 bootloader_dio_40m.bin 0x8000 partitions.bin 0xe000 boot_app0.bin 0x10000 firmware.bin 2686976 spiffs.bin

But replacing esptool.py with esptool worked:
esptool --chip esp32 --baud 460800 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 40m --flash_size detect 0x1000 bootloader_dio_40m.bin 0x8000 partitions.bin 0xe000 boot_app0.bin 0x10000 firmware.bin 2686976 spiffs.bin

Installation was successful... but I can't see any further settings to add and port into the MQTT configuration?
The MQTT page still looks the same?

mqtt

@tilly001
Copy link

tilly001 commented Dec 5, 2024

I've not try it.
I only found the fork while searching in the list of forks. If I find some more minutes today I will have a closer look on it.

@Roellen
Copy link
Author

Roellen commented Dec 5, 2024

I think Iam using the wrong files. (and I generally don't understand how to use github maybe)

When "nobbi1991" forked the original github-project, the instructions are 1:1 the same as in teh original github-project, which does NOT have the additional MQTT settings.
So the files are linked to the original github-project aswell?
That's probably why it does not work. Iam always flashing the non-modified files.

But... where can I find the modified files: ?
bootloader_dio_40m.bin
boot_app0.bin
partitions.bin
firmware.bin
spiffs.bin

@tilly001
Copy link

tilly001 commented Dec 6, 2024

You find the changes in the commit:

Screenshot_20241206_062520_Chrome~2

You will have to complie the the files new files. Or ask nobbi1991 for already compiled files.

@Roellen
Copy link
Author

Roellen commented Dec 7, 2024

I googled and it seems to be impossible to contact a github-member? (either with a direct message or email)
Need to try compiling it. Never did this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants