# Node-RED on iOS

**URL:** https://discourse.nodered.org/t/node-red-on-ios/34359
**Category:** Share Your Projects
**Created:** [16 October 2020 16:55 UTC](https://discourse.nodered.org/t/node-red-on-ios/34359 "2020-10-16T16:55:16Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![meku](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/meku/32/30449_2.png) [@meku](https://discourse.nodered.org/u/meku)
#### Post date: [16 October 2020 16:55 UTC](https://discourse.nodered.org/t/node-red-on-ios/34359/1 "2020-10-16T16:55:16Z")

</div>

\*@\*Node-RED on iOS

I made a port of node-red for ios, and was able to pass app store reviews.  
Unfortunately, it's not currently showing if you search for the keyword 'node-red'  
because of how app store search engine's work.

Search for 'Node-PAD' in the app store.

> **[‎Node-PAD](https://apps.apple.com/us/app/node-pad/id1534470128)**
>
> ‎A programming tool for wiring together hardware devices, APIs and online services in new and interesting ways.
> 
> It provides a browser-based editor that makes it easy to wire together flows using the wide range of nodes in the palette that can be...

 ![IMG_1825](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/3/53a13e57e3f65bce3ef2fbaa4ae5e9dc248e57f1.png)

If youre looking for an android version,  
heres one from a different developer  
'RedMobile' on [https://play.google.com/store/apps/details?id=com.okhiroyuki.redmobile&hl=en&gl=US](https://play.google.com/store/apps/details?id=com.okhiroyuki.redmobile&hl=en&gl=US)

If you tried to install a node and it didn't work, just drop a message here, and I'll and help you out.

If I got a spare time, I'm going to add these on the upcoming releases:

- the prebuilt admin authentication
- admin dark theme that syncs with your ios settings
- icloud folder for all your files and installed nodes
- write a 'peertalk node' to enable the use of high speed tcp messaging on the USB port of the ios device
- nodes for device data like ip address, battery, cpu, ram, disk, geolocation, accelerometer, etc.
- enable the use of Bluetooth or BLE, (apple has a very restrict policy on the usage of this one)
- enable the use of non-mfi ESC/POS thermal printer using the bluetooth

There are small bugs, like for installing a node won't reflect immediately on the listing and a restart is required, and some small UI issues in the webkit but everything else seems good.

If you have any suggestions or feature requests just drop a comment and we'll sort it out.

---

<div class="post-metadata">

### Author: ![linhtranvu](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/linhtranvu/32/30053_2.png) [@linhtranvu](https://discourse.nodered.org/u/linhtranvu)
#### Post date: [17 October 2020 01:40 UTC](https://discourse.nodered.org/t/node-red-on-ios/34359/2 "2020-10-17T01:40:26Z")

</div>

Hi

You are making a commercial so cannot test. However, it seem to be a “server”, like RedMobile on android

My app is a client, with purpose to make a better mobile experience by hooking and injecting new layout, UI

---

<div class="post-metadata">

### Author: ![meku](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/meku/32/30449_2.png) [@meku](https://discourse.nodered.org/u/meku)
#### Post date: [17 October 2020 03:20 UTC](https://discourse.nodered.org/t/node-red-on-ios/34359/3 "2020-10-17T03:20:37Z")

</div>

Yup it is a server, sorry i really didnt try yours, I just seen your post and thought its the same 🙂

---

<div class="post-metadata">

### Author: ![linhtranvu](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/linhtranvu/32/30053_2.png) [@linhtranvu](https://discourse.nodered.org/u/linhtranvu)
#### Post date: [17 October 2020 10:48 UTC](https://discourse.nodered.org/t/node-red-on-ios/34359/4 "2020-10-17T10:48:40Z")

</div>

It is nice to see new thing come to NR everyday. However could you tell me the advantage of installation NR server on IOS. The Android version work with Android box, and could be a real server

Do you use an Ipad as a real server in your house? How about its speed, how do you solve hot, damage battery when charging continuously

---

<div class="post-metadata">

### Author: ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)
#### Post date: [17 October 2020 11:58 UTC](https://discourse.nodered.org/t/node-red-on-ios/34359/5 "2020-10-17T11:58:59Z")

</div>

> [@linhtranvu](#):
>
> how do you solve hot, damage battery when charging continuously

JFI - I have had an IPad on continuous charge for about 2 years as my bedside Netflix device and its been fine

---

<div class="post-metadata">

### Author: ![meku](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/meku/32/30449_2.png) [@meku](https://discourse.nodered.org/u/meku)
#### Post date: [17 October 2020 13:29 UTC](https://discourse.nodered.org/t/node-red-on-ios/34359/6 "2020-10-17T13:29:10Z")

</div>

You can repurpose old your iPad/iTouch/iPhone if you have one. I think it'll be good for workflows on demand, you really don't have to run it like a server.

I also see a lot of implementations on rpi, though rpi is great, it easily becomes ugly for portable use or where internet is not available. You need a power supply, display & an endless option for the enclosure.

---

<div class="post-metadata">

### Author: ![okhiroyuki](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/okhiroyuki/32/15056_2.png) [@okhiroyuki](https://discourse.nodered.org/u/okhiroyuki)
#### Post date: [17 October 2020 14:20 UTC](https://discourse.nodered.org/t/node-red-on-ios/34359/7 "2020-10-17T14:20:44Z")

</div>

Great App!  
It was very exciting.

---

<div class="post-metadata">

### Author: ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)
#### Post date: [17 October 2020 16:03 UTC](https://discourse.nodered.org/t/node-red-on-ios/34359/8 "2020-10-17T16:03:01Z")

</div>

> [@meku](#):
>
> Yup it is a server

Does that mean that you've included node.js in the app build?

---

<div class="post-metadata">

### Author: ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)
#### Post date: [17 October 2020 21:09 UTC](https://discourse.nodered.org/t/node-red-on-ios/34359/9 "2020-10-17T21:09:42Z")

</div>

How will new releases like 1.2.2 be handled, what if someone wants to install a prior release?

---

<div class="post-metadata">

### Author: ![meku](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/meku/32/30449_2.png) [@meku](https://discourse.nodered.org/u/meku)
#### Post date: [18 October 2020 04:50 UTC](https://discourse.nodered.org/t/node-red-on-ios/34359/10 "2020-10-18T04:50:23Z")

</div>

theres very little changes to node-red itself, ill make a fork in my github, so there will be a lag between releases. I’ll only maintain it to the latest ☹

---

<div class="post-metadata">

### Author: ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)
#### Post date: [18 October 2020 07:16 UTC](https://discourse.nodered.org/t/node-red-on-ios/34359/11 "2020-10-18T07:16:57Z")

</div>

How to you access files in node-pad? i.e. to use the `file` node you need to specify the absolute path. What would that be on an iPad?

trying to install node-red-node-sqlite crashes the app.

---

<div class="post-metadata">

### Author: ![meku](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/meku/32/30449_2.png) [@meku](https://discourse.nodered.org/u/meku)
#### Post date: [18 October 2020 07:23 UTC](https://discourse.nodered.org/t/node-red-on-ios/34359/12 "2020-10-18T07:23:30Z")

</div>

There's no direct way to access your files unless you know the document root of the installation of your app. The user folder is stored in a variable process.env.NODE\_RED\_HOME. Try this one, msg.payload = env.get("NODE\_RED\_HOME")

---

<div class="post-metadata">

### Author: ![ristomatti](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ristomatti/32/5857_2.png) [@ristomatti](https://discourse.nodered.org/u/ristomatti)
#### Post date: [19 October 2020 12:23 UTC](https://discourse.nodered.org/t/node-red-on-ios/34359/13 "2020-10-19T12:23:29Z")

</div>

Does the sqlite node require native bindings as I assume? I do not own any iOS devices myself but somehow I have a feeling only nodes implemented in plain JavaScript could work in the limited runtime environment of iOS.

---

<div class="post-metadata">

### Author: ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)
#### Post date: [19 October 2020 14:41 UTC](https://discourse.nodered.org/t/node-red-on-ios/34359/14 "2020-10-19T14:41:21Z")

</div>

> [@ristomatti](#):
>
> I have a feeling only nodes implemented in plain JavaScript could work in the limited runtime environment of iOS.

I agree but I figure I’ll explore and see what can and what can’t be used (MQTT works fine)

---

<div class="post-metadata">

### Author: ![meku](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/meku/32/30449_2.png) [@meku](https://discourse.nodered.org/u/meku)
#### Post date: [19 October 2020 16:19 UTC](https://discourse.nodered.org/t/node-red-on-ios/34359/15 "2020-10-19T16:19:38Z")

</div>

you're right, native bindings won't work straight away and their binaries need to be packed as framework and be signed, i was not yet able to run them even compiled with the same architecture. for now sqlite could only work if it's written purely in js like sql.js.

---

<div class="post-metadata">

### Author: ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)
#### Post date: [20 October 2020 14:56 UTC](https://discourse.nodered.org/t/node-red-on-ios/34359/16 "2020-10-20T14:56:39Z")

</div>

Just to report, the file node can write and read from that location but it would be really nice if you could access other files. Say I upload a file to the iPad, I’d like to be able to access it or say I create a bunch of data using the `file node, it would be nice to be able to send it somewhere else.

I haven’t yet figured how to delete a file that I created yet...

---

<div class="post-metadata">

### Author: ![ristomatti](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ristomatti/32/5857_2.png) [@ristomatti](https://discourse.nodered.org/u/ristomatti)
#### Post date: [20 October 2020 15:41 UTC](https://discourse.nodered.org/t/node-red-on-ios/34359/17 "2020-10-20T15:41:29Z")

</div>

Just curious - is there even such a concept in iOS that you could just upload a file to some folder and then read it with various apps? I've been under the impression each app would only have its own sandbox and interacting with other apps would happen by "sharing" on a file by file basis?

I guess I can just google this to fill my curiosity. 🙂

Edit: looks like it has such a feature. Dunno about direct file system access though which would likely be required for a file in node to access for example your "Downloads" folder.

---

<div class="post-metadata">

### Author: ![meku](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/meku/32/30449_2.png) [@meku](https://discourse.nodered.org/u/meku)
#### Post date: [20 October 2020 17:35 UTC](https://discourse.nodered.org/t/node-red-on-ios/34359/18 "2020-10-20T17:35:13Z")

</div>

Documents in ios are sandboxed and cannot be accessed directly among each other. The next update will show your files in the apple’s Files app. I’ll also add sqlite node if i have time this weekend. Still fixing bugs... 😁

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/9/c93a4b703384e668d64da00f5a01d33b5c6a6e01.png)

---

<div class="post-metadata">

### Author: ![meku](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/meku/32/30449_2.png) [@meku](https://discourse.nodered.org/u/meku)
#### Post date: [9 November 2020 03:36 UTC](https://discourse.nodered.org/t/node-red-on-ios/34359/19 "2020-11-09T03:36:31Z")

</div>

v1.1 released

What's New?

- updated to Node-RED v1.2.1
- admin dark theme that syncs with your ios settings
- itunes file sharing & icloud for workflows and installed nodes
- fix on nodes installation requiring a restart
- @beta: admin authentication can be enabled by creating an adminAuth.json
- @beta: you can use static assets now by creating the node-static folder

New exclusive Node-PAD ios nodes!

- sqlite.js node running purely on javascript with web assembly
- system services node to feed system and device data
- location node to feed core-location data
- gyroscope node to feed gyroscope data

Release Notes: Please backup all your flows before updating to 1.2.1.  
If you already made the upgrade and your flows were missing,  
check [https://github.com/michaelmruta/node-pad](https://github.com/michaelmruta/node-pad) on how to recover your old workflows.

What's Next?  
I'm thinking of enabling BLE? what do you think guys?  
or video stream or mic w/ audio stream nodes for alexa or alike

---

<div class="post-metadata">

### Author: ![dynamicdave](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dynamicdave/32/96_2.png) [@dynamicdave](https://discourse.nodered.org/u/dynamicdave)
#### Post date: [9 November 2020 08:01 UTC](https://discourse.nodered.org/t/node-red-on-ios/34359/20 "2020-11-09T08:01:10Z")

</div>

Hi,  
This looks like an excellent port to iOS.  
Although I haven't got any Apple products (what an admission to make in this day-and-age) most of my IoT students do have, so I'll pass your link on to them.

One question... will MQTT work or can be installed on your port??

[Next page](https://discourse.nodered.org/t/node-red-on-ios/34359.md?page=2)
