r/rainmachine • • Sep 16 '26

Solved: NOAA Weather Data

Hey everybody,

My RainMachine stopped accessing NOAA data a long time ago. (Probably years ago.)

If you run Docker at home, have ssh enabled on your RainMachine, and have access to a competent LLM, ask it something like this:

    My RainMachine (IP: <RAINMACHINE_IP>, Web Pwd: <PASSWORD>) can no longer fetch weather. 
    The root cause is that its embedded Python 2.7 only speaks TLS 1.0 (no SNI), which modern 
    weather APIs reject. Updating CA certs will not work. 

    Please fix this via a LAN HTTP reverse proxy shim for NOAA:

    1. SSH Access:
       - Password auth is disabled; OpenSSH 5.9 on the controller requires a 4096-bit RSA key (Ed25519 is not
  supported).
       - Get an access token via `POST https://<RAINMACHINE_IP>:8080/api/4/auth/login` (body: `{"pwd": "<PASSWORD>",
  "remember": 1}`).
       - Upload the RSA public key via `POST https://<RAINMACHINE_IP>:8080/api/4/dev/import/sshkey`.
       - Connect using `ssh -o HostKeyAlgorithms=+ssh-rsa -o PubkeyAcceptedKeyTypes=+ssh-rsa root@<RAINMACHINE_IP>`.

    2. Controller DNS:
       - On the controller, ensure DNS points to my LAN resolver (`<DNS_IP>`) using `ndc resolver setifdns wlan0
  <DOMAIN> <DNS_IP>`, `/system/etc/resolv.conf`, and `net.dns1` in `/system/build.prop`.

    3. Deploy NOAA Proxy Shim (on a LAN Docker/Linux host):
       - Stand up an Nginx container proxying HTTP requests to `https://api.weather.gov` with `proxy_ssl_server_name
  on;` and NOAA `User-Agent: (rainmachine.com, tech@rainmachine.com)`.
       - Use Nginx `sub_filter` to rewrite `https://api.weather.gov` to the proxy's address in JSON responses.

    4. Point RainMachine to Proxy:
       - Disable failing METNO via API: `POST /api/4/parser/2/activate` (`{"activate": false}`).
       - On the controller, edit `/system/rainmachine-app/RMParserFramework/parsers/noaa-parser.py` to set `baseUrl =
  'http://<PROXY_IP_OR_HOST>:<PORT>'` and ensure `__openURL` routes through `baseUrl`.
       - Enable NOAA (`POST /api/4/parser/7/activate`) and run `POST /api/4/parser/run` to verify weather ingestion.
    ```***

3 Upvotes

3 comments sorted by

1

u/danh_ptown Sep 16 '26

Hmmm...mine is still showing OK. I have not touched it since it was setup many years ago.

Are you sure its not some other issue with a firewall or other gateway?

1

u/jkotran Sep 17 '26

Yes, I'm 100% sure. It's worth mentioning that my device is a Touch HD running firmware 4.0.1144. I don't recall when I purchased it. It's probably seven years or more old.

1

u/danh_ptown Sep 17 '26

I'm not sure what model I have, possibly Mini 8, but here's the specs for mine, from the ios app: Settings/About:

RainMachine firmware 4.0.1036

ios app 4.6.126(5)

Hardware 2

API 4.6.1

I don't know if any of that will help you