viewof hasComputer = Inputs.radio(["Yes", "No"], {label: "Has a computer chip?", value: "Yes"})
viewof hasInternet = Inputs.radio(["Yes", "No"], {label: "Connects to internet?", value: "Yes"})
viewof canLearn = Inputs.radio(["Yes", "No"], {label: "Can learn and adapt?", value: "No"})
viewof hasIntegration = Inputs.radio(["Yes", "No"], {label: "Integrates with ecosystem?", value: "No"})
deviceCategory = hasComputer === "No" ? "Mechanical Device" :
hasInternet === "No" ? "Embedded System" :
canLearn === "No" ? "Connected IoT" :
hasIntegration === "No" ? "Adaptive IoT" :
"Integrated IoT"
categoryColor = deviceCategory === "Mechanical Device" ? "#7F8C8D" :
deviceCategory === "Embedded System" ? "#3498DB" :
deviceCategory === "Connected IoT" ? "#E67E22" :
deviceCategory === "Adaptive IoT" ? "#9B59B6" :
"#16A085"
categoryDescription = deviceCategory === "Mechanical Device" ? "No computational capability - purely mechanical operation" :
deviceCategory === "Embedded System" ? "Single-purpose device with no network connectivity - operates in isolation" :
deviceCategory === "Connected IoT" ? "Meets the baseline IoT test; provides a networked service without claiming adaptation" :
deviceCategory === "Adaptive IoT" ? "Uses learning or context to improve decisions, with limited ecosystem integration" :
"Combines connected sensing, adaptive decisions, and ecosystem integration"
html`
<div style="background: #f8f9fa; padding: 20px; border-radius: 8px; border-left: 4px solid ${categoryColor};">
<div style="color: #2C3E50; margin-top: 0; font-size: 1rem; font-weight: 700;">Classification Result</div>
<div style="margin-top: 20px; padding: 20px; background: white; border-radius: 8px; box-shadow: 0 2px 6px rgba(0,0,0,0.1);">
<div style="text-align: center;">
<div style="color: #7F8C8D; font-size: 0.9em; margin-bottom: 8px;">Device Category</div>
<div style="color: ${categoryColor}; font-size: 2.2em; font-weight: bold; margin-bottom: 10px;">${deviceCategory}</div>
<div style="color: #2C3E50; font-size: 0.95em; line-height: 1.5;">${categoryDescription}</div>
</div>
</div>
<div style="margin-top: 15px; padding: 12px; background: #e8f5e9; border-radius: 6px; border-left: 3px solid #16A085;">
<strong style="color: #16A085;">Next Steps:</strong>
<span style="color: #2C3E50;">
${deviceCategory === "Connected IoT" ? "This qualifies as IoT at the connected-service tier. Add adaptation only when it supports a real outcome." :
deviceCategory === "Adaptive IoT" ? "This product adds learning or context. Integration may extend the service boundary when it creates measurable value." :
deviceCategory === "Integrated IoT" ? "This product combines baseline IoT architecture with adaptation and ecosystem integration." :
"Apply the decision tree by answering each question above."}
</span>
</div>
</div>
`Interactive Tool: Device Classification
Interactive Tool: Device Classification
animation
iot
applications
Try Change answers to the four questions, then press Check device.
Observe After Check device, watch Device Category and its description in Classification Result.
Explain Describe how Check device uses the first two questions to establish baseline architecture.
Technical boundaries. The decision tree uses four Yes or No answers. The first two establish baseline architecture; the next two describe adaptation and ecosystem integration.
Interactive Tool: Device Classification
Apply the maturity check to any device by answering four questions. The first two establish the baseline architecture; the next two describe more advanced capability.
Try it: Classify devices in your home. You will likely find that many “smart” products are connected IoT but not adaptive.