Beiträge von testpaul999

    Staub

    Mein aktellles System ist ein MSI Cubi N mit Kubuntu 19.10 und kernel 5.4.x.

    Hier läuft der Conbee Stick Problemlos an USB3.0.

    Bin nach meiner "eigenen" Anleitung vorgegangen

    Homebridge auf Trekstore Mini PC W2 und lubuntu 18.4


    ....jetzt Deconz für den ConBee Stick installiert. Achtung hier muss darauf geachtet werden, das der Download für Ubuntu! nicht für RPI erfolgt.

    Hier sind die aktuellen Files zu finden, http://deconz.dresden-elektronik.de/ubuntu/beta/?C=M;O=D

    Wichtig hier ist, das nach der Installation, dass folgendes ausgeführt wird.

    sudo apt update

    sudo apt install -f

    Für den Headless Support von DeConz sudo systemctl enable deconz, nicht vergessen.

    @seydex

    Hallo und ein gesundes Neues erst mal. Wäre es eigentlich möglich auch den aktuellen Strom oder Leistung am Dect200 mit auszulesen in deinen Plugin? Und natürlich anzuzeigen, auszuwerten.


    Danke

    Guten Tag,


    ich habe jetzt mal meine Fritz!Box auf 7.19 "Öffentliche LABOR" hochgerüstet.

    Damit habe ich auch die Möglichkeit DECT Lampen einzubinden "DECT500".

    Dies Lampe erscheint auch in HomeKit, lässt sich aber nicht schalten. :(

    Daten aus der Fritz!Box:

    Smart-Home-Gerät

    ModellHAN-FUN
    Aktor Identifikationsnummer (AIN)12701 00684xx
    Version34.09.15.16.018
    Name
    Verbindungszustand zur FRITZ!Boxic_led_green.gifVerbunden


    Daten aus Homebridge:


    "DECT Lampe": {

    "active": true,

    "ain": "1270100684xx",

    "tempSensor": false,

    "devType": "switch"

    },



    Danke für's Nachdenken.

    Hi, habe heute meine Brücke bekommen und gleich mit dem neuen Plugin in Betrieb genommen.

    Klappt ohne Probleme. Auch der Support ist schnell, hatte einen Copy Fehler in Plugin, der wurde schnell gefunden.

    Hallo,


    ich habe eine Frage/Bitte an die Script-Könner.

    Mit diesen Abfragen sehe ich welchen Schaltzustand der Bot hat.

    pi@386pi:~$ gatttool -t random -b D8:6A:30:A3:32:BD --char-read -a 0x0016

    Characteristic value/descriptor: 57 01 03 -> "on"

    pi@386pi:~$ gatttool -t random -b D8:6A:30:A3:32:BD --char-read -a 0x0016

    Characteristic value/descriptor: 57 01 02 -> "off"


    Wie bekomme ich das jetzt in ein Script welches mir den "echten " Zustand in Homekit anzeigt?



    Das ist die Beschreibung zur script2.

    The state.sh script in this case would be executed to check current state.

    Insure that this script outputs to stdout the matching on value as configured by the on_value config parameter.

    If the on_value matches the on value output of this script then the accessory will be determined to be on.

    Danke schon mal.

    also bei mir läuft das jetzt so ohne Probleme als Schalter.


    {

    "accessory": "Script2",

    "name": "Lüfter",

    "on": "gatttool -t random -b D8:6A:30:A3:32:BD --char-write-req -a 0x0016 -n 570103",

    "off": "gatttool -t random -b D8:6A:30:A3:32:BD --char-write-req -a 0x0016 -n 570102",

    "fileState": "/var/homebridge/script1.flag",

    "on_value": "true"

    }


    Bei "on" bleibt der Arm unten und bei "off" geht er wieder hoch.

    Das alles ohne jemals die APP vom Switchbot benutzt zu haben. ;)

    die von sschuste erwähnte APP.

    Habe in der Community bei switchbot das hier gefunden.


    Zitat

    Hi. I wrote a script which control SwitchBot.

    https://github.com/akr4/smarthome/blob/master/switchbot

    Note that this uses gatttool.

    You can use it in config.json, like:

    "accessories": [ { "accessory": "Script2", "name": "Switchbot1", "on": "/path/to/switchbot XX:XX:XX:XX:XX:XX ON", "off": "/path/to/switchbot XX:XX:XX:XX:XX:XX OFF", "state": "/path/to/switchbot XX:XX:XX:XX:XX:XX", "on_value": "ON" } ]“

    Guten Tag,


    ich habe eine DECT Repeater 100 im Einsatz.

    Leider wird bei der Abfrage folgender Fehler im journal angezeigt.


    Jun 14 09:15:36 386pi homebridge[1146]: [2019-6-14 09:15:36] [FritzPlatform] [ERROR] Repeater Flur oben: An error occured while polling state

    Jun 14 09:15:36 386pi homebridge[1146]: TypeError: Cannot read property 'state' of undefined

    Jun 14 09:15:36 386pi homebridge[1146]: at SmarthomeAccessory.getStates (/usr/lib/node_modules/homebridge-fritz-platform/src/accessories/smarthome.js:196:56)

    Jun 14 09:15:36 386pi homebridge[1146]: at <anonymous>


    Der Repeater selber wird aber sauber angezeigt, auch seine Temperatur wird abgefragt.

    Hallo,

    Ich habe nur mit einem User Presence Probleme, in der Konfig mit „rot“ gekennzeichnet. Er ist jetzt ca. 4h vom WLAN der FritzBox abgemeldet.


    Meine Konfig


    {

    "bridge": {

    "name": "Homebridge",

    "username": "CC:22:3D:E3:CD:29",

    "port": 51515,

    "pin": "110-92-001"

    },

    "accessories": [

    {

    "accessory": "AutomationBluetoothPresence",

    "name": "Dad's iTag",

    "deviceId": "7c:2f:80:99:c6:40",

    "gracePeriod": 9

    }

    ],

    "platforms": [

    {

    "platform": "config",

    "name": "Config",

    "port": 8080,

    "auth": "form",

    "theme": "blue-grey",

    "restart": "sudo systemctl restart homebridge",

    "temp": "/sys/devices/platform/coretemp.0/hwmon/hwmon1/temp2_input",

    "tempUnits": "c",

    "sudo": true,

    "standalone": true,

    "log": {

    "method": "systemd",

    "command": "sudo journalctl -fau homebridge"

    }

    },

    {

    "platform": "Hue",

    "host": "127.0.0.1",

    "users": {

    "00212EFFFF0137C7": "949D125781"

    },

    "sensors": true,

    "lights": true,

    "wallSwitch": true,

    "heartrate": 5,

    "excludeSensorTypes": [

    "Daylight"

    ]

    },

    {

    "platform": "MaxCubePlatform",

    "name": "MaxCube Platform",

    "ip": "192.168.2.222",

    "port": 62910,

    "allow_wall_thermostat": false,

    "default_temp": 15,

    "off_temp": 5

    },

    {

    "platform": "FritzPlatform",

    "devices": {

    "FRITZ!Box 7590": {

    "active": true,

    "host": "192.168.2.1",

    "port": 49000,

    "username": "",

    "password": "",

    "type": "dsl",

    "master": true,

    "mesh": true,

    "readOnly": true,

    "options": {

    "reconnect": false,

    "wifi2": [

    false,

    false

    ],

    "wifi5": [

    false,

    false

    ],

    "wifiGuest": [

    false,

    false

    ],

    "wps": [

    false,

    false

    ],

    "aw": [

    false,

    false

    ],

    "deflection": [

    false,

    false

    ],

    "led": [

    false,

    false

    ],

    "lock": [

    false,

    false

    ]

    }

    },

    "Repeater-WZ": {

    "active": true,

    "host": "192.168.2.4",

    "port": 49000,

    "username": "",

    "password": "",

    "type": "repeater",

    "readOnly": true,

    "options": {

    "wifi2": [

    false,

    false

    ],

    "wifi5": [

    false,

    false

    ],

    "wifiGuest": [

    false,

    false

    ],

    "wps": [

    false,

    false

    ],

    "led": [

    false,

    false

    ]

    }

    },

    "Repeater-Arbeitszimmer": {

    "active": true,

    "host": "192.168.2.5",

    "port": 49000,

    "username": "",

    "password": "",

    "type": "repeater",

    "readOnly": true,

    "options": {

    "wifi2": [

    false,

    false

    ],

    "wifi5": [

    false,

    false

    ],

    "wifiGuest": [

    false,

    false

    ],

    "wps": [

    false,

    false

    ],

    "led": [

    false,

    false

    ]

    }

    }

    },

    "presence": {

    "user": [

    {

    "active": true,

    "name": "Anette iPhone",

    "address": "F0:99:BF:2F:b:b"

    },

    {

    "active": true,

    "name": "Dite iPhone",

    "address": "18:65:90:8A:v:v"

    },

    {

    "active": true,

    "name": "Omel iPhone",

    "address": "80:BE:05:82:x:x"

    },

    {

    "active": true,

    "name": "Drucker",

    "address": "2C:6F:C9:49:c:c"

    },

    {

    "active": true,

    "name": "JUF iPhone",

    "address": "38:53:9C:C6:x:x"

    }

    ],

    "anyone": false,

    "offDelay": 2,

    "onDelay": 2

    },

    "smarthome": {

    "Repeater Flur oben": {

    "active": true,

    "ain": "087610859944",

    "tempSensor": true,

    "devType": "switch"

    },

    "Fernseher": {

    "active": true,

    "ain": "087610226897",

    "tempSensor": true,

    "devType": "switch"

    },

    "Stehlampe": {

    "active": true,

    "ain": "087610229590",

    "tempSensor": true,

    "devType": "switch"

    },

    "Licht Gartenhaus": {

    "active": true,

    "ain": "087610087090",

    "tempSensor": true,

    "devType": "switch"

    },

    "Licht Apfelbaum": {

    "active": true,

    "ain": "087610079122",

    "tempSensor": true,

    "devType": "switch"

    },

    "Pumpe": {

    "active": true,

    "ain": "116570018303",

    "tempSensor": true,

    "devType": "switch"

    },

    "Steckdose AZ": {

    "active": true,

    "ain": "087610079123",

    "tempSensor": true,

    "devType": "switch"

    },

    "WSterne Kueche": {

    "active": true,

    "ain": "087610340529",

    "tempSensor": true,

    "devType": "switch"

    },

    "WSterne HWR": {

    "active": true,

    "ain": "087610208071",

    "tempSensor": true,

    "devType": "switch"

    },

    "Fenster HWR": {

    "active": true,

    "ain": "119340107283",

    "devType": "contact"

    }

    },

    "polling": 5,

    "timeout": 5,

    "clearCache": false,

    "debug": false,

    "alarm": {

    "active": false,

    "telNr": "",

    "duration": 30

    },

    "wakeup": {

    "active": false,

    "internNr": "",

    "duration": 30

    },

    "broadband": {

    "active": false,

    "measureTime": 5

    },

    "extReboot": {

    "active": false,

    "cmdOn": "",

    "cmdOff": ""

    },

    "telegram": {

    "active": false,

    "token": "",

    "chatID": "",

    "presence": {

    "in": "",

    "out": "",

    "anyoneIn": "",

    "anyoneOut": ""

    },

    "callmonitor": {

    "incoming": "",

    "disconnected": ""

    },

    "alarm": {

    "activated": "",

    "deactivated": ""

    },

    "extReboot": {

    "start": "",

    "finish": ""

    }

    },

    "callmonitor": {

    "active": false,

    "ip": "0.0.0.0",

    "port": 1012,

    "country": "",

    "incomingTo": [],

    "outgoingFrom": []

    },

    "wol": [

    {

    "active": false,

    "name": "Test Device",

    "address": "00:00:00:00:00:00"

    }

    ],

    "ringlock": {

    "active": false,

    "DECTphones": 1,

    "start": "11:00",

    "end": "22:00"

    },

    "disableAutoSearch": false,

    "disableAutoConfig": false

    }

    ],

    "id": "config"

    }


    In der Fritzbox ist der User nicht im WLAN zu sehen

    Aber sowohl HomeKit wie auch ConfigUI sehen den USer als anwesend.


    Was habe ich schon versucht?

    - User in config gelöscht und reboot

    - Ordner persist und assessoarys geleert und reboot.


    Habe keine Idee mehr so richtig.


    Danke für Eure Tipps.

    Hallo, nach Update und Anpassung bekomme ich kein Presence mehr.

    das ist meine derzeitige config für fritz.


    {

    "platform": "FritzPlatform",

    "devices": {

    "FRITZ!Box 7590": {

    "active": true,

    "host": "192.168.2.1",

    "port": 49000,

    "username": "",

    "password": "",

    "type": "dsl",

    "master": true,

    "mesh": true,

    "readOnly": true,

    "options": {

    "reconnect": false,

    "wifi2": [

    false,

    false

    ],

    "wifi5": [

    false,

    false

    ],

    "wifiGuest": [

    false,

    false

    ],

    "phoneBook": false,

    "wps": [

    false,

    false

    ],

    "aw": [

    false,

    false

    ],

    "deflection": [

    false,

    false

    ],

    "led": [

    false,

    false

    ],

    "lock": [

    false,

    false

    ]

    }

    },

    "Repeater-WZ": {

    "active": true,

    "host": "192.168.2.4",

    "port": 49000,

    "username": "",

    "password": "",

    "type": "repeater",

    "readOnly": true,

    "options": {

    "wifi2": [

    false,

    false

    ],

    "wifi5": [

    false,

    false

    ],

    "wifiGuest": [

    false,

    false

    ],

    "wps": [

    false,

    false

    ],

    "led": [

    false,

    false

    ]

    }

    },

    "Repeater-Arbeitszimmer": {

    "active": true,

    "host": "192.168.2.5",

    "port": 49000,

    "username": "",

    "password": "",

    "type": "repeater",

    "readOnly": true,

    "options": {

    "wifi2": [

    false,

    false

    ],

    "wifi5": [

    false,

    false

    ],

    "wifiGuest": [

    false,

    false

    ],

    "wps": [

    false,

    false

    ],

    "led": [

    false,

    false

    ]

    }

    }

    },

    "presence": {

    "user": [

    {

    "active": true,

    "name": "JUF iPhone",

    "adress": "38:53:9C:C6:E7:B7"

    },

    {

    "active": true,

    "name": "Dite iPhone",

    "adress": "18:65:90:8A:9B:BC"

    },

    {

    "active": true,

    "name": "Anette iPhone",

    "adress": "F0:99:BF:2F:8C:6E"

    },

    {

    "active": true,

    "name": "Omel iPhone",

    "adress": "80:BE:05:82:15:3B"

    },

    {

    "active": true,

    "name": "Drucker",

    "adress": "2C:6F:C9:49:FF:80"

    }

    ],

    "anyone": false,

    "offDelay": 15,

    "onDelay": 5

    },

    "smarthome": {

    "Fernseher": {

    "active": true,

    "ain": "087610226897",

    "tempSensor": true,

    "devType": "switch"

    },

    "Stehlampe": {

    "active": true,

    "ain": "087610229590",

    "tempSensor": true,

    "devType": "switch"

    },

    "Licht Gartenhaus": {

    "active": true,

    "ain": "087610087090",

    "tempSensor": true,

    "devType": "switch"

    },

    "Licht Apfelbaum": {

    "active": true,

    "ain": "087610079122",

    "tempSensor": true,

    "devType": "switch"

    },

    "Pumpe": {

    "active": true,

    "ain": "116570018303",

    "tempSensor": true,

    "devType": "switch"

    },

    "Steckdose AZ": {

    "active": true,

    "ain": "087610079123",

    "tempSensor": true,

    "devType": "switch"

    },

    "WSterne Kueche": {

    "active": true,

    "ain": "087610340529",

    "tempSensor": true,

    "devType": "switch"

    },

    "WSterne HWR": {

    "active": true,

    "ain": "087610208071",

    "tempSensor": true,

    "devType": "switch"

    },

    "Fenster HWR": {

    "active": true,

    "ain": "119340107283",

    "devType": "contact"

    }

    },

    "polling": 5,

    "timeout": 5,

    "debug": true,

    "clearCache": false,

    "callmonitor": {

    "active": false,

    "ip": "0.0.0.0",

    "port": 1012,

    "country": "",

    "incomingTo": [],

    "outgoingFrom": []

    },

    "wol": [

    {

    "active": false,

    "name": "Test Device",

    "address": "00:00:00:00:00:00"

    }

    ],

    "alarm": {

    "active": false,

    "telNr": "",

    "duration": 30

    },

    "wakeup": {

    "active": false,

    "internNr": "",

    "duration": 30

    },

    "ringlock": {

    "active": false,

    "DECTphones": 1,

    "start": "11:00",

    "end": "22:00"

    },

    "broadband": {

    "active": false,

    "measureTime": 5

    },

    "extReboot": {

    "active": false,

    "cmdOn": "",

    "cmdOff": ""

    },

    "telegram": {

    "active": false,

    "token": "",

    "chatID": "",

    "presence": {

    "in": "",

    "out": "",

    "anyoneIn": "",

    "anyoneOut": ""

    },

    "callmonitor": {

    "incoming": "",

    "disconnected": ""

    },

    "alarm": {

    "activated": "",

    "deactivated": ""

    },

    "extReboot": {

    "start": "",

    "finish": ""

    }

    }

    }

    Also, wenn man sich an die Voraussetzungen hält und mit Node 8.x (bei mir 8.16) arbeitet funktioniert es tatsächlich. Ich habe in der Index.js noch die rescan Zeit verkürzt. Trotzdem scheint def BLE Scan nicht sehr zuverlässig zu sein, selbst wenn der Tag am selben Platz liegt wird er manchmal als inaktiv erkannt und die Apfel-Uhr findet der Scan garnicht ??. Leider Scheit auch der Entwickler nicht mehr aktiv zu sein, keine Reaktion auf git-hub.