MacWyznawca / homebridge-mqtt-switch-tasmota

Plugin to HomeBridge optimized to work with firmware Sonoff-Tasmota, MQTT.
MIT License
57 stars 18 forks source link

Device not showed as "unavailable" on Apple Home #51

Closed snakuzzo closed 4 years ago

snakuzzo commented 5 years ago

Hello everyone, I have configured this Sonoff device...

{
    "accessory": "mqtt-switch-tasmota",
    "switchType": "light",
    "name": "CLETTO",
    "url": "mqtt://192.168.1.10:1883",
    "username": "myuser",
    "password": "mypass",

    "topics": {
      "statusGet": "stat/sonoff-cletto/POWER",
      "statusSet": "cmnd/sonoff-cletto/POWER",
      "stateGet": "tele/sonoff-cletto/STATE"
    },
    "onValue": "ON",
    "offValue": "OFF",
    "activityTopic": "tele/sonoff-cletto/LWT",
    "activityParameter": "Online",
    "startCmd": "cmnd/sonoff-cletto/backlog",
    "startParameter": "60",
    "manufacturer": "ITEAD",
    "model": "Sonoff",
    "serialNumberMAC": ""
}

When I turn on the device, on my broker I see the correct LWT message...

Client mosqsub|25756-snakeberr received PUBLISH (d0, q0, r0, m0, 'tele/sonoff-cletto/LWT', ... (6 bytes))
Online

When I turn off the device, on my broker I see the correct LWT message...

Client mosqsub|25756-snakeberr received PUBLISH (d0, q0, r0, m0, 'tele/sonoff-cletto/LWT', ... (7 bytes))
Offline

...but on Apple Home app it's not showed as "unavailable". I can tap on my device "CLETTO" and turn it on/off (obviously) without any result.

Is there something wrong on my configuration ?

Thanks!

Manuel1897 commented 5 years ago

I have this problem, too. Any fix? Thanks.

elkorleone commented 5 years ago

downgrade to 0.9.5 is the solution