Closed KrzysiekRadek closed 4 years ago
Try the online HAA configurator: https://glumb.github.io/haa-configurator/
Use a template for Sonoff Basic standard switch.
Remember GPIOs for Basic: 0 - cyclic input (button) 12 - output (relay) 13 - LED
Remove switch accessory at the bottom and add water valve accessory.
Change valve type to sprinkler (optional).
Add cyclic input 0 an digital output 12 on, 12 low off
Copy the resulting JSON.
Profit!
Optionally remove LED from general settings and add it as additional digital output 13 (see 5.) so LED will follow sprinkler state.
Optionally add default running time (it can be changed in Home.app later). Be advised that “maximum On Time (“d”)” for HomeKit sprinkler seems to be 15 min (900s). In case runtime more than 15 min is needed, use “reset to default state timer (“i”)” instead.
P.S. Your task is a piece of cake. Today, using glumb’s online configurator, I’ve programmed two Sonoff Duals running rotary ball valves. One even had a floating leakage sensor attached for closing the valve. I really admire great job done by @RavenSystem (and @glumb): HAA indeed allows almost any imaginable scenario and logic right inside autonomous device (without must-stay-online HomeKit automations).
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hi All :) I need a sprinkler string for Sonoff BASIC ... can you help me?