Skip to main content

COOPER to Azure IoT Hub

Travis Release License

Installing

You can install cp2azure directly from PyPI:

sudo apt-get install libboost-python-dev
sudo pip3 install -U cp2azure

Usage

Update config.yml and run

cp2azure -c config.yml

Systemd

Insert this snippet to the file /lib/systemd/system/cp2azure.service:

[Unit]
Description=COOPER cp2azure
After=network.target

[Service]
Type=simple
User=pi
ExecStart=/usr/local/bin/cp2azure -c /etc/cooper/cp2azure.yml
Restart=always
RestartSec=5
StartLimitIntervalSec=0

[Install]
WantedBy=multi-user.target

Start the service:

sudo systemctl start cp2azure.service

Enable the service start on boot:

sudo systemctl enable cp2azure.service

View the service log:

journalctl -u cp2azure.service -f

License

This project is licensed under the MIT License - see the LICENSE file for details.

Metadata

Release files for cp2azure 1.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cp2azure 1.4.0
File Size Uploaded
cp2azure-1.4.0.tar.gz 4.6 kB Details

Release files / cp2azure-1.4.0.tar.gz

Download URL cp2azure-1.4.0.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
55f2b5d775303627d1b8dec08ff0d01d2215ab9c84e74228831677ebde06b707
BLAKE2b-256 checksum
How to use checksums
2649af6e94e8d5a459b1f6c344c4ef2bba53aaa79688cddcd3d25c1edc8be43f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.6.7

Release history Release notifications | RSS feed

This release

1.4.0 This release

1 release file

1.3.0

1 release file

1.2.0

1 release file

1.1.1

1 release file

1.0.1

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page