UNPKG

@homebridge-plugins/homebridge-ewelink

Version:

Homebridge plugin to integrate eWeLink devices into HomeKit.

161 lines (160 loc) 7.51 kB
export default { apiListenErr: 'Internal API server error', apiListening: 'Internal API listening on port', apiShutdown: 'Internal API gracefully shutdown', beta: 'You are using a beta version of the plugin - you will experience more logging than normal', buttonDouble: 'double press', buttonLong: 'long press', buttonNotFound: 'rf button not found (restart Homebridge)', buttonSingle: 'single press', buttonTrig: 'button triggered', cantReadPacket: 'LAN message received could not be read as', cantParsePacket: 'Could not parse DNS packet as', 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', cfgRmv: 'is unused and can be removed', cfgQts: 'should not have quotes around its entry', complete: '✓ Setup complete', contactNo: 'contact not detected', contactYes: 'contact detected', curBatt: 'current battery', curBright: 'current brightness', curColour: 'current colour', curCool: 'current cooling', curCurr: 'current current', curDehumid: 'current dehumidifying', curHeat: 'current heating', curHumi: 'current humidity', curHumid: 'current humidifying', curLight: 'current light', curMode: 'current mode', curPos: 'current position', curPower: 'current power', curPur: 'current purifying', curScene: 'current scene', curSpeed: 'current speed', curState: 'current state', curTarg: 'current target', curTemp: 'current temperature', curVolt: 'current voltage', devAdd: 'has been added to Homebridge', devInit: 'initialised and', devInitGroup: 'initialised with group id', devInitOpts: 'initialising with options', devNewNotAdd: 'restart Homebridge to add new device, failed to add automatically as', devNoAPIKey: 'cannot retrieve device API key', devNoControl: 'cannot be controlled as mode:lan is not compatible with this device', devNotAdd: 'could not be added to Homebridge as', devNotConf: 'could not be configured as', devNotConfLAN: 'device/command not available via LAN mode', devNotFound: 'device not found in eWeLink', devNotInit: 'could not be initialised as', devNotReachLAN: 'device not reachable via LAN mode', devNotRf: 'could not be refreshed as', devNotRemove: 'could not be removed from Homebridge as', devNotSup: 'has not been added as it cannot be supported', devNotSupYet: 'is not supported, do create a GitHub issue with the following info', devNotUpd: 'device update failed as', devRemove: 'has been removed from Homebridge', disabledAL: 'adaptive lighting disabled due to significant colour change', disabling: 'Disabling plugin', doorClosed: 'closed', doorOpen: 'open', dualr3NoCalib: 'must be calibrated to work in motor mode', dualr3NoMeter: 'is not supported in meter mode', errGetDevices: 'An error occurred during http getDevices()', errGetHomes: 'An error occurred during http getHomes()', errGetHost: 'An error occurred during ws getHost()', errLogin: 'An error occurred during http login()', eweError: 'An eWeLink error [500] occurred, retrying in 30 seconds', fetchHome: 'Fetching devices from eWeLink home/id', foundWithIP: 'found locally with IP', foundWithManIP: 'using manual IP', hbVersionFail: 'Your version of Homebridge is too low - update to v1.6', heaterSimNoSensor: 'you must configure a device ID that provides a temperature reading', httpDisabled: 'HTTP/WS clients disabled as', httpLogin10003: 'See https://bit.ly/hb-ewelink-errors for more info about login issues', httpRetry: 'Unable to reach eWeLink, retrying in 30 seconds', identify: 'identify button pressed', initialised: 'Plugin initialised. Setting up accessories...', initialising: 'Initialising plugin', invalidConfig: 'invalid config', lanDisabled: 'LAN mode is disabled', lanErr: 'unknown LAN error', lanIPDifferent: 'ignoring manual IP since discovered with different IP', lanMonitor: 'LAN monitoring started', lanNotSup: 'LAN mode is not supported for sending updates to this device', lanStarted: 'LAN discovery complete', lanStarting: 'LAN discovery starting', lanUnsupported: 'LAN mode unavailable as not discovered/supported', leakNo: 'leak not detected', leakYes: 'leak detected', lockLocked: 'locked', lockUnlocked: 'unlocked', missingCreds: 'eWeLink credentials not configured', motionNo: 'motion not detected', motionYes: 'motion detected', newIP: 'changed IP address to', newRegionRec: 'New HTTP API host received', noAuthRec: 'No auth token received', noGarageForOD: 'No corresponding garage door accessory found', noRegionRec: 'No valid region received', noWSHost: 'Server did not respond with a web socket host', occupancyNo: 'occupancy not detected', occupancyYes: 'occupancy detected', pluginNotConf: 'Plugin has not been configured', repOffline: 'has been reported [offline]', repOnline: 'has been reported [online]', revertWS: 'reverting to web socket as', rfNotFound: 'try restarting Homebridge as no accessory found for', rfTrigNo: 'not triggered', rfTrigYes: 'triggered', sendLogin: 'Sending HTTP login() request', sensorErr: 'unsupported as de/humidifier since device does not have supported sensor', sensorNo: 'deactivated', sensorNoDevice: 'garage/lock accessory not found, this device will be setup as a normal sensor', sensorYes: 'activated', shareWarn: 'using a shared device with the cloud may cause errors, use your main eWeLink account', smokeNo: 'smoke not detected', smokeYes: 'smoke detected', sonoffCamera: 'see the homebridge-ewelink wiki for details to enable the camera', stoppedLAN: 'LAN monitoring gracefully stopped', stoppedWS: 'Web socket gracefully closed', storageClearErr: 'Could not clear storage folder as', storageReadErr: 'Could not read persist folder as', storageSetupErr: 'Could not setup storage client as', storageWriteErr: 'could not save accessory to file as', unreachable: 'it is unreachable', updRec: 'receiving update', updReq: 'requesting current status', updSend: 'sending update', valveNo: 'stopped', valveYes: 'running', viaAL: 'via adaptive lighting', viaLAN: 'via LAN', viaWS: 'via WS', welcome: 'I\'m looking for some lovely people to help maintain this plugin, please get in touch on GitHub or Discord if you\'d like to help out 😄', wsHostRec: 'Web socket host received', wsLogin: 'Sending WS login request', wsLoginErr: 'Unknown WS parameters received', wsLoginError: 'WS login failed as', wsLoginErrRecon: 'WS could not be opened and will try again in 5 seconds', wsLoginSuccess: 'WS login successful', wsLogin406: 'WS login failed [406] see https://bit.ly/hb-ewelink-errors', wsPingError: 'Could not send WS ping as', wsRec: 'WS message received', wsReconnectClose: 'WS close event and will try to reconnect in 5 seconds', wsReconnectError: 'WS error event and will try to reconnect in 5 seconds', wsRef: 'Refreshing WS connection', wsRefFail: 'Refreshing WS connection failed as', wsRequired: 'update must be sent this way', wsReqTimeout: 'request timeout', wsResend: 'Web socket is not open - try again after a few seconds', wsUnkAct: 'WS message received has unknown action', wsUnkCmd: 'WS unknown command received', wsUnkRes: 'unknown WS response', }