Skip to content

MQTT repeated messages #156

Description

@Sonusss

I have two plates sharing the same button/command

For strange reason the OpenHasp integration repeats several time the same MQTT command:

hasp/plate_0/state/p1b6 {"event":"down"}
hasp/plate_0/command/output14 {"state": true}
hasp/plate_5/command/output14 {"state": true}
hasp/plate_0/command/p1b6.text_color #FFFF00
hasp/plate_5/command/p1b6.text_color #FFFF00
hasp/plate_5/command/p1b6.text_color #FFFF00
hasp/plate_5/command/p1b6.text_color #FFFF00
hasp/plate_5/command/p1b6.text_color #FFFF00
hasp/plate_5/command/p1b6.text_color #FFFF00
hasp/plate_5/command/p1b6.text_color #FFFF00
hasp/plate_5/command/p1b6.text_color #FFFF00
hasp/plate_0/command/p1b6.text_color #FFFF00
hasp/plate_5/state/output14 {"state":"on"}
hasp/plate_0/state/p1b6 {"event":"up"}
hasp/plate_0/state/output14 {"state":"on"}
hasp/discovery/98f4ab871f98 {"node":"plate_3","mdl":"Lanbon L8","mf":"openHASP","hwid":"98f4ab871f98","pages":12,"sw":"0.7.0-rc12","node_t":"hasp/plate_3/","uri":"http://10.10.0.172","input":{},"power":[12,14,27],"light":[],"dim":[],"event":[]}
hasp/plate_0/state/p1b6 {"event":"down"}
hasp/plate_0/command/output14 {"state": false}
hasp/plate_5/command/output14 {"state": false}
hasp/plate_0/command/p1b6.text_color #FFFFFF
hasp/plate_5/command/p1b6.text_color #FFFFFF
hasp/plate_5/command/p1b6.text_color #FFFFFF
hasp/plate_5/command/p1b6.text_color #FFFFFF
hasp/plate_5/command/p1b6.text_color #FFFFFF
hasp/plate_5/command/p1b6.text_color #FFFFFF
hasp/plate_5/command/p1b6.text_color #FFFFFF
hasp/plate_5/command/p1b6.text_color #FFFFFF
hasp/plate_0/command/p1b6.text_color #FFFFFF
hasp/plate_0/state/p1b6 {"event":"up"}

It is the same for time information:

hasp/plate_5/command/p0b5.text 15:28
hasp/plate_5/command/p0b5.text 15:28
hasp/plate_5/command/p0b5.text 15:28
hasp/plate_2/command/p0b5.text 15:28
hasp/plate_2/command/p0b5.text 15:28
hasp/plate_5/command/p0b5.text 15:28
hasp/plate_2/command/p0b5.text 15:28
hasp/plate_5/command/p0b5.text 15:28
hasp/plate_2/command/p0b5.text 15:28
hasp/plate_5/command/p0b5.text 15:28
hasp/plate_2/command/p0b5.text 15:28
hasp/plate_5/command/p0b5.text 15:28
hasp/plate_3/command/p0b5.text 15:28
hasp/plate_1/command/p0b5.text 15:28
hasp/plate_4/command/p0b5.text 15:28
hasp/plate_3/command/p0b5.text 15:28
hasp/plate_3/command/p0b5.text 15:28
hasp/plate_0/command/p0b5.text 15:28
hasp/plate_0/command/p0b5.text 15:28

This seems creating some OpenHasp devices behaviour problem as for example the text color not correctly applied.

using:
HA 2024.9.3
OpenHasp integration 0.7.6
OpenHasp lanbon L8 0.6.3

I also tried with OpenHasp lanbon L8 0.7.0-rc12 and same issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions