Skip to content
Ciliatus Control Unit
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
log log dir Feb 3, 2018
setup added submodules Feb 3, 2018
system Decode API binary results if necessary May 27, 2019
worker Controlunit -> Control Unit Mar 17, 2018
.gitignore log dir Feb 3, 2018
.gitmodules added submodules Feb 3, 2018
LICENSE
README.md Update README.md Feb 15, 2018
__init__.py Initial Commit Jul 28, 2016
app.py Controlunit -> Control Unit Mar 17, 2018
config.example.ini missing i2c_multiplexer_port in config example Feb 12, 2018
pcb.pdf
setup.py Controlunit -> Control Unit Mar 17, 2018
setup_debian.sh

README.md

ciliatus_controlunit

Ciliatus Control Unit Primarily used for GPIO controlled sensors on a Raspberry Pi

Requirements

Setup

  • Generate config in Ciliatus and copy to config.ini.
  • Add authentication tokens

Run

If you're using multiple versions of python:

sudo python3.6 app.py

Otherwise

sudo python app.py

You can run it in background using nohup:

sudo nohup python app.py &

Note: root permissions are only required for GPIO access.

Supported sensors

MyPyDHT supports the following sensors:

  • DHT11
  • DHT22
  • AM2302
  • BME280

Other sensors should be relatively simple to implement using the existing infrastructure.

Troubleshooting

I2C devices are not responding or not showing up

I2C is sensitive to high distances. Try lowering the I2C clock and using a shielded cable. Lowering the clock on RaspberryPi is done by adding the following line in /boot/config.txt: dtparam=i2c_arm_baudrate=frequency

Replace frequency with your desired clock. 20kHz is reommended for up to 30m.

You can’t perform that action at this time.