arachnetech / homebridge-mqttthing

A plugin for Homebridge allowing the integration of many different accessory types using MQTT.
Apache License 2.0
467 stars 104 forks source link

Irrigation system not showing zones in home app #569

Open andrasg opened 2 years ago

andrasg commented 2 years ago

I have noticed recently, that my irrigation system is missing its valves in the Home app (mac and ios as well):

image

Here is my config:

{
            "accessory": "mqttthing",
            "type": "irrigationSystem",
            "name": "balconyIrrigation",
            "topics": {},
            "zones": [
                {
                    "name": "citromfa",
                    "topics": {
                        "getActive": "homebridge/status/irrigation/citromfa/active",
                        "setActive": "homebridge/control/irrigation/citromfa/active",
                        "getInUse": "homebridge/status/irrigation/citromfa/inuse",
                        "getDuration": "homebridge/status/irrigation/citromfa/duration",
                        "setDuration": "homebridge/control/irrigation/citromfa/duration",
                        "getRemainingDuration": "homebridge/status/irrigation/citromfa/remainingduration"
                    }
                },
                {
                    "name": "muskatli",
                    "topics": {
                        "getActive": "homebridge/status/irrigation/muskatli/active",
                        "setActive": "homebridge/control/irrigation/muskatli/active",
                        "getInUse": "homebridge/status/irrigation/muskatli/inuse",
                        "getDuration": "homebridge/status/irrigation/muskatli/duration",
                        "setDuration": "homebridge/control/irrigation/muskatli/duration",
                        "getRemainingDuration": "homebridge/status/irrigation/muskatli/remainingduration"
                    }
                }
            ],
            "logMqtt": true,
            "durationTimer": false,
            "minDuration": 60,
            "maxDuration": 600
        }

Am I missing something? This used to work and now it seems to be broken without me having changed the config.

andrasg commented 2 years ago

Interestingly, the settings of the irrigation system do seem to show the zones:

image
IMSancho commented 2 years ago

I'm seeing the same issue after moving my 8 station system from websprinklers to mqttthing. Notable though is that it was occurring with websprinklers also and I thought it was a timeout issue, but have seen from some searching that this may have been a homekit bug introduced in iOS 15.4, so not sure if and config changes are going to help for now.

If I keep trying them over and over they do eventually show, and also for some reason if all stations are turned on via external MQTT messages they then show up also.