Read the Connect Omni Adapter guide:
https://raw.githubusercontent.com/ProtoPie/omni-adapter-ai/main/llms.txtConnect thisproject to my Connect Omni Stage.
Chooseand install the appropriate Adapter package,then add the connection code.
Readthe Adapter Key from CONNECT_TOKEN.
Neverhardcode,print,or commit it
Read the Connect Omni Adapter guide:
https://raw.githubusercontent.com/ProtoPie/omni-adapter-ai/main/llms.txtConnect thisproject to my Connect Omni Stage.
Chooseand install the appropriate Adapter package,then add the connection code.
Readthe Adapter Key from CONNECT_TOKEN.
Neverhardcode,print,or commit it
Read the Connect Omni Adapter guide:
https://raw.githubusercontent.com/ProtoPie/omni-adapter-ai/main/llms.txtConnect thisproject to my Connect Omni Stage.
Chooseand install the appropriate Adapter package,then add the connection code.
Readthe Adapter Key from CONNECT_TOKEN.
Neverhardcode,print,or commit it
Read the Connect Omni Adapter guide:
https://raw.githubusercontent.com/ProtoPie/omni-adapter-ai/main/llms.txtConnect thisproject to my Connect Omni Stage.
Chooseand install the appropriate Adapter package,then add the connection code.
Readthe Adapter Key from CONNECT_TOKEN.
Neverhardcode,print,or commit it
Read the Connect Omni Adapter guide:
https://raw.githubusercontent.com/ProtoPie/omni-adapter-ai/main/llms.txtConnect thisproject to my Connect Omni Stage.
Chooseand install the appropriate Adapter package,then add the connection code.
Readthe Adapter Key from CONNECT_TOKEN.
Neverhardcode,print,or commit it
このクイックスタートでは、Node.js バックエンドを使用して Web ダッシュボードを Connect Omni に接続します。Adapter はバックエンドで実行され、ダッシュボードはユーザーインターフェースを処理します。Adapter Key はバックエンドに保持し、ブラウザ側のコードには絶対に含めないでください。ダッシュボードがブラウザ内でのみ実行され、バックエンドを使用しない場合は、別の接続方法について Showing Apps on the Stage → Web View を参照してください。
AI コーディングツールを使用している場合は、以下のサンプルプロンプトを使用してダッシュボードとシミュレーターを構成できます。
ダッシュボード用プロンプト
Connect my existing web dashboard to Connect Omni using the published @studioxid/omni-adapter package.Read the Adapter Key from CONNECT_TOKEN. Neverhardcode,print,or commit it.
Usethe Adapter Name smart-home-dashboard.
Whenthe user selects a temperature,send climate.temperature.requestwiththat number.
Receiveclimate.temperatureand update the displayed temperature.
Runthe Adapter on a Node.jsbackend. Ifthisproject doesn't have one, add a small backend and connect it to the existing dashboard UI. Never expose the Adapter Key in browser-side code.
Handle connection errors and clean shutdown. Followthe installed package documentation.
Showme the files changed and how to run the dashboard. Donot invent Adapter APIs
Connect my existing web dashboard to Connect Omni using the published @studioxid/omni-adapter package.Read the Adapter Key from CONNECT_TOKEN. Neverhardcode,print,or commit it.
Usethe Adapter Name smart-home-dashboard.
Whenthe user selects a temperature,send climate.temperature.requestwiththat number.
Receiveclimate.temperatureand update the displayed temperature.
Runthe Adapter on a Node.jsbackend. Ifthisproject doesn't have one, add a small backend and connect it to the existing dashboard UI. Never expose the Adapter Key in browser-side code.
Handle connection errors and clean shutdown. Followthe installed package documentation.
Showme the files changed and how to run the dashboard. Donot invent Adapter APIs
Connect my existing web dashboard to Connect Omni using the published @studioxid/omni-adapter package.Read the Adapter Key from CONNECT_TOKEN. Neverhardcode,print,or commit it.
Usethe Adapter Name smart-home-dashboard.
Whenthe user selects a temperature,send climate.temperature.requestwiththat number.
Receiveclimate.temperatureand update the displayed temperature.
Runthe Adapter on a Node.jsbackend. Ifthisproject doesn't have one, add a small backend and connect it to the existing dashboard UI. Never expose the Adapter Key in browser-side code.
Handle connection errors and clean shutdown. Followthe installed package documentation.
Showme the files changed and how to run the dashboard. Donot invent Adapter APIs
Connect my existing web dashboard to Connect Omni using the published @studioxid/omni-adapter package.Read the Adapter Key from CONNECT_TOKEN. Neverhardcode,print,or commit it.
Usethe Adapter Name smart-home-dashboard.
Whenthe user selects a temperature,send climate.temperature.requestwiththat number.
Receiveclimate.temperatureand update the displayed temperature.
Runthe Adapter on a Node.jsbackend. Ifthisproject doesn't have one, add a small backend and connect it to the existing dashboard UI. Never expose the Adapter Key in browser-side code.
Handle connection errors and clean shutdown. Followthe installed package documentation.
Showme the files changed and how to run the dashboard. Donot invent Adapter APIs
Connect my existing web dashboard to Connect Omni using the published @studioxid/omni-adapter package.Read the Adapter Key from CONNECT_TOKEN. Neverhardcode,print,or commit it.
Usethe Adapter Name smart-home-dashboard.
Whenthe user selects a temperature,send climate.temperature.requestwiththat number.
Receiveclimate.temperatureand update the displayed temperature.
Runthe Adapter on a Node.jsbackend. Ifthisproject doesn't have one, add a small backend and connect it to the existing dashboard UI. Never expose the Adapter Key in browser-side code.
Handle connection errors and clean shutdown. Followthe installed package documentation.
Showme the files changed and how to run the dashboard. Donot invent Adapter APIs
シミュレーター用プロンプト
Connect my existing Python simulator to Connect Omni using the published omni-adapter package.
Readthe Adapter Key from CONNECT_TOKEN. Neverhardcode,print,or commit it.
Usethe Adapter Name smart-home-simulator.
Receiveclimate.temperature.request,convert its value to a number,and update the simulated temperature.
Sendclimate.temperaturewiththe confirmed value.
Handlereconnection and clean shutdown. Followthe installed package documentation.
Showme how to run the simulator. Donot invent Adapter APIs
Connect my existing Python simulator to Connect Omni using the published omni-adapter package.
Readthe Adapter Key from CONNECT_TOKEN. Neverhardcode,print,or commit it.
Usethe Adapter Name smart-home-simulator.
Receiveclimate.temperature.request,convert its value to a number,and update the simulated temperature.
Sendclimate.temperaturewiththe confirmed value.
Handlereconnection and clean shutdown. Followthe installed package documentation.
Showme how to run the simulator. Donot invent Adapter APIs
Connect my existing Python simulator to Connect Omni using the published omni-adapter package.
Readthe Adapter Key from CONNECT_TOKEN. Neverhardcode,print,or commit it.
Usethe Adapter Name smart-home-simulator.
Receiveclimate.temperature.request,convert its value to a number,and update the simulated temperature.
Sendclimate.temperaturewiththe confirmed value.
Handlereconnection and clean shutdown. Followthe installed package documentation.
Showme how to run the simulator. Donot invent Adapter APIs
Connect my existing Python simulator to Connect Omni using the published omni-adapter package.
Readthe Adapter Key from CONNECT_TOKEN. Neverhardcode,print,or commit it.
Usethe Adapter Name smart-home-simulator.
Receiveclimate.temperature.request,convert its value to a number,and update the simulated temperature.
Sendclimate.temperaturewiththe confirmed value.
Handlereconnection and clean shutdown. Followthe installed package documentation.
Showme how to run the simulator. Donot invent Adapter APIs
Connect my existing Python simulator to Connect Omni using the published omni-adapter package.
Readthe Adapter Key from CONNECT_TOKEN. Neverhardcode,print,or commit it.
Usethe Adapter Name smart-home-simulator.
Receiveclimate.temperature.request,convert its value to a number,and update the simulated temperature.
Sendclimate.temperaturewiththe confirmed value.
Handlereconnection and clean shutdown. Followthe installed package documentation.
Showme how to run the simulator. Donot invent Adapter APIs