Skip to content

MQTT Issue with Sunton Display #444

Description

@wilwizard1979

Perform all steps below and tick them with [x]

  • [x ] Check the related part of the Documentation
  • [x ] Update openHASP to the latest version
  • [x ] Reproduce the issue and describe all steps

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)....

{
    "page": 1,
    "id": 10,
    "w": 240,
    "obj": "label",
    "text": "%hostname%"
}

{"comment":" ----------- Buttons ------------"}

{"page":0,"id":1,"obj":"btn","action":"prev","x":0,"y":429,"w":106,"h":50,"bg_color":"#2C3E50","text":"\uE141","text_color":"#FFFFFF","radius":0,"border_side":0,"text_font":28}
{"page":0,"id":2,"obj":"btn","action":"back","x":107,"y":429,"w":106,"h":50,"bg_color":"#2C3E50","text":"\uE2DC","text_color":"#FFFFFF","radius":0,"border_side":0,"text_font":38}
{"page":0,"id":3,"obj":"btn","action":"next","x":214,"y":429,"w":106,"h":50,"bg_color":"#2C3E50","text":"\uE142","text_color":"#FFFFFF","radius":0,"border_side":0,"text_font":28}

{"page":2,"comment":" ---- Simple Circle ----"}
{"page":2,"id":1,"obj":"obj","x":40,"y":100,"w":160,"h":160,"radius":100,"opacity":100,"border_opa":160,"border_width":4,"comment":"touch-catcher"}

{"page":3,"comment":" ---- A Label and a Button with a Text ----"}
{"page":3,"id":1,"obj":"label","x":5,"y":5,"h":50,"w":50,"text":"Hello","enabled":true,"hidden":false}
{"page":3,"id":2,"obj":"btn","x":5,"y":90,"h":90,"w":100,"text":"World","enabled":false,"hidden":false}

Expected behavior

I would expect to see my display listed in the MQTT Integration in Home Assistant

Screenshots or video

Img1

img2

img3

img4

img5

Discovery Mode Enabled
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions