/ha-redpocket

RedPocket Integration for Data Usage Monitoring

Primary LanguagePythonOtherNOASSERTION

RedPocket Mobile - Home Assistant Integration

This is a fork of the Mint Mobile Home Assistant plugin that I retro-fit with my RedPocket API wrapper.

This integration creates a group of sensors for each line and displays the remaining balances for the month.

home assistant entities

Sensors Included:

  • Amount of minutes, messages, and high-speed data remaining
  • Days remaining in month (The number of days left in the data plan month)
  • Months remaining for plan (The number of months left that you have purchased)

GitHub contributors Maintenance GitHub commit activity GitHub last commit

Installation

HACS (Recommended)

  1. Have HACS installed, this will allow you to easily update
  2. Add https://github.com/mbillow/ha-redpocket as a custom repository and Type: Integration
  3. Click install under "RedPocket Mobile", restart your instance.

Manual Installation

  1. Download this repository as a ZIP (green button, top right) and unzip the archive
  2. Copy the redpocket folder inside the custom_components folder to the Home Assistant /<config path>/custom_components/ directory
    • You may need to create the custom_components in your Home Assistant installation folder if it does not exist
    • On Home Assistant (formerly Hass.io) and Home Assistant Container the final location should be /config/custom_components/redpocket
    • On Home Assistant Supervised, Home Assistant Core, and Hassbian the final location should be /home/homeassistant/.homeassistant/custom_components/redpocket
  3. Restart your instance.

Development / Testing

To spin up a test HA instance with the module installed:

docker-compose up -d

Open your browser to http://localhost:8123 and proceed to install the module on the Integrations page.