Documentation
Web App
Android App
New in version 3.0
- Introducing the Android App with full RTOC remote control
- Websocket-API
- TCP is deprecated and removed from GUI. Use websockets instead.
- New Plugin Functions:
- self.warning(), self.info(), self.error(), self.debug() # Log available in the Android-App
- Persistent Variables: Variables are stored in a file and automatically loaded and saved
- Doc-Strings for functions and Plugin-class are displayed in Android-App. Doc-Strings for Parameters need to be defined seperate: self.__doc_PARAMETER__
- Webserver has been removed, because the Android App provides a better interface and could also run as a WebApp on any device. But I only published the App, If you need a WebApp, contact me.
- Several bugfixes
RealTime OpenControl is a simple way for real-time data recording, visualization and editing.
RTOC is made for communication with different devices (IoT) in a network or local sensors or devices providing data. It collects Data from any source and provides easy and intuitive user interaction. The simplest way is, to run RTOC with the user-frontend. But it can also run a HTML-Server providing plots and events. This is the best way to view the data, if RTOC is running on screen-less devices, like a Raspberry Pi. And in any other case, you can get full access and control of RTOC with a simple Telegram-Bot all over the world, without many configurations. This bot is also capable of sending messages or warnings, if events are triggered. Read more about Events later on.
There are different ways to access data on an RTOC-Server:
Basis for a RTOC-Server are plugins, which collect data in any way and provide their functions and parameters. These plugins are represented by simple python-plugins, which can be downloaded from the RTOC-plugin-repository for specific devices. You can also write your own plugins for it. If you want to publish your plugin in my repository, just send me a message.
Every plugin can send measurements and events to the RTOC-Server.
A measurement represents the collected data. Events occur in certain conditions (for example if a measured value is higher than a limit value) and can trigger actions, which will be performed after the event. Also these events can be used to trigger PushNotifications in Telegram.
RTOC is written in Python 3. Tested on Windows and Linux.
Python3 (and pip3) need to be installed on the System. But you can also download the Stand-Alone-Builts for Windows and Linux below. RTOC can be installed and used in different ways:
Click here for a complete setup-tutorial
Python plugins are integrated into RTOC and can be used to
Plugins can not access all measurements. This can be done with a websocket connection to RTOC.
Read the Wiki for full documentation
You can get more plugins from the RTOC-plugin-repository. Simply follow the steps described in the documentation:
In some cases you don’t want to run the GUI (e.g. raspberry). Then you can still configure RTOC in a terminal: python3 -m RTOC.RTLogger -c
If you just want to run the Websocket-Server after configuration, you can do this with python3 -m RTOC.RTLogger
. The best way, to run this code on embedded devices, is, to setup a systemd-service for automated startup. But you can also run/stop RTOC in background with ‘python3 -m RTOC.RTLogger -s start/stop’.
If you want to start the HTML server on port 8050, you need to run it with ‘python3 -m RTOC.RTLogger -w’.
Websocket clients can establish a connection to the RTOC server on the same computer or in the network (check firewall settings). With the necessary port shares on the router and dynamic DNS, the RTOC server can also be accessed from the Internet.
Websocket communication-protocoll is in JSON format, which allows communication in all programming languages and also, for example, with an ESP8266/ESP32 microcontroller. The communication can also be end-to-end-encrypted with AES. In this case, you need to implement the right encryption yourself.
A client can
The server will
All icons used in this software (including plugins) are kindly provided by Icons8
Please read CONTRIBUTING.md for details on my code of conduct, and the process for submitting pull requests to me.
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details