RainMachine


The rainmachine component is the main component to integrate all platforms related to RainMachine smart Wi-Fi sprinkler controllers.

Base Configuration

To connect to your RainMachine device, add the following to your configuration.yaml file:

rainmachine:
  ip_address: 192.168.1.100
  password: YOUR_PASSWORD

To configure switch-related functionality, add configuration options beneath a switches key within the rainmachine sections of configuration.yaml as below:

rainmachine:
  ip_address: 192.168.1.100
  password: YOUR_PASSWORD
  switches:
    # switch configuration options...

Configuration Variables

ip_address

(string)(Optional)the IP address or hostname of your RainMachine unit

password

(string)(Required)your RainMachine password.

port

(int)(Optional)the TCP port used by your unit for the REST API

Default value: 8080

ssl

(boolean)(Optional)whether communication with the local device should occur over HTTPS

Default value: true

switches

(map)(Optional)switch-related configuration options

zone_run_time

(int)(Optional)the default number of seconds that a zone should run when turned on

Default value: 600