Comments (5)
Please try to restart Home Buttons by opening the Settings menu (hold 2 buttons together for 5 seconds) and click the restart button.
After it restarts, press any button. It will re-send the MQTT discovery config messages. This should fix the issue.
from homebuttons.
Thanks for the reply; I restarted the device and pushed a button. Adapted the routines, unfortunately it still doesn't work. Button 2: pressed once, pressed double, pressed once.
2023-12-03 19:57:24.311 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on homebuttons/HomeButtons/awake_mode/available (qos=0): b'offline'
2023-12-03 19:57:24.312 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on homebuttons/HomeButtons/sensor_interval (qos=0): b'10'
2023-12-03 19:57:24.313 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on homebuttons/HomeButtons/btn_1_label (qos=0): b'mdi:lightbulb'
2023-12-03 19:57:24.373 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on homebuttons/HomeButtons/btn_2_label (qos=0): b'mdi:television'
2023-12-03 19:57:24.374 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on homebuttons/HomeButtons/btn_3_label (qos=0): b'mdi:heart-multiple'
2023-12-03 19:57:24.374 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on homebuttons/HomeButtons/btn_4_label (qos=0): b'mdi:rocket-launch'
2023-12-03 19:57:24.375 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on homebuttons/HomeButtons/btn_5_label (qos=0): b'mdi:weather-night'
2023-12-03 19:57:24.376 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on homebuttons/HomeButtons/btn_6_label (qos=0): b'mdi:sofa-single'
2023-12-03 19:57:24.376 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on homebuttons/HomeButtons/awake_mode (qos=0): b'OFF'
2023-12-03 19:57:24.377 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on homebuttons/HomeButtons/disp_msg (qos=0): b'-'
2023-12-03 19:57:24.612 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on homebuttons/HomeButtons/temperature (qos=0): b'20.09'
2023-12-03 19:57:24.617 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on homebuttons/HomeButtons/humidity (qos=0): b'59.04'
2023-12-03 19:57:24.618 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on homebuttons/HomeButtons/battery (qos=0): b'84'
2023-12-03 19:57:37.486 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on homebuttons/HomeButtons/awake_mode/available (qos=0): b'offline'
2023-12-03 19:57:37.550 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on homebuttons/HomeButtons/sensor_interval (qos=0): b'10'
2023-12-03 19:57:37.551 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on homebuttons/HomeButtons/btn_1_label (qos=0): b'mdi:lightbulb'
2023-12-03 19:57:37.552 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on homebuttons/HomeButtons/btn_2_label (qos=0): b'mdi:television'
2023-12-03 19:57:37.552 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on homebuttons/HomeButtons/btn_3_label (qos=0): b'mdi:heart-multiple'
2023-12-03 19:57:37.553 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on homebuttons/HomeButtons/btn_4_label (qos=0): b'mdi:rocket-launch'
2023-12-03 19:57:37.553 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on homebuttons/HomeButtons/btn_5_label (qos=0): b'mdi:weather-night'
2023-12-03 19:57:37.554 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on homebuttons/HomeButtons/btn_6_label (qos=0): b'mdi:sofa-single'
2023-12-03 19:57:37.554 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on homebuttons/HomeButtons/awake_mode (qos=0): b'OFF'
2023-12-03 19:57:37.554 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on homebuttons/HomeButtons/disp_msg (qos=0): b'-'
2023-12-03 19:57:38.115 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on homebuttons/HomeButtons/button_2_double (qos=0): b'PRESS'
2023-12-03 19:57:38.134 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on homebuttons/HomeButtons/temperature (qos=0): b'20.11'
2023-12-03 19:57:38.137 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on homebuttons/HomeButtons/humidity (qos=0): b'59.59'
2023-12-03 19:57:38.137 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on homebuttons/HomeButtons/battery (qos=0): b'83'
2023-12-03 19:57:38.345 DEBUG (MainThread) [homeassistant.components.mqtt.client] Transmitting retained message on homebuttons/HomeButtons/cmd/btn_2_label: 'mdi:television-off', mid: 80, qos: 0
2023-12-03 19:57:38.352 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on homebuttons/HomeButtons/btn_2_label (qos=0): b'mdi:television-off'
2023-12-03 19:57:47.672 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on homebuttons/HomeButtons/awake_mode/available (qos=0): b'offline'
2023-12-03 19:57:47.673 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on homebuttons/HomeButtons/sensor_interval (qos=0): b'10'
2023-12-03 19:57:47.718 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on homebuttons/HomeButtons/btn_1_label (qos=0): b'mdi:lightbulb'
2023-12-03 19:57:47.718 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on homebuttons/HomeButtons/btn_2_label (qos=0): b'mdi:television-off'
2023-12-03 19:57:47.719 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on homebuttons/HomeButtons/btn_3_label (qos=0): b'mdi:heart-multiple'
2023-12-03 19:57:47.719 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on homebuttons/HomeButtons/btn_4_label (qos=0): b'mdi:rocket-launch'
2023-12-03 19:57:47.720 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on homebuttons/HomeButtons/btn_5_label (qos=0): b'mdi:weather-night'
2023-12-03 19:57:47.721 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on homebuttons/HomeButtons/btn_6_label (qos=0): b'mdi:sofa-single'
2023-12-03 19:57:47.722 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on homebuttons/HomeButtons/awake_mode (qos=0): b'OFF'
2023-12-03 19:57:47.723 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on homebuttons/HomeButtons/disp_msg (qos=0): b'-'
2023-12-03 19:57:47.988 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on homebuttons/HomeButtons/temperature (qos=0): b'20.12'
2023-12-03 19:57:48.006 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on homebuttons/HomeButtons/humidity (qos=0): b'60.15'
2023-12-03 19:57:48.008 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on homebuttons/HomeButtons/battery (qos=0): b'83'
from homebuttons.
Could you please use MQTT Explorer to see if messages appear on the MQTT topics.
from homebuttons.
Dear Nejc - thanks! I found the culprit, however I'm not sure why this has happened, but I try to document it, incase anyone else stumbles upon it.
As suggested connected with the MQTT explorer, and saw that in my 'device_automatisation' I had both button1 and button_1 (with without underline). The HomeButtons publishes however only with Underline_Number. HomeAssistant used in the Automatisation/Selection button1 (without the underline).
Manually changing the YAML to button_number worked, I deleted also the buttonNumber entries from the 'device_automatisation', now every new automatisation picks the correct button_number in the YAML.
Thanks for your support - love the HomeButtons and new features you implemented!
from homebuttons.
Glad to hear you sorted it out.
The button1 etc. without the underline are topics from the very old software version v1.0.0. I have no idea why it has become the issue now...
MQTT discovery in Home Assistant is not working perfectly all the time. Normally, manually deleting all discovery config topics in MQTT Explorer and then resending the config messages from Home Buttons fixes this kind of issues.
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
- 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.