Code Monkey home page Code Monkey logo

geo_home's Introduction

Geo Home

Integrate with Geo Home smart meters in Home Assistant

Instructions

To collect Geo Home smart meter data, you must have a WiFi connected smart meter from Geo Together. If you have a smart meter that is not WiFi connected by default, you can buy a WiFi module from Geo Together at https://geotogether.com/product-category/accessories/.

Once you have a WiFi connected smart meter, create an account on the Geo Home app. The username and password for this account are used to connect the Geo Home integration.

After downloading the Geo Home integration into HACS, remember to install it by navigating to Settings -> Devices & services -> Add integration, then select "Geo Home". You will be prompted for a username and password. Enter the ones you created from the app. This will create Gas and Electricity sensors, tracking the lifetime energy usage of your meters. If you get a 401 error, you may have entered the wrong credentials, or your account may be blocked for remote access. Unfortunately there is nothing we can do to resolve that.

Energy Dashboard Configuration

To display Electricity in the energy dashboard, add sensor.electricity as your Electricity Consumed Energy (kWh), and set Use an entity tracking the total costs with a cost sensor of sensor.electricity_cost_today

To display Gas in the energy dashboard, add sensor.gas or sensor.gas_m3 as your Gas usage, and set Use an entity tracking the total costs with a cost sensor of sensor.gas_cost_today

Upgrading

If you are upgrading from version 1.2, the units of your cost sensors will have been Β£/kWh instead of GBP/kWh. You can go to https://my.home-assistant.io/redirect/developer_statistics to correct that

geo_home's People

Contributors

berry120 avatar mmillmor avatar rmtsrc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

geo_home's Issues

Not Prompted for Username/Password

After installing through HACS I can see the integration is listed

image

but when I click it only displays the readme rather than opening the config page to enter email/password

Capture

Geo Home Meter not displaying data

Registered the app on my phone and I can see the meter on my network.
Added the Geo Home Repo via HACS and installed.
Added the Add-on in the Integration.

I receive a prompt to login with a Username and Password
Tried the login I used on the my registered account that allowed me to login and I can see 34 entities but none of them showing data.
Tried a login that I know doesn't work again I can see 34 entities but none of them showing data.

I am sure before you had to enter in the IP address of the meter you have on your network but this is not appearing.

1
2
3
4
5
6

Mobile App

Integration does not support export reading

Hi,
Could you please explore adding the export reading from the IHD to the integration?
I'm not familiar with the data the IHD exposes, so if this is not feasible, fair enough.

Data being passed into Home Assistant appears to be 2 minutes old

You were rather quick to close my previous issue report but I took your answer and further examined the data I am receiving.

I understand the reason for not overloading the Geo server but I would have thought the number of instances of the Home assistant users compared to Geo App users would have little impact. I maybe wrong and don't understand all the intricacies but from reading the Home Assistant pages on Fetching Data it would appear that with Push requests Geo would a-dvise us of changes and we would not need to call for them. You can maybe put me right about this.

However my investigations demonstrate that when the data within Home assistant is updated, that data has the value of 2 minutes ago.
I watched the normal changes in the readings within Home Assistant, my nodeRed Dashboard, the Geo App and the IHD itself. My Geo app is running in the LDplayer Android emulator on my laptop. The reading for current usage in the Geo App updated within a fraction of a second of the IHD. The readings in Home assistant and NodeRed, whilst identical to one another as expected, did not resemble a recent reading from the IHD and App.

These were small changes in usage of merely a few watts so I kicked in my 3kW water heater.

At 14:52:40 , Home assistant showed usage of 197 W when I turned the water heater on.
Only at 14:54:36 was that updated to show 2941W even though I had turned the heater off at 14:54:30 at which point the actual usage had dropped back to 204W which was then reported by Home Assistant at 14:58:37

The minor variations of times from your 2 min polling intervals is due to the speed with which I can move from noticing the change to reading the time from my digital clock

IMG_3125

This was my setup. Overlayed on my Home Automation Dashboard are middle left, the Home Assistant raw data shown on the Overview page, and middle right the Geo App screen, My nodeRed data, mirroring Home Assistant is on the right of the Dashboard. My Geo IHD is to the right of and slightly behind the laptop screen.

I can only leave this information with you and look forward to hearing your reply

typo in title?

I think it's a typo, no biggie just letting you know.

Screenshot 2023-02-12 at 18 38 00

Some sensors stopped working in the 1st March?

Hi,
Not checked the gas sensors but:
There are no entries in the SQLite database later than 2023-03-01 10:00:11 for the sensors:

  1. sensor.electricity_standing_charge_per_day
  2. sensor.electricity_price_per_kwh
  3. sensor.electricity_cost_this_bill

The others seem to be okay.
This is my query:

select DATETIME(created_ts, 'auto'), *
from statistics
where metadata_id = (select id from statistics_meta where statistic_id = 'sensor.electricity_price_per_kwh') 
order by created_ts
DESC

I have had problems with other sensors when the database column changed from created to created_ts

Any possibility that there is a connection?

Regards, Martin

kWh today does not reset at midnight

At midnight cost today resets to zero, however electricity kWh today and gas kWh today do not reset and continue to climb until 0100, they do reset to 0 at midnight in my geo home app.

Error on login

Hi been using this for a few weeks now and had no issues configuring the setup.
However I now have new Home Assistant hardware.
Installed the code through HACS then restarted. Next went into Settings \ Device and Services and added the Integration for Geo Home. Entered in my smartphone app username and password (which is the one I registered my account on) and received this

[%key:common::config_flow::error::unknown%]

Have reset my password and re-logged into the my smartphone app so I know the username \ password combination is correct, tried to install the Integration again but getting the same issue.

I've just checked and the last commit might have broken something by the looks of it bit not sure what.

Errors in latest HA

I'm sure you are aware, but these errors are now showing in logs. Thanks for your work on this.

ENERGY_KILO_WATT_HOUR was used from geo_home, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfEnergy.KILO_WATT_HOUR instead, please create a bug report at https://github.com/mmillmor/geo_home_hacs/issues
POWER_WATT was used from geo_home, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfPower.WATT instead, please create a bug report at https://github.com/mmillmor/geo_home_hacs/issues
VOLUME_CUBIC_METERS was used from geo_home, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfVolume.CUBIC_METERS instead, please create a bug report at https://github.com/mmillmor/geo_home_hacs/issues

How to test?

Is there a way I can just run the code on the CLI to test, rather than pushing new copies to HA, restarting the whole HA server etc?

Sensor.Gas units

What unit does Sensor.Gas measure in?

When I add it to the energy dashboard its seems to recording a number a lot higher than what I'm using. Today I've used roughly 5 kWh but the dashboard is showing 57
image
image

I wondered if it was Wh however if I change the unit of measurement it still shows in kWh in the dashboard. I could however be doing something wrong.
image

Frequency of update of data in Home Assistant too Low

I hope I'm doing this correctly - First time I've raised an issue.

I'm trying to eliminate the need to have the Trio IHD close by in order to see changes in Electricity Usage as an when they happen.

I have nodeRed running inside Home Assistant and have a dashboard that monitors and controls all my energy usage. I only recently found the Geo Home integration and see that it provides me with all the information I need except....

The data in Home Assistant only appears to be updated every 4 or 5 minutes. The Geo Apps themselves update almost instantaneously with The IHD - even when the app is being run in an emulator on a PC.

Cost Data seems to be updated even less frequently but I'm not too worried about that. I just want to be able to see what impact on immediate usage, turning an appliance on or off has.

Hope this explains the problem and that a resolution is forthcoming

FR: Support for the Dutch Geo trio 2 p1 meter

Hi
Thanks for offering this custom geo integration. The dutch geo P1 meter (model trio 2) is not supported by their geo app. So there is no way to create a cloud account.
Both the P1 meter and display are connected with each other via the local WiFi.
Don’t know if it is possible to gather data from P1 meter locally. If so, support for this Geo model would be great. Otherwise it would have saved me time if it was mentioned in the readme that this model is not supported πŸ‘
Best Eric

Failed to setup Add-on

I recently upgraded to 2023.6.2 and since then the integration has stopped working. This is the error from the logs.

Logger: homeassistant.config_entries
Source: custom_components/geo_home/init.py:19
Integration: Geo Home
First occurred: 14:26:18 (2 occurrences)
Last logged: 14:35:42

Error setting up entry Geo Home for geo_home
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 387, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/geo_home/init.py", line 19, in async_setup_entry
hass.config_entries.async_setup_platforms(entry, PLATFORMS)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'ConfigEntries' object has no attribute 'async_setup_platforms'

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.