mgcrea / homebridge-tydom

Homebridge plugin to manage Tydom hardware by Delta Dore from Apple HomeKit.
63 stars 14 forks source link

Changing the logo for a Tyxia 6410 #52

Open StephanH27 opened 3 years ago

StephanH27 commented 3 years ago

Describe the bug

Not exactly a bug ... I use different Tyxia 6410 for light and for a portal The only logo I can have is a light. I can't have a portal IMG_ABF3D0914BE5-1

Related hardware

Tyxia 6410 (in pulse mode)

Expected behavior

choosing another logo on the "Home" Apple App

Logs

[1/15/2021, 11:50:06 AM] [Tydom] Found new tydom device named="Portail" with id="844c3979-d20a-449e-9274-a0590ce1ff11" [1/15/2021, 11:50:06 AM] [Tydom] Updating accessory named="Portail" with id="844c3979-d20a-449e-9274-a0590ce1ff11"

{ "first_usage": "gate", "id_device": 47, "name": "Portail", "last_usage": "gate", "picto": "picto_gate", "id_endpoint": 47, "anticipation_start": false },

Dumps Tydom.DEBUG.txt Tydom.node.txt tydom_output.json.txt

mgcrea commented 2 years ago

You can use the "settings" key in the config to override the category for a specific device id (4 is a gate)

      "settings": {
        "1528565701": {"category": 4},
      }
StephanH27 commented 2 years ago

Merci. Device Id should be 47 ???

[12/19/2021, 6:00:56 AM] [Tydom] Found new device with firstUsage='gate', deviceId=47 and endpointId=47 [12/19/2021, 6:00:56 AM] [Tydom] Adding new device with firstUsage='gate', deviceId=47 and endpointId=47 [12/19/2021, 6:00:56 AM] [Tydom] Found new tydom device named='Portail' with deviceId=47 (id=844c3979-d20a-449e-9274-a0590ce1ff11)

StephanH27 commented 2 years ago

Je ne vois pas où ajouter cela à mon fichier de conf (PJ config (bis).json.txt )

mgcrea commented 2 years ago
{
    "bridge": {
        "name": "Homebridge 3ACC",
        "username": "0E:17:CB:5D:3A:CC",
        "port": 51405,
        "pin": "031-45-154",
        "advertiser": "ciao"
    },
    "accessories": [],
    "platforms": [
        {
            "name": "Config",
            "port": 8581,
            "platform": "config"
        },
        {
            "hostname": "mediation.tydom.com",
            "username": "001A25XXXXXX",
            "password": "ABCDEFGH",
            "platform": "Tydom",
            "settings": {
                "47": {"category": 4},
                "197849": {
                    "pin": "1234",
                    "aliases": {
                        "stay": [
                            1
                        ],
                        "night": [
                            2
                        ],
                        "away": [
                            3
                        ]
                    },
                    "sensors": false
                }
            }
        }
    ]
}
StephanH27 commented 2 years ago

Merci beaucoup ! Mais cela ne semble pas changer grand chose (après redémarrage) ..(Cf copie de l'interface HomeBridge Capture d’écran 2021-12-19 à 14 35 16 )

StephanH27 commented 2 years ago

Globalement, vu que l'alarme n'est pas non plus reconnue, j'ai un doute sur la qualité de mon fichier de conf json ...

mgcrea commented 2 years ago

Oui non au fait le device est déjà dans la bonne catégorie (gate) donc pas besoin de le re-affecter. Pour les icônes normalement tu peux choisir parmi plusieurs directement dans l'application Maison d'apple (et j'imagine que l'UI d'homebridge reflète cela).

StephanH27 commented 2 years ago

Merci. Le choix est très limité ... image

StephanH27 commented 1 year ago

Le portail est désormais reconnu comme un portail, et Siri peut le fermer.

Merci beaucoup !!!