MQTT Issue with Sunton Display #445
Replies: 9 comments 7 replies
-
Did you install the Home Assistant Community Store (HACS)? Make sure to enable |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hi @fvanroie, anything I could check or that I might be doing wrong? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
normally after couple of reboots its discovered, dont know why not instant |
Beta Was this translation helpful? Give feedback.
-
I have a wt32-sc01-plus_16MB that will not become discovered. openhasp 0.7.0-rc10 fb2bebf I've tried changing HACS to 0.7 also 0.7.1, rebooted the device and home assistant with no discovery... MQTT shows as connected in the information tab of the device. MQTTServer | XX.XX.XX.XXX Pages.json: {"page":1,"id":1,"obj":"btn","x":0,"y":0,"w":240,"h":30,"text":"openHASP","value_font":22,"bg_color":"#2C3E50","text_color":"#FFFFFF","radius":0,"border_side":0} openhasp.yaml: plate35: Any help would be greatly appreciated. |
Beta Was this translation helpful? Give feedback.
-
I am in the very same case than @pauldogg My new Sunton 8048S050C does not show up in Home Assistant. I tried to restart HASS, deleting yaml config... but no luck. I updated the custom component to 0.7.2, and flashed my board using 0.7.0-rc12 cd34d89 build. I can see mqttt messages from the board going to Mosquitto, but HASS does not discover it. One hour ago I flashed and connected to HASS a smaller board (esp32-3248s035c_4MB) and worked a treat. When I enable component debug, these lines show up in HASS log:
and nothing else happens. Any clue will be welcomed. |
Beta Was this translation helpful? Give feedback.
-
@alfem I had the same issue, got it working by commenting out `
in My place hardware id got stored somewhere and then it would always abort in this line. Hope this helps. |
Beta Was this translation helpful? Give feedback.
-
I posted about having this issue previously above while trying to add a wt32-sc01-plus_16MB with two existing Lanbon-l8's and found success by following [fvanroie]'s advice. I like the pre-built form factor of the wt32 so much (i can directly mount it to a single or multi light-switch plate by cutting a hole in it with a Dremel) that i got a second one and then encountered the same issue again; however, this time i already had one wt32 running and it just wouldn't auto-discover the second one. I followed [bh213]'s suggestion and commented out "self._abort_if_unique_id_configured() in config_flow.py" and now the second wt32 is working but, even though they are both configured, HA keeps re-discovering both plates and keeps asking to configure them as though they are new. I'm sure all i have to do is undo the comment-out, reboot, and it should stop asking, but obviously some discrimination improvements in the discovery routine are in order. |
Beta Was this translation helpful? Give feedback.
-
Perform all steps below and tick them with [x]
Describe the bug
The Sunton Display is not discovered in the MQTT in Home Assistant. Would that be an issue because the Display is still in Beta Version according to OpenHASP documentation? (Reference: https://www.openhasp.com/0.6.3/devices/sunton-screens/)
The hardware part of the Display is working fine. I have even already added some buttons for testing, and this seems to work fine.
I configured MQTT in the display as picture below
After re-starting the Display, I can see the status of the MQTT communication ok (see picture)
Also in the MQTT Explorer we see it up and running (picture)
The problem is that in my MQTT Integration, nothing else than my current HASS.Agent is discovered
To Reproduce
The only simple code I have in the Display is below (just for testing)....
Expected behavior
I would expect to see my display listed in the MQTT Integration in Home Assistant
Screenshots or video
Discovery Mode Enabled
![image](https://user-images.githubusercontent.com/108979356/224275747-ac7a43c5-c78e-4c9f-a87f-cdf958b34570.png)
Beta Was this translation helpful? Give feedback.
All reactions