[ST Edge] RainMachine LAN driver: local control, no cloud or subscription (rainmachine-lan)

I’ve just released rainmachine-lan, a newly developed Edge LAN driver. It’s built from scratch on RainMachine’s current local API. It talks to the controller directly on your network, with no bridge server and no cloud.

How it connects (RainMachine local API v4)

  • Connection: plain HTTP on port 8081. It’s enabled by default on firmware 4.0.927 and later.
  • Discovery: the controller is found by mDNS. The IP can be set manually if mDNS doesn’t reach your hub.
  • Login: only your RainMachine password, no email.
  • Data sources: status comes from /zone, /program and /restrictions/currently. Run times and skip reasons come from /dailystats/details, which are RainMachine’s own calculations. Weather comes from /mixer plus any observation source you have enabled.
  • Commands: zones, programs, Stop All and rain delay use the same calls as RainMachine’s own web app.

Fixes for issues reported with the earlier RainMachine integrations

  • Inactive or unwired zones no longer appear, and deleted devices stay deleted. Only active zones become devices; a deleted one stays gone until you scan again. No duplicate Zone 1.
  • Every active zone shows up, however many there are (12 or 16 on HD).
  • Zones run for the time you set, Watering Time is 1–120 min per zone and can be changed while the zone runs.
  • The master valve can’t be switched on by mistake. It never gets a device; RainMachine handles it with each zone.
  • The controller shows real status, with no blank fields or “problem connecting”. If the password or IP is wrong, it goes offline with the reason.
  • No IP or port to enter: the controller is found automatically using mDNS.
  • Pause is covered: a Rain Delay slider (0–14 days) and Stop All.
  • Program run times: Next Watering shows the weather-adjusted run time RainMachine will actually use.
  • One controller per hub, for now.

What you get

  • A RainMachine device:
    • irrigation status (watering, queued, rain delay, stopped);
    • next watering with its calculated run time, or why it’ll skip (e.g. “Skipped: Rain”);
    • forecast for today and tomorrow;
    • current weather;
    • rain delay slider;
    • Stop All.
  • Zone 1: …, Zone 2: … and so on, one device per active zone, named from RainMachine. Only waters for that zone’s Watering Time (1–120 min, adjustable while running).
  • Program: … devices that start and stop your programs.
  • Everything works in Smartthings Routines and with Alexa/Google. Units follow your RainMachine app setting (metric or imperial).

Setup

  1. Accept the channel invite and install rainmachine-lan: SmartThings. Add a little smartness to your things.
  2. Add device → Scan for nearby devices.
  3. Enter your RainMachine password in the device’s settings. Zones and programs appear within seconds.

Models: works with the Mini-8, Touch HD-12/16 and Pro-8/16. I’ve tested it on a Pro-8, so reports from other models are welcome. The master valve is deliberately never a device: RainMachine opens it automatically with each zone.

Feedback and logs accepted here especially for untested RainMachine devices.

If the driver’s useful to you, you can support its development through GitHub Sponsors :heart:

Source and details: smartthings-drivers/rainmachine-driver at main · ST-SmartHome/smartthings-drivers · GitHub

Driver build 2026-10-11T02:25:01.971073426

Now we just need someone to do the same with Rachio. The current integration is very lacking. But great job! Thanks for your contribution!

Thanks Ben. I’m glad to get rid of the phantom, unassigned zones from the prior driver I was using. I couldn’t get the Auto Discovery to work (probably a problem with my VLAN setup), but manually typing its reserved IP address brought it right up

I’ve deleted the old child devices from the prior driver. Everything looks good, but I haven’t had a chance to test things yet. I’ll aim to do that soon.

Thanks again for creating this driver.

Try a mDNS helper/repeater on your network because mDNS doesn’t natively work between vLANs.

This is great, i have encountered an issue tho. I have the hd12. For some reason in shows zone 3 and 6 as offline on the app. But i am able to turn them on which is wierd.

Edit… scratch that… a few minutes later and the app corrected itself… all is good now! Tyty

No worries. Sometimes the devices need a refresh. (Pull down on the ‘room’ they’re in.)

Thanks for testing the HD12. I used to have one before I upgraded to Ethernet on the Pro.

Fun fact, hd12 supports ethernet aswell. You need to use a usb to ethernet adapter, in one usb port, and also need to have the usb wifi adapter plugged into the other port… not sure why that has to be plugged in, but ethernet does work.
I love my hd12 because of the screen size. I wish rainmachine still made controllers, im so scared for the day my hd12 fails. Its literally the perfect irrigation controller for me.

Yes I know. But it was unofficial and for certain types of USB adapters.

Let me know if you find anything else.

Ben

Update: rainmachine-lan now shows what each zone and program is doing

A new version is on the channel; hubs pick it up automatically, usually within a day. After it updates, open each zone and program device once (or pull down to refresh) so the app shows the new tiles.

Program devices

  • One tile per zone, in run order, with the minutes RainMachine has calculated for the next run and each zone’s start time.
  • While the program runs: :sweat_droplets: for the zone that’s watering (with minutes left), :hourglass_not_done: for the queued zones with their start times, and :white_check_mark: for those that have finished.
  • If you change a zone’s Watering Time during a program run, RainMachine re-queues that zone at the end. It still shows as part of the program.

Controller

  • While a program runs, Irrigation Status shows the program, the zone that’s watering and when everything finishes, e.g. “Evening: Zone 1 5 min, done 20:30”.
  • After Stop All, “Stopped by user” now stays for its 30 minutes even if the driver restarts.

Zone devices

  • Last Watered (when and how long), Next Watering (when and how long, or why it’ll skip) and Last Seven Days (total watering time).
  • The zone’s settings from the RainMachine app, read only: Soil Type, Vegetation Type, Sprinkler Heads, Slope and Exposure. Worth a look: they drive RainMachine’s weather-adjusted run times.
  • Watering Time now follows the zone’s weather-adjusted time for its next scheduled run, so switching a zone on waters for what RainMachine would use today. A time you set yourself is kept until that zone’s next run ends.

Starting a program from SmartThings works exactly like Run in the RainMachine app. RainMachine runs a manually started program at its set times, not the weather-adjusted ones.

Source and details: smartthings-drivers/rainmachine-driver at main · ST-SmartHome/smartthings-drivers · GitHub

Driver version: 2026-10-19T05:38:20.706381161

So i just noticed that whenever i water, the controller on smartthings shows watering zone 1, 1 minute left… all the time during watering… is this an issue due to my zone 1 being a master valve?
I go to my actual zone thats watering and itll say the actual time left which is like 4 min left.

@Jason_Silva Thanks for spotting that. You’re right: it was the master valve. RainMachine reports the master valve as watering for the whole run, and the controller’s status line picked it up instead of the zone that was actually watering.

A fix is now on the channel. The status line skips the master valve, so it should show the zone that’s really watering and its time left. Hubs pick it up automatically, usually within a day.

My controller doesn’t have a master valve, so I couldn’t test this on real hardware. Once your hub has updated, could you run a zone or a program and let me know what the controller shows? Also, when you saw “Zone 1, 1 min left”, was that a program or a zone started on its own?

Thanks for the feedback.

All looks good now, it updates correctly with the zone time and any update i do to the time adjustment. I noticed it when i was manually running a manual routine, i was testing my automatic fertilizer system lol.
Thanks, its working great!

@Jason_Silva Great, thanks for testing and confirming. Good luck with the fertiliser system!

Driver version: 2026-10-19T22:43:12.091861122

Update: skipped zones and skip reasons

A new build of rainmachine-lan is on the channel. It fixes how the driver shows days when RainMachine adjusts or skips watering. Your hub picks it up automatically.

Skipped zones showed as watering
When RainMachine skips a zone during a scheduled run (for example an Adaptive Frequency skip, because the soil still holds enough water), it keeps that zone in its queue at 0 minutes until the zone’s turn passes. The driver read that as a normal queued zone:

  • the zone’s switch stayed on for the whole run, although it never watered (so a routine triggered by that zone’s switch would also fire);
  • the program device showed it as “:hourglass_not_done: … 0 min”, then “:white_check_mark: … done”.

Now a zone RainMachine is skipping keeps its switch off, and the program device shows “ skipped: ”. Zones that are just waiting their turn still show on, as before. Last Watered and Last 7 Days were always right; they come from RainMachine’s watering log.

“Skipped: Skipped” on Next Watering
When RainMachine calculated no water for a day without giving a reason (e.g. forecast rain), Next Watering read “Mon 26 Oct 17:50 Skipped: Skipped”. It now reads “… No water needed”.

Skip reasons named as in RainMachine’s app

  • Adaptive Frequency skips now show as “skipped: Adaptive Frequency” (they used to fall back to “no water needed”).
  • “Below Threshold” is now “Minimum Watering Time”, RainMachine’s own wording.

If the driver’s useful to you, you can support its development through GitHub Sponsors :heart:

Driver version:

2026-11-06T07:49:17.361642442