Skip to content

geertmeersman/youfone

Repository files navigation

Youfone

Youfone for Home Assistant

A Home Assistant integration allowing to monitor your Youfone usage

In order to avoid IP blacklisting / DDOS identification, the update interval is set to a minimum of 2 hours (you can increase it in the configuration).
When Home Assistant restarts, it will fetch the data from the local storage and it will update the sensors after the configured interval.
When adding a hub of the integration, it might take 1 minute to complete the addition, due to a 5 seconds interval set between each API call to Youfone.

Features

  • πŸ“± Mobile data sensors
  • πŸ“ž Voice & sms sensors
  • πŸ’² Youcoins balance
  • πŸ“ˆ Invoice sensors
  • πŸ‘± User account information

maintainer buyme_coffee discord

MIT License hacs_badge

Open your Home Assistant instance and open the repository inside the Home Assistant Community Store.

GitHub issues Average time to resolve an issue Percentage of issues still open PRs Welcome

Hacs and Hassfest validation Python

manifest version github release github release date github last-commit github contributors github commit activity

Table of Contents

Installation

Using HACS (recommended)

Click on this button:

Open your Home Assistant instance and open the repository inside the Home Assistant Community Store.

or follow these steps:

  1. Simply search for Youfone in HACS and install it easily.
  2. Restart Home Assistant
  3. Add the 'Youfone' integration via HA Settings > 'Devices and Services' > 'Integrations'
  4. Provide your Youfone username and password

Manual

  1. Copy the custom_components/youfone directory of this repository as config/custom_components/youfone in your Home Assistant instalation.
  2. Restart Home Assistant
  3. Add the 'Youfone' integration via HA Settings > 'Devices and Services' > 'Integrations'
  4. Provide your Youfone username and password

This integration will set up the following platforms.

Platform Description
youfone Home Assistant component for Youfone NL services

Contributions are welcome

If you want to contribute to this please read the Contribution guidelines

Troubleshooting

Enable debug logging

To enable debug logging, go to Settings -> Devices & Services and then click the triple dots for the Youfone integration and click Enable Debug Logging.

enable-debug-logging

Disable debug logging and download logs

Once you enable debug logging, you ideally need to make the error happen. Run your automation, change up your device or whatever was giving you an error and then come back and disable Debug Logging. Disabling debug logging is the same as enabling, but now you will see Disable Debug Logging. After you disable debug logging, it will automatically prompt you to download your log file. Please provide this logfile.

disable-debug-logging

Screenshots

Sensors

Sensors

Code origin

The code of this Home Assistant integration has been written by analysing the calls done by the Youfone website.

I have no link with Youfone