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.
- π± Mobile data sensors
- π Voice & sms sensors
- π² Youcoins balance
- π Invoice sensors
- π± User account information
Using HACS (recommended)
Click on this button:
or follow these steps:
- Simply search for
Youfone
in HACS and install it easily. - Restart Home Assistant
- Add the 'Youfone' integration via HA Settings > 'Devices and Services' > 'Integrations'
- Provide your Youfone username and password
- Copy the
custom_components/youfone
directory of this repository asconfig/custom_components/youfone
in your Home Assistant instalation. - Restart Home Assistant
- Add the 'Youfone' integration via HA Settings > 'Devices and Services' > 'Integrations'
- Provide your Youfone username and password
This integration will set up the following platforms.
Platform | Description |
---|---|
youfone |
Home Assistant component for Youfone NL services |
If you want to contribute to this please read the Contribution guidelines
To enable debug logging, go to Settings -> Devices & Services and then click the triple dots for the Youfone integration and click Enable Debug Logging.
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.
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