Skip to content

This HACS integration allows you to retrieve the internet information related to the SIM card of the `ho-mobile` operator

Notifications You must be signed in to change notification settings

vincenzosuraci/hacs_ho_mobile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hacs_badge

This custom component allows you to retrieve the following information related to the SIM card of the ho-mobile operator:

  • remaining GB (internet/data);
  • total GB provided by the plan;
  • next renewal date.

HACS version (suggested)

Installation

  • add ho-mobile as a custom repository
  • in HACS, search for ho-mobile and install the latest release
  • in Home Assistant, add the ho-mobile integration, insert the username, password and the sim number and follow the instructions

Stand-alone version

Introduction

  • This custom component allows you to retrieve the following information related to the SIM card of the ho-mobile operator:
    • remaining GB (internet/data);
    • total GB provided by the plan;
    • next renewal date.
  • The case of 2 or more SIM cards (phone numbers) associated with the same account (password) is supported.
  • The case of 2 or more accounts is not supported.

Installation

  • Copy the ho_mobile_account folder into your custom_components folder.
  • Restart Home Assistant.
  • After restarting Home Assistant, add the following lines to the configuration.yaml file (and save):
ho_mobile_account:
  phone_numbers: !secret ho_mobile_account_phone_numbers
  password: !secret ho_mobile_account_password
  • Go to the secrets.yaml file and add the following lines (and save):
ho_mobile_account_password: "inserire-qui-la-password"
ho_mobile_account_phone_numbers: 
  - "inserire-qui-il-numero-di-telefono-#1"
  - "inserire-qui-il-numero-di-telefono-#2"  
  • Restart Home Assistant.
  • The following entity triples should appear (one triple for each phone number):
    • ho_mobile_account.<phone-number>_internet > Remaining GB
    • ho_mobile_account.<phone-number>_internet_renewal > Next renewal date
    • ho_mobile_account.<phone-number>_internet_threshold > Total GB of the plan

Configuration

  • By default, data is updated every 15 minutes.
  • You can customize the data update interval by configuring the scan_interval parameter, expressed in seconds:
ho_mobile_account:
  phone_numbers: !secret ho_mobile_account_phone_numbers
  password: !secret ho_mobile_account_password
  scan_interval: 900

About

This HACS integration allows you to retrieve the internet information related to the SIM card of the `ho-mobile` operator

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages