Git Product home page Git Product logo

hass_hpinstantink's Introduction

HASS_HPInstantInk

Overview

HP Instant Ink counter for Home Assistant

This is an implementation for Home Assistant, of a page counter for tracking usage of an HP Instant Ink plan.

It tracks the number of pages used from the XML page of the printer and, based on that and user-entered details of their plan, automatically monitors the monthly usage of the plan and the overall cost.

Usage

Download the 'packages/hp_envy_5540_instant_ink.yaml' file, and place it in the packages folder of the configuration area of Home Assistant.

Download the files in the 'cards' folder. For each file, in the HASS front end, create a new card in yaml mode, and paste in the code. Then commit the card.

Scrape Sensor

The Scrape Sensor wizard in Integrations should be used as below.

  • It is critical that the Scrape Sensor Entity ID is named exactly as, 'sensor.hp_envy_5540_total_pages_printed_xml', and that the Value Template is, '{{ value|int(-1) }}'

Wizard Page 1

01_Select_Scrape_Integration

Wizard Page 2

02_Wiz_Page_01_all

Wizard Page 3

04_Wiz_Page_02_all

Wizard Page 4

05_Wiz_Page_03_Success

hass_hpinstantink's People

Contributors

eventuallyfixed avatar

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.