Giter Site home page Giter Site logo

chkuendig / hass-amphiro-ble Goto Github PK

View Code? Open in Web Editor NEW
4.0 3.0 2.0 624 KB

๐Ÿšฟ Amphiro Digital Hand Shower component for Home Assistant

Home Page: https://christian.kuendig.info/posts/2023-01-hass-amphiro/

License: MIT License

Python 100.00%
amphiro bluetooth bluetooth-low-energy hacs hacs-custom home-assistant

hass-amphiro-ble's Introduction

hass-amphiro-ble's People

Contributors

bipsendk avatar chkuendig avatar ctso avatar eifinger avatar eseglem avatar github-actions[bot] avatar iantrich avatar jcgoette avatar ludeeus avatar matthewflamm avatar mattrayner avatar mjmeli avatar oncleben31 avatar raman325 avatar rianoc avatar rodpayne avatar rroller avatar salem84 avatar swartjean avatar tefinger avatar tetienne avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

hass-amphiro-ble's Issues

Unclear how to add/configure integration

Hey there!

From the Readme it is unfortunately not clear to me how to install this integration. I have added the page as custom repository to HACS and installed the integration. When I attempt to add the integration afterwards, I only get the following screen:

Bildschirmfoto vom 2023-06-03 22-10-10

I am using HA 2023.5.4. Bluetooth is enabled via an ESPHome bluetooth proxy, which works quite well with the Xiaomi BLE integration.

What am I missing? Does the integration still work with the latest version of Home Assistant?

Deprecated constants which will be removed in HA Core 2025.1

HA logs have the following mention that some of the constants used will be deprecated in a year. Thanks already beforehand if you have the time to fix this in the near future @chkuendig!

Logger: homeassistant.const
Source: helpers/deprecation.py:205
First occurred: 18:46:47 (8 occurrences)
Last logged: 18:46:51

TEMP_CELSIUS was used from amphiro_ble, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.CELSIUS instead, please report it to the author of the 'amphiro_ble' custom integration
TIME_SECONDS was used from amphiro_ble, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTime.SECONDS instead, please report it to the author of the 'amphiro_ble' custom integration

[Issue] The integration only receives data the first 2 seconds

Hi @chkuendig and thank you for this integration.
I have the Hansa version of the Amphiro DHS.
The device is properly detected but it is receiving data only for the first 2 seconds after opening the tap. If I close the tap after another let's say 10 seconds and open the tap again, the values get updated with the missing quantities, and get updated for another 2 seconds and stop updating again.
Any idea what could be the reason?

I don't see any errors in the HA logs.

Thanks in advance for your help.

Setting up / error

So I copied the custom_components folder to my installation custom_components folder and restarted Home Assistant. Did Add integration and chose amphiro BLE. Nothing appears on the setup dialog and in log I found:

2023-02-16 15:15:25.114 ERROR (MainThread) [custom_components.amphiro_ble.models] Amphiro data format not supported: b'\x00\x06\xf5\x00\x00\x00\x00\x00\x00\x00F\x18\x00\x00\x16O\x00\x00\x00'

The shower head is an Oras branded Amphiro.

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.