Problems with the new Faucet/sprinkler HomeKit switch in version 0.80

Hi. I have just tried to add the new sprinkler for the HomeKit component.

The hardware I use is a D1 mini with Tasmota on it running Mqtt.

I have set it up as a switch.

My config looks like this:

homekit:
filter:
exclude_domains:
- automation
exclude_entities:
- light.gateway_light_7811dce137a7
- sensor.pressure_158d00022caa68
- sensor.illumination_158d0001e5fa30
- sensor.illumination_158d000200d270
- sensor.illumination_7811dce137a7
- sun.sun
- binary_sensor.switch_158d00021343ae
- binary_sensor.switch_158d00021354b1
- binary_sensor.loftsensor
- binary_sensor.test_rf_bridge_rfkey_1
- switch.sonoff_dual_vrksted_1
- sensor.speedtest_download
- sensor.speedtest_upload
- sensor.speedtest_ping
- binary_sensor.postkasse_sensor
- sensor.weather_temperature
- sensor.weather_humidity
entity_config:
switch.sprinkler:
type: sprinkler

The problem is, that I don’t get the sprinkler in my home app? What could this issue relate to?

All the best

Jacob

For changes to take affect you must exclude the entity (in the filter) first, restart HA, include the entity back in (in the filter) and restart again. Make sure that type: sprinkler is set before the last restart (seems good right now). Than it should work.

Great thanks:) It works now;) BTW is there a opportunity to make the timer function in the accessory? I had it before, when I used homebridge. This is actually working better, but I miss the timer functionality:)

I can’t promise anything, but I’ll have a look. Might take a while though.

Hi :slight_smile: any news on the timer funktion ?

1 Like

Hello @cdce8p,

could you help me to?

I hav a shelly Switch wich is controlling my sprinkler. how do i expose it in homekit as Sprinkler? I always get a error message.

image

Best regards

Philipp

@philippk75 What error message do you get?

I think that it looks more or less correct but it could be down to the indentations etc. I have my configuration in configuration.yaml and it looks like this. Maybe it helps:

homekit:
  - filter:
      include_entities:
        - switch.sonoff_4ch_pro1
        - switch.sonoff_4ch_pro2
        - switch.sonoff_4ch_pro3
        - switch.sonoff_4ch_pro4
    entity_config:
      switch.sonoff_4ch_pro1:
        type: sprinkler
      switch.sonoff_4ch_pro2:
        type: sprinkler
      switch.sonoff_4ch_pro3:
        type: sprinkler
      switch.sonoff_4ch_pro4:
        type: sprinkler
2 Likes