Adding more stuff from sensor kit
{
"name": "calvinsys.io.light",
"module": "ui.Actuator",
- "attributes": {}
+ "attributes": {"ui_def": {"image":"KY-016", "control":{"sensor":false, "type":"boolean", "default":false}}}
},
{
"name": "calvinsys.io.switch",
"module": "ui.Sensor",
- "attributes": {}
+ "attributes": {"ui_def": {"image":"KY-004", "control":{"sensor":true, "type":"boolean", "default":false}}}
+ },
+ {
+ "name": "calvinsys.io.button",
+ "module": "ui.Sensor",
+ "attributes": {"ui_def": {"image":"KY-004", "control":{"sensor":true, "type":"boolean", "default":0, "behaviour":"momentary"}}}
},
{
"name": "calvinsys.io.tiltswitch",
"module": "ui.Sensor",
- "attributes": {}
+ "attributes": {"ui_def": {"image":"KY-004", "control":{"sensor":true, "type":"boolean", "default":false}}}
},
{
"name": "calvinsys.io.lightbreaker",
"module": "ui.Sensor",
- "attributes": {}
+ "attributes": {"ui_def": {"image":"KY-004", "control":{"sensor":true, "type":"boolean", "default":false}}}
+ },
+ {
+ "name": "calvinsys.io.buzzer",
+ "module": "ui.Actuator",
+ "attributes": {"ui_def": {"image":"KY-004", "control":{"sensor":false, "type":"int", "default":false, "behaviour":"audio"}}}
+ },
+ {
+ "name": "calvinsys.io.pwm",
+ "module": "ui.Actuator",
+ "attributes": {"ui_def": {"image":"KY-004", "control":{"sensor":false, "type":"float", "default":0}}}
},
{
"name": "calvinsys.io.temperature",
}
}
-
