IMPORTANT: This assumes, that you do NOT expose your Home Assistant instance to the web. This might be dangerous.
Synchronise Grandstream VOIP phonebooks with Nextcloud Contacts, via an XML file.
This will create a HTTP endpoint that Grandstream phones can access to receive an up-to-date copy of your Nextcloud contacts.
- Python 3.10 or higher (due to type annotations)
- An account on a Nextcloud instance that has the Contacts app installed
- Add
requeststo the list of installed packages in your AppDaemon settings - Copy all files into your
addon_configs/<appdaemon folder>/appsdirectory - Add to your
apps.yamlfile:
nextcloud_contacts_to_phonebook_xml:
module: phonebook
class: Phonebook
The URL structure to access the generated Phonebook XML is like that:
GNU GPL 3
Forked from: https://github.com/Quantum-Cucumber/NextcloudGrandstream