Comments (6)
I decided to poke through the code, sure enough, password is 50 characters
from homebuttons.
mosquitto max password length is 65535 bytes.
UTF-8 characterset can use up to 4 bytes per character... int(65535/4)=16383
from homebuttons.
@BriscoeTech I'll raise this limit. In the meantime you could add a new user for MQTT with a shorter password.
@Zixim I can't store this much data 🙂. 50 is already very long for a password... What would be a reasonable limit? 128 characters?
from homebuttons.
@nplan i feel 50 is sufficient... 😛 but I also understand OP's pain of having to redo all the passwords.
64 or 128 are pretty numbers i guess.
@BriscoeTech
OTOH... Home Assistant MQTT (mosquitto) allows for multiple user/password pairs and it's really straightforward. Could also add a user/pass for the Homebuttons.
https://community.home-assistant.io/t/mqtt-with-multiple-users/432162
from homebuttons.
Increased to 64 character in v2.2.1.
from homebuttons.
Thanks everyone! I will take a look at setting up the multiple password pairs.
I agree 64 is probably plenty big enough, I was amazed Mosquito generated that large a password to begin with, and did not think about the implications at the time. Hopefully this will help prevent another user from getting the same surprise.
from homebuttons.
Related Issues (20)
- Request: Add ability to change URL MDIs are downloaded from HOT 2
- Download the binary directly from GitHub
- Update from v2.3.0 to v2.4.0 on original HomeButtons does not work using Online Flasher HOT 1
- Feat. request : export/import settings
- Update failed HOT 9
- Update case files HOT 1
- Icons not displaying HOT 2
- special chars limitations? HOT 2
- Show value from HA on Label6 HOT 1
- [Bug] Using '{% ... %}' syntax in label bricks device HOT 2
- Need support for recovering my bricked Home Buttons after update HOT 1
- Automatic WiFi reconnection HOT 3
- After Update v2.4.1: single button pressed automatisation are not executed anymore / reliably transmitted (?) HOT 5
- Feature request: display a custom message with an optional timeout
- home button controls do not show up in home assistant HOT 3
- Single press does not work anymore with Home Assistant HOT 3
- Please reset IP-Configuration after WiFi-Setup ? HOT 2
- Icons not downloading HOT 4
- Flickering while updating HOT 2
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 homebuttons.