gkreitz / homeassistant-grohe_sense Goto Github PK
View Code? Open in Web Editor NEWGrohe Sense integration for Home Assistant
License: MIT License
Grohe Sense integration for Home Assistant
License: MIT License
Since update of core to version core-2021.6.0 the grohe sense integration doesn't work anymore. See logs:
Setup failed for grohe_sense: Integration not found.
11:05:56 – (FEHLER) setup.py
I have nothing changed before update. If I check my configuration in the server tab there is the following message:
Konfiguration überprüfen
Überprüfen Sie Ihre Konfiguration, wenn Sie kürzlich Änderungen vorgenommen haben und sicherstellen möchten, dass alle Änderungen gültig sind
Konfiguration fehlerhaft
KONFIGURATION PRÜFEN
Component error: grohe_sense - Integration 'grohe_sense' not found.
Folder is still under custom components. I also tried a new refresh token.
Thank you for your help.
Daniel
Hei, just installed the grohe sense integration and it worked. But now the data is not being refreshed. I get the following error in the logs. Updating grohe_sense sensor took longer than the scheduled update interval 0:00:30. It refreshes data when I restart HA. I run HA on Docker.
New to Home Assistant and new to github.....
This doesn't seem to pull the battery data for the sensors. I have revised sensor.py so that it does - not sure the best way to push the changes so that others can use it, file attached.
sensor.zip
Hi,
If anybody could support me in the way to install this integration I will appreciate, I don´t know how to extract Token.
Thanks.
Hi,
In 2022.11 there is a new feature to monitorize Water consumption, but sensor that this integration generated are not in the available list of sensors.
Any solution to fix it?
Thanks
Thank you for the hard work you've put into making this custom integration!
I've been using it ever since you finished the switch to turn off the water when nobody is at home. It works great based on cell phone presence and security alarm state.
I had to upgrade to latest version yesterday when I upgraded Home Assistant. I realized today that you've added units to the pressure, but that you've chosen mbar instead of bar. It seems to me like bar is a more common unit for water pressure rather than mbar. I've changed the sensor.py file in my system manually to set it back to bar. If you think this makes sense you could change on your side as well.
Please disregard if mbar makes more sense to you!
Warmly, Per
As Home Assistant now supports Valve option, it would be great to change type from switch to valve. As then in Homekit it will shown correctly as water valve...
The switch to turn on and off water flow is no longer working after upgrade to 0.109.
Got this error
2023-09-06 19:05:41.524 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration grohe_sense which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-09-06 19:05:41.524 ERROR (SyncWorker_2) [homeassistant.loader] The custom integration 'grohe_sense' does not have a version key in the manifest file and was blocked from loading. See https://developers.home-assistant.io/blog/2021/01/29/custom-integration-changes#versions for more details
can this plz be imbedded
Hi,
Thank you for this project! Just took it into use with my Grohe Sense Guard (don't have the small water leak sensors at all).
The app shows consumption per month for the whole year and consumption per day for the current month. Any chance to get those?
Is there a counter for the total consumption since installation? Something that would resemble a traditional water meter. That'd be interesting to have as well.
Maybe you can paste a sample response from the API or is it more complicated than that?
Hi,
still struggling with this integration (installed via HACS).
I Have installed and replaced all the files with the files of https://github.com/weissm/homeassistant-grohe_sense files, but I still got not valued for 1 and 7 day water consumption, pressure & temperature of the Grohe Guard after restarting HomeAssistant.
After that I replaced all the files with https://github.com/mpradny/homeassistant-grohe_sense files which seems to be the most actual version, but the values still are zero after restarting HomeAssistant.
The values of the sense devices are correctly read and shown. Also the valve status is shown (on/off), so it does not seem to be a problem with userid/password.
Any ideas if I am doing something wrong?
Regards
Martin
Currently the counters in the UI will be shown without units and also when you click the items you cannot see historical data.
Here an example, no units (compare to my Aquarea air-water heat pump sensors for example):
For example, water pressure is shown like this when I click it:
Whereas I would like to see something like this:
DEVICE_CLASS_TEMPERATURE was used from grohe_sense, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.TEMPERATURE instead, please report it to the author of the 'grohe_sense' custom integration
VOLUME_LITERS was used from grohe_sense, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfVolume.LITERS instead, please report it to the author of the 'grohe_sense' custom integration
Hi!
I really like this integration but I wanted to ask. I don't know if it is just me but how often do you guys need to create a new token? Mine usually only last for maybe two weeks then I need to get a new one.
Regards
Peter
I've got one Grohe Sense Guard device. In the HA UI I can see "MY GUARD valve" and "MY GUARD 1 day" for example.
Would it be possible to rename these somehow to look prettier?
"Grohe Sense Guard Valve" and "Grohe Sense Guard 1-day Flow" or "Main Water Valve" and "1-day Water Consumption", for example.
Looking at the code I understand that the "MY GUARD" probably comes from Grohe's API. I don't like it anyway. :)
Hi,
I'm having problems after upgrade to version 2021.2.1.
2021-02-06 19:37:42 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: grohe_sense
2021-02-06 19:37:45 ERROR (MainThread) [homeassistant.setup] Setup of grohe_sense is taking longer than 300 seconds. Startup will proceed without waiting any longer
Any ideas of what's wrong?
I've been refreshing my token for Grohe Sense for about 18 months but now I find that the process no longer directs me to the JSON data containing the token but instead gives me a '404' error on the webpage.
Have Grohe changed something around authentication?
After the latest automatic update for "home assistant raspberry py OS", this plugin breaks the setup.
Raspberry pi boots, and enables samba, but not web interface. Nothing in logs...
Disabeling it makes it work again.
Hi, first of all Thank you for your this great work !
I am just wondering is it also possible to integrate Grohe blue product which is appeared in Ondus app? Grohe Blue Home/Professional is able to control water on/off(still, sparkling, strong sparkling) and the amount.
API discussion has been made already here.
FlorianSW/grohe-ondus-api-java#12
Hi ,
I installed this integration friday, and all ins working fine.
Only one important point that affect what i need from this integration. It´s that the water consumption is not correct, and differs from app data.
What´s the problem, any iinconsistency. Is there any work arround or solution
Do you have the same problem?
Having had issues lately with the token, I finally had some time to try and set this up again, but now I cant get it working. When I enter https://idp2-apigw.cloud.grohe.com/v3/iot/oidc/login in a webbrowser (tried Chrome and Edge), nothing happens. Literally nothing... The URL address bar shows idp2-apigw.cloud.grohe.com/v3/iot/oidc/login, but no webpage tries to load. It remains on the same page I was before hitting enter....
Anybody else had this same issue?
This component is a bit overly naive in its error handling. We retry fetching an access token infinitely. If the refresh token in the configuration file has expired, this will keep on failing, and thus we'll never be able to complete component setup. This results in the rest of home assistant just stalling, waiting for this module. The most obvious symptom is that the home assistant web ui won't start.
To solve this, you'll need to update the refresh token in your configuration (fetch a new one, per original instructions).
Definition of done:
Thank you so much for pulling this together. I believe I have followed the instructions properly. Was able to get the refresh token and add it to my config along w/ the custom components.
As it stands now, I get the "Waiting on Integrations to complete" and eventually gives up and HA set up proceeds.
Is the integration still working as it did and am I missing something?
Don't see any items being brought in and logs indicate setup never finishes.
Any thoughts?
Followed the installation instructions, but then I go to verify the configuration validation prior to restarting HA after editing the configuration.yaml file, I get this:
"Integration error: grohe_sense - Integration 'grohe_sense' not found."
Have copied all the files from GitHub to the config/custom_components/grohe_sense/ and did a restart before edidting the configuration.yaml
New to HA, so might be an easy fix, but im stuck... :)
First of all, thanks for your work!
My issue is that I'm experiencing way too many decimals in value, as the image shows:
I believe this has something to do with floats, round-off error or such. After several hours of googling, I wasn't able to do the rounding in HA, so I ended up adding round( ) to sensor.py (line 158)
return round(sum((w['waterconsumption'] for w in self._withdrawals if w['starttime'] >= since)),1)
Kudos for building this! I wanted to set this up and have tried following the readme, but I get this error when restarting home assistant:
Logger: homeassistant.setup
Source: setup.py:168
First occurred: 10:28:54 (1 occurrences)
Last logged: 10:28:54
Setup failed for grohe_sense: Integration not found.
I have added the token and copied the files to a grohe_sense folder under config dir. Any thoughts?
It would be nice to be able to see the state of and control garden sprinkler mode from home assistant. Consider if there's a good way to support this.
The functionality API-wise is a bit clunky, where one sets a schedule for garden sprinkler mode, so there's a bit of thinking needed to figure out what's a good way to expose this control to home assistant.
Update:
I finally downloaded this integration using HACS:
https://github.com/mpradny/homeassistant-grohe_sense
However, when I restart HA, I get this error message:
Logger: homeassistant.setup
Quelle: setup.py:392
Erstmals aufgetreten: 19:18:28 (1 Vorkommnisse)
Zuletzt protokolliert: 19:18:28
Setup of 'grohe_sense' is taking longer than 300 seconds. Startup will proceed without waiting any longer
I had some issues with Grohe integration in my HA installation.
Now I got it back online, but there is no data. :-(
Mobile app shows data, but HA doesn't see it.
Has the API changed somehow and cut me out?
On a normal day the HA sensor measures 20 - 50% less usage (liters) as compared to what is shown in the GROHE app... The HA integration works nice and is responsive to changes to the switch/valve. Just the issue with the liter of water flowing through over the course of the day.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.