SlideShare uma empresa Scribd logo
1 de 28
© Hitachi, Ltd. 2021. All rights reserved.
Node-RED Installer,
Standalone Installer using Electron
Hitachi, Ltd.
OSS Solution Center
10/23/2021
Kazuhito Yokoi
1
© Hitachi, Ltd. 2021. All rights reserved.
• Kazuhito Yokoi
• Software Engineer in Hitachi, Ltd.
• Member of Node-RED project
• Organizer of Node-RED user group
• My accomplishments
• 4th ranked contributor
• Maintainer of sub-projects
• Speaker in global conferences
Self-introduction
https://www.hitachi.com/rd/sc/story/nodered
https://www.youtube.com/watch?v=3_7BikDCXk8
© Hitachi, Ltd. 2021. All rights reserved.
1. Our use cases
2. Node-RED Installer
3. Offline use
Contents
2
4. Developing environment
3
© Hitachi, Ltd. 2021. All rights reserved.
Our use cases
4
© Hitachi, Ltd. 2021. All rights reserved.
Hitachi has used Node-RED in various products and services.
• Lumada Solution Hub
(Environment for IoT solutions)
• Hitachi Data Hub
(Platform to collect, refine and store data)
• HA8000E (Edge computer)
• Hitachi Digital Supply Chain/IoT
• Solution using human pose and
behavior recognition
• Planning system for manufacturing
Our products and services
https://www.hitachi.com/rev/archive/2020/r2020_05/05a02/index.html https://www.hitachi.co.jp/products/it/IoTM2M/list/datahub/
https://www.hitachi.co.jp/products/it/ha8000e/ https://www.hitachi.co.jp/products/it/industry/solution/dsc/dsc_iot.html
https://info.hitachi-ics.co.jp/product/activity_evaluation/ https://www.hitachi-solutions.co.jp/ppdss/
5
© Hitachi, Ltd. 2021. All rights reserved.
Node-RED connect OT/IT engineers and customers
who have different backgrounds.
• Suitable for discussions
• Visual programming
• Explanations using tablet and PC
• Citizen development
• Feasibility studies
• Utilizing of IoT and AI technologies
• Rapid development
• Reducing time to develop solutions
• High-quality solutions
Why we use Node-RED
6
© Hitachi, Ltd. 2021. All rights reserved.
Node-RED has abilities to apply state-of-the-art technologies to legacy fields.
Platform to apply modern technologies
Modern
technologies
Mission-critical
IoT fields
Existing products
Apply technologies
Low code IoT AI
Cloud
native
Micro
service
Version
control
CI/CD
7
© Hitachi, Ltd. 2021. All rights reserved.
19 contributors have added new features to the Node-RED project since 2016.
• Japanese translations
• Changing node icon
• Message sequence nodes
• Context Store
• Subflow UI
• Flow linter
• Node generator
• Node-RED Installer
Our contributions to Node-RED project
Contribution statistics
Pull requests
from our team
https://bit.ly/3dqGwRz
8
© Hitachi, Ltd. 2021. All rights reserved.
Node-RED Installer
9
© Hitachi, Ltd. 2021. All rights reserved.
Standalone installer including Node.js, Node-RED nodes, and Node-RED
• Installers for Windows, macOS, and Linux
• Server behaviors which are the same as original Node-RED
Node-RED Installer
Browser
engine
External browsers
Node-RED
installer
Electron
modules
modules
Node-RED
nodes
Local PC or server
Node-RED installer package
Build Install
10
© Hitachi, Ltd. 2021. All rights reserved.
• Building methods
- electron-builder to generate native installers
- Packaging connectors as dependencies
- Downloading other components before building
• Built installers
- Windows (msi)
- macOS (dmg)
- Linux (deb and rpm)
How to build Node-RED Installer
Native installers
electron-builder
Build
Download
11
© Hitachi, Ltd. 2021. All rights reserved.
12
© Hitachi, Ltd. 2021. All rights reserved.
Offline use
13
© Hitachi, Ltd. 2021. All rights reserved.
Low code development is essential for Non-IT engineers to create solutions.
[ Examples of factory modernization ]
• Dashboard to visualize production line
• Defect detection based on image analysis
• Safety measure by human detection
Factory modernization by low code tool
Dashboard
Collect data
Control
Visualize
Analyze
Edge computer
Non-IT engineers
Develop solutions
LCD
14
© Hitachi, Ltd. 2021. All rights reserved.
The conflicting backgrounds between
JavaScript technologies and industrial IoT fields
• JavaScript technologies that require
internet connections to download components
• Closed network for mission-critical
IoT system inside factories
-> We encountered the problem
to install Node-RED.
Problems to install Node-RED in offline environment
Closed network
15
© Hitachi, Ltd. 2021. All rights reserved.
We solved the problems using the Node-RED installer.
[ Cases to use installer ]
• Setting up the Node-RED environment initially
• Upgrading installed Node-RED and nodes
Solution by Node-RED installer
Node-RED
installer
Closed network
Install/
upgrade
16
© Hitachi, Ltd. 2021. All rights reserved.
Demonstration: Image recognition using TensorFlow.js
[ Object detection in automated lines ]
(1) Capture image in the production line
(2) Analyze the image data using the TensorFlow.js model
(3) Move the object by the robot arm
(1) Capture
(3) Control
(2) Analyze
Lines inside factory
Object detection
17
© Hitachi, Ltd. 2021. All rights reserved.
18
© Hitachi, Ltd. 2021. All rights reserved.
Developing environment
19
© Hitachi, Ltd. 2021. All rights reserved.
Problem 1:
Command-line operations
to install Node-RED
Problems in developing environment of Node-RED
Node-RED
Developers
Fragile
flow
> npm install
Error !
Warning !
Difficult for
beginners
Production
environment
Problem 2:
Single environment to develop flow
Developers
20
© Hitachi, Ltd. 2021. All rights reserved.
We often use the following tools in other languages like Java and Python.
• Individual developing environments
• Source code repository
• CI/CD pipelines
General development style in other languages
Git
repository
Application
Production
environment
Deploy
Add code
Add code
Developers
Test
21
© Hitachi, Ltd. 2021. All rights reserved.
• The installer makes it easy to prepare individual developing environments.
• Because project feature is the default in the environment,
developers can connect to source code repository and CI/CD pipelines.
Node-RED environment to apply general development
Git
repository
Application
Production
environment
Deploy
Add code
Add code
Test
Developers
22
© Hitachi, Ltd. 2021. All rights reserved.
23
© Hitachi, Ltd. 2021. All rights reserved.
24
© Hitachi, Ltd. 2021. All rights reserved.
We suggested and contributed to tools to improve the flow quality.
• Flow linter
Command-line tool
to detect flow errors
• Flow test
Command-line tool to test flow
Both functionalities are available
on Node-RED flow editor
Command line tools for CI/CD pipelines
Unconnected pair nodes
Overlapping nodes
No name specified
No name specified
25
© Hitachi, Ltd. 2021. All rights reserved.
Node-RED User Group Japan
User group to share knowledge about Node-RED
• Meetups
• Online articles
• Publishing books
• Translation of the website
We’re going to hold meetup for enterprise.
• Day and time: December 16th 12:00-13:00 (JST)
• Location: YouTube Live
• Speakers: Panasonic and Hitachi
https://www.amazon.co.jp/dp/4777521508 https://www.amazon.co.jp/dp/B08SJGQPNL https://twitter.com/taiponrock/status/799563109920706561
© Hitachi, Ltd. 2021. All rights reserved. 26
END
Node-RED Installer,
Standalone Installer using Electron
Kazuhito Yokoi
10/23/2021
Hitachi, Ltd.
OSS Solution Center
27
© Hitachi, Ltd. 2021. All rights reserved.
• Node-RED, Electron and Node.js are trademarks of OpenJS Foundation.
• Google Chrome is a trademark of Google LLC.
• The Firefox is a trademark of the Mozilla Foundation.
• Microsoft Edge and Windows are trademarks of Microsoft Corporation.
• npm is a trademark of npm, Inc.
• macOS is a trademark of Apple Incorporated.
• Ubuntu is a trademark of Canonical Limited.
• Red Hat is a registered trademark of Red Hat, Inc.
in the United States and other countries.
• Raspberry Pi is a registered trademark of the Raspberry Pi Foundation.
• Linux is a registered trademark of Linus Torvalds
in the U.S. and other countries.
• GitHub is a trademark of GitHub, Inc.
• Gitlab is a trademark of GitLab, Inc.
• Other company, product or service names may be trademark or
registered trademark of others.
Trademarks

Mais conteúdo relacionado

Mais procurados

intel Sync. & Edge Solution udpate xEng-v1.0.pptx
intel Sync. & Edge Solution udpate xEng-v1.0.pptxintel Sync. & Edge Solution udpate xEng-v1.0.pptx
intel Sync. & Edge Solution udpate xEng-v1.0.pptx
Alex Wooram Kim
 

Mais procurados (20)

Hands on-intro to Node-RED
Hands on-intro to Node-REDHands on-intro to Node-RED
Hands on-intro to Node-RED
 
intel Sync. & Edge Solution udpate xEng-v1.0.pptx
intel Sync. & Edge Solution udpate xEng-v1.0.pptxintel Sync. & Edge Solution udpate xEng-v1.0.pptx
intel Sync. & Edge Solution udpate xEng-v1.0.pptx
 
ただしくHTTPSを設定しよう!
ただしくHTTPSを設定しよう!ただしくHTTPSを設定しよう!
ただしくHTTPSを設定しよう!
 
Pune Flutter Presents - Flutter 101
Pune Flutter Presents - Flutter 101Pune Flutter Presents - Flutter 101
Pune Flutter Presents - Flutter 101
 
Non overlapped melay 1010 sequence detector implemented on xilinx spartan 3e kit
Non overlapped melay 1010 sequence detector implemented on xilinx spartan 3e kitNon overlapped melay 1010 sequence detector implemented on xilinx spartan 3e kit
Non overlapped melay 1010 sequence detector implemented on xilinx spartan 3e kit
 
Embedded Rust
Embedded RustEmbedded Rust
Embedded Rust
 
Using Node-RED for building IoT workflows
Using Node-RED for building IoT workflowsUsing Node-RED for building IoT workflows
Using Node-RED for building IoT workflows
 
NodeMCU ESP8266 workshop 1
NodeMCU ESP8266 workshop 1NodeMCU ESP8266 workshop 1
NodeMCU ESP8266 workshop 1
 
「The Things Networkの生い立ちとTNN Japanユースケース」
「The Things Networkの生い立ちとTNN Japanユースケース」「The Things Networkの生い立ちとTNN Japanユースケース」
「The Things Networkの生い立ちとTNN Japanユースケース」
 
ESP32 WiFi & Bluetooth Module - Getting Started Guide
ESP32 WiFi & Bluetooth Module - Getting Started GuideESP32 WiFi & Bluetooth Module - Getting Started Guide
ESP32 WiFi & Bluetooth Module - Getting Started Guide
 
Node-RED v1.3新機能紹介
Node-RED v1.3新機能紹介Node-RED v1.3新機能紹介
Node-RED v1.3新機能紹介
 
WebRTCハンズオン
WebRTCハンズオンWebRTCハンズオン
WebRTCハンズオン
 
ESP8266 and IOT
ESP8266 and IOTESP8266 and IOT
ESP8266 and IOT
 
Node red for Raspberry Pi
Node red for Raspberry PiNode red for Raspberry Pi
Node red for Raspberry Pi
 
OpenStack Networking
OpenStack NetworkingOpenStack Networking
OpenStack Networking
 
Sdn and open flow tutorial 4
Sdn and open flow tutorial 4Sdn and open flow tutorial 4
Sdn and open flow tutorial 4
 
知っているようで知らないNeutron -仮想ルータの冗長と分散- - OpenStack最新情報セミナー 2016年3月
知っているようで知らないNeutron -仮想ルータの冗長と分散- - OpenStack最新情報セミナー 2016年3月 知っているようで知らないNeutron -仮想ルータの冗長と分散- - OpenStack最新情報セミナー 2016年3月
知っているようで知らないNeutron -仮想ルータの冗長と分散- - OpenStack最新情報セミナー 2016年3月
 
ガチで聞く!ヤフーのOpenStackプライベート・クラウドの実態とは
ガチで聞く!ヤフーのOpenStackプライベート・クラウドの実態とはガチで聞く!ヤフーのOpenStackプライベート・クラウドの実態とは
ガチで聞く!ヤフーのOpenStackプライベート・クラウドの実態とは
 
Multicast in OpenStack
Multicast in OpenStackMulticast in OpenStack
Multicast in OpenStack
 
Devops
DevopsDevops
Devops
 

Semelhante a Node-RED Installer, Standalone Installer using Electron

Srikanth_PILLI_CV_latest
Srikanth_PILLI_CV_latestSrikanth_PILLI_CV_latest
Srikanth_PILLI_CV_latest
Srikanth Pilli
 

Semelhante a Node-RED Installer, Standalone Installer using Electron (20)

Why the yocto project for my io t project elc_edinburgh_2018
Why the yocto project for my io t project elc_edinburgh_2018Why the yocto project for my io t project elc_edinburgh_2018
Why the yocto project for my io t project elc_edinburgh_2018
 
Summit 16: NetIDE: Integrating and Orchestrating SDN Controllers
Summit 16: NetIDE: Integrating and Orchestrating SDN ControllersSummit 16: NetIDE: Integrating and Orchestrating SDN Controllers
Summit 16: NetIDE: Integrating and Orchestrating SDN Controllers
 
Srikanth_PILLI_CV_latest
Srikanth_PILLI_CV_latestSrikanth_PILLI_CV_latest
Srikanth_PILLI_CV_latest
 
How to Enterprise Node
How to Enterprise NodeHow to Enterprise Node
How to Enterprise Node
 
Software update for IoT Embedded World 2017
Software update for IoT Embedded World 2017Software update for IoT Embedded World 2017
Software update for IoT Embedded World 2017
 
Contributions to Node-RED project
Contributions to Node-RED projectContributions to Node-RED project
Contributions to Node-RED project
 
ARM
ARMARM
ARM
 
Enhancing and modifying_the_core_android_os
Enhancing and modifying_the_core_android_osEnhancing and modifying_the_core_android_os
Enhancing and modifying_the_core_android_os
 
INF104 - HCL Domino AppDev Pack – The Future of Domino App Dev Nobody Knows A...
INF104 - HCL Domino AppDev Pack – The Future of Domino App Dev Nobody Knows A...INF104 - HCL Domino AppDev Pack – The Future of Domino App Dev Nobody Knows A...
INF104 - HCL Domino AppDev Pack – The Future of Domino App Dev Nobody Knows A...
 
getting started with e2studio
getting started with e2studiogetting started with e2studio
getting started with e2studio
 
Android - Application Framework
Android - Application FrameworkAndroid - Application Framework
Android - Application Framework
 
Amora
AmoraAmora
Amora
 
SC4 Workshop 2: Hajira Jabeen BDE Platform architecture
SC4 Workshop 2: Hajira Jabeen BDE Platform architectureSC4 Workshop 2: Hajira Jabeen BDE Platform architecture
SC4 Workshop 2: Hajira Jabeen BDE Platform architecture
 
Introdução ao Tizen
Introdução ao TizenIntrodução ao Tizen
Introdução ao Tizen
 
Sa*ple
Sa*pleSa*ple
Sa*ple
 
Comparing Next-Generation Container Image Building Tools
 Comparing Next-Generation Container Image Building Tools Comparing Next-Generation Container Image Building Tools
Comparing Next-Generation Container Image Building Tools
 
Eclipse Che - A Revolutionary IDE for Distributed & Mainframe Development
Eclipse Che - A Revolutionary IDE for Distributed & Mainframe DevelopmentEclipse Che - A Revolutionary IDE for Distributed & Mainframe Development
Eclipse Che - A Revolutionary IDE for Distributed & Mainframe Development
 
Software update for IoT: the current state of play
Software update for IoT: the current state of playSoftware update for IoT: the current state of play
Software update for IoT: the current state of play
 
Android Services Skill Sprint
Android Services Skill SprintAndroid Services Skill Sprint
Android Services Skill Sprint
 
Enhancing and modifying_the_core_android_os
Enhancing and modifying_the_core_android_osEnhancing and modifying_the_core_android_os
Enhancing and modifying_the_core_android_os
 

Mais de Hitachi, Ltd. OSS Solution Center.

Mais de Hitachi, Ltd. OSS Solution Center. (20)

Guide of authentication and authorization for cloud native applications with ...
Guide of authentication and authorization for cloud native applications with ...Guide of authentication and authorization for cloud native applications with ...
Guide of authentication and authorization for cloud native applications with ...
 
KeycloakのCNCF incubating project入りまでのアップストリーム活動の歩み
KeycloakのCNCF incubating project入りまでのアップストリーム活動の歩みKeycloakのCNCF incubating project入りまでのアップストリーム活動の歩み
KeycloakのCNCF incubating project入りまでのアップストリーム活動の歩み
 
KubeCon NA 2023 Recap: Challenge to Implementing “Scalable” Authorization wit...
KubeCon NA 2023 Recap: Challenge to Implementing “Scalable” Authorization wit...KubeCon NA 2023 Recap: Challenge to Implementing “Scalable” Authorization wit...
KubeCon NA 2023 Recap: Challenge to Implementing “Scalable” Authorization wit...
 
パスキーでリードする: NGINXとKeycloakによる効率的な認証・認可
パスキーでリードする: NGINXとKeycloakによる効率的な認証・認可パスキーでリードする: NGINXとKeycloakによる効率的な認証・認可
パスキーでリードする: NGINXとKeycloakによる効率的な認証・認可
 
Keycloakの全体像: 基本概念、ユースケース、そして最新の開発動向
Keycloakの全体像: 基本概念、ユースケース、そして最新の開発動向Keycloakの全体像: 基本概念、ユースケース、そして最新の開発動向
Keycloakの全体像: 基本概念、ユースケース、そして最新の開発動向
 
Challenge to Implementing "Scalable" Authorization with Keycloak
Challenge to Implementing "Scalable" Authorization with KeycloakChallenge to Implementing "Scalable" Authorization with Keycloak
Challenge to Implementing "Scalable" Authorization with Keycloak
 
KubeConRecap_nakamura.pdf
KubeConRecap_nakamura.pdfKubeConRecap_nakamura.pdf
KubeConRecap_nakamura.pdf
 
NGINXでの認可について考える
NGINXでの認可について考えるNGINXでの認可について考える
NGINXでの認可について考える
 
Security Considerations for API Gateway Aggregation
Security Considerations for API Gateway AggregationSecurity Considerations for API Gateway Aggregation
Security Considerations for API Gateway Aggregation
 
KeycloakでFAPIに対応した高セキュリティなAPIを公開する
KeycloakでFAPIに対応した高セキュリティなAPIを公開するKeycloakでFAPIに対応した高セキュリティなAPIを公開する
KeycloakでFAPIに対応した高セキュリティなAPIを公開する
 
IDガバナンス&管理の基礎
IDガバナンス&管理の基礎IDガバナンス&管理の基礎
IDガバナンス&管理の基礎
 
Keycloakのステップアップ認証について
Keycloakのステップアップ認証についてKeycloakのステップアップ認証について
Keycloakのステップアップ認証について
 
NGINXをBFF (Backend for Frontend)として利用した話
NGINXをBFF (Backend for Frontend)として利用した話NGINXをBFF (Backend for Frontend)として利用した話
NGINXをBFF (Backend for Frontend)として利用した話
 
Why Assertion-based Access Token is preferred to Handle-based one?
Why Assertion-based Access Token is preferred to Handle-based one?Why Assertion-based Access Token is preferred to Handle-based one?
Why Assertion-based Access Token is preferred to Handle-based one?
 
KeycloakでAPI認可に入門する
KeycloakでAPI認可に入門するKeycloakでAPI認可に入門する
KeycloakでAPI認可に入門する
 
What API Specifications and Tools Help Engineers to Construct a High-Security...
What API Specifications and Tools Help Engineers to Construct a High-Security...What API Specifications and Tools Help Engineers to Construct a High-Security...
What API Specifications and Tools Help Engineers to Construct a High-Security...
 
Implementing security and availability requirements for banking API system us...
Implementing security and availability requirements for banking API system us...Implementing security and availability requirements for banking API system us...
Implementing security and availability requirements for banking API system us...
 
Lightweight Zero-trust Network Implementation and Transition with Keycloak an...
Lightweight Zero-trust Network Implementation and Transition with Keycloak an...Lightweight Zero-trust Network Implementation and Transition with Keycloak an...
Lightweight Zero-trust Network Implementation and Transition with Keycloak an...
 
Overall pictures of Identity provider mix-up attack patterns and trade-offs b...
Overall pictures of Identity provider mix-up attack patterns and trade-offs b...Overall pictures of Identity provider mix-up attack patterns and trade-offs b...
Overall pictures of Identity provider mix-up attack patterns and trade-offs b...
 
Apache con@home 2021_sha
Apache con@home 2021_shaApache con@home 2021_sha
Apache con@home 2021_sha
 

Último

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Último (20)

Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 

Node-RED Installer, Standalone Installer using Electron

  • 1. © Hitachi, Ltd. 2021. All rights reserved. Node-RED Installer, Standalone Installer using Electron Hitachi, Ltd. OSS Solution Center 10/23/2021 Kazuhito Yokoi
  • 2. 1 © Hitachi, Ltd. 2021. All rights reserved. • Kazuhito Yokoi • Software Engineer in Hitachi, Ltd. • Member of Node-RED project • Organizer of Node-RED user group • My accomplishments • 4th ranked contributor • Maintainer of sub-projects • Speaker in global conferences Self-introduction https://www.hitachi.com/rd/sc/story/nodered https://www.youtube.com/watch?v=3_7BikDCXk8
  • 3. © Hitachi, Ltd. 2021. All rights reserved. 1. Our use cases 2. Node-RED Installer 3. Offline use Contents 2 4. Developing environment
  • 4. 3 © Hitachi, Ltd. 2021. All rights reserved. Our use cases
  • 5. 4 © Hitachi, Ltd. 2021. All rights reserved. Hitachi has used Node-RED in various products and services. • Lumada Solution Hub (Environment for IoT solutions) • Hitachi Data Hub (Platform to collect, refine and store data) • HA8000E (Edge computer) • Hitachi Digital Supply Chain/IoT • Solution using human pose and behavior recognition • Planning system for manufacturing Our products and services https://www.hitachi.com/rev/archive/2020/r2020_05/05a02/index.html https://www.hitachi.co.jp/products/it/IoTM2M/list/datahub/ https://www.hitachi.co.jp/products/it/ha8000e/ https://www.hitachi.co.jp/products/it/industry/solution/dsc/dsc_iot.html https://info.hitachi-ics.co.jp/product/activity_evaluation/ https://www.hitachi-solutions.co.jp/ppdss/
  • 6. 5 © Hitachi, Ltd. 2021. All rights reserved. Node-RED connect OT/IT engineers and customers who have different backgrounds. • Suitable for discussions • Visual programming • Explanations using tablet and PC • Citizen development • Feasibility studies • Utilizing of IoT and AI technologies • Rapid development • Reducing time to develop solutions • High-quality solutions Why we use Node-RED
  • 7. 6 © Hitachi, Ltd. 2021. All rights reserved. Node-RED has abilities to apply state-of-the-art technologies to legacy fields. Platform to apply modern technologies Modern technologies Mission-critical IoT fields Existing products Apply technologies Low code IoT AI Cloud native Micro service Version control CI/CD
  • 8. 7 © Hitachi, Ltd. 2021. All rights reserved. 19 contributors have added new features to the Node-RED project since 2016. • Japanese translations • Changing node icon • Message sequence nodes • Context Store • Subflow UI • Flow linter • Node generator • Node-RED Installer Our contributions to Node-RED project Contribution statistics Pull requests from our team https://bit.ly/3dqGwRz
  • 9. 8 © Hitachi, Ltd. 2021. All rights reserved. Node-RED Installer
  • 10. 9 © Hitachi, Ltd. 2021. All rights reserved. Standalone installer including Node.js, Node-RED nodes, and Node-RED • Installers for Windows, macOS, and Linux • Server behaviors which are the same as original Node-RED Node-RED Installer Browser engine External browsers Node-RED installer Electron modules modules Node-RED nodes Local PC or server Node-RED installer package Build Install
  • 11. 10 © Hitachi, Ltd. 2021. All rights reserved. • Building methods - electron-builder to generate native installers - Packaging connectors as dependencies - Downloading other components before building • Built installers - Windows (msi) - macOS (dmg) - Linux (deb and rpm) How to build Node-RED Installer Native installers electron-builder Build Download
  • 12. 11 © Hitachi, Ltd. 2021. All rights reserved.
  • 13. 12 © Hitachi, Ltd. 2021. All rights reserved. Offline use
  • 14. 13 © Hitachi, Ltd. 2021. All rights reserved. Low code development is essential for Non-IT engineers to create solutions. [ Examples of factory modernization ] • Dashboard to visualize production line • Defect detection based on image analysis • Safety measure by human detection Factory modernization by low code tool Dashboard Collect data Control Visualize Analyze Edge computer Non-IT engineers Develop solutions LCD
  • 15. 14 © Hitachi, Ltd. 2021. All rights reserved. The conflicting backgrounds between JavaScript technologies and industrial IoT fields • JavaScript technologies that require internet connections to download components • Closed network for mission-critical IoT system inside factories -> We encountered the problem to install Node-RED. Problems to install Node-RED in offline environment Closed network
  • 16. 15 © Hitachi, Ltd. 2021. All rights reserved. We solved the problems using the Node-RED installer. [ Cases to use installer ] • Setting up the Node-RED environment initially • Upgrading installed Node-RED and nodes Solution by Node-RED installer Node-RED installer Closed network Install/ upgrade
  • 17. 16 © Hitachi, Ltd. 2021. All rights reserved. Demonstration: Image recognition using TensorFlow.js [ Object detection in automated lines ] (1) Capture image in the production line (2) Analyze the image data using the TensorFlow.js model (3) Move the object by the robot arm (1) Capture (3) Control (2) Analyze Lines inside factory Object detection
  • 18. 17 © Hitachi, Ltd. 2021. All rights reserved.
  • 19. 18 © Hitachi, Ltd. 2021. All rights reserved. Developing environment
  • 20. 19 © Hitachi, Ltd. 2021. All rights reserved. Problem 1: Command-line operations to install Node-RED Problems in developing environment of Node-RED Node-RED Developers Fragile flow > npm install Error ! Warning ! Difficult for beginners Production environment Problem 2: Single environment to develop flow Developers
  • 21. 20 © Hitachi, Ltd. 2021. All rights reserved. We often use the following tools in other languages like Java and Python. • Individual developing environments • Source code repository • CI/CD pipelines General development style in other languages Git repository Application Production environment Deploy Add code Add code Developers Test
  • 22. 21 © Hitachi, Ltd. 2021. All rights reserved. • The installer makes it easy to prepare individual developing environments. • Because project feature is the default in the environment, developers can connect to source code repository and CI/CD pipelines. Node-RED environment to apply general development Git repository Application Production environment Deploy Add code Add code Test Developers
  • 23. 22 © Hitachi, Ltd. 2021. All rights reserved.
  • 24. 23 © Hitachi, Ltd. 2021. All rights reserved.
  • 25. 24 © Hitachi, Ltd. 2021. All rights reserved. We suggested and contributed to tools to improve the flow quality. • Flow linter Command-line tool to detect flow errors • Flow test Command-line tool to test flow Both functionalities are available on Node-RED flow editor Command line tools for CI/CD pipelines Unconnected pair nodes Overlapping nodes No name specified No name specified
  • 26. 25 © Hitachi, Ltd. 2021. All rights reserved. Node-RED User Group Japan User group to share knowledge about Node-RED • Meetups • Online articles • Publishing books • Translation of the website We’re going to hold meetup for enterprise. • Day and time: December 16th 12:00-13:00 (JST) • Location: YouTube Live • Speakers: Panasonic and Hitachi https://www.amazon.co.jp/dp/4777521508 https://www.amazon.co.jp/dp/B08SJGQPNL https://twitter.com/taiponrock/status/799563109920706561
  • 27. © Hitachi, Ltd. 2021. All rights reserved. 26 END Node-RED Installer, Standalone Installer using Electron Kazuhito Yokoi 10/23/2021 Hitachi, Ltd. OSS Solution Center
  • 28. 27 © Hitachi, Ltd. 2021. All rights reserved. • Node-RED, Electron and Node.js are trademarks of OpenJS Foundation. • Google Chrome is a trademark of Google LLC. • The Firefox is a trademark of the Mozilla Foundation. • Microsoft Edge and Windows are trademarks of Microsoft Corporation. • npm is a trademark of npm, Inc. • macOS is a trademark of Apple Incorporated. • Ubuntu is a trademark of Canonical Limited. • Red Hat is a registered trademark of Red Hat, Inc. in the United States and other countries. • Raspberry Pi is a registered trademark of the Raspberry Pi Foundation. • Linux is a registered trademark of Linus Torvalds in the U.S. and other countries. • GitHub is a trademark of GitHub, Inc. • Gitlab is a trademark of GitLab, Inc. • Other company, product or service names may be trademark or registered trademark of others. Trademarks