OpenWonderLabs / homebridge-switchbot

The Homebridge SwitchBot plugin allows you to access your SwitchBot Device(s) from HomeKit. Homebridge.
https://openwonderlabs.github.io/homebridge-switchbot/
ISC License
249 stars 54 forks source link

Support Request: Hub2 and Eve History with fakegato-history #818

Closed joffroy59 closed 1 year ago

joffroy59 commented 1 year ago

Describe Your Problem

Eve History for hub

Relevant log output

Is it possible to have data from hub 2 to eve history via fakegato (temperature, humidity, light) ?

Config for homebridge-switchbot

{
            "name": "SwitchBot",
            "credentials": {
                "token": "xxxxx",
                "secret": "xxxx",
                "notice": "Keep your Token & Secret a secret!"
            },
            "options": {
                "devices": [
                    {
                        "deviceId": "XXXXXXXXXXXXXXX",
                        "configDeviceType": "Hub 2",
                        "refreshRate": 30,
                        "offline": false,
                        "history": true,
                        "external": false
                    }
                ],
                "irdevices": [
                    {
                        "deviceId": "XXXXXXXXXXXXXXXXXXXXXXX",
                        "configDeviceName": "Télécommande Sony grande",
                        "hide_device": true,
                        "configRemoteType": "TV",
                        "connectionType": "OpenAPI",
                        "customize": false,
                        "disablePushOn": true,
                        "disablePushOff": true,
                        "disablePushDetail": false,
                        "external": false
                    }
                ],
                "refreshRate": 30
            },
            "platform": "SwitchBot"
        },

Screenshots

No response

Device & Model

Hub 2

Node.js Version

v16.20.2

NPM Version

v8.19.4

Homebridge Version

v16.20.2

Homebridge SwitchBot Plugin Version

v2.8.2

Homebridge Config UI X Plugin Version

v4.50.5

Operating System

Raspbian

donavanbecker commented 1 year ago

Should be able too. I will look into this.

donavanbecker commented 1 year ago

Can you try the latest beta:

npm version

Click here to find out how to install Beta

joffroy59 commented 1 year ago

It works for humidity and temperature with beta version

Not for the lightning level Thanks for the work

image image image image

donavanbecker commented 1 year ago

Sorry totally forgot, I will get a new beta out in a little bit.

joffroy59 commented 1 year ago

why sorry ? ;-) things happened ...