UNPKG

@homebridge-plugins/homebridge-meross

Version:

Homebridge plugin to integrate Meross devices into HomeKit.

115 lines (114 loc) 5.42 kB
export default { accNotFound: 'accessory not found', accTokenFail: 'could not use existing access token as', accTokenFromCache: 'retrieved access token from cache', accTokenInvalid: 'access token is invalid - check your credentials in the plugin config', accTokenNoExist: 'does not exist, this is normally not an issue', accTokenStoreErr: 'could not store access token as', accTokenUserChange: 'username has changed', alDisabled: 'adaptive lighting disabled due to change of colour detected', beta: 'You are using a beta version of the plugin - you will experience more logging than normal', brand: 'Meross Technology', cfgDef: 'is not a valid number so using default of', cfgDup: 'will be ignored since another entry with this ID already exists', cfgIgn: 'is not configured correctly so ignoring', cfgIgnItem: 'has an invalid entry which will be ignored', cfgItem: 'Config entry', cfgLow: 'is set too low so increasing to', cfgMoveEntry: 'configuration entry should be moved to appropriate section in the UI', cfgRmv: 'is unused and can be removed', cfgQts: 'should not have quotes around its entry', complete: '✓ Setup complete', curBright: 'current brightness', curCool: 'current cooling', curDiffSpray: 'current diffuser spray', curDiffState: 'current diffuser state', curHeat: 'current heating', curHumi: 'current humidity', curInUse: 'current in use', curLeak: 'current leak', curLightBright: 'current light brightness', curLightColour: 'current light colour (hs/rgb)', curLightMode: 'current light mode', curLightState: 'current light state', curLightTemp: 'current light temperature (mired/kelvin)', curLux: 'current lux', curLock: 'current lock', curOcc: 'current occupancy', curMode: 'current mode', curPos: 'current position', curPower: 'current power', curScene: 'current scene', curSong: 'current song', curSpeed: 'current speed', curSpray: 'current spray', curState: 'current state', curTarg: 'current target', curTemp: 'current temperature', curVol: 'current volume', curVolt: 'current voltage', curWindow: 'current window', devAdd: 'has been added to Homebridge', devInit: 'initialised with id', devInitOpts: 'initialising with options', devNotAdd: 'could not be added to Homebridge as', devNotConf: 'could not be configured as', devNotInit: 'could not be initialised as', devNotRemove: 'could not be removed from Homebridge as', devRemove: 'has been removed from Homebridge', devSubInit: 'subdevice initialised with id', disabling: 'Disabling plugin', disablingCloud: 'Disabling cloud client as', disablingPower: 'disabling power readings as', hbVersionFail: 'Your version of Homebridge is too low - update to v1.6', httpRetry: 'unable to reach Meross, retrying in 30 seconds', identify: 'identify button pressed', incSubDevices: 'incoming subdevices', incMQTT: 'incoming mqtt', incPoll: 'incoming poll', initialised: 'Plugin initialised. Setting up accessories...', initialising: 'Initialising plugin', invalidDevices: 'invalid device list received', invalidResponse: 'invalid response received', invalidSubdevices: 'invalid subdevice list received', jsonInfo: 'json debug info', loginFail: 'login failed', loginRetry: 'retrying login as existing token is invalid/expired', logout: 'Meross session closed and logged out', merossKey: 'Meross Key', mfaFail: 'MFA code missing or incorrect - please update your config', missingCreds: 'username and password not supplied in config', missingModal: 'missing config property \'model\' for this device', noCredentials: 'Neither of username and password nor user key has been configured, or there was an issue obtaining cloud devices', noHybridMode: 'cloud control is forced', noInitHKIgnore: 'not initialising cloud device as matched as HomeKit native model', noInitIgnore: 'not initialising cloud device as ignored or configured locally', noInitMatterIgnore: 'not initialising cloud device as matched as Matter model', noIP: 'no IP address provided for device', noResponse: 'no response received from Meross server', notAuth: 'not authenticated', notSupp: 'is not supported, do create a github issue https://bit.ly/hb-meross-issues with info', notSuppLocal: 'device does not support local control', noUserKey: 'user key has not been configured', pluginNotConf: 'Plugin has not been configured', powerFail: 'failed to request power as', refFailed: 'failed to refresh status as', regionUpdate: 'region has been updated to', repOffline: 'has been reported [offline]', repOnline: 'has been reported [online]', reqFail: 'request failed', reqFailed: 'failed to request status as', reqFailedSubs: 'failed to request subdevices as', revertToCloud: 'reverting to cloud control as', sendFailed: 'sending update failed as', sendMQTT: 'sending mqtt', sendPolling: 'sending poll request', sendUpdate: 'sending update', sensorNoCloud: 'cloud connection is necessary for MSH300/MSH400', sensorNoSubs: 'subdevice list not in correct format', storageWriteErr: 'could not save accessory to file as', timeout: 'the request timed out', viaAL: 'via adaptive lighting', welcome: 'This plugin has been made with ♥ by bwp91, please consider a ☆ on GitHub if you are finding it useful!', wrongDevice: 'queried IP belongs to a different Meross device', }