# Interesting Sonoff device iHost

**URL:** <https://discourse.nodered.org/t/interesting-sonoff-device-ihost/76341>\
**Category:** Hardware\
**Tags:** docker\
**Created:** [9 March 2023 11:03 UTC](https://discourse.nodered.org/t/interesting-sonoff-device-ihost/76341 "2023-03-09T11:03:14Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [9 March 2023 11:03 UTC](https://discourse.nodered.org/t/interesting-sonoff-device-ihost/76341/1 "2023-03-09T11:03:14Z")

</div>

Sonoff introduced a new device "iHost" to manage "smart" devices - locally, it might appear as a hub, but it can do zigbee/matter (planned)/BT and it can also run docker containers, including node-red (they even advertise with it), it also has an interface to program automations.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/2/b284ece9cf974b991217a1c4503d8dd489cd3c3a.jpeg)

The software seems in rough state atm ([see preview](https://www.youtube.com/watch?v=KBvGWoWq__Y)) and I wonder how far the device support will go for zigbee, if it only supports sonoff in its interface would be very limiting. Then again, I can imagine it could support/run zigbee2mqtt.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [9 March 2023 22:27 UTC](https://discourse.nodered.org/t/interesting-sonoff-device-ihost/76341/2 "2023-03-09T22:27:43Z")

</div>

Yes - that does look interesting - especially as it seems to be mainly local - but with cloud if you want it... rather than the other way round.

---

<div class="post-metadata">

**Author:** ![drmibell](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/drmibell/32/8424_2.png) [@drmibell](https://discourse.nodered.org/u/drmibell)\
**Post date:** [19 April 2023 22:56 UTC](https://discourse.nodered.org/t/interesting-sonoff-device-ihost/76341/3 "2023-04-19T22:56:08Z")

</div>

In case anyone is still interested in this hub, I received one today and spent about an hour playing with it. In that time, I was able to connect it to my home network, link it to my account on their server, download a firmware update, and add one Zigbee device (a Sonoff temperature/humidity sensor). The sensor seems to be connected locally only, since it is not visible in the phone app.

The process needed one hard reboot (pulling the power plug), possibly because I was too impatient to wait for it to complete an operation. The iHost seems very slow at times. The next test will come when I fit it with an SD card and install the docker add-ons needed to run Node-RED and transfer my one other Sonoff device from their server to local control. So far, the experience has been satisfactory but not overwhelming. I'll post again if anything especially good or bad happens.

---

<div class="post-metadata">

**Author:** ![drmibell](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/drmibell/32/8424_2.png) [@drmibell](https://discourse.nodered.org/u/drmibell)\
**Post date:** [22 April 2023 22:46 UTC](https://discourse.nodered.org/t/interesting-sonoff-device-ihost/76341/4 "2023-04-22T22:46:52Z")

</div>

With a few hours more effort, I've been able to install an SD card with add-ons for wifi (non-Zigbee) devices and Node-RED. My devices can be controlled from NR, and in a pinch I could set up useful automations from the iHost. On the downside, mqtt is not working, and I don't see a way to make it happen without modifying docker containers -- not in my repertoire yet. This is not a finished product, either in capability nor in software quality. The firmware has bugs, the ui is rough in spots, and the NR nodes need work. I will give this project a rest for a while and see what improvements come from the manufacturer and the developer community. I'd be happy to help anyone who wants to advance the ball from here.

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [23 April 2023 06:37 UTC](https://discourse.nodered.org/t/interesting-sonoff-device-ihost/76341/5 "2023-04-23T06:37:48Z")

</div>

Thanks a lot for the info. I have it sitting here in a box as well, keeping track via google if there is a any progress on the software end before I take a look at it. It is brand new, more users will get exposed now, hopefully improvements will follow soon.

---

<div class="post-metadata">

**Author:** ![Y2K](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/y2k/32/91026_2.png) [@Y2K](https://discourse.nodered.org/u/Y2K)\
**Post date:** [16 May 2024 02:22 UTC](https://discourse.nodered.org/t/interesting-sonoff-device-ihost/76341/6 "2024-05-16T02:22:26Z")

</div>

G'day I am a newbie.

_### Revive this topic?_

_The last reply to this topic was **about 1 year ago**. Your reply will bump the topic to the top of its list and notify anyone previously involved in the conversation._

_Are you sure you want to continue this old conversation?_

Maybe ?

I too am interested; A year past it is 2024 and my conversations is new to this historical event. New out of the box, firmware upgraded, node-red installed as per YouTube DIY, I now know everything that will ever be...

What a load of crap,

So yes, I have a sense of humor but also discouraged all at the same time. I say look at how easy this is, yet how complicated or at least I am learning what I got myself into, and this will no longer be a simple task to complete.

So ... I've installed my Node-red on SonOff's iHost Hub using its native installation kit to the SD card. This was a challenge at first because out of the three cards I had ... I ended up having to go to staples and buy a 64GB right out of the box. Stupid windows - I think they sabotaged my old cards from being used anywhere else.

From what I can tell "Node-Red" has been around a lot longer than what I knew of, _as of two months ago_, ... And is known to be used everywhere else but here? Here meaning, I only want to know what pertains to SonOff's iHost hub with 4G. So most of the information I find does not appear to be directly related just for SonOff's hub, some appear on Rasbery pies and dos shells ?

After installing Node-Red to which I believe may be incorrectly done, I have only been able to install or run node red as a **Host** and not a **bridge**. Most of the videos may have been from earlier versions when the ihost was in the process of upgrading, but I should have the latest software installed on it from the upgrades I have done. However, the videos show how to install as a **bridge**. To which I cannot. I will have to uninstall it for a third time to take snap shots of my attempts and the errors I get.

For less than 2 months, I have learned how to add device nodes to my pallet, but so far my logic is flawed, as wiring assumed I need some adjustments of my normal process. Inputs and outputs are not as easy to understand. As an electrician open and closed to a plumber have two different meanings of flow. Zigbee folks appear to be plumbers, and its not the first video I have come across. I have returned all of mine so far to Amazon because of weird data feedback.

Has anyone had any luck with: Flic, Meross, Leviton, and of course eWeLink. I have accepted my tokens and have no experience of javascript ...

Where do I begin ?

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [16 May 2024 04:34 UTC](https://discourse.nodered.org/t/interesting-sonoff-device-ihost/76341/7 "2024-05-16T04:34:29Z")

</div>

> I've installed my Node-red on iHost...  
> ...After installing Node-Red to which I believe may be incorrect  
> ...I have only been able to install or run node red as a host and not a bridge

What are your questions exactly ? (please keep it to the point).

Is node-red running on ihost ?  
How did you install it ? Via the docker container ?

---

<div class="post-metadata">

**Author:** ![Y2K](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/y2k/32/91026_2.png) [@Y2K](https://discourse.nodered.org/u/Y2K)\
**Post date:** [16 May 2024 20:48 UTC](https://discourse.nodered.org/t/interesting-sonoff-device-ihost/76341/8 "2024-05-16T20:48:40Z")

</div>

I have it running as a host on the iHost sonoff hub.

---

<div class="post-metadata">

**Author:** ![Y2K](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/y2k/32/91026_2.png) [@Y2K](https://discourse.nodered.org/u/Y2K)\
**Post date:** [16 May 2024 20:51 UTC](https://discourse.nodered.org/t/interesting-sonoff-device-ihost/76341/9 "2024-05-16T20:51:01Z")

</div>

iHost hub by Sonoff. With native installer on the device itself. Insert a new SD card , fresh out of the box, having installed node red as per videos, except the videos on youtube are more than a year old, and the firmware I have is more up to date than when the videos I watched were released. I have a PDF to show but the error specifically states "Failed to run. Please set network in optional settings as host"

These are screen shots !

[Forced to run as a Host.pdf]

**Sorry, new users can not upload attachments.**

---

<div class="post-metadata">

**Author:** ![Y2K](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/y2k/32/91026_2.png) [@Y2K](https://discourse.nodered.org/u/Y2K)\
**Post date:** [16 May 2024 22:35 UTC](https://discourse.nodered.org/t/interesting-sonoff-device-ihost/76341/10 "2024-05-16T22:35:35Z")

</div>

As a newbie I am following these topics to learn further. Simply by typing "ihost" into the magnifying glass.

An error occurred: Sorry, new users can only put 2 links in a post.

[Node-RED in docker container on SONOFF iHost - General - Node-RED Forum (nodered.org)](https://discourse.nodered.org/t/node-red-in-docker-container-on-sonoff-ihost/77934)

[Extract data from payload (sonoff ihost) - General - Node-RED Forum (nodered.org)](https://discourse.nodered.org/t/extract-data-from-payload-sonoff-ihost/85746)

---

<div class="post-metadata">

**Author:** ![Sean-McG](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sean-mcg/32/54677_2.png) [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Post date:** [16 May 2024 23:46 UTC](https://discourse.nodered.org/t/interesting-sonoff-device-ihost/76341/11 "2024-05-16T23:46:06Z")

</div>

> [@Y2K](#):
>
> Where do I begin ?

Personally I would begin with a Raspberry Pi, cheaper and more powerful, with way more support.

But I guess that depends if there is a particular reason for you wanting to use this device ?

> [@bakman2](#):
>
> What are your questions exactly ? (please keep it to the point).

You didn't really ask any specific questions, so not sure what else to say.

---

<div class="post-metadata">

**Author:** ![Y2K](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/y2k/32/91026_2.png) [@Y2K](https://discourse.nodered.org/u/Y2K)\
**Post date:** [17 May 2024 00:32 UTC](https://discourse.nodered.org/t/interesting-sonoff-device-ihost/76341/12 "2024-05-17T00:32:29Z")

</div>

Gotcha, I thought with less to go wrong, Flic hub just works, iHost too!

I just wanted to learn more about NodeRed - matter and meshing my device to replace what I currently use for programable PLC logic. And thought Node Red would be an alternate replacement to my slc 500. But perhaps I cannot not pick up the lingo of this new generation of programming and my commodore 64 machine language days are over. Most of the videos I watch are simply using lingo my generation has never had.

My iHost works well, as for specific questions, I will write them out again as I am new to using this portal of communication.

Without being able to post images I find it hard to convey what I see on the screen that is bugging me.

For instance, "do I really need to learn Javascrpt before using NodeRed." ?

After installing Node-Red to which I believe may be incorrectly done, I have only been able to install or run node red as a **Host** and not a **bridge**.

Is this an issue ?

Many of the videos I have watched on YouTube are from the earlier days of installation for the SonOff iHost Hub specifically. Videos show that node red is ran as a bridge , and when I get this error "failed to run, please set network in operation settings as host" does this just mean that I am to ignore the youtube videos methods as though perhaps the option of bridge may be replaced by a host. its as thought the option no longer exist.

---

<div class="post-metadata">

**Author:** ![Y2K](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/y2k/32/91026_2.png) [@Y2K](https://discourse.nodered.org/u/Y2K)\
**Post date:** [17 May 2024 01:10 UTC](https://discourse.nodered.org/t/interesting-sonoff-device-ihost/76341/13 "2024-05-17T01:10:39Z")

</div>

Perhaps learning to start off through YouTube examples is not the way to go. And perhaps my own topic or discussion is where I need to post my questions or continue this conversation. Of the five items I have found specifically on the iHost "node red" application, most people are running it on more sophisticated device such as A raspberry pie, or windows to which I do not want to get involved with.

[Continuation of a closed subject "SonOff iHost Hub - security" - General - Node-RED Forum (nodered.org)](https://discourse.nodered.org/t/continuation-of-a-closed-subject-sonoff-ihost-hub-security/88042)

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [17 May 2024 04:52 UTC](https://discourse.nodered.org/t/interesting-sonoff-device-ihost/76341/14 "2024-05-17T04:52:10Z")

</div>

> [@Y2K](#):
>
> Is this an issue ?

It is not necessarily an issue.

But to start - did you create a "volume" ? You will need this so that node-red can store the flows, else it will be stored inside the container and once you update the container, the information will be gone as containers should be considered immutable.

 ![SCR-20240517-gnrp](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/1/418d932b5bb2003211363fc0a687138dc8ee58c5.png)

 ![SCR-20240517-goal](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/7/97e0d340492af4a80fa0a49ea32a577c8cd16745.png)

Then run the container as:

 ![SCR-20240517-gokz](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/3/834ce857d73704fc8bd6db5f6f9616f8d0a857d0.png)

---

<div class="post-metadata">

**Author:** ![Y2K](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/y2k/32/91026_2.png) [@Y2K](https://discourse.nodered.org/u/Y2K)\
**Post date:** [17 May 2024 15:34 UTC](https://discourse.nodered.org/t/interesting-sonoff-device-ihost/76341/15 "2024-05-17T15:34:26Z")

</div>

I'd like to say yes,

- I created a volume /data , does it need to be called "node-red-data"
- I also created a volume /automation
- Confirmed 🙂

Next image

Red bubble # 1 .... I did **not** enter anything into this Host volume , leaving it blank when installing it or running it. I must have missed that in the videos I was watching. So I will uninstall it, and go for at third attempt.

 ![Docker](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/1/e1c2eed079e2642a39047f9d6cd82c7d95fbd5a7.png)

Oh this is good stuff !

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [17 May 2024 15:43 UTC](https://discourse.nodered.org/t/interesting-sonoff-device-ihost/76341/16 "2024-05-17T15:43:20Z")

</div>

> [@Y2K](#):
>
> I created a volume /data , does it need to be called "node-red-data"

`/data` is good too, it is something that it can bind/map to on the filesystem.

Once you create/start the container, the volume needs to be attached so that it can store the on the 'volume'

---

<div class="post-metadata">

**Author:** ![Y2K](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/y2k/32/91026_2.png) [@Y2K](https://discourse.nodered.org/u/Y2K)\
**Post date:** [17 May 2024 19:27 UTC](https://discourse.nodered.org/t/interesting-sonoff-device-ihost/76341/17 "2024-05-17T19:27:56Z")

</div>

- Okay so , I am keeping host, ( **Host** , bridge, None) **?** docker docks
- I have used your example word for word, imagining I will have a /data and a /automation folder on the SD card that will never ever be used, maybe I will delete them one day.
- I set up the volume, the host volume for that "node-red-data"
- I have no idea what to do with the environment variables or command so I will leave those blank again just like I oops before my ... (... this is my 3 installment)
- Ram, CPU all blank.
- Clicking my microphone and speaker and hitting 'run'

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [18 May 2024 04:33 UTC](https://discourse.nodered.org/t/interesting-sonoff-device-ihost/76341/18 "2024-05-18T04:33:50Z")

</div>

Yes should be good to go.

---

<div class="post-metadata">

**Author:** ![Y2K](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/y2k/32/91026_2.png) [@Y2K](https://discourse.nodered.org/u/Y2K)\
**Post date:** [23 May 2024 02:12 UTC](https://discourse.nodered.org/t/interesting-sonoff-device-ihost/76341/19 "2024-05-23T02:12:52Z")

</div>

Awesome, and thank you by the way. I have also joined other groups like github, although I think their website is way above my understanding. I think I am too many generations behind the making of the wheel. I have also put up a topic on the flic website to see if I can get any feedback.
