Comments (11)
Hi
I would like to join this - super project.
I have the same problem and looking for a solution how I can change the label via mqtt in the iobroker environment.
all the best
from homebuttons.
Home Assistant sends a MQTT message to homebuttons/Home Buttons XXXXXX/cmd/btn_6_label
with payload containing the label.
XXXXXX being the device identifier.
Next time you press any button, the device will get the message and adjust the label.
from homebuttons.
ok I can send the Message to the device buy instead of my text it shows "null" on the display
from homebuttons.
{BASE_TOPIC}/{DEVICE_NAME}/cmd/btn_{1-6}_label
is the topic used for label text. The default BASE_TOPIC
is homebuttons
and DEVICE_NAME
is what you set it during initial setup. Defaulting to Home Buttons XXXXXX
with Xs replaced with the ID. The message should be published with retained flag set, so that Home Buttons receives it when it wakes up.
Since you're getting "null", could you please check with MQTT Explorer what is actually published to the topic?
from homebuttons.
I have published value "Entry" . After the „home button" was woken up by pressing any button, the data communication took place (Sorry for screenshots, I have not found a full logfile about the history).
I hope that this is helpful
from homebuttons.
I have the same in my MQTT Explorer.
from homebuttons.
This seems like a MQTT compatibility issue. Which MQTT broker are you using?
When Home Buttons wakes up, it receives the new label command, updates the label and then sends a MQTT message with empty payload to the broker which should then delete the retained cmd topic.
But here something goes wrong. Instead of deleting the topic the payload is set to "null" which updates the label again...
from homebuttons.
I'm using iobroker with the adapter MQTT 4.0.7. I haven't any problems with my other devices including esp32 via mqtt
from homebuttons.
This is the problem: ioBroker/ioBroker.mqtt#231 (comment)
On a real MQTT broker you can delete a retained topic by publishing an empty payload. Which Home Buttons does for labels. On the broker that you are using, this does not appear to be supported.
Could you switch the broker to mosquitto? And then only use this adapter in the client mode.
from homebuttons.
Thanks a lot, I've solved the problem.
- installed mosquitto at iobroker server,
- created a separate mqtt instance at iobroker in client mode which connects to mosquitto
- Topic is homebutton/#
- configured the retainer flag there
- and reconfigured the home button (new mqtt broker is now mosquitto)
... and it works
from homebuttons.
Thanks a lot, I've solved the problem.
- installed mosquitto at iobroker server,
- created a separate mqtt instance at iobroker in client mode which connects to mosquitto
- Topic is homebutton/#
- configured the retainer flag there
- and reconfigured the home button (new mqtt broker is now mosquitto)
... and it works
Can you tell me more details ??
from homebuttons.
Related Issues (20)
- Request: Add ability to change URL MDIs are downloaded from HOT 2
- Mqqt Error: Mqtt Password Truncated HOT 6
- 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 2
- 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 2
- 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.