larsbeck / HomematicIp

This package allows to query the HomematicIp REST and WebSocket endpoint.
MIT License
7 stars 2 forks source link

[Unsupported HomematicIp Object] PLUGABLE_SWITCH_MEASURING #14

Closed DevEddy closed 5 years ago

DevEddy commented 5 years ago

Hi Lars,

one more:

{
    "id": "3014F711A00001D8A98F00F3",
    "homeId": "21edcd0f-2b62-4b28-b0fb-e8476834d493",
    "label": "Infrarotheizung",
    "lastStatusUpdate": 1558422124256,
    "type": "PLUGABLE_SWITCH_MEASURING",
    "functionalChannels": {
        "0": {
            "label": "",
            "deviceId": "3014F711A00001D8A98F00F3",
            "index": 0,
            "groupIndex": 0,
            "functionalChannelType": "DEVICE_BASE",
            "groups": [
                "072abd4a-aa66-44b9-9743-b2c9bd13ff80"
            ],
            "unreach": true,
            "lowBat": null,
            "routerModuleEnabled": false,
            "routerModuleSupported": true,
            "rssiDeviceValue": -66,
            "rssiPeerValue": -46,
            "configPending": true,
            "dutyCycle": false
        },
        "1": {
            "label": "",
            "deviceId": "3014F711A00001D8A98F00F3",
            "index": 1,
            "groupIndex": 1,
            "functionalChannelType": "SWITCH_MEASURING_CHANNEL",
            "groups": [
                "de9d8666-2950-47be-8748-3e74a732cf43"
            ],
            "on": false,
            "profileMode": "AUTOMATIC",
            "userDesiredProfileMode": "AUTOMATIC",
            "energyCounter": 42.746900000000004,
            "currentPowerConsumption": 0.0
        }
    },
    "oem": "eQ-3",
    "manufacturerCode": 1,
    "firmwareVersion": "2.6.2",
    "updateState": "UP_TO_DATE",
    "firmwareVersionInteger": 132610,
    "liveUpdateState": "LIVE_UPDATE_NOT_SUPPORTED",
    "availableFirmwareVersion": "2.6.2",
    "serializedGlobalTradeItemNumber": "3014F711A00001D8A98F00F3",
    "modelType": "HMIP-PSM",
    "modelId": 262,
    "permanentlyReachable": true
}

-- Eddy

larsbeck commented 5 years ago

Hi Eddy,

added in the latest commit.

Lars

DevEddy commented 5 years ago

Hi Lars,

thank you for the fast commits, love it :-D Now I get this:

{
    "id": "3014F711A00001D8A98F00F3",
    "homeId": "21edcd0f-2b62-4b28-b0fb-e8476834d493",
    "label": "Infrarotheizung",
    "lastStatusUpdate": 1558422124256,
    "type": "PLUGABLE_SWITCH_MEASURING",
    "functionalChannels": {
        "0": {
            "label": "",
            "deviceId": "3014F711A00001D8A98F00F3",
            "index": 0,
            "groupIndex": 0,
            "functionalChannelType": "DEVICE_BASE",
            "groups": [
                "072abd4a-aa66-44b9-9743-b2c9bd13ff80"
            ],
            "unreach": true,
            "lowBat": null,
            "routerModuleEnabled": false,
            "routerModuleSupported": true,
            "rssiDeviceValue": -66,
            "rssiPeerValue": -46,
            "configPending": true,
            "dutyCycle": false
        },
        "1": {
            "label": "",
            "deviceId": "3014F711A00001D8A98F00F3",
            "index": 1,
            "groupIndex": 1,
            "functionalChannelType": "SWITCH_MEASURING_CHANNEL",
            "groups": [
                "de9d8666-2950-47be-8748-3e74a732cf43"
            ],
            "on": false,
            "profileMode": "AUTOMATIC",
            "userDesiredProfileMode": "AUTOMATIC",
            "energyCounter": 42.746900000000004,
            "currentPowerConsumption": 0.0
        }
    },
    "oem": "eQ-3",
    "manufacturerCode": 1,
    "firmwareVersion": "2.6.2",
    "updateState": "UP_TO_DATE",
    "firmwareVersionInteger": 132610,
    "liveUpdateState": "LIVE_UPDATE_NOT_SUPPORTED",
    "availableFirmwareVersion": "2.6.2",
    "serializedGlobalTradeItemNumber": "3014F711A00001D8A98F00F3",
    "modelType": "HMIP-PSM",
    "modelId": 262,
    "permanentlyReachable": true
}

-- Eddy

larsbeck commented 5 years ago

Hi Eddy,

should be fixed in the latest commit :-)

Lars