Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

homebridge reboot continuously after set meross mss310 #104

Closed
Cavech84 opened this issue Nov 15, 2020 · 3 comments
Closed

homebridge reboot continuously after set meross mss310 #104

Cavech84 opened this issue Nov 15, 2020 · 3 comments

Comments

@Cavech84
Copy link

Describe Your Problem:
homebridge reboot continuously after set meross mss310 and activate the plug in. Also in the HomeKit App all devices i have installed with HomeBridge doesn't work. if i set wrong the ip of meross other devices works fine but not the meross smart plug.
Can you help me please? Am I doing something wrong?
Thanks for support

Logs:

[15/11/2020, 14:32:47] [Luce piante] calling getOnCharacteristicHandler for MSS310 at 192.168.99.8...
[15/11/2020, 14:32:47] TypeError: Cannot read property 'togglex' of undefined
    at Meross.getOnCharacteristicHandler (/usr/local/lib/node_modules/homebridge-meross/index.js:297:41)
    at processTicksAndRejections (node:internal/process/task_queues:93:5)`

Homebridge Config:

{
    "bridge": {
        "name": "Homebridge A281",
        "username": "0E:B5:F0:9A:A2:81",
        "port": 51952,
        "pin": "784-28-894"
    },
    "accessories": [
        {
            "model": "MSS310",
            "name": "Luce piante",
            "deviceUrl": "192.168.99.8",
            "channel": 0,
            "messageId": "ba192b6ef6d1672757b10c87364d802d",
            "timestamp": 1605445877,
            "sign": "780e655e5fe04f2c3c6276e8cf65cbbe",
            "accessory": "Meross"
        }
    ],
    "platforms": [
        {
            "name": "Config",
            "port": 8581,
            "platform": "config"
        },
        {
            "name": "HarmonyHub",
            "hubIP": "192.168.99.10",
            "publishAllTVAsExternalAccessory": false,
            "TVAccessory": true,
            "configureAccesscontrol": false,
            "mainActivity": "Sky",
            "activitiesToPublishAsInputForTVMode": [
                "Sky",
                "Apple TV",
                "Netflix",
                "Infinity",
                "Plex",
                "TimVision"
            ],
            "playPauseBehavior": false,
            "remoteOverrideCommandsList": [
                {
                    "ActivityName": "Alza il volume",
                    "CommandsList": [
                        {
                            "CommandName": "VOLUME_DOWN",
                            "NewCommand": "PioneerAVReceiver;VolumeDown"
                        },
                        {
                            "CommandName": "VOLUME_UP",
                            "NewCommand": "PioneerAVReceiver;VolumeUp"
                        }
                    ]
                }
            ],
            "switchAccessories": false,
            "publishGeneralMuteSwitch": false,
            "publishGeneralVolumeSlider": false,
            "publishGeneralVolumeSwitches": false,
            "linkVolumeControlToTV": false,
            "publishSwitchActivitiesAsIndividualAccessories": false,
            "devicesToPublishAsAccessoriesSwitch": [
                "Pioneer AV Receiver VolumeUp",
                "Pioneer AV Receiver VolumeDown "
            ],
            "showCommandsAtStartup": false,
            "platform": "HarmonyHubWebSocket"
        },
        {
            "username": "webcavicchi@gmail.com",
            "password": "virusss84!",
            "countryCode": "IT",
            "devices": [
                {
                    "ipAddress": "192.168.99.71",
                    "serialNumber": "VW3-EU-NHA0964A",
                    "enableAutoModeWhenActivating": true,
                    "enableOscillationWhenActivating": true,
                    "isNightModeEnabled": true,
                    "isJetFocusEnabled": true,
                    "isContinuousMonitoringEnabled": true,
                    "isTemperatureSensorEnabled": true,
                    "isHumiditySensorEnabled": true,
                    "isAirQualitySensorEnabled": true,
                    "isSingleSensorAccessoryModeEnabled": true,
                    "isSingleAccessoryModeEnabled": true,
                    "isFullRangeHumidity": true
                }
            ],
            "platform": "DysonPureCoolPlatform"
        }
    ]
}

Screenshots:

Environment:

  • Node.js Version: v14.15.0
  • NPM Version: v6.14.8
  • Homebridge Version: 1.2.3
  • Homebridge Meross Plugin Version v3.2.0:
  • Homebridge Config UI X Plugin Version v4.33.0:
  • Operating System: Raspbian
@CocoaBob
Copy link
Collaborator

CocoaBob commented Nov 18, 2020

@donavanbecker Just searched a little bit, I think the crash occurs here response.payload.all.digest.togglex[`${this.config.channel}`].onoff; which was included in this commit made on Jan 13 2020.

donavanbecker pushed a commit that referenced this issue Nov 20, 2020
fix for #104
@donavanbecker
Copy link
Collaborator

donavanbecker commented Nov 20, 2020

@Cavech84, v3.4.0 is release and should fix this.

@Cavech84
Copy link
Author

yes, now it doesn't crash, thanks. But the plug not working... this is the consolle message when i try to change its status: Set failed: false. I have make a new configuration but nothing change. Is it normal that messageID,timestamp and sign changed every time when i try to get this parameters with HTTP Catcher?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants