Code Monkey home page Code Monkey logo

homebridge-comelit-hub's People

Contributors

dependabot[bot] avatar madchicken avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar

homebridge-comelit-hub's Issues

Home entry compatibility?

Apologies if this is off-topic for this plugin (which I notice is limited to HUB integration), but do you have any insight into whether it’s possible to expose devices in Comelit’s home entry line of products to homebridge? I have a 6741w entry monitor that’s compatible with Alexa and Google. You seem to have more experience integrating Comelit devices than anyone else I could find, I just thought I would ask.

Homebridge dependency warning

Hi there,

We've noticed your plugin is using homebridge as a prod-dependency.

Homebridge should only be included in plugins as a dev-dependency and used for TypeScript types.

In the next release of we are changing Homebridge to only export types and const enums which can be safely used in your code and not result in Homebridge becoming a runtime dependency.

Please also make sure you are using TypeScript 3.8 or later.

You can test this out using the current beta of Homebridge:

npm install --save-dev homebridge@beta

For examples of how to use Homebridge in a plugin for types/enums only see:

Works well once

Hi guy , fantastic job . My issue is when i activate something (light , thermostat , ..) it works fine but the second time that i try to use it again an exclamation point came to my iphone screen .With Siri got the same way first time she works well but second time she says "thermostat , light , ... don´t answer" . After rebooting got always the same . Need some help . Thanks in advance

Any possibility of getting doorbell notifications?

I've got a Mini WiFi 6742w working for opening my gate and your homebridge plugin. I did have to make a few modifications to the "door" category code, as after opening it would hang. I have a magnetic latch set for a 3 second open time.

My doorbell is a Visto Ethernet VS8101 and I'm able to get video into homebridge using the ffmpeg plugin after enabling the built in RTSP server. You need to do this using the VIP manager software in "Advanced" mode. Now I can see full time video from the camera.

The last step to getting everythign working is getting doorbell notifications from the Visto doorbell and I'm stuck.

Fakegato history

Hi, could you give us some information to use fakegato history?
is it enough to align with the latest release or is it necessary to have some plugins or create details?

thank you

Device ID continues to change

Hi,
I have condigured the homebridge with comelit hub.
I use this bridge on home assistant.
I have seen that every reboot the id of the devices change and create duplicates on home assistant.
I have flag Enabled on comelit homebridge (avoid duplicates)
Can you help me?
Thanks

Received message could not be processed on instant power sensor

Hi there,
in my own environment, there are 3 Comelit sensors that report instant power consumption.
is it possibile to configure them as Power Management sensors?

I'd like to collaborate in this repo with pull requests, but I'm still learning your library right now.
In the meantime, thanks for the support.

[15/11/2020, 17:45:43] [Comelit] Updating DOM#CN#12.1 with data {"id":"DOM#CN#12.1","type":11,"sub_type":15,"sched_status":"0","sched_lock":"1970-01-01 01:00:00","status":"255","powerst":"255","instant_power":"0.000000"}
[15/11/2020, 17:45:43] [Comelit] Reporting instant consumption of 0.000000Wh
Received message could not be processed {
req_type: 0,
req_sub_type: -1,
obj_id: 'DOM#CN#12.1',
out_data: [
{
id: 'DOM#CN#12.1',
type: 11,
sub_type: 15,
sched_status: '0',
sched_lock: '1970-01-01 01:00:00',
status: '255',
powerst: '255',
instant_power: '0.000000'
}
],
status: NaN
}

[15/11/2020, 17:45:46] [Comelit] Updating DOM#CN#11.1 with data {"id":"DOM#CN#11.1","type":11,"sub_type":15,"sched_status":"0","sched_lock":"1970-01-01 01:00:00","status":"255","powerst":"255","instant_power":"1232.000000"}
[15/11/2020, 17:45:46] [Comelit] Reporting instant consumption of 1232.000000Wh
Received message could not be processed {
req_type: 0,
req_sub_type: -1,
obj_id: 'DOM#CN#11.1',
out_data: [
{
id: 'DOM#CN#11.1',
type: 11,
sub_type: 15,
sched_status: '0',
sched_lock: '1970-01-01 01:00:00',
status: '255',
powerst: '255',
instant_power: '1232.000000'
}
],
status: NaN
}

[15/11/2020, 17:45:46] [Comelit] Updating DOM#CN#10.1 with data {"id":"DOM#CN#10.1","type":11,"sub_type":15,"sched_status":"0","sched_lock":"1970-01-01 01:00:00","status":"255","powerst":"255","instant_power":"44.000000"}
[15/11/2020, 17:45:46] [Comelit] Reporting instant consumption of 44.000000Wh
Received message could not be processed {
req_type: 0,
req_sub_type: -1,
obj_id: 'DOM#CN#10.1',
out_data: [
{
id: 'DOM#CN#10.1',
type: 11,
sub_type: 15,
sched_status: '0',
sched_lock: '1970-01-01 01:00:00',
status: '255',
powerst: '255',
instant_power: '44.000000'
}
],
status: NaN
}

Installation

The installation produce this error:

ScreenHunter_02 Jul  30 17 25

and the homebridge this:
image

Module 20004606 ( blinds )

Hi @madchicken ,
next days i'll install the new module 20004606 ( known as MODULO TAPPARELLE 2IN/2OUT - ART. 20004606 ) in my home.
I'd like to ask two questions:

  • you can set, on configuration json, a blind_closing_time variable, but, i suppose, it works for all bilnds ( not considering blinds with different heigh and closing time). Using this module , is it possibile to read the closing time from the hub ? Or, if not, you can set a custom blind_closing_time value for all blinds?
  • if you haven't a 20004606 module, what do you need to help the community to implement this feature ( eg: logs)?

Thanks

Datasheet extract :

TAPPARELLA: questa opzione permette di comandare una tapparella o un’automazione con doppia uscita (apertura, chiusura e posizione percentuale). Impostando l’uscita 1 come "Tapparella" automaticamente viene impostata anche l'uscita 2 come "Tapparella" in quanto in questa modalità le uscite funzionano in modo abbinato. Inoltre con questa funzione si crea un interblocco che evita l’attivazione contemporanea delle uscite di salita e discesa. Se si lascia un tempo pari a 0 le uscite verranno attivate per 0,5 secondi. Il comando della tapparella da locale può essere fatto solamente con 2 pulsanti di comando, uno per la salita e uno per la discesa. Partendo con la tapparella alzata, premendo il pulsante di discesa la tapperella inizia a scendere per il tempo programmato. Se si vuole fermare la tapparella in un punto qualsiasi bisogna premere il pulsante inverso al movimento, quindi se si sta abbassando basta premere il pulsante per l’apertura. A quel punto, con la tapparella ferma è possibile premere nuovamente il pulsante di apertura o di chiusura per far ripartire il movimento.
Tramite Maxi Manager e Comelit app è anche possibile impostare la tapparella ad una posizione intermedia rispetto allo 0% completamente aperta, 100% completamente chiusa e visualizzarne lo stato percentuale.
La posizione percentuale viene calcolata in relazione al tempo di corsa impostato.

I comandi eseguiti verso uscite configurate come "Tapparella" devono essere di tipo NORMALE. Non vengono considerati dal modulo comandi di SET e RESET sull’uscita configurata come "Tapparella".

[Bug] Blind control is weak

Current blinds control is sometimes unpredictable since the only information we get from the HUB is that the blind is open (even if it's closed).
HomeKit allows opening a blind with a percentage value (like 'open the blind at 50%'), but the HUB does not. I simulated the percentage with timers, but it doesn't always work.
We need a fix for this

Error while sending packet

Hi,
I've more than 100 Comelit objects, so I need to run multiple Homebridge instances.
I've configured the first one scanning only lights and the second one scanning others sensors.

I'm using hb-service to run more than one instance, and these are the configurations:

{
    "bridge": {
        "name": "Homebridge AEA8",
        "username": "0E:97:16:D5:AE:A8",
        "port": 51193,
        "pin": "###-###-###"
    },
    "accessories": [],
    "platforms": [
        {
            "name": "Config",
            "port": 8581,
            "auth": "form",
            "theme": "indigo",
            "tempUnits": "c",
            "lang": "it",
            "sudo": true,
            "platform": "config"
        },
        {
            "name": "Comelit",
            "broker_url": "###.###.###.###",
            "username": "###",
            "password": "###",
            "blind_closing_time": 35,
            "keep_alive": 120000,
            "avoid_duplicates": true,
            "hide_lights": false,
            "hide_blinds": true,
            "hide_thermostats": true,
            "hide_power_suppliers": true,
            "hide_outlets": true,
            "hide_others": true,
            "platform": "Comelit"
        }
    ]
}
{
    "bridge": {
        "name": "Homebridge FAA9",
        "username": "0E:A2:E5:95:FA:A9",
        "port": 51716,
        "pin": "###-###-###"
    },
    "accessories": [],
    "platforms": [
        {
            "name": "Blinds",
            "port": 8582,
            "auth": "form",
            "theme": "green",
            "tempUnits": "c",
            "lang": "it",
            "sudo": true,
            "platform": "config"
        },
        {
            "name": "Comelit Blinds",
            "broker_url": "###.###.###.###",
            "username": "###",
            "password": "###",
            "blind_closing_time": 35,
            "keep_alive": 120000,
            "avoid_duplicates": true,
            "hide_lights": true,
            "hide_blinds": false,
            "hide_thermostats": false,
            "hide_power_suppliers": false,
            "hide_outlets": false,
            "hide_others": false,
            "platform": "Comelit"
        }
    ]
}

When I run the second one, it doesn't discover anything and you can see this error message:

[08/12/2020, 15:43:07] [Comelit Blinds] Error while sending packet
(node:387) UnhandledPromiseRejectionWarning: Error: Timeout for message:  {"req_type":0,"seq_id":4,"req_sub_type":-1,"sessiontoken":"648829150","obj_id":"GEN#17#13#1","detail_level":1}
    at /usr/local/lib/node_modules/homebridge-comelit-platform/node_modules/comelit-client/src/promise-queue.ts:49:30
    at Array.reduce (<anonymous>)
    at ComelitClient.cleanPending (/usr/local/lib/node_modules/homebridge-comelit-platform/node_modules/comelit-client/src/promise-queue.ts:43:40)
    at Timeout._onTimeout (/usr/local/lib/node_modules/homebridge-comelit-platform/node_modules/comelit-client/src/promise-queue.ts:36:14)
    at listOnTimeout (internal/timers.js:554:17)
    at processTimers (internal/timers.js:497:7)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:387) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)

Is it compatible?

Hi everyone!
I just have a question, is this compatible?
Thanks in advance!

BB5413D7-53F1-4231-B0ED-1FA40C570AC1

[BUG] ReadMe link to Sentry DSN is incorrect

Describe the bug
ReadMe file links to https://sentry.com/ for information on what a Sentry DSN is. This is not the correct site, as sentry.com is a business insurance broker.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Project ReadMe
  2. Click on http://sentry.com
  3. See that this has nothing to do with technical DSN connections

Expected behavior
Maybe more information on what the sentry dsn is, and a link to documentation?

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • Node version: [e.g. 16.6.6]
  • Homebridge version [e.g. 1.5.0]
  • Plugin Version [e.g. 2.6.3]

Startup logs
An extract of the startup log of homebridge

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.