MacWyznawca / homebridge-mqtt-switch-tasmota

Plugin to HomeBridge optimized to work with firmware Sonoff-Tasmota, MQTT.
MIT License
57 stars 18 forks source link

Error loading platform in your config.json at position 4 #61

Closed mathieusibilla closed 3 years ago

mathieusibilla commented 3 years ago

Hi,

I'm getting the following error after, i think, updating to Homebridge 1.1.2

8/19/2020, 23:47:05] Error loading platform requested in your config.json at position 4 [8/19/2020, 23:47:05] Error: The requested platform 'mqtt-switch-tasmota' was not registered by any plugin. at PluginManager.getPluginForPlatform (/usr/local/lib/node_modules/homebridge/lib/pluginManager.js:152:23) at /usr/local/lib/node_modules/homebridge/lib/server.js:271:45 at Array.forEach (:null:null) at Server.loadPlatforms (/usr/local/lib/node_modules/homebridge/lib/server.js:260:31) at Server.start (/usr/local/lib/node_modules/homebridge/lib/server.js:73:35) at cli (/usr/local/lib/node_modules/homebridge/lib/cli.js:88:12) at Object. (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22) at Module._compile (internal/modules/cjs/loader.js:1137:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10) at Module.load (internal/modules/cjs/loader.js:985:32) at Function.Module._load (internal/modules/cjs/loader.js:878:14) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12) at internal/main/run_main_module.js:17:47

Config file: { "bridge": { "name": "Homebridge BAB0", "username": "0E:F8:XX:16:BA:XX", "port": 51206, "pin": "XXX-49-XXX" }, "accessories": [], "platforms": [ { "platform": "PanasonicVieraTV", "tvs": [ { "ipAddress": "192.168.5.24", "customVolumeSlider": false, "name": "Lounge TV", "hdmiInputs": [] }, { "ipAddress": "192.168.5.25", "customVolumeSlider": false, "name": "Nook TV", "hdmiInputs": [] } ] }, { "name": "Config", "port": 8581, "platform": "config" }, { "devices": [ { "name": "Xbox One", "host": "192.168.5.27", "xboxliveid": "FD001942E807A723", "volumeControl": 0, "switchInfoMenu": false } ], "platform": "XboxTv" }, { "platform": "mqtt-switch-tasmota", "switchType": "outlet", "name": "Lounge Floor Lamp", "url": "mqtt://192.168.5.92", "username": "", "password": "", "topics": { "statusGet": "stat/smart_socket_lounge/RESULT", "statusSet": "cmnd/smart_socket_lounge/POWER", "stateGet": "tele/smart_socket_lounge/STATE" }, "onValue": "ON", "offValue": "OFF", "activityTopic": "tele/smart_socket_lounge/LWT", "activityParameter": "Online", "startCmd": "cmnd/smart_socket_lounge/TelePeriod", "startParameter": "60", "manufacturer": "ITEAD", "model": "Sonoff", "serialNumberMAC": "" } ] }

Would anybody know how to fix this?

Thanks