EagleDTW wrote:1.) should I be using my external duckdns site for the address to activate the HTTPd?
a.) what does activate really mean?
Yes, you need a DDNS name in the HTTPd-2 plugin config. DuckDNS should work fine, I've used it for other things.
Where are you seeing the word "activate"? That word is not in any of my docs. You need a DDNS name for webhooks, because you have to provide the the domain name to the server generating the webhook calls. They usually won't take an IP address, and in any case that could change at any time.
EagleDTW wrote: b.) I didn't set var on anything, because I don't have/know any variables that need to be passed.
You don't need to do anything with available actions. That's done by the Rachio plugin. You just need to get the port forwarding set up and an HTTPd device to listen on that port.
EagleDTW wrote:2.) the external site (using http://) redirects in my browser to secure connection with safari stating that it can't connect
a.) I used a self signed cert and placed it into the 7.5 folder as was described, but this didn't solve the safari error message
You can't use Safari to test (very easily) because it insists on switching to https even if you don't want it to. I use a Terminal session and the 'curl' command.
EagleDTW wrote:3.) do I need both a HTTPd server device and a webhook device?
No, Webhook devices are for Python scripts that don't run all the time and can't receive the webhook calls directly. Plugins (like Rachio) don't need them.
EagleDTW wrote:4.) this is the log info:
- Code: Select all
Rachio Sprinklers Rachio Sprinklers Started
HTTPd 2 Warning getWebhookInfo failed, invalid ddnsName
Rachio Sprinklers Error Error getting user data from Rachio via API.
This should be step by step. Confirm each step is complete and if there's any doubt, show a screenshot or similar.
- Set up port forwarding on your router. The default port for HTTPd-2 is 5555, but you can use something else.
- Make sure you have a valid DDNS name in the plugin config. Confirm that resolves to the WAN address of your router. Turn on debug level logging in the plugin.
- Create an HTTP server device listening on 5555 (or whatever you picked in step 1). You don't need HTTPS. Put in a username and password (only used for this one thing).
- At this point, you should be able to do something like this in a Terminal window:
- Code: Select all
curl http://myname.duckdns.org:5555/
And see this in the Indigo log:
- Code: Select all
HTTPd 2 Debug MyRequestHandler: GET to port 5555 from 192.168.111.1:62028 for /
HTTPd 2 Debug MyRequestHandler: Request has no Authorization header:
HTTPd 2 Debug {'host': 'myname.duckdns.org', 'accept': '*/*', 'user-agent': 'curl/7.64.1'}
- Now if you restart the Rachio plugin, it should work.