1.0.6 • Published 3 years ago

osiota-app-onewire-owfs v1.0.6

Weekly downloads
6
License
MIT
Repository
github
Last release
3 years ago

osiota application onewire-owfs

Osiota is a software platform capable of running distributed IoT applications written in JavaScript to enable any kind of IoT tasks. See osiota.

Configuration: onewire-owfs

This application collects temperature values (and other data) from 1-Wire devices via owfs (1-Wire filesystem).

Properties

NameTypeDescriptionRequired
mapobject[]Device mappingsno
hoststringHost name of the owserverDefault: "localhost"no
portnumberPort of the owserverDefault: 4304no

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
}

map[]:

Device mappings

Items: Device mapping

Item Properties

NameTypeDescriptionRequired
mapstring1-Wire device id (in format from OWFS)yes
nodestringNode name to publish data tono
metadataobjectMetadata for that deviceDefault: {"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"
        }
    }
]

map[].metadata:

Metadata for that device

Additional Properties: allowed Example

{
    "type": "temperature.data",
    "unit": "C",
    "unit_long": "Celsius"
}

How to setup

Add a configuration object for this application, see osiota configuration:

{
    "name": "onewire-owfs",
    "config": CONFIG
}

License

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.

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.2

3 years ago

1.0.3

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago