viewof lockIn1 = Inputs.checkbox(["Devices support Matter, Thread, or open APIs"], {label: "Lock-in Prevention:"})
viewof lockIn2 = Inputs.checkbox(["System works without vendor cloud"], {label: ""})
viewof lockIn3 = Inputs.checkbox(["Data is exportable in standard formats"], {label: ""})
viewof security1 = Inputs.checkbox(["Default credentials changed at provisioning"], {label: "Security Fundamentals:"})
viewof security2 = Inputs.checkbox(["IoT devices on separate network segment"], {label: ""})
viewof security3 = Inputs.checkbox(["Firmware update mechanism in place"], {label: ""})
viewof security4 = Inputs.checkbox(["Encryption for data in transit AND at rest"], {label: ""})
viewof cost1 = Inputs.checkbox(["5-year TCO calculated (not just hardware)"], {label: "Cost Management:"})
viewof cost2 = Inputs.checkbox(["Connectivity costs included per device/year"], {label: ""})
viewof cost3 = Inputs.checkbox(["Maintenance budget at 15-20% annually"], {label: ""})
viewof resilience1 = Inputs.checkbox(["System degrades gracefully without cloud"], {label: "Resilience:"})
viewof resilience2 = Inputs.checkbox(["Plausibility checks on sensor values"], {label: ""})
viewof resilience3 = Inputs.checkbox(["Watchdog timers and safe-state defaults"], {label: ""})
viewof resilience4 = Inputs.checkbox(["FMEA completed for critical components"], {label: ""})
viewof scale1 = Inputs.checkbox(["Load-tested at 2x expected device count"], {label: "Scalability:"})
viewof scale2 = Inputs.checkbox(["Zero-touch device provisioning automated"], {label: ""})
viewof privacy1 = Inputs.checkbox(["PII removed or anonymized in telemetry"], {label: "Privacy:"})
viewof privacy2 = Inputs.checkbox(["Data retention policy defined and enforced"], {label: ""})
// Calculate scores
lockInScore = lockIn1.length + lockIn2.length + lockIn3.length
securityScore = security1.length + security2.length + security3.length + security4.length
costScore = cost1.length + cost2.length + cost3.length
resilienceScore = resilience1.length + resilience2.length + resilience3.length + resilience4.length
scaleScore = scale1.length + scale2.length
privacyScore = privacy1.length + privacy2.length
totalScore = lockInScore + securityScore + costScore + resilienceScore + scaleScore + privacyScore
maxScore = 18
scorePercentage = ((totalScore / maxScore) * 100).toFixed(0)
riskLevel = scorePercentage >= 90 ? "Low Risk" :
scorePercentage >= 70 ? "Medium Risk" :
scorePercentage >= 50 ? "High Risk" : "Critical Risk"
riskColor = scorePercentage >= 90 ? "#16A085" :
scorePercentage >= 70 ? "#3498DB" :
scorePercentage >= 50 ? "#E67E22" : "#E74C3C"
html`
<div style="background: #f8f9fa; border-left: 4px solid ${riskColor}; padding: 1.5rem; margin: 1rem 0; border-radius: 4px;">
<h4 style="color: #2C3E50; margin-top: 0;">IoT Deployment Readiness Assessment</h4>
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin: 1.5rem 0;">
<div style="background: white; padding: 1rem; border-radius: 4px; border: 1px solid #dee2e6;">
<div style="color: #7F8C8D; font-size: 0.75rem; margin-bottom: 0.25rem;">Overall Score</div>
<div style="color: ${riskColor}; font-size: 2rem; font-weight: 700;">${scorePercentage}%</div>
<div style="color: ${riskColor}; font-size: 0.875rem; font-weight: 600; margin-top: 0.25rem;">${riskLevel}</div>
</div>
<div style="background: white; padding: 1rem; border-radius: 4px; border: 1px solid #dee2e6;">
<div style="color: #7F8C8D; font-size: 0.75rem; margin-bottom: 0.25rem;">Lock-in Prevention</div>
<div style="color: #2C3E50; font-size: 1.5rem; font-weight: 600;">${lockInScore}/3</div>
</div>
<div style="background: white; padding: 1rem; border-radius: 4px; border: 1px solid #dee2e6;">
<div style="color: #7F8C8D; font-size: 0.75rem; margin-bottom: 0.25rem;">Security</div>
<div style="color: #2C3E50; font-size: 1.5rem; font-weight: 600;">${securityScore}/4</div>
</div>
<div style="background: white; padding: 1rem; border-radius: 4px; border: 1px solid #dee2e6;">
<div style="color: #7F8C8D; font-size: 0.75rem; margin-bottom: 0.25rem;">Cost Management</div>
<div style="color: #2C3E50; font-size: 1.5rem; font-weight: 600;">${costScore}/3</div>
</div>
<div style="background: white; padding: 1rem; border-radius: 4px; border: 1px solid #dee2e6;">
<div style="color: #7F8C8D; font-size: 0.75rem; margin-bottom: 0.25rem;">Resilience</div>
<div style="color: #2C3E50; font-size: 1.5rem; font-weight: 600;">${resilienceScore}/4</div>
</div>
<div style="background: white; padding: 1rem; border-radius: 4px; border: 1px solid #dee2e6;">
<div style="color: #7F8C8D; font-size: 0.75rem; margin-bottom: 0.25rem;">Scalability</div>
<div style="color: #2C3E50; font-size: 1.5rem; font-weight: 600;">${scaleScore}/2</div>
</div>
<div style="background: white; padding: 1rem; border-radius: 4px; border: 1px solid #dee2e6;">
<div style="color: #7F8C8D; font-size: 0.75rem; margin-bottom: 0.25rem;">Privacy</div>
<div style="color: #2C3E50; font-size: 1.5rem; font-weight: 600;">${privacyScore}/2</div>
</div>
</div>
<div style="margin-top: 1.5rem; padding: 1rem; background: ${scorePercentage >= 90 ? '#d4edda' : scorePercentage >= 70 ? '#d1ecf1' : scorePercentage >= 50 ? '#fff3cd' : '#f8d7da'}; border-radius: 4px; border-left: 4px solid ${riskColor};">
<strong style="color: #2C3E50;">Assessment:</strong>
${scorePercentage >= 90 ?
'Excellent! Your IoT deployment follows best practices across all critical dimensions. Continue monitoring and updating security measures.' :
scorePercentage >= 70 ?
'Good progress. Address remaining gaps before production deployment, especially in security and resilience categories.' :
scorePercentage >= 50 ?
'Warning: Multiple critical gaps detected. Do NOT deploy to production until security, resilience, and cost management measures are in place.' :
'CRITICAL: Your deployment has fundamental gaps that will lead to failure. Complete a full IoT architecture review before proceeding.'}
</div>
${scorePercentage < 90 ? html`
<div style="margin-top: 1rem; padding: 1rem; background: white; border-radius: 4px; border: 1px solid #dee2e6;">
<strong style="color: #2C3E50;">Top Priorities:</strong>
<ul style="margin: 0.5rem 0 0 1.25rem; color: #2C3E50;">
${securityScore < 4 ? html`<li>Security gaps are the #1 cause of IoT breaches - prioritize network segmentation and encryption</li>` : ''}
${costScore < 3 ? html`<li>Calculate full 5-year TCO before deployment - hardware is only 25% of total cost</li>` : ''}
${resilienceScore < 3 ? html`<li>Test failure scenarios (cloud outage, sensor malfunction) - systems must degrade gracefully</li>` : ''}
${lockInScore < 2 ? html`<li>Vendor lock-in causes 40% of IoT abandonment - require open APIs and standards</li>` : ''}
</ul>
</div>
` : ''}
</div>
`Interactive Security Checklist Scorer
Interactive Security Checklist Scorer
animation
iot
applications
Try Change which checklist items apply to your project, then press Check readiness.
Observe Watch Overall Score and the individual gaps after you press Check readiness.
Explain Explain why individual gaps matter more than the percentage when you press Check readiness.
Technical boundaries. The inherited scorer contains 19 checks but divides by 18, so its maximum displayed score is 106%. Use individual gaps rather than its percentage to assess readiness.
This inherited scorer contains 19 checks but divides by 18, so its maximum displayed score is 106%; use the individual gaps rather than its percentage to assess readiness.
Interactive Security Checklist Scorer
Assess your IoT deployment against the 18-point pitfall prevention checklist. Check each item that applies to your project to see your readiness score.
Use this checklist before finalizing any IoT project plan. Each “No” answer represents a risk that should be addressed before proceeding.
- Lock-in: Devices support Matter, Thread, or open APIs; the system works without vendor cloud; data is exportable in standard formats.
- Security: Default credentials changed at provisioning; IoT devices on a separate network segment; firmware update mechanism in place; encryption for data in transit and at rest. Estimate annual maintenance from the planned fleet, replacement cycles and service contract instead of mandating 15–20% of TCO.
- Resilience: System degrades gracefully without cloud; plausibility checks reject impossible sensor values; watchdog timers and safe-state defaults are implemented; FMEA completed for critical components.
- Scale: Load-tested at 2x expected device count; zero-touch device provisioning automated.
- Privacy: PII removed or anonymized in telemetry; data retention policy defined and enforced.
The checklist is the handoff point from reading to action. If a row is unchecked, turn it into a named risk with a mitigation, cost, and owner before treating the project as production-ready.