Skip to content

Home Assistant custom component HACS for Pixolus Pixometer app meter reading integration.

License

Notifications You must be signed in to change notification settings

myTselection/pixometer

Repository files navigation

HACS Default GitHub release GitHub repo size

GitHub issues GitHub last commit GitHub commit activity

Pixometer Home Assistant integration

Pixometer Home Assistant custom component. With Pixometer, a mobile app and scan solutions is available for intuitive and efficient meter reading registration. This custom component has been built from the ground up to bring your Pixometer scaned engery meter usage details into Home Assistant to help you towards a better follow up on your usage information. This integration is built against the public website provided by Pixolus Pixometer.

This integration is in no way affiliated with Pixolus or Pixmeter.

⚠️ Please don't report issues with this integration to Pixolus/Pixometer, they will not be able to support you.

Some discussion on this topic can be found within the community discussion Home Assistant Forum

Pixometer account creation: https://pixometer.io/portal/#/login

Pixometer app Android / iPhone

Installation

  • Make sure you have a free Pixometer account created
  • HACS: HACS > Integration > search for Pixometer and install
    • Open your Home Assistant instance and open the repository inside the Home Assistant Community Store.
  • Restart Home Assistant
  • Add 'Pixometer' integration via HA Settings > 'Devices and Services' > 'Integrations'
  • Provide Pixometer username and password
  • A sensor Pixometer should become available per meter with last reading as state and further details as attribute.

Status

Still some optimisations are planned, see Issues section in GitHub.

Example usage:

For each meter, a sensor will be created in HA. Myself, I still have a fuel oil installation which has no meter similar to gas meter. I only have a televar indicating the percentage of oil currently available in the tank.

At a regular interval I do keep track of this percentage of oil within a Pixometer meter reading.

Next, with a template sensor, I convert the percentage of tank content into a total number of kWh used so far:

  • Within a HA variable input_number.mazout_bijvullingen, I keep track of the total number of liters orderd to fill the oil tank.
  • But since not all of this total orderd oil is already consumed, I substract the number of liters still available in the tank to know the total number of used liter of fuel.
  • The number of liters left in the tank is calculated based on the percentage left in the tank and the max capacity of the tank (5000l)
  • The number of liters used is then converted from liters into kWh by multipling by 10.641.

Configuration as a template sensor in configuration.yaml

sensor: 
  - platform: template
    sensors:
      mazout_pixometer:
        value_template: "{{ ((states.input_number.mazout_bijvullingen.state|float - 5000) + (5000 * (100 - states('sensor.pixometer_mazout_televar_thuis')|float)/100)) * 10.641}}"
        device_class: gas
        unit_of_measurement: kWh

About

Home Assistant custom component HACS for Pixolus Pixometer app meter reading integration.

Topics

Resources

License

Stars

Watchers

Forks

Languages