tim-hellhake / tasmota-adapter

Mozilla Public License 2.0
6 stars 4 forks source link

Unable to automatically discover devices #43

Closed th0mpy closed 1 month ago

th0mpy commented 1 month ago

Fresh install of WebThings, and only using the tasmota add-in. Getting errors in the logs and the add-in does not seem to auto-discover anything.

Verified SetOption55 is enabled in the device.

Running version 1.1.0 of WebThings

Error below, log attached. run-app.log.2024-10-27-2.txt

2024-10-27 21:40:15.888 INFO   : Loading add-on: tasmota-adapter
2024-10-27 21:40:16.096 INFO   : tasmota-adapter: Opening database: /home/node/.webthings/config/db.sqlite3
2024-10-27 21:40:16.105 INFO   : tasmota-adapter: Ignoring https://raw.githubusercontent.com/WebThingsIO/gateway-addon-ipc-schema/master/schema.json because it has no messageType
2024-10-27 21:40:16.436 INFO   : tasmota-adapter: Ignoring https://raw.githubusercontent.com/WebThingsIO/gateway-addon-ipc-schema/master/messages/definitions.json because it has no messageType
2024-10-27 21:40:17.058 INFO   : tasmota-adapter: Loading add-on tasmota-adapter from /home/node/.webthings/addons/tasmota-adapter
2024-10-27 21:40:23.793 ERROR  : tasmota-adapter: The `manifest` object is deprecated and will be removed soon. Instead of using `manifest.display_name`, please read the `name` field from your manifest.json instead.
2024-10-27 21:40:23.794 ERROR  : Invalid message received: {
  "messageType": 4096,
  "data": {
    "adapterId": "Tasmota",
    "name": "TasmotaAdapter",
    "pluginId": "tasmota-adapter"
  }
}
2024-10-27 21:40:23.794 ERROR  : Validation error: [
  {
    "keyword": "required",
    "dataPath": "/data",
    "schemaPath": "#/properties/data/required",
    "params": {
      "missingProperty": "packageName"
    },
    "message": "should have required property 'packageName'"
  }
]
2024-10-27 21:40:23.795 ERROR  : tasmota-adapter: The `manifest` object is deprecated and will be removed soon. Instead of using `manifest.moziot`, please read the user configuration with the `Database` class instead.
2024-10-27 21:40:23.795 ERROR  : tasmota-adapter: The `manifest` object is deprecated and will be removed soon. Instead of using `manifest.moziot`, please read the user configuration with the `Database` class instead.
2024-10-27 21:40:23.795 ERROR  : tasmota-adapter: The `manifest` object is deprecated and will be removed soon. Instead of using `manifest.name`, please read the `id` field from your manifest.json instead.
2024-10-27 21:40:23.796 ERROR  : tasmota-adapter: The `manifest` object is deprecated and will be removed soon. Instead of using `manifest.name`, please read the `id` field from your manifest.json instead.
2024-10-27 21:40:23.797 INFO   : tasmota-adapter: Ignoring []
2024-10-27 21:40:24.135 ERROR  : tasmota-adapter: The `manifest` object is deprecated and will be removed soon. Instead of using `manifest.moziot`, please read the user configuration with the `Database` class instead.
2024-10-27 21:40:24.140 ERROR  : tasmota-adapter: The `manifest` object is deprecated and will be removed soon. Instead of using `manifest.moziot`, please read the user configuration with the `Database` class instead.
2024-10-27 21:40:24.442 ERROR  : tasmota-adapter: The `manifest` object is deprecated and will be removed soon. Instead of using `manifest.moziot`, please read the user configuration with the `Database` class instead.
2024-10-27 21:40:24.448 ERROR  : tasmota-adapter: The `manifest` object is deprecated and will be removed soon. Instead of using `manifest.moziot`, please read the user configuration with the `Database` class instead.
2024-10-27 21:40:24.454 ERROR  : tasmota-adapter: The `manifest` object is deprecated and will be removed soon. Instead of using `manifest.moziot`, please read the user configuration with the `Database` class instead.
2024-10-27 21:40:24.459 ERROR  : tasmota-adapter: The `manifest` object is deprecated and will be removed soon. Instead of using `manifest.moziot`, please read the user configuration with the `Database` class instead.
2024-10-27 21:40:25.356 ERROR  : tasmota-adapter: The `manifest` object is deprecated and will be removed soon. Instead of using `manifest.moziot`, please read the user configuration with the `Database` class instead.
2024-10-27 21:40:25.358 ERROR  : tasmota-adapter: The `manifest` object is deprecated and will be removed soon. Instead of using `manifest.moziot`, please read the user configuration with the `Database` class instead.
2024-10-27 21:40:25.359 ERROR  : tasmota-adapter: The `manifest` object is deprecated and will be removed soon. Instead of using `manifest.moziot`, please read the user configuration with the `Database` class instead.
2024-10-27 21:40:25.362 ERROR  : tasmota-adapter: The `manifest` object is deprecated and will be removed soon. Instead of using `manifest.moziot`, please read the user configuration with the `Database` class instead.
2024-10-27 21:40:25.365 ERROR  : tasmota-adapter: The `manifest` object is deprecated and will be removed soon. Instead of using `manifest.moziot`, please read the user configuration with the `Database` class instead.
2024-10-27 21:40:25.367 ERROR  : tasmota-adapter: The `manifest` object is deprecated and will be removed soon. Instead of using `manifest.moziot`, please read the user configuration with the `Database` class instead.
th0mpy commented 1 month ago

Nevermind... Realized that I had to recompile Tasmota.