You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Boards utilizing a MCU with a built-in temperature sensor (measuring how hot the chip is) are identified via adafruit/Wippersnapper_Boards#94
To expose this as a component, we'd need a new component type called mcuTempSensor
Proposed schema.json:
{
"title": "MCU Temperature Sensor Component Definition",
"description": "A MCU temperature sensor WipperSnapper component for use in Adafruit IO",
"type": "object",
"required": [ "displayName", "subcomponents", ],
"additionalProperties": false,
"properties": {
"displayName": {
"description": "The human-friendly name of this component.",
"type": "string",
"minLength": 3,
"maxLength": 30
},
"published": {
"description": "If true, this component is supported by the current firmware version and will be displayed to all users. If false, it is hidden behind a developer toggle so that contributors can still work on it against the production site.",
"type": "boolean"
},
"subcomponents": {
"description": "The chip's temperature sensor (and its Fahrenheit counterpart).",
"type": "array",
"items": {
"type": "string",
"pattern": "^ambient-temp(-fahrenheit)?$"
}
}
}
}
Depending on what MCU name is defined by the board's definition.json, the component picker would present an image of that chip (maybe we can also overlay a thermometer icon):
For example, the PicoW use the RP2040 platform and the component's image would look like:
Boards utilizing a MCU with a built-in temperature sensor (measuring how hot the chip is) are identified via adafruit/Wippersnapper_Boards#94
To expose this as a component, we'd need a new component type called
mcuTempSensor
Proposed
schema.json
:Depending on what MCU name is defined by the board's definition.json, the component picker would present an image of that chip (maybe we can also overlay a thermometer icon):
For example, the PicoW use the RP2040 platform and the component's image would look like:
For the ESP32-S2 platform
Related:
adafruit/Adafruit_Wippersnapper_Arduino#390
adafruit/Wippersnapper_Boards#94
The text was updated successfully, but these errors were encountered: