[PYTHON] I tried running the app on the IoT platform "Rimotte"

Preparation

Up to [Last time](https://qiita.com/remotte_jp/items/94fb73db9fb98e9e10a2 "I tried to register a station with the IoT platform" Rimotte ""), the management tool was displayed on the screen. If it's open, you're ready to go.

Download the app from the "Rimotte Store"

Click the "Go to Store" button on the management tool screen to open the Limotte Store. image.png "App store" is displayed. This time, let's try one of the most basic apps, "Station Management". This app is an app that can monitor the status of the station and restart it remotely, because it can grasp the CPU and memory usage, CPU temperature, battery status, station event log, list of connected users, etc. in real time. , It's a convenient app for running various apps from now on. image.png Scroll the screen, find the app you want, and click it. The detailed information of the app is displayed as shown below. image.png Now click the "Download" button at the top right of the screen to get the app file. image.png A file named "Station_Management.appf" has been downloaded.

Loading the app file

Next, go back to the administration tool, open the "Other" menu at the top right of the screen, and select "Import from file". image.png A file dialog will open, so you can specify the downloaded file and a progress dialog will appear stating that the app is loading. image.png When the loading is completed successfully, the app has been added to the management tool! image.png To run the app, you can press the "Start" button in the app displayed on this screen, but this time let's enter the details screen of the app. Click inside the area shown in green as shown below.

App details screen

At the top of the screen, there are four tabs, "General", "Configuration", "Usage page", and "Log". When you select "Configuration", the seven tabs that make up this app are on the left side of the screen. The elements are lined up vertically. If you click on them one by one, you can see the "information" and "settings" for each element. image.png Next, open the "Usage Page" tab. image.png In the menu on the left, three page names are arranged vertically, and if you click on them one by one, you can see "user", "display item", and "layout" for each page.

Run the app

As shown in the image above, open the "Usage Page" tab, select "Current State" on the left side of the screen, select the "Layout" tab on the right side, and press the "Start" button on the screen. .. image.png When the app started, the contents of the "Layout" tab changed from edit mode to run mode, and started displaying CPU and memory usage and temperature. The default data acquisition interval for this app is 10 seconds, so screen updates are relatively slow. If you cannot display the entire page you are using, you can change the display magnification at the bottom of the screen. Select "Log" or "Control" from the menu on the left side of the screen to see other screens. To stop the app, press the "Stop" button at the top of the screen. You can also return to the app list screen by clicking the left arrow at the top left of the screen.

Let's do more!

Next, let's download and execute "Sample user interface for one numerical value" and "Sample user interface for on / off information" from the app store. image.png As mentioned above, run the three apps at the same time. In the "Sample user interface for one numerical value", you can experience basic numerical input and input control using sliders. image.png In the "Sample on / off information user interface", you can experience the control of push buttons and changeover switches. image.png

Summary

Above, I downloaded the app from the Limotte store and ran it. This time, I tried using the app on the management tool of the computer running the Remotte station, but the actual usage is mostly via the Internet from a place away from the station. Next time should be used from a terminal other than the station, that is, an Android or iOS smartphone or tablet. To.

Recommended Posts

I tried running the app on the IoT platform "Rimotte"
I tried to register a station on the IoT platform "Rimotte"
I installed the IoT platform "Rimotte"
I tried running PIFuHD on Windows for the time being
I tried running YOLO v3 on Google Colab
I tried playing with the calculator on tkinter
I tried running pymc
I tried running TensorFlow
I tried AWS Iot
I tried python on heroku for the first time
I tried installing the Linux kernel on virtualbox + vagrant
I tried to notify the honeypot report on LINE
I tried running the sample code of the Ansible module
I tried the changefinder library!
I tried MLflow on Databricks
I tried changing the python script from 2.7.11 to 3.6.0 on windows10
I tried to launch ipython cluster to the minimum on AWS
I tried AdaNet on table data
I tried the TensorFlow tutorial 1st
I tried running the Python Package Repository (Warehouse) that supports PyPI
I tried the Naro novel API 2
I tried cross-validation based on the grid search results with scikit-learn
I tried the TensorFlow tutorial 2nd
I tried using the COTOHA API (there is code on GitHub)
Detect app releases on the App Store
I tried to digitize the stamp stamped on paper using OpenCV
I tried running GAN in Colaboratory
I tried Cython on Ubuntu on VirtualBox
I tried to get started with Bitcoin Systre on the weekend
I tried Grumpy (Go running Python).
Deploy the Flask app on Heroku
I tried the Naruro novel API
I tried running the DNN part of OpenPose with Chainer CPU
Deploy the Flask app on heroku
I tried running prolog with python 3.8.2.
I tried to move the ball
I tried running the TensorFlow tutorial with comments (_TensorFlow_2_0_Introduction for beginners)
I tried using the checkio API
I tried to estimate the interval.
[Python] I tried to visualize the night on the Galactic Railroad with WordCloud!
Matching karaoke keys ~ I tried to put it on Laravel ~ <on the way>
I tried with the top 100 PyPI packages> I tried to graph the packages installed on Python
The story of running the asp.net core 3.1 app on arm64 version Amazon Linux 2
I tried the TensorFlow tutorial MNIST 3rd
I tried the asynchronous server of Django 3.0
I tried tensorflow for the first time
I tried to recognize the wake word
I stumbled on the Hatena Keyword API
Deploy the Django app on Heroku [Part 2]
I tried the OSS visualization tool, superset
Deploy the Django app on Heroku [Part 1]
I tried to summarize the graphical modeling.
I tried to estimate the pi stochastically
I tried to touch the COTOHA API
Python: I tried the traveling salesman problem
I tried playing with the image with Pillow
I tried the Python Tornado Testing Framework
I tried using the BigQuery Storage API
I tried to use Resultoon on Mac + AVT-C875, but I was frustrated on the way.
I tried running Flask on Raspberry Pi 3 Model B + using Nginx and uWSGI
[IBM Cloud] I tried to access the Db2 on Cloud table from Cloud Funtions (python)