Metadata-Version: 2.4
Name: udyndns
Version: 0.0.6
Summary: A very simple OVH dyndns client to workaround difficulties with Ubiquity unadyn...
Home-page: https://github.com/KurisuD/udyndns
Author: KurisuD
Author-email: KurisuD@pypi.darnand.net
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: License :: Public Domain
Classifier: Operating System :: POSIX :: Linux
Classifier: Topic :: Home Automation
Classifier: Topic :: Internet :: Name Service (DNS)
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: aiounifi>=80
Requires-Dist: requests
Requires-Dist: pap_logger
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-dist
Dynamic: summary

A very simple OVH dyndns client to workaround difficulties with Ubiquity unadyn...

A config file is to be created at `~/.udyndns.json`

```json lines
{
  "my_first_domain.net": {
    "unifi": {
      "host": "ugw",
      "port": 8443,
      "username": "ugw_user_to_retrieve_wan_ip",
      "password": "ugw_password_to_retrieve_wan_ip"
    },
    "ovh": {
      "username": "my_dyndns_username",
      "password": "my_dyndns_password"
    }
  },
  "my_second_domain.net": {
    "unifi": {
      "host": "udm",
      "port": 443,
      "username": "udm_user_to_retrieve_wan_ip",
      "password": "udm_password_to_retrieve_wan_ip"
    },
    "ovh": {
      "username": "my_other_dyndns_username",
      "password": "my_other_dyndns_password"
    }
  }
}
```

Recommended installation step:
pipx run udyndns


Running this command every hour can be done with the following crontab:

`0 * * * * pipx run udyndns`
