TC9.14: How to use a mobile Phone Android as IOT Edge with IOT Applications in Node-RED

×

Warning message

  • You can't delete this newsletter because it has not been sent to all its subscribers.
  • You can't delete this newsletter because it has not been sent to all its subscribers.

Test Case Title

TC9.14: How to use Mobile Phone Android as IOT Edge with IOT Applications in Node-RED

Goal

I can have on my Android mobile phone or tablet an IOT applications directly connected with IOT devices and Snap4City Dashboard

I can exploit the mobile device sensors and actuators

I can save my IOT application on cloud and copy in other Android

Prerequisites

Using a PC with a web browser. You need credentials to access at the platform and thus to the IOT application.

having an Android device, Installing the Snap4All application, performing the registration to Snap4City

Expected successful result

usage of your personal data into the Snap4City platform according to your needs. 
  1. Suppose you have a phone and you want to install node-red and want to connect to the services offered by the platform Snap4City.
  2. This is possible with the Snap4All app. That You can download and install from here.
  3. Snap4all mobile app for ANDROID with NODE-RED, all Snap4City features in your hands:
    1. 2022 version: https://www.snap4city.org/download/video/Snap4All-v1.0.5-large.apk
    2. 2022 version: Technical Manual https://www.snap4city.org/drupal/sites/default/files/files/Snap4All-TechnicalManual-2022.pdf
    3. ​old: https://www.snap4city.org/download/video/Snap4All.apk
  4. The IOT Applications on Snap4All can exploit the sensors of the mobile phone, and may have a local users interface as local Dashboard. They may work as standalone solution sending messages to other IOT Devices and IOT Brokers as well as be connected to Snap4All, Snap4City, etc. platforms.
  5. The steps for installing node-red on your mobile phone are as follows:

 

    1. Install the application and open it:

Reboot the phone (wait for the installation of node-red, some messages are shown on the screen of the phone)
 

 

 

    1. Open the app and enjoy node-rED
  1. At this point it is possible to connect in two ways to the node-red interface:
    1. Directly from a browser within the Phone at http://localhost:1880
    2. From a browser within a computer located in the same subnet as the Phone at http://[IP of RPI]:1880

 

 

 

 

 

 

 

 

 

 

 

When you connect to the interface you must install the nodes of the snap4city platform by going to the menu under "Manage Palette".
 

  1. Inside the tab "Install" looking for the string "snap4city" appear the nodes of the platform and you can install them by clicking on the buttons on the right.
  2. Inside the application, during the installation of nodered the following nodes are automatically installed, which are part of the nodes developed for Termux
  3. on IOT Edge Android it is possible to exploit, tv camera, telephone, SMS, sharing, notifications, clipboard, GPS locations, wifi scan information, etc.

 

 

 

     
       
 

 

 

TC9.14: How to use a mobile Phone Android as IOT Edge with IOT Applications in Node-RED | Snap4City

Error

×

Error message

  • Unable to send e-mail. Contact the site administrator if the problem persists.
  • Unable to send e-mail. Contact the site administrator if the problem persists.
  • Unable to send e-mail. Contact the site administrator if the problem persists.
  • Notice: Trying to get property of non-object in user_is_logged_in() (line 1576 of /var/www/html/drupal/modules/user/user.module).
  • Notice: Trying to get property of non-object in user_is_logged_in() (line 1576 of /var/www/html/drupal/modules/user/user.module).
  • Notice: Trying to get property of non-object in og_field_access() (line 578 of /var/www/html/drupal/sites/default/modules/og/og.module).
  • Notice: Trying to get property of non-object in user_access() (line 806 of /var/www/html/drupal/modules/user/user.module).
  • Notice: Trying to get property of non-object in user_access() (line 818 of /var/www/html/drupal/modules/user/user.module).
  • Notice: Trying to get property of non-object in user_access() (line 819 of /var/www/html/drupal/modules/user/user.module).
  • Notice: Trying to get property of non-object in user_access() (line 825 of /var/www/html/drupal/modules/user/user.module).
  • Notice: Trying to get property of non-object in user_access() (line 828 of /var/www/html/drupal/modules/user/user.module).
  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/drupal/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/drupal/includes/bootstrap.inc).
  • Error: __clone method called on non-object in og_user_access_entity() (line 2249 of /var/www/html/drupal/sites/default/modules/og/og.module).
The website encountered an unexpected error. Please try again later.