CreatifWerks
77 FOLLOWERS
Hi there, I'm Khai Seng! currently an employed working Engineering Professional, Programmer, and a Part-time blogger. Basically, I write just about anything I have an interest in. The other purposes are self-documentation, technology change very drastically it is impossible to remember every, solution, problem you encounter.
CreatifWerks
8M ago
How to catch and errors from Node-RED nodes
In this post i will share ,how to use Node Red “Catch Error” node to catch error log .
A Catch Node can be used to monitor errors that occur within nodes residing in a flow.
Lets Build a Catch Error Node
In order to test the Catch Error Node, we will build a node to add up 2 Variable using a function node.
In this Function node name as ” Add First and third Number ” 1 of the 2 variable are not being declared .
Thus when the Function try to add the first variable to the second variable there will b ..read more
CreatifWerks
8M ago
How to Install Gas Strut / Hydraulic Rod Cabinet Support
Gas struts, commonly referred to as lifters, hinges, or gas actuators, provide the flexibility to customize the utilization of furniture according to your precise requirements. Primarily, these gas struts find application in upper kitchen cabinets where they are positioned horizontally. Unlike traditional furniture hinges that demand the entire door to be tilted laterally when accessing cabinet contents, gas struts allow a simple tilting of the front section in an upward direction (or downward for base units). Curious about the pu ..read more
CreatifWerks
8M ago
Khlong Lat Mayom Floating Market
Khlong Lat Mayom Floating Market, a hidden gem located amid Bangkok’s tranquil canals. Khlong Lat Mayom maintains an original charm that attracts both locals and visitors looking for an immersive journey into the heart of Thai life, in contrast to the busier and more tourist-heavy floating markets in the city.
How to get to Khlong Lat Mayom Floating Market
Travel by MRT to Lak Song Station , after that take Taxi / Grab or Bolt to Khlong Lat Mayom Floating Market.
Lak Song MRT
Entrance to Khlong Lat Mayom Floating Mark ..read more
CreatifWerks
8M ago
Jodd Fairs Night Market Bangkok
Bangkok, often known as the “City of Angels,” is a bustling city renowned for its busy streets, elaborate temples, and electrifying nightlife. The Jodd Fairs Night Market is a hidden jewel that comes to life as the sun sets amid this urban tapestry. This night market, which is in the centre of the city, attracts both locals and visitors with its alluring fusion of culture, gastronomy, and creativity.
How to Get to Jodd Fairs
Take a taxi, use Grab, or use Bolt. another option is to travel by MRT to Phra Ram 9 Station.
Jodd Fairs Night Market, nestled ..read more
CreatifWerks
8M ago
Chatuchak Weekend Market
The Chatuchak Weekend Market, which is located in Bangkok’s bustling centre, serves as a symbol of the city’s vibrant vitality and extensive cultural history. This huge week end market which resemble flea market, is frequently hailed as Bangkok’s biggest weekend market, lures both locals and tourists, promising a real Thai immersion, a varied shopping excursion , and an introduction to the distinctive character of the city.
How to go to Chatuchak Weekend Market
Take a taxi, use Grab, or use Bolt. another option is to travel by BTS to Mo Chit Station.
BTS Mo Chit ..read more
CreatifWerks
8M ago
Terminal 21 Bangkok Asok
The architectural wonder and shopping haven known as Terminal 21 Bangkok is located in the canter of one of Asia’s most vibrant and busy cities. With its themed levels, this cutting-edge shopping canter provides a singular experience that whisks guests away to numerous well-known destinations. Beyond its attraction as a retail destination, Terminal 21’s prime location makes it a go-to destination for both locals and visitors looking for eating, entertainment, and cultural events.
Centralize Location
The location of Terminal 21 Bangkok on Sukhumvit Road, on ..read more
CreatifWerks
11M ago
How to Declare Global Variable in Node Red
In this post i will step through 2 Different method on how to Declare a Global Variable in Node Red.
Prior to that , you will need to create 2 Flows to Test out the Global Variable Later
Click the “+” Icon on your right to Create 2 Flow , and provide names to both
In My Case I name it Flow 1 and Flow 2
Method 1
For Method 1 I will use Change node to Set / declare the global Variable
Step 1
In Flow 1 , Drag out and inject Node and Configure as Below
Pass a String Value ” This is A Global String 1 ” to the msg.payload
St ..read more
CreatifWerks
11M ago
How to Declare Variable to be used in the Same NodeRed Flow
In this post i will step through 2 Different method on how to Declare Variable to be used in the Same NodeRed Flow.
Method 1
For Method 1 I will use Change node to Set / declare the Flow Variable
Step 1
Drag out and inject Node and Configure as Below
Pass a String Value ” This is A String ” to the msg.payload
Step 2
Drag Out a Change Node and Configure as below . The Configuration shows that it will pass the data from msg.payload to flow.firstString
After this Step , you will be able to use “firstString” Varia ..read more
CreatifWerks
11M ago
How To Extract JSon Values From NodeRed JSon Object
In this Post I will Step Through on How to Extract JSON Value from Node Red JSon Object.
We will Use the below JSon object as an Example ,
In this JSon Object we will Extract the value “truck ” and the “political” value .
Value To Extract
Before we deep dive into Setting up the node , Let go through on how to Read the JSON Object
“volume” is the second key Value of the Json Object ,and “volume” is package as an Array . The Array length of the “volume” Array is equal to 6 ..read more
CreatifWerks
11M ago
Multiple Output From Node Red Function
In this Post , I will step through on how to output multiple variable from node-red function to multiple message.
Node Components that you will need
1 x Inject Node
1 x Function Node
3 x Debug Node
Step 1
Add a New flow
Step 2
Drag out an inject Node and Configure as below
Step 3
Drag Out the Function Node , double click on the function node, provide a Name to your function, in my case i name it as ” Multiple Output” , when done click on the Setup tab , at the Outputs text box input “3” . Meaning the Func ..read more