Giter Club home page Giter Club logo

homeassistant-cox's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.