NEWS
Script fürTabelle der Batterie Zustände
-
probier mal diese zeile aus - damit sollten die :0 im namen verschwinden
val0=ida[0].replace(/:\..+/g,"");
-
@Adnim kannst du das script für sigi mal testen - ob deine werte auch angezeigt werden - einfach eine datenpunkt anlegen und diesen dp dann im script ganz oben eintragen - unter "let dpVis=..."
https://forum.iobroker.net/post/355570 -
sigi - schalte das " let braucheEinFile auf false - du brauchst ja keine datei für iQontrol
-
@liv-in-sky sagte in Script mit Tabelle der Batterie Zustände:
val0=ida[0].replace(/:..+/g,"");
Nein
counter++; // SEHR WICHTIG - MUSS IN JEDER SCHLEIFE INTEGRIERT SEIN val0=getObject(id).common.name ; //ida[2]+"."+ida[3]; var ida = val0.split('.'); val0=ida[0].replace(/:\..+/g,""); // log(val0+" "+id); val1help=getState(id).val;
-
val0=ida[0].replace(/:.+/g,"");
-
-
@sigi234 geht das script nicht mehr oder was steht drin wenn du das machst - unter dem hm-rpc.1.*.......
val0=ida[0].replace(/:.+/g,"");
zeig mir mal das ergebnis
-
@liv-in-sky sagte in Script mit Tabelle der Batterie Zustände:
val0=ida[0].replace(/:.+/g,"");
20:51 ???
Ok, in Vis geht es mit bindings.
Im Browser wird nicht aktualisiert.
-
@sigi234 das script läuft nur alle 2 stunden
und wenn du es sichersthast du das braucheEinFile auf false - dann wird nix geschrieben im browser - nur mit true
-
Moin Moin,
das sieht nicht schlecht aus. Ein paar Geräte mit Netzversorgung werden angezeigt. In den Objekts sieht man das EQ3 hier einfach die gleichen States drinne hat obwohl sie keinen Sinn machen, das wird wohl schwierig abzufangen sein.Mein HM IP teile stehen gerade aber noch nicht drinne; mag das an der Form des States liegen?
hm-rpc.3.XXXX.0.LOW_BAT`
Was mir gerade noch auffällt: hue-extended.0.sensors.002-hue_dimmer_switch_1.config.battery
Anscheinend durch die Nutzung des Hue extended wird das nicht gefunden, kann man Hue und Hue extended unterstützen?
-
@Adnim
das abfangen würde sehr einfach funktionieren, wenn es eine logic dahinter gibt - also wenn ein bestimmtes wort in der id oder im namen immer auftaucht - oder es eine bestimmte zusammensetzung der id's gibt - diese könnten gefiltert werdenprobier das script mal - habe versucht hm-ip und hue-extended mit reinzubringen
-
@Adnim falls wir das näher untersuchen müssen: man kann auch die struktur im admin exportieren - also ein json file erzeugen
so könnte ich deine datenpunkte besser analysieren sieht dann so aus - in nodepad++
-
@liv-in-sky sagte in Script mit Tabelle der Batterie Zustände:
probier das script mal
Hue Funzt jetzt aber HM IP noch nicht.
Hier mal der Auszug eines Gerätes mit Netzbetrieb und den LOW Batt States: (HM Device)
"hm-rpc.1.OEQ2401095.0.LOWBAT": { "type": "state", "common": { "def": false, "type": "boolean", "read": true, "write": false, "role": "indicator.lowbat", "name": "Warmwasserboiler:0.LOWBAT" }, "native": { "DEFAULT": false, "FLAGS": 9, "ID": "LOWBAT", "MAX": true, "MIN": false, "OPERATIONS": 5, "TAB_ORDER": 3, "TYPE": "BOOL", "UNIT": "" }, "from": "system.adapter.hm-rega.0", "user": "system.user.admin", "ts": 1560601033952, "_id": "hm-rpc.1.OEQ2401095.0.LOWBAT", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.administrator" } }, "hm-rpc.1.OEQ2401095.0.LOWBAT_ALARM": { "type": "state", "common": { "name": "Warmwasserboiler:0.LOWBAT_ALARM", "type": "number", "role": "indicator.alarm", "read": true, "write": true, "def": 0, "states": { "0": "NO ALARM", "1": "ALARM", "2": "ACKNOWLEDGED" } }, "native": { "Name": "Warmwasserboiler:0.LOWBAT_ALARM", "TypeName": "ALARM", "DP": "40058" }, "from": "system.adapter.hm-rega.0", "user": "system.user.admin", "ts": 1560601035347, "_id": "hm-rpc.1.OEQ2401095.0.LOWBAT_ALARM", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.administrator" }
Das ist HM-IP Gerät (wird noch nicht erkannt)unter OPERATING_VOLTAGE_STATUS wird auch die Spannung direkt angezeigt
{ "hm-rpc.3.0014D8A98A146F": { "_id": "hm-rpc.3.0014D8A98A146F", "type": "device", "common": { "name": "HmIP-SMI55 0014D8A98A146F" }, "native": { "TYPE": "HmIP-SMI55", "SUBTYPE": "SMI55", "ADDRESS": "0014D8A98A146F", "RF_ADDRESS": 11011077, "CHILDREN": [ "0014D8A98A146F:0", "0014D8A98A146F:1", "0014D8A98A146F:2", "0014D8A98A146F:3", "0014D8A98A146F:4" ], "PARENT": "", "PARENT_TYPE": "", "INDEX": 0, "AES_ACTIVE": 1, "PARAMSETS": [ "MASTER", "SERVICE" ], "FIRMWARE": "1.0.12", "AVAILABLE_FIRMWARE": "0.0.0", "UPDATABLE": true, "FIRMWARE_UPDATE_STATE": "UP_TO_DATE", "VERSION": 1, "FLAGS": 1, "LINK_SOURCE_ROLES": "", "LINK_TARGET_ROLES": "", "DIRECTION": 0, "GROUP": "", "TEAM": "", "TEAM_TAG": "", "TEAM_CHANNELS": [], "INTERFACE": "", "ROAMING": 0, "RX_MODE": 4 }, "from": "system.adapter.hm-rega.0", "ts": 1547827445608, "acl": { "object": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.administrator" } }, "hm-rpc.3.0014D8A98A146F.0": { "_id": "hm-rpc.3.0014D8A98A146F.0", "type": "channel", "common": { "name": "HmIP-SMI55 0014D8A98A146F:0" }, "native": { "TYPE": "MAINTENANCE", "SUBTYPE": "", "ADDRESS": "0014D8A98A146F:0", "RF_ADDRESS": 0, "CHILDREN": [], "PARENT": "0014D8A98A146F", "PARENT_TYPE": "HmIP-SMI55", "INDEX": 0, "AES_ACTIVE": 1, "PARAMSETS": [ "MASTER", "VALUES", "SERVICE" ], "FIRMWARE": "", "AVAILABLE_FIRMWARE": "", "UPDATABLE": true, "FIRMWARE_UPDATE_STATE": "", "VERSION": 1, "FLAGS": 1, "LINK_SOURCE_ROLES": "", "LINK_TARGET_ROLES": "", "DIRECTION": 0, "GROUP": "", "TEAM": "", "TEAM_TAG": "", "TEAM_CHANNELS": [], "INTERFACE": "", "ROAMING": 0, "RX_MODE": 0 }, "from": "system.adapter.hm-rega.0", "ts": 1548576640761, "acl": { "object": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.administrator" } }, "hm-rpc.3.0014D8A98A146F.0.CONFIG_PENDING": { "type": "state", "common": { "def": false, "type": "boolean", "read": true, "write": false, "role": "indicator", "name": "HmIP-SMI55 0014D8A98A146F:0.CONFIG_PENDING" }, "native": { "MIN": false, "OPERATIONS": 5, "MAX": true, "FLAGS": 9, "ID": "CONFIG_PENDING", "TYPE": "BOOL", "DEFAULT": false }, "from": "system.adapter.hm-rega.0", "ts": 1545372344586, "_id": "hm-rpc.3.0014D8A98A146F.0.CONFIG_PENDING", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.administrator" } }, "hm-rpc.3.0014D8A98A146F.0.CONFIG_PENDING_ALARM": { "type": "state", "common": { "name": "HmIP-SMI55 0014D8A98A146F:0.CONFIG_PENDING_ALARM", "type": "number", "role": "indicator.alarm", "read": true, "write": true, "def": 0, "states": { "0": "NO ALARM", "1": "ALARM", "2": "ACKNOWLEDGED" } }, "native": { "Name": "AL-0014D8A98A146F:0.CONFIG_PENDING", "TypeName": "ALARM", "DP": "39039" }, "from": "system.adapter.hm-rega.0", "ts": 1548852090350, "_id": "hm-rpc.3.0014D8A98A146F.0.CONFIG_PENDING_ALARM", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.administrator" } }, "hm-rpc.3.0014D8A98A146F.0.DUTY_CYCLE": { "type": "state", "common": { "def": false, "type": "boolean", "read": true, "write": false, "name": "HmIP-SMI55 0014D8A98A146F:0.DUTY_CYCLE" }, "native": { "MIN": false, "OPERATIONS": 5, "MAX": true, "FLAGS": 1, "ID": "DUTY_CYCLE", "TYPE": "BOOL", "DEFAULT": false }, "from": "system.adapter.hm-rega.0", "ts": 1545372344584, "_id": "hm-rpc.3.0014D8A98A146F.0.DUTY_CYCLE", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.administrator" } }, "hm-rpc.3.0014D8A98A146F.0.ERROR_CODE": { "type": "state", "common": { "def": 0, "type": "number", "read": true, "write": false, "min": 0, "max": 255, "name": "HmIP-SMI55 0014D8A98A146F:0.ERROR_CODE" }, "native": { "MIN": 0, "OPERATIONS": 5, "MAX": 255, "FLAGS": 9, "ID": "ERROR_CODE", "TYPE": "INTEGER", "DEFAULT": 0 }, "from": "system.adapter.hm-rega.0", "ts": 1545372344564, "_id": "hm-rpc.3.0014D8A98A146F.0.ERROR_CODE", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.administrator" } }, "hm-rpc.3.0014D8A98A146F.0.INSTALL_TEST": { "type": "state", "common": { "def": false, "type": "boolean", "read": true, "write": true, "role": "indicator", "name": "HmIP-SMI55 0014D8A98A146F:0.INSTALL_TEST" }, "native": { "MIN": false, "OPERATIONS": 3, "MAX": true, "FLAGS": 2, "ID": "INSTALL_TEST", "TYPE": "BOOL", "DEFAULT": false }, "from": "system.adapter.hm-rega.0", "ts": 1545372344579, "_id": "hm-rpc.3.0014D8A98A146F.0.INSTALL_TEST", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.administrator" } }, "hm-rpc.3.0014D8A98A146F.0.LOW_BAT": { "type": "state", "common": { "def": false, "type": "boolean", "read": true, "write": false, "name": "HmIP-SMI55 0014D8A98A146F:0.LOW_BAT" }, "native": { "MIN": false, "OPERATIONS": 5, "MAX": true, "FLAGS": 9, "ID": "LOW_BAT", "TYPE": "BOOL", "DEFAULT": false }, "from": "system.adapter.hm-rega.0", "ts": 1545372344582, "_id": "hm-rpc.3.0014D8A98A146F.0.LOW_BAT", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.administrator" } }, "hm-rpc.3.0014D8A98A146F.0.LOW_BAT_ALARM": { "type": "state", "common": { "name": "HmIP-SMI55 0014D8A98A146F:0.LOW_BAT_ALARM", "type": "number", "role": "indicator.alarm", "read": true, "write": true, "def": 0, "states": { "0": "NO ALARM", "1": "ALARM", "2": "ACKNOWLEDGED" } }, "native": { "Name": "AL-0014D8A98A146F:0.LOW_BAT", "TypeName": "ALARM", "DP": "39046" }, "from": "system.adapter.hm-rega.0", "ts": 1548852090348, "_id": "hm-rpc.3.0014D8A98A146F.0.LOW_BAT_ALARM", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.administrator" } }, "hm-rpc.3.0014D8A98A146F.0.OPERATING_VOLTAGE": { "type": "state", "common": { "def": 0, "type": "number", "read": true, "write": false, "min": 0, "max": 25.2, "name": "HmIP-SMI55 0014D8A98A146F:0.OPERATING_VOLTAGE" }, "native": { "MIN": 0, "OPERATIONS": 5, "MAX": 25.2, "FLAGS": 1, "ID": "OPERATING_VOLTAGE", "TYPE": "FLOAT", "DEFAULT": 0 }, "from": "system.adapter.hm-rega.0", "ts": 1545372344568, "_id": "hm-rpc.3.0014D8A98A146F.0.OPERATING_VOLTAGE", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.administrator" } }, "hm-rpc.3.0014D8A98A146F.0.OPERATING_VOLTAGE_STATUS": { "type": "state", "common": { "def": "NORMAL", "type": "number", "read": true, "write": false, "min": "NORMAL", "max": "OVERFLOW", "states": { "0": "NORMAL", "1": "UNKNOWN", "2": "OVERFLOW" }, "name": "HmIP-SMI55 0014D8A98A146F:0.OPERATING_VOLTAGE_STATUS" }, "native": { "MIN": "NORMAL", "OPERATIONS": 5, "MAX": "OVERFLOW", "FLAGS": 1, "ID": "OPERATING_VOLTAGE_STATUS", "TYPE": "ENUM", "DEFAULT": "NORMAL", "VALUE_LIST": [ "NORMAL", "UNKNOWN", "OVERFLOW" ] }, "from": "system.adapter.hm-rega.0", "ts": 1545372344573, "_id": "hm-rpc.3.0014D8A98A146F.0.OPERATING_VOLTAGE_STATUS", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.administrator" } }, "hm-rpc.3.0014D8A98A146F.0.RSSI_DEVICE": { "type": "state", "common": { "def": 0, "type": "number", "read": true, "write": false, "min": -128, "max": 127, "role": "value", "name": "HmIP-SMI55 0014D8A98A146F:0.RSSI_DEVICE" }, "native": { "MIN": -128, "OPERATIONS": 5, "MAX": 127, "FLAGS": 1, "ID": "RSSI_DEVICE", "TYPE": "INTEGER", "DEFAULT": 0 }, "from": "system.adapter.hm-rega.0", "ts": 1545372344570, "_id": "hm-rpc.3.0014D8A98A146F.0.RSSI_DEVICE", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.administrator" } }, "hm-rpc.3.0014D8A98A146F.0.RSSI_PEER": { "type": "state", "common": { "def": 0, "type": "number", "read": true, "write": false, "min": -128, "max": 127, "role": "value.rssi", "name": "HmIP-SMI55 0014D8A98A146F:0.RSSI_PEER" }, "native": { "MIN": -128, "OPERATIONS": 5, "MAX": 127, "FLAGS": 1, "ID": "RSSI_PEER", "TYPE": "INTEGER", "DEFAULT": 0 }, "from": "system.adapter.hm-rega.0", "ts": 1545372344566, "_id": "hm-rpc.3.0014D8A98A146F.0.RSSI_PEER", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.administrator" } }, "hm-rpc.3.0014D8A98A146F.0.UNREACH": { "type": "state", "common": { "def": false, "type": "boolean", "read": true, "write": false, "role": "indicator.unreach", "name": "HmIP-SMI55 0014D8A98A146F:0.UNREACH" }, "native": { "MIN": false, "OPERATIONS": 5, "MAX": true, "FLAGS": 25, "ID": "UNREACH", "TYPE": "BOOL", "DEFAULT": false }, "from": "system.adapter.hm-rega.0", "ts": 1545372344575, "_id": "hm-rpc.3.0014D8A98A146F.0.UNREACH", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.administrator" } }, "hm-rpc.3.0014D8A98A146F.0.UNREACH_ALARM": { "type": "state", "common": { "name": "HmIP-SMI55 0014D8A98A146F:0.UNREACH_ALARM", "type": "number", "role": "indicator.alarm", "read": true, "write": true, "def": 0, "states": { "0": "NO ALARM", "1": "ALARM", "2": "ACKNOWLEDGED" } }, "native": { "Name": "AL-0014D8A98A146F:0.UNREACH", "TypeName": "ALARM", "DP": "39054" }, "from": "system.adapter.hm-rega.0", "ts": 1548852090346, "_id": "hm-rpc.3.0014D8A98A146F.0.UNREACH_ALARM", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.administrator" } }, "hm-rpc.3.0014D8A98A146F.0.UPDATE_PENDING": { "type": "state", "common": { "def": false, "type": "boolean", "read": true, "write": false, "name": "HmIP-SMI55 0014D8A98A146F:0.UPDATE_PENDING" }, "native": { "MIN": false, "OPERATIONS": 5, "MAX": true, "FLAGS": 9, "ID": "UPDATE_PENDING", "TYPE": "BOOL", "DEFAULT": false }, "from": "system.adapter.hm-rega.0", "ts": 1545372344562, "_id": "hm-rpc.3.0014D8A98A146F.0.UPDATE_PENDING", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.administrator" } }, "hm-rpc.3.0014D8A98A146F.0.UPDATE_PENDING_ALARM": { "type": "state", "common": { "name": "HmIP-SMI55 0014D8A98A146F:0.UPDATE_PENDING_ALARM", "type": "number", "role": "indicator.alarm", "read": true, "write": true, "def": 0, "states": { "0": "NO ALARM", "1": "ALARM", "2": "ACKNOWLEDGED" } }, "native": { "Name": "AL-0014D8A98A146F:0.UPDATE_PENDING", "TypeName": "ALARM", "DP": "39058" }, "from": "system.adapter.hm-rega.0", "ts": 1548852090344, "_id": "hm-rpc.3.0014D8A98A146F.0.UPDATE_PENDING_ALARM", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.administrator" } }, "hm-rpc.3.0014D8A98A146F.1": { "_id": "hm-rpc.3.0014D8A98A146F.1", "type": "channel", "common": { "name": "HmIP-SMI55 0014D8A98A146F:1" }, "native": { "TYPE": "KEY_TRANSCEIVER", "SUBTYPE": "", "ADDRESS": "0014D8A98A146F:1", "RF_ADDRESS": 0, "CHILDREN": [], "PARENT": "0014D8A98A146F", "PARENT_TYPE": "HmIP-SMI55", "INDEX": 1, "AES_ACTIVE": 1, "PARAMSETS": [ "MASTER", "VALUES", "LINK", "SERVICE" ], "FIRMWARE": "", "AVAILABLE_FIRMWARE": "", "UPDATABLE": true, "FIRMWARE_UPDATE_STATE": "", "VERSION": 1, "FLAGS": 1, "LINK_SOURCE_ROLES": "REMOTE_CONTROL", "LINK_TARGET_ROLES": "", "DIRECTION": 1, "GROUP": "", "TEAM": "", "TEAM_TAG": "", "TEAM_CHANNELS": [], "INTERFACE": "", "ROAMING": 0, "RX_MODE": 0 }, "from": "system.adapter.hm-rega.0", "ts": 1548576640759, "acl": { "object": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.administrator" } }, "hm-rpc.3.0014D8A98A146F.1.PRESS_LONG": { "type": "state", "common": { "def": false, "type": "boolean", "read": false, "write": false, "role": "button.long", "name": "HmIP-SMI55 0014D8A98A146F:1.PRESS_LONG" }, "native": { "MIN": false, "OPERATIONS": 4, "MAX": true, "FLAGS": 1, "ID": "PRESS_LONG", "TYPE": "ACTION", "DEFAULT": false, "CONTROL": "BUTTON_NO_FUNCTION.LONG" }, "from": "system.adapter.hm-rega.0", "ts": 1545372344553, "_id": "hm-rpc.3.0014D8A98A146F.1.PRESS_LONG", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.administrator" } }, "hm-rpc.3.0014D8A98A146F.1.PRESS_SHORT": { "type": "state", "common": { "def": false, "type": "boolean", "read": false, "write": false, "role": "button", "name": "HmIP-SMI55 0014D8A98A146F:1.PRESS_SHORT" }, "native": { "MIN": false, "OPERATIONS": 4, "MAX": true, "FLAGS": 1, "ID": "PRESS_SHORT", "TYPE": "ACTION", "DEFAULT": false, "CONTROL": "BUTTON_NO_FUNCTION.SHORT" }, "from": "system.adapter.hm-rega.0", "ts": 1545372344555, "_id": "hm-rpc.3.0014D8A98A146F.1.PRESS_SHORT", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.administrator" } }, "hm-rpc.3.0014D8A98A146F.2": { "_id": "hm-rpc.3.0014D8A98A146F.2", "type": "channel", "common": { "name": "HmIP-SMI55 0014D8A98A146F:2" }, "native": { "TYPE": "KEY_TRANSCEIVER", "SUBTYPE": "", "ADDRESS": "0014D8A98A146F:2", "RF_ADDRESS": 0, "CHILDREN": [], "PARENT": "0014D8A98A146F", "PARENT_TYPE": "HmIP-SMI55", "INDEX": 2, "AES_ACTIVE": 1, "PARAMSETS": [ "MASTER", "VALUES", "LINK", "SERVICE" ], "FIRMWARE": "", "AVAILABLE_FIRMWARE": "", "UPDATABLE": true, "FIRMWARE_UPDATE_STATE": "", "VERSION": 1, "FLAGS": 1, "LINK_SOURCE_ROLES": "REMOTE_CONTROL", "LINK_TARGET_ROLES": "", "DIRECTION": 1, "GROUP": "", "TEAM": "", "TEAM_TAG": "", "TEAM_CHANNELS": [], "INTERFACE": "", "ROAMING": 0, "RX_MODE": 0 }, "from": "system.adapter.hm-rega.0", "ts": 1548576640757, "acl": { "object": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.administrator" } }, "hm-rpc.3.0014D8A98A146F.2.PRESS_LONG": { "type": "state", "common": { "def": false, "type": "boolean", "read": false, "write": false, "role": "button.long", "name": "HmIP-SMI55 0014D8A98A146F:2.PRESS_LONG" }, "native": { "MIN": false, "OPERATIONS": 4, "MAX": true, "FLAGS": 1, "ID": "PRESS_LONG", "TYPE": "ACTION", "DEFAULT": false, "CONTROL": "BUTTON_NO_FUNCTION.LONG" }, "from": "system.adapter.hm-rega.0", "ts": 1545372344547, "_id": "hm-rpc.3.0014D8A98A146F.2.PRESS_LONG", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.administrator" } }, "hm-rpc.3.0014D8A98A146F.2.PRESS_SHORT": { "type": "state", "common": { "def": false, "type": "boolean", "read": false, "write": false, "role": "button", "name": "HmIP-SMI55 0014D8A98A146F:2.PRESS_SHORT" }, "native": { "MIN": false, "OPERATIONS": 4, "MAX": true, "FLAGS": 1, "ID": "PRESS_SHORT", "TYPE": "ACTION", "DEFAULT": false, "CONTROL": "BUTTON_NO_FUNCTION.SHORT" }, "from": "system.adapter.hm-rega.0", "ts": 1545372344549, "_id": "hm-rpc.3.0014D8A98A146F.2.PRESS_SHORT", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.administrator" } }, "hm-rpc.3.0014D8A98A146F.3": { "_id": "hm-rpc.3.0014D8A98A146F.3", "type": "channel", "common": { "name": "HmIP-SMI55 0014D8A98A146F:3", "enums": [ { "_id": "enum.functions.BW", "common": { "name": "BW", "smartName": false }, "native": { "Name": "BW", "TypeName": "ENUM", "EnumInfo": "BW" } } ] }, "native": { "TYPE": "MOTIONDETECTOR_TRANSCEIVER", "SUBTYPE": "", "ADDRESS": "0014D8A98A146F:3", "RF_ADDRESS": 0, "CHILDREN": [], "PARENT": "0014D8A98A146F", "PARENT_TYPE": "HmIP-SMI55", "INDEX": 3, "AES_ACTIVE": 1, "PARAMSETS": [ "MASTER", "VALUES", "LINK", "SERVICE" ], "FIRMWARE": "", "AVAILABLE_FIRMWARE": "", "UPDATABLE": true, "FIRMWARE_UPDATE_STATE": "", "VERSION": 1, "FLAGS": 1, "LINK_SOURCE_ROLES": "CONDITIONAL_SWITCH", "LINK_TARGET_ROLES": "", "DIRECTION": 1, "GROUP": "", "TEAM": "", "TEAM_TAG": "", "TEAM_CHANNELS": [], "INTERFACE": "", "ROAMING": 0, "RX_MODE": 0 }, "from": "system.adapter.hm-rega.0", "ts": 1548576640755, "acl": { "object": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.administrator" } }, "hm-rpc.3.0014D8A98A146F.3.CURRENT_ILLUMINATION": { "type": "state", "common": { "def": 0, "type": "number", "read": true, "write": false, "min": 0, "max": 163830, "name": "HmIP-SMI55 0014D8A98A146F:3.CURRENT_ILLUMINATION" }, "native": { "MIN": 0, "OPERATIONS": 5, "MAX": 163830, "FLAGS": 1, "ID": "CURRENT_ILLUMINATION", "TYPE": "FLOAT", "DEFAULT": 0 }, "from": "system.adapter.hm-rega.0", "ts": 1545372344536, "_id": "hm-rpc.3.0014D8A98A146F.3.CURRENT_ILLUMINATION", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.administrator" } }, "hm-rpc.3.0014D8A98A146F.3.CURRENT_ILLUMINATION_STATUS": { "type": "state", "common": { "def": "NORMAL", "type": "number", "read": true, "write": false, "min": "NORMAL", "max": "OVERFLOW", "states": { "0": "NORMAL", "1": "UNKNOWN", "2": "OVERFLOW" }, "name": "HmIP-SMI55 0014D8A98A146F:3.CURRENT_ILLUMINATION_STATUS" }, "native": { "MIN": "NORMAL", "OPERATIONS": 5, "MAX": "OVERFLOW", "FLAGS": 1, "ID": "CURRENT_ILLUMINATION_STATUS", "TYPE": "ENUM", "DEFAULT": "NORMAL", "VALUE_LIST": [ "NORMAL", "UNKNOWN", "OVERFLOW" ] }, "from": "system.adapter.hm-rega.0", "ts": 1545372344534, "_id": "hm-rpc.3.0014D8A98A146F.3.CURRENT_ILLUMINATION_STATUS", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.administrator" } }, "hm-rpc.3.0014D8A98A146F.3.ILLUMINATION": { "type": "state", "common": { "def": 0, "type": "number", "read": true, "write": false, "min": 0, "max": 163830, "name": "HmIP-SMI55 0014D8A98A146F:3.ILLUMINATION" }, "native": { "MIN": 0, "OPERATIONS": 5, "MAX": 163830, "FLAGS": 1, "ID": "ILLUMINATION", "TYPE": "FLOAT", "DEFAULT": 0, "CONTROL": "MOTIONDETECTOR_TRANSCEIVER.ILLUMINATION" }, "from": "system.adapter.hm-rega.0", "ts": 1545372344538, "_id": "hm-rpc.3.0014D8A98A146F.3.ILLUMINATION", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.administrator" } }, "hm-rpc.3.0014D8A98A146F.3.ILLUMINATION_STATUS": { "type": "state", "common": { "def": "NORMAL", "type": "number", "read": true, "write": false, "min": "NORMAL", "max": "OVERFLOW", "states": { "0": "NORMAL", "1": "UNKNOWN", "2": "OVERFLOW" }, "name": "HmIP-SMI55 0014D8A98A146F:3.ILLUMINATION_STATUS" }, "native": { "MIN": "NORMAL", "OPERATIONS": 5, "MAX": "OVERFLOW", "FLAGS": 1, "ID": "ILLUMINATION_STATUS", "TYPE": "ENUM", "DEFAULT": "NORMAL", "VALUE_LIST": [ "NORMAL", "UNKNOWN", "OVERFLOW" ] }, "from": "system.adapter.hm-rega.0", "ts": 1545372344532, "_id": "hm-rpc.3.0014D8A98A146F.3.ILLUMINATION_STATUS", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.administrator" } }, "hm-rpc.3.0014D8A98A146F.3.MOTION": { "type": "state", "common": { "def": false, "type": "boolean", "read": true, "write": false, "role": "sensor.motion", "name": "HmIP-SMI55 0014D8A98A146F:3.MOTION" }, "native": { "MIN": false, "OPERATIONS": 5, "MAX": true, "FLAGS": 1, "ID": "MOTION", "TYPE": "BOOL", "DEFAULT": false, "CONTROL": "MOTIONDETECTOR_TRANSCEIVER.MOTION_DETECTION_STATE" }, "from": "system.adapter.hm-rega.0", "ts": 1545372344543, "_id": "hm-rpc.3.0014D8A98A146F.3.MOTION", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.administrator" } }, "hm-rpc.3.0014D8A98A146F.3.MOTION_DETECTION_ACTIVE": { "type": "state", "common": { "def": true, "type": "boolean", "read": true, "write": true, "name": "HmIP-SMI55 0014D8A98A146F:3.MOTION_DETECTION_ACTIVE" }, "native": { "MIN": false, "OPERATIONS": 7, "MAX": true, "FLAGS": 1, "ID": "MOTION_DETECTION_ACTIVE", "TYPE": "BOOL", "DEFAULT": true, "CONTROL": "MOTIONDETECTOR_TRANSCEIVER.MOTION_DETECTION_ACTIVE" }, "from": "system.adapter.hm-rega.0", "ts": 1545372344530, "_id": "hm-rpc.3.0014D8A98A146F.3.MOTION_DETECTION_ACTIVE", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.administrator" } }, "hm-rpc.3.0014D8A98A146F.3.RESET_MOTION": { "type": "state", "common": { "def": false, "type": "boolean", "read": false, "write": true, "name": "HmIP-SMI55 0014D8A98A146F:3.RESET_MOTION" }, "native": { "MIN": false, "OPERATIONS": 2, "MAX": true, "FLAGS": 1, "ID": "RESET_MOTION", "TYPE": "ACTION", "DEFAULT": false, "CONTROL": "MOTIONDETECTOR_TRANSCEIVER.RESET_MOTION" }, "from": "system.adapter.hm-rega.0", "ts": 1545372344540, "_id": "hm-rpc.3.0014D8A98A146F.3.RESET_MOTION", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.administrator" } }, "hm-rpc.3.0014D8A98A146F.4": { "_id": "hm-rpc.3.0014D8A98A146F.4", "type": "channel", "common": { "name": "HmIP-SMI55 0014D8A98A146F:4" }, "native": { "TYPE": "STATE_RESET_RECEIVER", "SUBTYPE": "", "ADDRESS": "0014D8A98A146F:4", "RF_ADDRESS": 0, "CHILDREN": [], "PARENT": "0014D8A98A146F", "PARENT_TYPE": "HmIP-SMI55", "INDEX": 4, "AES_ACTIVE": 1, "PARAMSETS": [ "MASTER", "VALUES", "LINK", "SERVICE" ], "FIRMWARE": "", "AVAILABLE_FIRMWARE": "", "UPDATABLE": true, "FIRMWARE_UPDATE_STATE": "", "VERSION": 1, "FLAGS": 1, "LINK_SOURCE_ROLES": "", "LINK_TARGET_ROLES": "REMOTE_CONTROL CONDITIONAL_SWITCH SWITCH", "DIRECTION": 2, "GROUP": "", "TEAM": "", "TEAM_TAG": "", "TEAM_CHANNELS": [], "INTERFACE": "", "ROAMING": 0, "RX_MODE": 0 }, "from": "system.adapter.hm-rega.0", "ts": 1548576640753, "acl": { "object": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.administrator" } } }
-
@Adnim habe mal das hm-ip bei mir importiert und dein script geladen
ist da - evtl musst du der tabelle mehr höhe geben ?
-
@Adnim jetzt konnte ich endlich mal einen test machen mit LOWBAT ist true
-
Kannst du es im Skript noch auf HOMEMATIC ändern.
-
Hallo, geht auch eine Liste der Adapter mit der Installierten Version?
Also eine Liste mit der ich schnell nachsehen kann welche Version der Adapter hat? -
@sigi234 hier (bild) kannst du das ändern - wenn du noch weitere änderungen brauchst, bitte poste dein script- dann ändere ich es und gebe es dir wieder - ansonsten mußt du immer alle deine settings nachverbessern
falls du diese überschriften (z.b. HOMEATIC oder HANDY,...) nicht willst - die kann man auch wieder rausmachen oder zumindest eine andere farbe geben - je nachdem wie du es einbauen willst
-
@liv-in-sky sagte in Script mit Tabelle der Batterie Zustände:
wenn du noch weitere änderungen brauchst,
Nö, kein Problem habe es selber geändert.
-
@liv-in-sky sagte in Script mit Tabelle der Batterie Zustände:
ist da - evtl musst du der tabelle mehr höhe geben ?
ja entschuldige.
kannst du die Spg des HM-IP devices übernehmen?
"OPERATING_VOLTAGE_STATUS"