Skip to content

This has been abandoned so I am taking a stab at it.

Notifications You must be signed in to change notification settings

th3Wheel/homeassistant-cox

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 

Repository files navigation

I have moved to a different ISP, so v22.02.10 is most likely my final release unless the change is on the HA side

Description

Contains a sensor and a switch. The sensor returns relevant information about cox data usage plan. The switch when toggled on will immediately initiate a modem(or router) reboot, then turn back off.

Changes

Version Changes
v22.02.10 Broken Cox changed their usage page so this add-in is now broken. Update to remove deprecated property name
v21.03.0 Update to Manifest to include version. Moving to Calendar Versioning.
v0.1.4 Fixed cox removing api used. Sensor moved to scraping.
v0.1.3 Fixed reboot switch, stripped data identifiers from units.
v0.1.2 Updated Login IssuerID
v0.1.1 Fix for new okta auth v0.1.1, working modem reboot switch v0.1.1
v0.1.0 No changes to sensor v0.0.6, addition of modem reboot switch v0.0.1
v0.0.6 fixed expected_usage sensor
v0.0.4 added expected_usage sensor
v0.0.3 fixed service_end variable calls in if statement
v0.0.2 added more sensors and attributes
v0.0.1 initial commit

cox_sensor

To add cox_sensor to your installation, download the latest release zip and copy cox_sensor folder to <config directory>/custom_components/ and add the following to your configuration.yaml file:

Example configuration.yaml entry

sensor:
- platform: cox_sensor
  username: YOUR_USERNAME
  password: YOUR_PASSWORD
switch:
- platform: cox_sensor
  username: YOUR_USERNAME
  password: YOUR_PASSWORD

Sensor Configuration variables:

key description
username YOUR_USERNAME
password YOUR_PASSWORD

Switch Configuration variables:

key description
username YOUR_USERNAME
password YOUR_PASSWORD
resources (Optional list) Default: reboot

states:

sensor state description
data_used sensor returns the total byte usage
remaining_days sensor returns the number of days left in your service plan
percentage_used sensor returns % used of total data
expected_usage returns the % of data you are expected to use to hit 100% on service_end
attribute description
last_update When cox updated your account usage
data_plan data allowance
service_end when your service plan ends
service Friendly name of your service plan

About

This has been abandoned so I am taking a stab at it.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%