GithubHelp home page GithubHelp logo

jbouwh / ha-elro-connects Goto Github PK

View Code? Open in Web Editor NEW
9.0 3.0 2.0 97 KB

Elro Connects K1 for Home Assistant via HACS

License: MIT License

Python 98.54% Dockerfile 1.46%
elro fire-alarm fire-alarm-monitoring-system hacs-integration home-assistant smart-home siterwell hacs-default

ha-elro-connects's Issues

Error while connecting

I have setup Home Automation in a Docker container and added HACS and elro-components.
After configuring, first just with the connector Id, later with username and password which retrieved the same connector id I added manually in the first round and API key (wasn't retrieved when only using the connector id), I keep on getting the following error:

Config entry 'Elro Connects K1 Connector' for elro_connects integration not ready yet: Not received the expected result, cannot connect to hub 192.168.xxx.xxx with id "ST_............". ('Expecting property name enclosed in double quotes: line 1 column 2 (char 1)',); Retrying in background.
The connector id is all lowercase hex, changing this to upper case didn't work neither did enclosing it in double quotes

Cannot seem to get connection

Hi, I have the Elro K1 and tried to get it connected to Home Assistant via the HACS approach.
After installation I not I trying to get it configured, but I cannot get it to work.

I enter the IP address of the K1 connector (found it in my pfSense setup).
It seems to me that the connector ID is created by prefixing "ST_" to the mac address of the K1 connector. This also makes it quite easy to find the device in the router.

The HA is in the same IP range as the K1 connector. both 192.168.10.x . As pfsense is not blocking any LAN traffic, this should not be any issue.

However, I get an error "Maken van de verbinding mislukt" every time I try to setup the Elro Connects integration.

I tried both approaches:

  1. filling in the IP address and the username/password (leaving other fields as-is. e.g. the port is default 1025)
  2. filling in the IP address and the Connector ID (ST_xxxxx), leaving other fields as-is (no username/password)
    In both scenario's cases the API key is not populated by me.
    After a while a get the mentioned error message.

Because of this issue, i completely removed the Elro package from HACS and reinstalled it, to test it again. Same results.
I observe no issues in the log of HA, only a warning that the custom integration elro_connects has not been tested by Home Assistant (which is pretty normal).

running HA on VMWare (in Unraid)

  • HA OS 9.4
  • HA Core 2023.1.2

How can I debug my issue and find a solution?

When testing with real smoke I see something strange.

Hi Jan,
Thank you for this beautiful elro integration and all the time you have invested in it.
I have a k1 and 6 smoke detectors.
Installed the elro integration via hacs without problems v0.1.5-1
When testing with real smoke I see something strange.
The status goes from NORMAL to n/a and only when the smoke alarm is almost gone it go to the FIRE ALARM status
elro

Error integracion

Hello thanks for your amazing integration. When adding the integration it shows me this error:

Reintentando la configuración: Not received the expected result, cannot connect to hub 192.168.1.103 with id ST_xxxxxxxxxx. ('Expecting property name enclosed in double quotes: line 1 column 2 (char 1)',)

port: 1025
version: v0.1.10

port: 1025
version: v0.1.10
elro devices, those manufactured by siterwell, my devices have not been bought from elro but from siterwell.

sorry my english is not very good and i'm translating from google

Had a real fire alarm, but no status update in HA

Had a fire alarm last night at 4:30 am. Luckily it was a false alarm. I checked the Elro app and found one detector which reported a fire alarm.
But this alarm was not reported in Home Assistant. All detectors still report "Device_state NORMAL". None of them have changed, nor in the history log.

I haven't checked this issue yet in detail, will do that this weekend. But I wanted to report this already. This weekend I will run several test runs. As far as I know, that should change the Device_state as well. Is that true?

I will add details of my findings later. So no action is required yet on this issue.

Other sensors and actuators

Hi,

After reading the manual better I succeeded in installing the integration. It works great with a Elro K1 (found a refurbised one with Elro). As far as I understand it is only suitable for Fire/smoke, heat and CO alarm. Are you planning other sensors in the future? Elro has a nice priced set of addons. I'm interested in the temperature/humidity (SF40TH) and the radiator thermostat (SF40RV). The temperature sensor is great for monitoring or temperature regulation.

Regards
Alex

Device name limited to 15 characters

Thanks for this integration. Gives options for much better push notifications than the Elro app (and I like having everything in HA).

When setting up some of my devices showed up with generic names like FIRE_ALARM while others gave the names I set in the Elro app. After some searching I found that those devices for which the name exceeded 15 characters had this problem. I guess this is hard or impossible to fix, so perhaps it would be good to metion the 15 character name limit in the readme.md.

Unable to connect

When I put in ip address, credentials and even connector ID I get message unable to connect. Also tried without credentials but similar result. Running HA2023.1

I have the Elro connected to guest wifi since this is the only 2.4ghz and the dual band the K1 can't connect to. Might this be the issue? The ip is in similar range as all other local ip's. Any idea how I can connect to the K1 integration?

Where to get cloud credentials to setup integration?

I have just bought 15 smoke and heat detectors and particularly the K1 connector to get them integrated into HA.
Setting up the controller and pairing up all the detectors went just fine, however I'm stuck setting up the integration now.

In the README there is a mention that I need to input "your Elro Connects cloud credentials", however I cannot find anything related to Elro cloud in the android app. Also googling doesn't give any results.
I must be missing something obvious and feeling a bit dumb ;-). Hopefully you can help me further.

Version vor K2?

Hi! Since there are no K1 connectors on the market, are there plans to create an integration for the K2?

k2

Hi, I know thit is not a issue.
But i don't get it worked with a k2.

If you wan't to try something with a k2, i've got one and if you want I can make a test.

Cannot start custom integration "elro_connects" after 2023.08.03

This error originated from a custom integration.

Logger: homeassistant.setup
Source: custom_components/elro_connects/device.py:10
Integration: Elro Connects (documentation, issues)
First occurred: 09:29:49 (1 occurrences)
Last logged: 09:29:49

Setup failed for custom integration elro_connects: Unable to import component: cannot import name 'K1' from 'elro.api' (/usr/local/lib/python3.11/site-packages/elro/api.py)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 215, in _async_setup_component
component = integration.get_component()
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 813, in get_component
ComponentProtocol, importlib.import_module(self.pkg_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1147, 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/elro_connects/init.py", line 12, in
from .device import ElroConnectsK1
File "/config/custom_components/elro_connects/device.py", line 10, in
from elro.api import K1
ImportError: cannot import name 'K1' from 'elro.api' (/usr/local/lib/python3.11/site-packages/elro/api.py)

Port number

Thank you for making this HA integration.
Small question: what port number to choose? / where to find?

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.