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

Patch 2 #6

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Patch 2 #6

wants to merge 2 commits into from

Conversation

V69dxz
Copy link

@V69dxz V69dxz commented Jun 14, 2024

Added code to re-establish the mqtt connection after wifi dropout

V69dxz added 2 commits May 2, 2024 09:37
1) had to delete the SoftwareSerial.h library;
2) had to set doc["amount'] to 1 (don't know why I had to change this, but else the amount to add/consume is always 0);
3) added the retain flag to the mqtt message to no longer need to reboot my 2 scanners after a restart of HA;
4) added some code to provide the appropriate error when a product is scanned with no (0) stock amount
5) corrected some typos
Modify code so that the mqtt connection is restored after a wifi reset
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

Successfully merging this pull request may close these issues.

1 participant