dubocr / homebridge-gpio-device

Homebridge GPIO device expose several HomeKit accessories interacting with GPIO
Apache License 2.0
65 stars 22 forks source link

Value:Irrigation HomeKit automation? #67

Closed YuuichiLV closed 5 years ago

YuuichiLV commented 5 years ago

Greetings,

I am trying to create a control system for my sprinklers. I have the it added in HomeKit. And it works when I manually press it. My issue is that for some reason I cannot schedule it. When creating a new automation, selecting "A Time of Day Occurs", Selecting a start time, and go to select the sprinkler it is not listed.

I created a test switch and it allows me to schedule it. Am I doing something wrong or am I not allowed to schedule sprinklers?

Here is an example of the config.json

{
"bridge": {
"name": "Homebridge",
"username": "xx:xx:xx:xx:xx:xx",
"port": xxxxx,
"pin": "xxx-xx-xxx"
},
"description": "Sprinkler Control",
"accessories": [
{
"accessory": "GPIODevice",
"name": "Front Yard Irrigation",
"type": "Valve",
"subType": "irrigation",
"initState" : 0,
"duration" : 0,
"pin": 6
},
{
"accessory" : "GPIODevice",
"name" : "Test Valve",
"type" : "Switch",
"pin" : 4
}
],
"platforms": [
]
}
dubocr commented 5 years ago

Hi,

Could you try to create your automation with Eve app. May Home can't automate Valve yet.

lfiocco commented 5 years ago

Normally devices that control water flow should have an expiration time by default. Use another app to place your valves in a scene, by which ones you run at once. Then automate that scene.

toshibochan commented 5 years ago

For irrigation I’m using this: https://github.com/sfeakes/SprinklerD https://github.com/sfeakes/homebridge-sprinklerd

lfiocco commented 5 years ago

Thanks for the heads up. Will check it out!

On Sep 7, 2019, at 2:07 PM, toshibochan notifications@github.com<mailto:notifications@github.com> wrote:

For irrigation I’m using this: https://github.com/sfeakes/SprinklerD https://github.com/sfeakes/homebridge-sprinklerd

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/dubocr/homebridge-gpio-device/issues/67?email_source=notifications&email_token=AGB7GTKXYM555JYICVYCSJLQIPUWPA5CNFSM4H6UQXP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6E6U5A#issuecomment-529132148, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AGB7GTNKLAC2MFZI3WOCNWTQIPUWPANCNFSM4H6UQXPQ.

toshibochan commented 5 years ago

SprinklerD is good because have it on software to set all the irrigation timing. I don’t do automation for irrigation in HomeKit because if homebridge stop working and we not home the plant will die