viewof sensor_count = Inputs.range([1, 10000], {
label: "Number of Sensors:",
value: 50,
step: 1
})
viewof sensor_types = Inputs.checkbox(
["Temperature", "Humidity", "Motion/PIR", "Light/Luminosity", "Pressure", "Vibration", "GPS/Location", "Camera/Video", "Audio/Sound", "Air Quality", "Water/Moisture", "Power/Energy"],
{label: "Sensor Types:", value: ["Temperature", "Humidity", "Motion/PIR"]}
)
viewof actuator_count = Inputs.range([0, 500], {
label: "Number of Actuators:",
value: 10,
step: 1
})
viewof actuator_types = Inputs.checkbox(
["Relays/Switches", "Motors/Servos", "Valves", "Displays/LEDs", "Speakers/Alarms", "HVAC Controls", "Locks/Access"],
{label: "Actuator Types:", value: ["Relays/Switches", "Displays/LEDs"]}
)
// Data characteristics
viewof data_rate = Inputs.select(
[
"Low (< 1 msg/min per sensor)",
"Medium (1-10 msg/min)",
"High (10-60 msg/min)",
"Very High (> 1 msg/sec)",
"Streaming (continuous)"
],
{label: "Data Frequency:", value: "Medium (1-10 msg/min)"}
)
viewof data_size = Inputs.select(
[
"Tiny (< 100 bytes)",
"Small (100 bytes - 1 KB)",
"Medium (1-10 KB)",
"Large (10-100 KB)",
"Very Large (> 100 KB, images/video)"
],
{label: "Message Size:", value: "Tiny (< 100 bytes)"}
)