Skip to main content

Web base data monitoring/visualizer for https://octopus-sensing.nastaran-saffar.me

Project description

Octopus Sensing Monitoring

A web-based real-time monitoring for Octopus Sensing. You can monitor your data from any machine in the same network.

Installation

It required Python 3.7 or later. And it needs to be installed on the same machine where Octopus Sensing is running.

You can use pip to install it:

pip install octopus-sensing-monitoring

Then simply run it by invoking octopus-sensing-monitoring from the command line.

You can also use one of the Python package managers like pipenv or poetry to prevent package conflict.

pipenv install octopus-sensing-monitoring
pipenv run octopus-sensing-monitoring

The monitoring will listen on 8080 port. Open a web page and point to the machine's IP. For example, in the same machine, open http://localhost:8080 . Or replace localhost with the machine's IP and open it from any other machine.

Testing with fake data

For testing purposes, you can ask the server to generate fake data instead of fetching data from Octopus Sensing. To do so, add --fake flag when running the script:

octopus-sensing-monitoring --fake

Naming your devices

In Octopus Sensing, when you're creating instance of devices, you need to provide a name. At the moment, device names are hard coded in this monitoring app. So you need to use these names for your devices in order for them to appear on the web page.

  • For OpenBCIStreaming use eeg (i.e. OpenBCIStreaming(name="eeg", ...) )
  • For Shimmer3Streaming use shimmer
  • For the webcam, you need to create instance of MonitoredWebcam and name it webcam

Security notice

Note that the web server accepts requests from any machine, and it uses http protocol which is not encrypted. Don't run it on a network that you don't trust.

Copyright

Copyright © 2020,2021 Aidin Gharibnavaz

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

See License file for full terms.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

octopus-sensing-monitoring-1.1.1.tar.gz (63.5 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file octopus-sensing-monitoring-1.1.1.tar.gz.

File metadata

  • Download URL: octopus-sensing-monitoring-1.1.1.tar.gz
  • Upload date:
  • Size: 63.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.7 CPython/3.8.10 Linux/5.4.0-72-generic

File hashes

Hashes for octopus-sensing-monitoring-1.1.1.tar.gz
Algorithm Hash digest
SHA256 968fd62a77058311bc8bf4c623d76aab2da68379baf58f04810783ae8c8982b6
MD5 1fabab1ca7428a698621ecd9f9e65cbb
BLAKE2b-256 9d79371cd1e50bbb51bb94fd517c467b80608416a18886a47cf0cfadb403ce5b

See more details on using hashes here.

File details

Details for the file octopus_sensing_monitoring-1.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for octopus_sensing_monitoring-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d0011fe16ee1b016416136673a2ad9f3a05d19eb24b6d892700aaf07cf6c2a8d
MD5 874962339c1d69a09fdd8fefe6e95020
BLAKE2b-256 59939de5d08bcbc1670bc6c8cd0c348373490e07b2a5311d6413734214f68ebe

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page