Osiota is a software platform capable of running distributed IoT applications written in JavaScript to enable any kind of IoT tasks. See osiota.
This application collects temperature values (and other data) from 1-Wire devices via owfs (1-Wire filesystem).
Properties
Name | Type | Description | Required |
---|---|---|---|
map | object[] |
Device mappings |
no |
host | string |
Host name of the owserver Default: "localhost" |
no |
port | number |
Port of the owserver Default: 4304 |
no |
Additional Properties: not allowed
Example
{
"map": [
{
"map": "28.AB8967452301",
"node": "/Außen/Außentemperatur",
"metadata": {
"type": "temperature.data",
"unit": "C",
"unit_long": "Celsius"
}
}
],
"host": "localhost",
"port": 4304
}
Device mappings
Items: Device mapping
Item Properties
Name | Type | Description | Required |
---|---|---|---|
map | string |
1-Wire device id (in format from OWFS) |
yes |
node | string |
Node name to publish data to |
no |
metadata | object |
Metadata for that device Default: {"type":"temperature.data","unit":"C","unit_long":"Celsius"} |
no |
Item Additional Properties: not allowed
Example
[
{
"map": "28.AB8967452301",
"node": "/Außen/Außentemperatur",
"metadata": {
"type": "temperature.data",
"unit": "C",
"unit_long": "Celsius"
}
}
]
Metadata for that device
Additional Properties: allowed
Example
{
"type": "temperature.data",
"unit": "C",
"unit_long": "Celsius"
}
Add a configuration object for this application, see osiota configuration:
{
"name": "onewire-owfs",
"config": CONFIG
}
Osiota and this application are released under the MIT license.
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.