Add MQTT Broker integration (config UI + connection test)
schema.js already had an uncommitted mqtt entry (host/port config, username/password secrets) from a prior session — commits it now, adds the missing test-connection case (routes/integrations.js), and the mqtt package dependency it needs. The existing generic integration card UI in portal's AdminSettings.tsx needs no changes — it renders any schema entry automatically. initDb() auto-seeds the 'mqtt' row on next restart, so the "MQTT Broker" card will appear in Settings -> Integrations. Also adds a .gitignore — node_modules was untracked in this repo. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
parent
aaf857a5fd
commit
221be89667
5 changed files with 1179 additions and 3 deletions
|
|
@ -6,8 +6,9 @@
|
|||
"dependencies": {
|
||||
"@fastify/cors": "^9.0.1",
|
||||
"fastify": "^4.28.1",
|
||||
"nodemailer": "^6.10.1",
|
||||
"mqtt": "^5.15.2",
|
||||
"mssql": "^11.0.1",
|
||||
"nodemailer": "^6.10.1",
|
||||
"pg": "^8.12.0"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue