Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

thing-it-device-browser

Package Overview
Dependencies
Maintainers
2
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

thing-it-device-browser

[thing-it-node] Device Plugin to show a website

  • 3.3.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
7
decreased by-22.22%
Maintainers
2
Weekly downloads
 
Created
Source

thing-it-device-browser

NPM NPM

[thing-it-node] Device Plugin for a custom Website.

Thing-IT browser device

1 Introdution
2 Configuration
2.1 device
2.2 instance
3 How to use it?
3.1 Navigate to URL
3.2 Authenticate device

1

The general purpose of the browser device is to easily manage displays.
The functionality is categorized into three parts:
a) Custom - URL
b) Template - HTML Template with placeholders
c) Kiosk – Pretty visualized information
a. Calendar
b. Dashboard
c. Events
d. Welcome
e. Wiki

In the Custom mode you are able to show a predefined URL.
The Template mode can show HTML templates, filled with placeholders in JSON format.
Kiosk mode provides you our Calendar, Dashboard, Events, Welcome and Wiki pages.

2.1

The device configuration has two properties:

  • Host
  • External Host

Host: The host field is for the local host, if you are using docker fill it with the container address.
Format: 0.0.0.0:10101

External Host:
The external host field contains the address, that the display can access.
Format: 0.0.0.0:10101

2.2

The instance configuration has six properties:

  • Identifier
  • URL
  • Template
  • Template Markup
  • Thing-IT username
  • Thing-IT password

Identifier:
The identifier is the first argument in the URL to identify the instance.

URL:
The URL to be shown in Custom/Kiosk mode, leave it empty for template mode.

Template: In this property you can fill an HTML page, with placeholders.
Examples for placeholders:
- {{firstName}}
- {{age}}

Template Markup:
In the template markup you can specify an JSON with to replace the placeholders.
Example for markups:
- { “firstName”: “Max”, “age”: 3 }

Thing-IT username/password:
This field is only for the kiosk mode! To authenticate clients for the kiosk pages, we have to generate an JWT.
The clients will not receive this information only the JWT!

3.2

The URL of the instance is in this syntax:

3.1

If you navigate to the URL you should see a six-digit token. To authenticate the client, you have to go to the Thing-IT Portal and call the instance service ‘Add one off token’ and enter as parameter the token. Now you’re client should be authenticated.

Keywords

FAQs

Package last updated on 19 Mar 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc