OpenMTC/doc/training/console-outputs/training-sensor-actuator-ipe.md
2017-11-07 14:41:38 +01:00

25 lines
1.3 KiB
Markdown

```sh
user@host:/git$ ./openmtc-open-source/doc/training/start-app.sh
[1] onem2m-ipe-sensors-final.py
[2] onem2m-ipe-sensors-actuators-final.py
[3] onem2m-gui-sensors-final.py
[4] onem2m-gui-sensors-actuators-final.py
Choose the app to start: 2
PYTHONPATH: :/git/openmtc-open-source/doc/../futile/src:/git/openmtc-open-source/doc/../common/openmtc/lib:/git/openmtc-open-source/doc/../common/openmtc-onem2m/src:/git/openmtc-open-source/doc/../common/openmtc/src:/git/openmtc-open-source/doc/../serializers/*/src:/git/openmtc-open-source/doc/../openmtc-app/src
initializing sensor: Humi-1
Humi-1: {'type': 'humidity', 'unit': 'percentage', 'value': 66}
initializing sensor: Humi-2
Humi-2: {'type': 'humidity', 'unit': 'percentage', 'value': 75}
Humi-1: {'type': 'humidity', 'unit': 'percentage', 'value': 34}
Humi-2: {'type': 'humidity', 'unit': 'percentage', 'value': 78}
initializing sensor: Temp-2
Temp-2: {'type': 'temperature', 'unit': 'degreeC', 'value': 10}
initializing sensor: Temp-1
Temp-1: {'type': 'temperature', 'unit': 'degreeC', 'value': 10}
Humi-1: {'type': 'humidity', 'unit': 'percentage', 'value': 42}
Humi-1: {'type': 'humidity', 'unit': 'percentage', 'value': 67}
Temp-2: {'type': 'temperature', 'unit': 'degreeC', 'value': 27}
Temp-1: {'type': 'temperature', 'unit': 'degreeC', 'value': 20}
Temp-1: {'type': 'temperature', 'unit': 'degreeC', 'value': 23}
```