Giter Site home page Giter Site logo

nick2525 / broadlink_s1c_s2c Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tomerfi/home-assistant-custom-components

10.0 10.0 7.0 600 KB

Broadlink s2c and Broadlink s1c sensors for Home Assistant

License: MIT License

Python 100.00%
broadlink hacz home-assistant s1c s2c

broadlink_s1c_s2c's People

Contributors

nick2525 avatar oscrey avatar rhayun avatar testpersonal avatar tomerfi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

broadlink_s1c_s2c's Issues

Issue with 'unknown' status even though the app says 'person detected'

Hi. I have 2 pir sensors with the S1c alarm hub. Up until recently, this integration has been working brilliantly thanks.

I've come across an issue with one of my pir sensors where the tamper switch is stuck,
So in HA I either get 'tampered' status or 'unknown'

But in the app when I pass motion across the sensor I do see 'person detected'.

Could it be in your coding somewhere that it is returning 'unknown' due to the tampered switch constantly on?
It changes from 'tampered' to 'unknown' when I pass my hand across the sensor.

Any hack to ignore the tampered status and return motion-detected?

Thanks

No unique ID?

i am wondering how to add unique ID for these entities from my S1c?

This entity ('sensor.broadlink_s1c_door_sensor') does not have a unique ID, therefore its settings cannot be managed from the UI. See the documentation for more detail.

Can this theoretically support the new S3 Hub?

I haven't had much luck on my HAOS hyperV setup using HACS. Still diagnosing before posting logs but just wanted to see if I was barking up the wrong tree trying to shoehorn this device through this integration. Anyone able to get it working?

I've gone through the guides carefully and I'm still getting "the device storage is full." Maybe I'll save some time and hear it's not possible.

Error loading S1 and S2 hub

Error reporter in startup, but the integration works...

Logger: homeassistant.config_entries
Source: components/broadlink/updater.py:34
First occurred: 10:23:30 (2 occurrences)
Last logged: 10:23:30

Error setting up entry S2 for broadlink
Error setting up entry S1 for broadlink
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 313, in async_setup
result = await component.async_setup_entry(hass, self) # type: ignore
File "/usr/src/homeassistant/homeassistant/components/broadlink/init.py", line 35, in async_setup_entry
return await device.async_setup()
File "/usr/src/homeassistant/homeassistant/components/broadlink/device.py", line 117, in async_setup
update_manager = get_update_manager(self)
File "/usr/src/homeassistant/homeassistant/components/broadlink/updater.py", line 34, in get_update_manager
return update_managersdevice.api.type
KeyError: 'S1C'

Sensor error Home Assistant 2023.6.0

After the last update, this error appears and my sensors from broadlink s1c no longer work.
With the previous version they worked perfectly

Logger: homeassistant.loader
Source: custom_components/broadlink_s1c/sensor.py:78
Integration: broadlink_s1c (documentation, issues)
First occurred: 09:23:14 (1 occurrences)
Last logged: 09:23:14

Unexpected exception importing platform custom_components.broadlink_s1c.sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/loader.py", line 833, in get_platform
cache[full_name] = self._import_platform(platform_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 850, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1206, in _gcd_import
File "", line 1178, in _find_and_load
File "", line 1149, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "/config/custom_components/broadlink_s1c/sensor.py", line 78, in
@asyncio.coroutine
^^^^^^^^^^^^^^^^^
AttributeError: module 'asyncio' has no attribute 'coroutine'

Issue with HA core 2021.4.4?

Hi.

I just tried up update to the latest HA core and broadlink entities failed to load.
Rolled back to 2021.3.4 and working again.

Are you aware of any known breaking changes yet? Maybe too early to say?

Thanks

unique_id

Is there a possibility to add a unique_id to the sensors?

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.