Skip to content

faulty get payload to 1 when should be 0 #1183

Closed
@Magnus-rosenborg

Description

Describe the bug
I recieve mqtt messages with payload 1 when it is 0. I have set Flag 7 - [MQTT] [Debug] Always set Retain flag to all published values
but the messages are not retained. When i send an emty mqtt like mosquitto_put -t 37/1/get -m "" -u user -P password it respond correct with payload 0. But after som minute it sends the wrong mqtt again.

Firmware:

  • Version 1.17.546
  • Device? 3 button touch wall switch
  • Chip/model: BK7231N
  • Device config?

autoexec.bat
startDriver ntp
ntp_setServer 193.11.166.8
ntp_setLatlong 56.017833, 14.268284
AddChannel 10 1
AddChangeHandler Channel4 > 0 publish 37/KNAPP1 TOGGLE -1
AddChangeHandler Channel5 > 0 publish cmnd/KNAPP113 TOGGLE -1
AddChangeHandler Channel6 > 0 publish 37/KNAPP3 TOGGLE -1

FLAGS: "flags": "1075840224",
"pins": {
"6": "Rel;1",
"7": "dInput_n;6",
"8": "Rel;2",
"9": "Rel;3",
"11": "Rel_n;3",
"14": "Rel_n;1",
"20": "dInput_n;5",
"22": "Rel_n;10",
"24": "dInput_n;4",
"26": "Rel_n;7"
},

To Reproduce
note, it repeats every 3 minute.

Screenshots
image
image
IMG_4352

Additional context
Add any other context about the problem here.

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions