GithubHelp home page GithubHelp logo

gicamm / homeassistant-comelit Goto Github PK

View Code? Open in Web Editor NEW
22.0 4.0 7.0 59 KB

With Comelit Hub/Vedo integration, you can connect your Home Assistant instance to Comelit Simple Home and Vedo systems.

License: Apache License 2.0

Python 100.00%
comelit homeassistant comelit-hub comelit-vedo vedo automation

homeassistant-comelit's Introduction

Hi 👋, I'm gicamm

Computer Engineer | PhD with expertise in designing and implementing resilient distributed systems, cloud infrastructure, and advanced storage solutions, including blockchain-based systems. Proficient in machine learning and artificial intelligence.
Passionate about home automation and its potential to enhance everyday life.

Education

Ph.D. in Computer Science and Telecommunication Engineering

  • Università degli studi di Catania, Catania, Italy
  • Thesis: Bio-inspired routing algorithms for Software Defined Networking

Master of Engineering in Computer Engineering

  • Università degli studi di Catania, Catania, Italy
  • Thesis: eDIME: DIME Computing in Erlang. Erlang Middleware for cloud computing (DIME-aware approach).

Bachelor of Engineering in Computer Engineering

  • Università degli studi di Catania, Catania, Italy
  • Thesis: Downtool: programming the equipment maintenance

Publications

  • Di Stefano, A., Cammarata, G., Morana, G., & Zito, D. (2016). A4SDN - Adaptive Alienated Ant Algorithm for Software-Defined Networking. In 10th International Conference on P2P, Parallel, Grid, Cloud and Internet Computing, 3PGCIC 2015 (pp. 344-350). IEEE.
  • Cammarata, G., Di Stefano, A., Morana, G., & Zito, D. (2016). Evaluating the Performance of A4SDN on Various Network Topologies. In 2016 IEEE International Parallel and Distributed Processing Symposium Workshops (IPDPSW) (pp. 801-808). IEEE.
  • Cammarata, G., Di Stefano, A., Morana, G., & Zito, D. (2016). ASSDN: A Framework for Adaptive Strategies for Software-Defined Networking. In 2016 IEEE 25th International Conference on Enabling Technologies: Infrastructure for Collaborative Enterprises (WETICE) (pp. 101-106). IEEE.
  • Cammarata, G., Di Stefano, A., Morana, G., & Zito, D. (2017). Energy-Aware Routing in A4SDN. In CISIS 2017: The 11th International Conference on Complex, Intelligent, and Software Intensive Systems (pp. 577-588). IEEE.
  • Cammarata, G., Mikkilineni, R., Morana, G., & Nocita, R. (2018). Improving Security with Cognitive Workflows. In L. Barolli, F. Xhafa, N. Javaid, E. Spaho, & V. Kolici (Eds.), Advances in Internet, Data & Web Technologies. EIDWT 2018 (pp. ). Springer, Cham.

📄 Know about my experiences https://tinyurl.com/gicamm-cv

Languages and Tools

bash docker erlang git go grafana java jenkins kafka kubernetes linux mariadb mysql pandas postgresql python pytorch redis scikit_learn spring sqlite

Connect with me

giovannicammarata

homeassistant-comelit's People

Contributors

dinamitebla avatar gicamm avatar just-inc-ace avatar optiluca avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

homeassistant-comelit's Issues

Install

Hello
I saw your wonderful plugin and I was wondering: can you tell me how to install it in the home assistant that I didn't understand? What works with your plugin?

Thanks a lot and nice job

No dimmable lights

I have two dimmable lights in my comelit system, but the integration sees It like normal light. Can I modify the entity manually?

Tnx

ONE thermostats not detected

The thermostats included in the ONE device is not detected as thermostat, only as sensor.
I did some debugging and it seems it has a different subtype (12):
{"req_type":0,"req_sub_type":-1,"obj_id":"DOM#CL#66.1","out_data":[{"id":"DOM#CL#66.1","type":9,"sub_type":12,"sched_status":"0","status":"0","powerst":"1","temperatura":"206","auto_man":"2","est_inv":"1","soglia_attiva":"198","out_value_inv":"0","out_value_est":"0","dir_out_inv":"0","dir_out_est":"0","semiauto_enabled":"0"}]}

So, I modified this in hub.py
# skip creating the climate sensor for the PT100 sensor and add compatibility for ONE if HubFields.SUB_TYPE in item and (item["sub_type"] == 16 or item["sub_type"] == 12): self.update_climate(id, description, item)

But when I do this I get an error, as the ONE (not ONE/H) has no humidity sensor on board.
2024-04-25 18:23:22.073 ERROR (MainThread) [homeassistant.components.climate] Error adding entity climate.comelit_climate_living for domain climate with platform comelit Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 580, in _async_add_entities await coro File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 890, in _async_add_entity await entity.add_to_platform_finish() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1334, in add_to_platform_finish self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 998, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1119, in _async_write_ha_state state, attr, capabilities, shadowed_attr = self.__async_calculate_state() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1058, in __async_calculate_state attr.update(self.state_attributes or {}) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 328, in __getattribute__ return super().__getattribute__(__name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 539, in state_attributes if (current_humidity := self.current_humidity) is not None: ^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 328, in __getattribute__ return super().__getattribute__(__name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/comelit/climate.py", line 66, in current_humidity return self._state['measured_humidity'] ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ KeyError: 'measured_humidity'

I can bypass the error by modifying this in climate.py:
@property def current_humidity(self): return self._state['measured_humidity']
in
@property def current_humidity(self): return 10

But this is just a workaround for debugging.
How could I fix this properly?
I had a look, but I'm not a programmer, so can you point me in the right direction.

Firmware update issue (v1.6.0)

Hi gicamm shortly comelit update de 20003150 firmware v1.6.0 .
Basically now hubs change port to 443 instead of 80 and add password to get in in config url , in my case 192.168.1.252:8080 .
Since your addon stop working.

Apreciate any kind of help.

Thanks in advance

Login Error

I've followed the steps in the wiki but when I restart home assistant I get a bunch of warnings and two errors password related errors (I think). home-assistant.log

My configuration.yaml file content is:
comelit:
hub:
host: 192.168.2.228
port: 1883
mqtt-user: hsrv-user
mqtt-password: sf1nE9bjPc
username: ******** [the email that I use to login in the app]
password: ******** [the password that I use to login in the app]
serial: *********
client: homeassistant

My password ends with a "{", could it be the cause of the issue? Thanks in advance, best regards.

Error on installation

Hi,

I get the following error on installation:

Logger: custom_components.comelit.hub
Source: custom_components/comelit/hub.py:205
Integration: Comelit Hub/Vedo (documentation)
First occurred: 21:03:27 (1 occurrences)
Last logged: 21:03:27

'sessiontoken'

What could be the reason?

Replace Device Classes with SensorDeviceClass

Device classes are deprecated. We need to replace them with 'SensorDeviceClass' before 2025.

DEVICE_CLASS_AQI: Final = "aqi"
DEVICE_CLASS_BATTERY: Final = "battery"
DEVICE_CLASS_CO: Final = "carbon_monoxide"
DEVICE_CLASS_CO2: Final = "carbon_dioxide"
DEVICE_CLASS_CURRENT: Final = "current"
DEVICE_CLASS_DATE: Final = "date"
DEVICE_CLASS_ENERGY: Final = "energy"
DEVICE_CLASS_FREQUENCY: Final = "frequency"
DEVICE_CLASS_GAS: Final = "gas"
DEVICE_CLASS_HUMIDITY: Final = "humidity"
DEVICE_CLASS_ILLUMINANCE: Final = "illuminance"
DEVICE_CLASS_MONETARY: Final = "monetary"
DEVICE_CLASS_NITROGEN_DIOXIDE = "nitrogen_dioxide"
DEVICE_CLASS_NITROGEN_MONOXIDE = "nitrogen_monoxide"
DEVICE_CLASS_NITROUS_OXIDE = "nitrous_oxide"
DEVICE_CLASS_OZONE: Final = "ozone"
DEVICE_CLASS_PM1: Final = "pm1"
DEVICE_CLASS_PM10: Final = "pm10"
DEVICE_CLASS_PM25: Final = "pm25"
DEVICE_CLASS_POWER_FACTOR: Final = "power_factor"
DEVICE_CLASS_POWER: Final = "power"
DEVICE_CLASS_PRESSURE: Final = "pressure"
DEVICE_CLASS_SIGNAL_STRENGTH: Final = "signal_strength"
DEVICE_CLASS_SULPHUR_DIOXIDE = "sulphur_dioxide"
DEVICE_CLASS_TEMPERATURE: Final = "temperature"
DEVICE_CLASS_TIMESTAMP: Final = "timestamp"
DEVICE_CLASS_VOLATILE_ORGANIC_COMPOUNDS = "volatile_organic_compounds"
DEVICE_CLASS_VOLTAGE: Final = "voltage"

DEVICE_CLASS_TEMPERATURE -> SensorDeviceClass.TEMPERATURE
DEVICE_CLASS_TEMPERATURE -> SensorDeviceClass.HUMIDITY

stato zone

ciao, non c'è lo stato delle zone allarme vedo, cosa posso fare?

Vedo 34 firmware compatibility

Hi gicamm,
I try to find information about firmware update of Vedo34.
I have installed firmware 2.7.5 and I would like to update it to the last firmware 2.15.x: hardware_boot_version is 0x11. Is possible to update this hw with the last firmware? I know that is out of topic but I could found anywhere else information. For vedoip, vedo8i8o, vedoprox any restriction to update to the last version?
Thanks in advance
Alex

Debug logging extended

Trying to set up the integration and couldn't get the entities to load in home assistant. When enabling the debugging of the custom component, I see some things are happening but I can't follow what is going wrong. Can there be added more feedback or can you help out on where the issue may be? Added a screenshot of the logging.

image

Parte vedo

Riconosce la centrale e mi creare le 2 entità alarm_control_panel, ma non riesco a vedere i sensori. Non mi crea nessun binary_sensor

Error During Setup of Component Comelit

Hello @gicamm ,
here you are the new error appeared today.

I updated comelit integration 1 hour ago (due to a modification of cover.py)
then, I updated HA about 20mins ago.

After that you can see the results below.

Please, could you fix it?
At the moment the integration doesn' t work

Do you need other infos?

Registratore: homeassistant.setup
Fonte: setup.py:398
Prima occorrenza: 21:59:44 (1 occorrenze)
Ultima registrazione: 21:59:44

Error during setup of component comelit
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 398, in _async_setup_component
result = await task
^^^^^^^^^^
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/comelit/init.py", line 38, in setup
conf = config[DOMAIN]
~~~~~~^^^^^^^^
KeyError: 'comelit'

Also, these wanings are important to check:

Registratore: homeassistant.components.alarm_control_panel
Fonte: helpers/deprecation.py:206
Integrazione: Pannello di controllo degli allarmi (documentazione, problemi)
Prima occorrenza: 22:19:03 (6 occorrenze)
Ultima registrazione: 22:19:03

SUPPORT_ALARM_ARM_HOME was used from comelit, this is a deprecated constant which will be removed in HA Core 2025.1. Use AlarmControlPanelEntityFeature.ARM_HOME instead, please report it to the author of the 'comelit' custom integration
SUPPORT_ALARM_ARM_AWAY was used from comelit, this is a deprecated constant which will be removed in HA Core 2025.1. Use AlarmControlPanelEntityFeature.ARM_AWAY instead, please report it to the author of the 'comelit' custom integration
SUPPORT_ALARM_ARM_NIGHT was used from comelit, this is a deprecated constant which will be removed in HA Core 2025.1. Use AlarmControlPanelEntityFeature.ARM_NIGHT instead, please report it to the author of the 'comelit' custom integration

Registratore: homeassistant.components.binary_sensor
Fonte: helpers/deprecation.py:206
Integrazione: Sensore binario (documentazione, problemi)
Prima occorrenza: 22:19:03 (4 occorrenze)
Ultima registrazione: 22:19:03

DEVICE_CLASS_PRESENCE was used from comelit, this is a deprecated constant which will be removed in HA Core 2025.1. Use BinarySensorDeviceClass.PRESENCE instead, please report it to the author of the 'comelit' custom integration
DEVICE_CLASS_MOTION was used from comelit, this is a deprecated constant which will be removed in HA Core 2025.1. Use BinarySensorDeviceClass.MOTION instead, please report it to the author of the 'comelit' custom integration

Registratore: homeassistant.const
Fonte: helpers/deprecation.py:206
Prima occorrenza: 22:19:03 (6 occorrenze)
Ultima registrazione: 22:19:03

TEMP_CELSIUS was used from comelit, 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 'comelit' custom integration
POWER_WATT was used from comelit, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfPower.WATT instead, please report it to the author of the 'comelit' custom integration
DEVICE_CLASS_HUMIDITY was used from comelit, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.HUMIDITY instead, please report it to the author of the 'comelit' custom integration
DEVICE_CLASS_TEMPERATURE was used from comelit, 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 'comelit' custom integration
DEVICE_CLASS_POWER was used from comelit, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.POWER instead, please report it to the author of the 'comelit' custom integration

Registratore: homeassistant.components.climate.const
Fonte: helpers/deprecation.py:206
Integrazione: Climatizzatore (documentazione, problemi)
Prima occorrenza: 22:19:03 (1 occorrenze)
Ultima registrazione: 22:19:03

SUPPORT_TARGET_TEMPERATURE was used from comelit, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.TARGET_TEMPERATURE instead, please report it to the author of the 'comelit' custom integration

Only Vedo alarm and not the HUB

HI there,

Great integration. I only have the VEDO alarm system and not the HUB for the other domotica.

Is there a way to switch of the HUB integration? and only use the integration of the alarm Vedo system,?

Many thanks, Reiant

numerical password causes login error

When a numercial password with leading zeros is used in the config.yaml leading zeros are dropped.
So 000000 is interpreted as 0.

Solution:
Modify
self.hub_password = hub_password
in
self.hub_password = str(hub_password)
in hub.py

Expose hub buttons

Discussed in #39

Originally posted by dotPIX April 2, 2023
Hi Gicamm,
It would be nice and very useful to have the buttons (input components) exposed from the comelit hub.
I was thinking of using the wall switches connected through the 20046501 module as triggers for some zigbee lights and other.
Is it possible to use these components from the hub? Thank you..

btn
btn2

[FR] Add possibilty to use Video entry

I'm using an Video entry System of Comelit and would like to integrate that to HA.
The System i'm using is the Mini Wi-Fi (https://www.comelitgroup.com/en/systems/video-entry-technology/the-home-indoor-video-entry-phones/mini-wi-fi/)

This is connected to the Comelit App and can be used for opening the Latch and display the Video from the Outdoor part.
(https://www.comelitgroup.com/en/systems/video-entry-technology/outdoors-entry-phones-and-monitors/quadra/)

Feature request: Add cool mode to hvac controls

Hi!

My Comelit system controls heating and cooling using radiant floor, but when I use it in HA, it shows the hvac as heating, only.

Would it be possible to configure it to accept also the HVACMode.COOL in the HVACMode for the climate devices discovered by this integration, so it betters describes the current status of the system?

Thanks!

Unable to connect Vedo

For some reason, I cannot connect to my Vedo system. When restarting HA I'm getting the following message:

Screenshot 2024-08-08 at 13 23 09

as you can see I already tried to increase the timeout to 30s (just to be sure)

current configuration:

vedo:
host: 192.168.1.230
port: 80 (also tried other ports 10012, 10012)
password: ***
scan_interval: 30

Local network parameters config in Comelit app:

IMG_3968

the integration with my hub is working fine.

Comelit integration unresponsive

Hello,

I upgraded home assistant Core to 2023.11.2 for your comelit integration, thanks for making this available.

I have been using the homebridge version of Comelit to expose my lights switches and curtains in homekit and that’s working very well (https://github.com/madchicken/homebridge-comelit-sb).

I am now willing to move everything to home assistant and therefore tried your integration. Unfortunately this make the whole system quite unresponsive:

  • up to 10 sec for a light to react
  • around 15-20 sec to get the status update in HA and often « unavailable »
  • The whole HA seems to be affected as everything else become extremely slow as well.

I am using a raspberry pi 3B with only HA straight on ethernet cable (as I do for homebridge btw) and everything was discovered without any problem. I only have this and a couple other integrations (very light HA)

I have a comelit Serial Bridge.

I had to desactivate it for now… anything I may be missing to have it working properly?

thanks for your work and assistance!

Blinds has wrong buttons

Hi gicamm,
thank you so much for your addon. I've been struggling with blinds lately.
HA reports them with wrong command buttons so I can't open or close them.
When a blind is closed just the close button is available.
I reviewed your code and it seems correct, I'm scratching my head around this issue for a few days now...

blinds

VIP door entry systems

Thanks for releasing this!

I'm looking to connect my flat's VIP door entry system (with two-way secure video) to Home Assistant, and then to HomeKit.

Could you point me in the first direction of how to start this project? What Comelit hardware I'd need?

Climate controller

In my system I have a temperature/humidity sensor in each room. With Comelit app I can set the temperature for hot and cold mode independently. I can also manage the dehumidifier. The Comelit integration seem to have some limits and let you manage the hot modality only.

WhatsApp Image 2024-08-12 at 15 08 08
WhatsApp Image 2024-08-12 at 15 08 09 (1)
WhatsApp Image 2024-08-12 at 15 08 09
WhatsApp Image 2024-08-12 at 15 08 10 (1)
WhatsApp Image 2024-08-12 at 15 08 10
WhatsApp Image 2024-08-12 at 15 14 48

unable to connect

Hi guy, nice work.
I try to execute the mosquitto client and look at the output, but no answer .

Need some help if you can . Thanks in advance.

Problema ultimo aggiornamento

Buongiorno, dopo l'ultimo aggiornamento alla versione 2024.5.1 del core, lo stato delle luci e delle tapparelle non si aggiorna. È un problema solo mio?
Grazie

Unable to install the component

Hi,
I tried to add the comelit component to my HA with the following parameters (in bold the info that I modified, the X are for privacy)

Comelit Hub/Vedo

comelit:
hub:
host: 192.168.1.XXX
port: 1883
mqtt-user: hsrv-user
mqtt-password: sf1nE9bjPc
username: 'admin'
password: 'admin'
serial: 0025291717XX(two letters)
client: homeassistant
scan_interval: 2
vedo:
host: VEDO IP ADDRESS
port: 80
password: 'VEDO PASSWORD'
scan_interval: 30
binary_sensors: disable

But I can't get it to work. This is the log of the error.

Registratore: homeassistant.setup
Fonte: setup.py:402
Prima occorrenza: 15:47:06 (1 occorrenze)
Ultima registrazione: 15:47:06

Error during setup of component comelit
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 402, in _async_setup_component
result = await task
^^^^^^^^^^
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/comelit/init.py", line 56, in setup
hub = ComelitHub(hub_client, hub_serial, hub_host, mqtt_port, mqtt_user, mqtt_password, hub_user,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/comelit/hub.py", line 226, in init
self.client.connect(hub_host, mqtt_port, 45)
File "/usr/local/lib/python3.12/site-packages/paho/mqtt/client.py", line 914, in connect
return self.reconnect()
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/paho/mqtt/client.py", line 1044, in reconnect
sock = self._create_socket_connection()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/paho/mqtt/client.py", line 3685, in _create_socket_connection
return socket.create_connection(addr, timeout=self._connect_timeout, source_address=source)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/socket.py", line 852, in create_connection
raise exceptions[0]
File "/usr/local/lib/python3.12/socket.py", line 837, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

Last year I tried HA on a laptop and figured out how to configure the comelit component correctly, but I don't remember how.

Would you be able to help me?

Many thanks.

Covers don't work

Cover entities are not added:

2024-03-13 12:59:24.448 ERROR (MainThread) [homeassistant.components.cover] Error adding entity None for domain cover with platform comelit
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 576, in _async_add_entities
await coro
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 784, in _async_add_entity
supported_features=entity.supported_features,
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/cover/init.py", line 351, in supported_features
if self.current_cover_position is not None:
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/comelit/cover.py", line 45, in current_cover_position
return 100 - self._position

TypeError: unsupported operand type(s) for -: 'int' and 'NoneType'

Comelit VEDO 34 support

Hi. I've never been able to get my VEDO alarm system to work with this. I can't work out if I'm just misunderstanding something, or if my VEDO system is not actually supported.

I have a VEDO 34 unit. I can turn the alarm on/off from the Comelit APP, as well as from an (awful) SimpleHome mini touchscreen or an (even more awful) keypad + LCD display. The only "password" I'm aware of is the PIN I have to insert to disarm the system.

My Comelit Hub (the one that all the MQTT chatter happens with) is at 192.168.1.231. I also have 2 other mystery Comelit devices on my network (.230 and .232).

Based on your code, I gather that the Vedo side of things is not on MQTT. It would also seem to be hosted at a different IP.

I ran a traffic analyser on my phone as I used the Comelit app to arm / disarm the alarm, but looking at the traffic I see nothing that resembles what the code of this integration seems to do.

The evidence is that my Vedo system is hosted at 192.168.1.230, and that communication is happening on port 10012. The communication is all very binary-looking, however. The only intelligible strings are the status messages I receive when the alarm has been armed or disarmed. I see nothing resembling the login strings that the integration constructs.

In any case, I tried running the integration with vedo host = 192.168.1.230, vedo port = 10012, pass but it immediately fails at login:
requests.exceptions.ReadTimeout: HTTPConnectionPool(host='192.168.1.230', port=10012): Read timed out

Am I missing something?

Grazie,

Luca

Binary sensors not visible

I have a vedo only installation (v2.7.3). The integration to control the alarm is working fine (thanks so much!), however with the new release I enabled the binary sensors but they're not exposed in home assistant.

configuration.yaml:

comelit: vedo: host: 192.168.129.230 port: 6082 password: ****** scan_interval: 30 binary_sensors: enable

I noticed in a different issue that you mentioned that the port should be 80, but it seems like my comelit installation is setup on port 6082. When I go to http://192.168.129.230 then I get no web page, but when I go to http://192.168.129.230:6082 then I do get a webpage (where I need to fill out my password).

As you can see there are no sensors here, and neither can I find the sensors when I manually added them in automations starting with "binary_sensor." followed by the names of the zones in comelit.
I can't find any errors in the logs (attached).

image
home-assistant_2024-08-14T10-42-25.127Z.log

Errore

Mi potete aiutare? Mi da questo errore:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 254, in _async_setup_component
result = await task
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/comelit/init.py", line 67, in setup
schema = VEDO_SCHEMA(vedo_conf)
File "/usr/local/lib/python3.9/site-packages/voluptuous/schema_builder.py", line 272, in call
return self._compiled([], data)
File "/usr/local/lib/python3.9/site-packages/voluptuous/schema_builder.py", line 594, in validate_dict
return base_validate(path, iteritems(data), out)
File "/usr/local/lib/python3.9/site-packages/voluptuous/schema_builder.py", line 432, in validate_mapping
raise er.MultipleInvalid(errors)
voluptuous.error.MultipleInvalid: extra keys not allowed @ data['porta']

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.