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 itwebcam
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file octopus-sensing-monitoring-1.1.0.tar.gz
.
File metadata
- Download URL: octopus-sensing-monitoring-1.1.0.tar.gz
- Upload date:
- Size: 63.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.7 CPython/3.8.5 Linux/5.4.0-72-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2101d8be2201780aeb75ac7bd2b22892cec9a0f7aa014c9c62553aeee284fa22 |
|
MD5 | 8106e244efea0ab020e2f78aec0a89af |
|
BLAKE2b-256 | 2358d2ac8564fcf7400dea2e030f45fec81f8e45007f7146fe63308bd6fcd9d4 |
File details
Details for the file octopus_sensing_monitoring-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: octopus_sensing_monitoring-1.1.0-py3-none-any.whl
- Upload date:
- Size: 65.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.7 CPython/3.8.5 Linux/5.4.0-72-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6eac5602bc03b805e11822a48ef422b4a707182992abc6b4611d3c2ce10d809 |
|
MD5 | a76199bb0ce50cbdbf59ca153c98cdf5 |
|
BLAKE2b-256 | fb2df2091a4de91476677d982e5f0794e229cf8a31b278044a38e8299aa37d30 |