Mal wieder virtuelle Geräte - jetzt aber richtig!

Hier habe ich Dir das mal kurz zusammengebaut:

[
    {
        "id": "334b6af8.fbb0fe",
        "type": "tab",
        "label": "Heizung ID:8",
        "disabled": false,
        "info": ""
    },
    {
        "id": "d2797b0d.7a895",
        "type": "comment",
        "z": "334b6af8.fbb0fe",
        "name": "ID 888 Betriebsart",
        "info": "",
        "x": 130,
        "y": 80,
        "wires": []
    },
    {
        "id": "ebba093c.69fb5",
        "type": "ioBroker in",
        "z": "334b6af8.fbb0fe",
        "name": "Betriebsart",
        "topic": "viessmannapi.0.heating.circuits.0.operating.modes.active.value",
        "payloadType": "value",
        "onlyack": "",
        "func": "all",
        "gap": "",
        "fireOnStart": "false",
        "x": 100,
        "y": 120,
        "wires": [
            [
                "6dfe4ebb.be0848"
            ]
        ]
    },
    {
        "id": "6dfe4ebb.be0848",
        "type": "change",
        "z": "334b6af8.fbb0fe",
        "name": "",
        "rules": [
            {
                "t": "change",
                "p": "payload",
                "pt": "msg",
                "from": "standby",
                "fromt": "str",
                "to": "Aus",
                "tot": "str"
            },
            {
                "t": "change",
                "p": "payload",
                "pt": "msg",
                "from": "dhwAndHeating",
                "fromt": "str",
                "to": "Hzg & Warmwasser",
                "tot": "str"
            },
            {
                "t": "change",
                "p": "payload",
                "pt": "msg",
                "from": "dhw",
                "fromt": "str",
                "to": "Nur Warmwasser",
                "tot": "str"
            },
            {
                "t": "change",
                "p": "payload",
                "pt": "msg",
                "from": "forcedReduced",
                "fromt": "str",
                "to": "Dauernd reduziert",
                "tot": "str"
            },
            {
                "t": "change",
                "p": "payload",
                "pt": "msg",
                "from": "forcedNormal",
                "fromt": "str",
                "to": "Dauernd Tagbetrieb",
                "tot": "str"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 300,
        "y": 120,
        "wires": [
            [
                "dc1218df.dfd688"
            ]
        ]
    },
    {
        "id": "dc1218df.dfd688",
        "type": "function",
        "z": "334b6af8.fbb0fe",
        "name": "",
        "func": "var modus = msg.payload;\n\nreturn {\n    payload: {\"attribute\": {\"id\": 888, \"value\": 0, \"data\": modus}}\n}",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "x": 530,
        "y": 120,
        "wires": [
            [
                "797aa90.ceb89d8"
            ]
        ]
    },
    {
        "id": "797aa90.ceb89d8",
        "type": "homeeDevice",
        "z": "334b6af8.fbb0fe",
        "virtual-homee": "",
        "name": "Viessmann-Therme",
        "nodeId": "8",
        "showNodeId": false,
        "profile": "3028",
        "icon": "nodeicon_heatingsystem",
        "attributes": [
            {
                "instance": 0,
                "minimum": 0,
                "maximum": 0,
                "current_value": 0,
                "target_value": 0,
                "last_value": 0,
                "unit": "text",
                "step_value": 1,
                "editable": 0,
                "state": 1,
                "last_changed": 1573711842,
                "changed_by": 1,
                "changed_by_id": 0,
                "based_on": 1,
                "data": "",
                "id": 888,
                "type": 216,
                "node_id": 8
            }
        ],
        "statusTemplate": "",
        "x": 830,
        "y": 120,
        "wires": [
            []
        ]
    }
]

Ich hatte das hier schonmal beschrieben:


Es funktioniert auf jeden Fall mit den Attribut types 44 (Firmware), 45 (Software) und 216 (Programm).

Als Dankeschön für die Vorarbeit darfst Du gerne @stfnhmplr einen Kaffee ausgeben. :wink:

3 „Gefällt mir“

Yes. Danke.
Kaffee wurde serviert :slight_smile:

3 „Gefällt mir“

Die Software und Hardware Version wird aber nicht in der Geräte Übersicht angezeigt.
Habe das mal mit dem Dimmlevel gemacht und dort wird es dann auch in der Übersicht angezeigt.

So sieht es bei meinem Landroid in der Übersicht aus. Hier werden jetzt die Aktuellen Zustände angezeigt.
Bei Bedarf kann man da auch noch die Laufleistung und der gleichen darstellen.

5 „Gefällt mir“

@micha , kannst Flow mal. Einstellen?:wink:

2 „Gefällt mir“

Hier ist der Flow für den Status in der Übersicht

Status , Batterieladung , Batterietemperatur und Klingenlaufzeit

5 „Gefällt mir“

Habe jetzt eine Möglichkeit gefunden ( dank eines Engels ) den homee neu zustarten.
Diesen Neustart kann man durch jedes Ereignis auslösen.

Ein Neustart jede Nacht oder auch wenn die Speicherlast zu hoch wird oder oder oder.

Es muss nur folgender Befehl an die Api gesendet werden.

put:settings?restart_homee=1

Ja so einfach kann es manchmal sein.

Viel Spaß damit.
VG Micha

22 „Gefällt mir“

Super, der Restart funktioniert @Micha . :slight_smile:
Allerdings muss der genutzte Account Chef Homee sein, Homee reicht nicht aus. Dann kommt die Warnung:

{"warning":{"code":500,"description":"You are not allowed to perform this action. Check if you have the right permissions.","message":"You are not allowed to perform this action.","data":{}}}

Danke Micha!

3 „Gefällt mir“

Gebt mal Beispiel für was ihr den genau nutzt?

Es macht Sinn, bei steigendem Festspeicherverbrauch oä in Ruhezeiten neu zu starten, damit es nicht automatisch dann passiert, wenn man das System gerade Freunden vorführt.
:coffee:

4 „Gefällt mir“

Hallo Community,

Könnte mir jemand einen Export vom hih Device des Hörrmann Cubes bereitstellen?
Ich möchte den in NodeRed nachbilden und per Iobroker an das Honematic Gateway anbinden.

Den hörmanncube ? Das geht doch nicht.
Du könntest nur ein Gerät das angelernt ist als Attribut exportieren.

Ich dachte, der Hörmann Würfel kann als Slave per HiH angelernt werden? Und dann vom Master via Homee Api in NR einen Export fahren?
Wollte mir die Arbeit etwas erleichtern, den Torantrieb nachzubauen.
Das Hörrman Gateway von Homematic bietet die komplette Funktionalität inkl. permanenter Statusanzeige. Also besser als der Würfel und für weniger Geld. Vorausgesetzt natürlich Du hast schon Homematic in Betrieb.

Dann willst du also einen Torantrieb als Gerät haben.
@fisch ( du hast doch nen Hörmann Tor )kannst du da helfen mit den Attributen ?

1 „Gefällt mir“

@Micha genau so ist es.

Schick dir morgen einen Flow …

2 „Gefällt mir“

Würdest du mir auch den Flow schicken?
Hätte auch großes Interesse dran.
Vielen Dank

Super!

@Moello @Many

Bitte sehr … doch heute schon .


[
    {
        "id": "d7f540e9.5d0338",
        "type": "change",
        "z": "59733c22.166c0c",
        "name": "true",
        "rules": [
            {
                "t": "change",
                "p": "payload",
                "pt": "msg",
                "from": "true",
                "fromt": "str",
                "to": "{\"attribute\":{\"id\":721,\"value\":0}}",
                "tot": "json"
            },
            {
                "t": "change",
                "p": "payload",
                "pt": "msg",
                "from": "false",
                "fromt": "str",
                "to": "{\"attribute\":{\"id\":721,\"value\":1}}",
                "tot": "json"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 550,
        "y": 1800,
        "wires": [
            [
                "830bbbb6.9271c8"
            ]
        ]
    },
    {
        "id": "80e6a90e.8e9f38",
        "type": "function",
        "z": "59733c22.166c0c",
        "name": "",
        "func": "\nreturn {payload:{\"attribute\": {\"id\":723,\"value\": parseFloat(msg.payload)}}}",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "x": 390,
        "y": 1920,
        "wires": [
            [
                "830bbbb6.9271c8"
            ]
        ]
    },
    {
        "id": "35b64152.7d9e56",
        "type": "function",
        "z": "59733c22.166c0c",
        "name": "",
        "func": "if (msg.payload > \"0\")\nreturn {payload: `false`};",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "x": 390,
        "y": 1840,
        "wires": [
            [
                "d7f540e9.5d0338"
            ]
        ]
    },
    {
        "id": "65338b58.caf60c",
        "type": "function",
        "z": "59733c22.166c0c",
        "name": "",
        "func": "if (msg.payload <= \"-2\")\nreturn {payload: `true`};",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "x": 390,
        "y": 1880,
        "wires": [
            [
                "d7f540e9.5d0338"
            ]
        ]
    },
    {
        "id": "665d48e3.6f99e8",
        "type": "ioBroker in",
        "z": "59733c22.166c0c",
        "name": "Xiaomi Tilt",
        "topic": "zigbee.0.00158d0005431fdd.tilt_angle_x",
        "payloadType": "value",
        "onlyack": "",
        "func": "rbe",
        "gap": "",
        "fireOnStart": "true",
        "x": 120,
        "y": 1840,
        "wires": [
            [
                "35b64152.7d9e56",
                "770dfd81.826294",
                "611c70f2.6586b8"
            ]
        ]
    },
    {
        "id": "3c654bcf.2c3a6c",
        "type": "ioBroker in",
        "z": "59733c22.166c0c",
        "name": "Xiaomi Tilt",
        "topic": "zigbee.0.00158d0005431fdd.tilt_angle_x",
        "payloadType": "value",
        "onlyack": "",
        "func": "rbe",
        "gap": "",
        "fireOnStart": "true",
        "x": 120,
        "y": 1900,
        "wires": [
            [
                "65338b58.caf60c"
            ]
        ]
    },
    {
        "id": "38f07c92.c58fb4",
        "type": "ioBroker in",
        "z": "59733c22.166c0c",
        "name": "",
        "topic": "zigbee.0.00158d0005431fdd.battery",
        "payloadType": "value",
        "onlyack": "",
        "func": "rbe",
        "gap": "",
        "fireOnStart": "true",
        "x": 160,
        "y": 1960,
        "wires": [
            [
                "80e6a90e.8e9f38"
            ]
        ]
    },
    {
        "id": "830bbbb6.9271c8",
        "type": "homeeDevice",
        "z": "59733c22.166c0c",
        "virtual-homee": "",
        "name": "Garage Tilt",
        "nodeId": "720",
        "showNodeId": true,
        "profile": "2012",
        "icon": "nodeicon_garagedoor",
        "attributes": "[{\"id\":721,\"node_id\":720,\"instance\":0,\"minimum\":0,\"maximum\":2,\"current_value\":1,\"target_value\":1,\"last_value\":0,\"unit\":\"n%2Fa\",\"step_value\":1,\"editable\":0,\"type\":10,\"state\":1,\"last_changed\":1572873723,\"changed_by\":1,\"changed_by_id\":0,\"based_on\":1,\"data\":\"\"},{\"id\":723,\"node_id\":720,\"instance\":0,\"minimum\":0,\"maximum\":100,\"current_value\":89,\"target_value\":89,\"last_value\":89,\"unit\":\"%25\",\"step_value\":1,\"editable\":0,\"type\":8,\"state\":1,\"last_changed\":1572970769,\"changed_by\":1,\"changed_by_id\":0,\"based_on\":1,\"data\":\"\"},{\"id\":722,\"node_id\":720,\"instance\":0,\"minimum\":0,\"maximum\":100,\"current_value\":100,\"target_value\":100,\"last_value\":100,\"unit\":\"%25\",\"step_value\":1,\"editable\":0,\"type\":15,\"state\":1,\"last_changed\":1597522878,\"changed_by\":1,\"changed_by_id\":0,\"based_on\":1,\"data\":\"\",\"name\":\"\"}]",
        "x": 760,
        "y": 1840,
        "wires": [
            []
        ]
    },
    {
        "id": "3f24ce53.1e5242",
        "type": "function",
        "z": "59733c22.166c0c",
        "name": "",
        "func": "\nreturn {payload:{\"attribute\": {\"id\":722,\"value\": parseFloat(msg.payload)}}}",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "x": 720,
        "y": 2080,
        "wires": [
            [
                "830bbbb6.9271c8"
            ]
        ]
    },
    {
        "id": "770dfd81.826294",
        "type": "function",
        "z": "59733c22.166c0c",
        "name": "",
        "func": "if (msg.payload > \"0\")\nreturn {payload: 0};",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "x": 540,
        "y": 2060,
        "wires": [
            [
                "3f24ce53.1e5242"
            ]
        ]
    },
    {
        "id": "611c70f2.6586b8",
        "type": "function",
        "z": "59733c22.166c0c",
        "name": "",
        "func": "if (msg.payload <= \"-2\")\nreturn {payload: 100};",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "x": 540,
        "y": 2100,
        "wires": [
            [
                "3f24ce53.1e5242"
            ]
        ]
    }
]

3 „Gefällt mir“

Bist mein Held :blush:

Das ist ja der Tilt , den hattest mir ja schon im Slack gesendet.
:see_no_evil:

1 „Gefällt mir“

Yepp aber , aber die Attribute stehen drin vom Tor… oder irre ich mich ? Mach as gerade vom iPhone

1 „Gefällt mir“