Tutorial to get familiar with connnecting sensors to O-MI Node the simple way, and introducting subscriptions.
Open tutorial-final.pdf
slideshow for futrher instructions.
This script is used to obtain CO2 value through serial interface and send to the O-MI node. Change myhost:post to the address of receiving O-MI node.
- For RPi 1, the serial port is linked to /dev/serial0
- For RPi 3, the port is linked to /dev/ttyS0
This script is used to obtain humidity and temperature value from SHT-20 sensor through I2C interface and send to the O-MI node. Change myhost:post to the address of receiving O-MI node.
This bash script library is used to construct O-MI write requests.
This script defines the O-DF structure and where to get values. It reads values of Raspberry pi I2C/OneWire sensors.
Reads temperature and humidity from SHT-20 sensors and send to a hard-coded O-MI node.
Reads CO2 from S-100 sensors and send to a hard-coded O-MI node.
A python script to send O-MI write request.
A python script to remove extra characters and send O-MI write request.