Running Node-Red on the iHost and control Sonoff devices from Node-Red

  Рет қаралды 6,851

Csongor Varga

Csongor Varga

Күн бұрын

Пікірлер: 39
@ysty89
@ysty89 Жыл бұрын
Hi Csongi, As I can see there is a "put-device-state node" as well in the ewelink-cube nodes where you can select the previously registered device, but also not sure how to send over data to these so that iHost will reflect these. I.E. if you configure a switch then with the control device node you can alter the states of this switch, but I cannot figure out how to send temp data over for example. Let me know if you can figure out something on this. Cheers, Istvan
@csongorvarga
@csongorvarga Жыл бұрын
OK, I will definitely cover this if I find it out.
@ivanurrutia9312
@ivanurrutia9312 Ай бұрын
Hi Csongor! thanks for all your help I was trying to control a DUALR3 in order to be able to view the voltage it receives. I would like to switch it off whenever the voltage is more than 248 volts, which is not possible to do in the ewelink app since the limit is 240 volts in the OPS section. I have tried getting all the information of the DUALR3 in the node red but I do not see information regarding power consumption. D you know if it is even possible? or maybe another workaround? Thanks!!!
@csongorvarga
@csongorvarga Ай бұрын
Yes, I am also waiting Sonoff to support this information on the iHost. But for the time being this information is not in iHost neither in Node-Red.
@johnnybegoode13
@johnnybegoode13 11 ай бұрын
Hi Csongor. I run my home automation on a Smartthings hub but was looking into the possibility of learning Node-Red for more advanced automation but find that the Node-RED plugin that the SmartThings API uses is cloud based. I like the iHost, and can see from your videos that it has possibilities, especially if it bridges with Matter. If I follow your route and buy myself an iHost, will the automations I can learn from your videos in Node-Red on iHost run 100% locally?
@csongorvarga
@csongorvarga 11 ай бұрын
Yes, the whatever you run on Node-Red will be running locally on iHost. What I am not sure if you are controlling a wifi device that is integrated to iHost is that a local control or via the cloud.
@MedMaxMotto
@MedMaxMotto Жыл бұрын
Hi Varga, I need some help - i got some TRV's from Sonoff - i can't see them in ewelink, but i can see them in Node red, the ideea is simple - when 1 trv needs heat it will start a pump / plug sonoff , and when all trv's are idle ( as they don't have off ) then pump should stop, could you please help me with this
@csongorvarga
@csongorvarga Жыл бұрын
First every time update comes from any of the TRVs, store them in a flow variable using a change node. And either in a function node, or in a series of switch nodes, check all of them flow variables (e.g. switch nodes in series) and if any of them are ON, or all of them are OFF you switch the plug.
@squalazzo
@squalazzo Жыл бұрын
Csongod, did you figure it out how to backup all this stuff??? i mean, when using docker containers, i probably can add an other container which mounts the same volumes and export them someway via rsync or whatever... but the data of the ihost itself, how to save it to be prepared to a device failure, or moving to new one, or just to be safe? there's no export in web gui, but i'd like to have a programmatical way to create a cron job to save all, periodically... i just received it this evening, i may have missed this, beware
@csongorvarga
@csongorvarga Жыл бұрын
Yes, that is a good question, I did not go into those details yet. There is some discussion here, but it is still and open topic: forum.ewelink.cc/t/ihost-backup-function/16662
@squalazzo
@squalazzo Жыл бұрын
@@csongorvarga thanks, I'll take a look
@squalazzo
@squalazzo Жыл бұрын
@@csongorvarga i added my concerns in that thread right now, let's see... almost 1 year and still nothing...
@csongorvarga
@csongorvarga Жыл бұрын
@@squalazzo we would need somebody who knows his way around docker. I am sure it would be possible to backup and restore a full container. But I am not sure if it can be done from another container. But even resyncing a sizeable zigbee network is a pain. But that is not unique to ihost.
@squalazzo
@squalazzo Жыл бұрын
@@csongorvarga let's do it :) tell me where we can talk more in depth, discord or whatever, i'm in :)
@SpottedEagleOwls
@SpottedEagleOwls 3 ай бұрын
Can you please help me. I keep getting this error: AxiosError: Request failed with status code 500
@csongorvarga
@csongorvarga 3 ай бұрын
Where are to getting this error? But the sound of it, I am not sure if I would be able to help, I think it is better you ask it in forum dot ewelink dot cc. More experts there.
@raydixon1186
@raydixon1186 Жыл бұрын
I followed your tip about assigning a static IP address to iHost. But I keep getting 'Failed to connect, Check server settings' Very odd & frustrating. Any help gratefully received.
@csongorvarga
@csongorvarga Жыл бұрын
And if you check the settings on the iHost what is the ip?
@raydixon1186
@raydixon1186 Жыл бұрын
Success. Operator error! Early days, still learning. Thanks.
@mateuszsala5531
@mateuszsala5531 9 ай бұрын
Hi, after installation, I ran Node-red as "host" and not as "bridge". Can you tell me what the difference is and whether it should be changed?
@csongorvarga
@csongorvarga 9 ай бұрын
Node-Red? Are you sure? You mean use iHost as a host or bridge?
@mateuszsala5531
@mateuszsala5531 9 ай бұрын
Yes, when you start Node-red for the first time, you click "run" and the settings window appears (3:35 min. in the video). The first is Network selection. And in the current version you have a choice: host or bridge. My default was the host and I left it that way. And I don't know what significance it has?
@csongorvarga
@csongorvarga 9 ай бұрын
@@mateuszsala5531 Oh yes that screen. it was never really explained for me what the difference it. I always use it on the default setting.
@squalazzo
@squalazzo Жыл бұрын
hi Csongor, at about 30:00 you say you didn't succeed to toggle the new device you just created... i just added a "control device" node, selected the device created in ihost by the node you showed, and as action i select reverse, that's it, i can toggle it now... i connected 1 of these dummy device to a shelly 1 and now i can toggle it (via http requests) via ihost dashboard :D
@csongorvarga
@csongorvarga Жыл бұрын
Yes, I realized that I can use the control device node. And I also figured out how to update some other virtual devices as well. I am planning to make a video on that.
@squalazzo
@squalazzo Жыл бұрын
@@csongorvarga waiting for it! ❤️
@kgaugeloseoka3018
@kgaugeloseoka3018 Жыл бұрын
Hi. Are you currently running 2 nodered server? Will it be wise to run nodered on ihost and also in another server on the same home?
@csongorvarga
@csongorvarga Жыл бұрын
I am planning to do iHost specific code on the ihost. But I think either way works. And no issues having two instance on the same network.
@philipfeghaly4210
@philipfeghaly4210 Жыл бұрын
hello , all my devices are wifi, should i buy the Ihost ? i dont want to deal with home assistant . just want a local dashboard
@csongorvarga
@csongorvarga Жыл бұрын
With the built in eWelink integration, I can pull all my wifi devices into iHost and it can control them locally. There could be a few old devices that are not compatible, or not yet compatible. But it works just fine.
@philipfeghaly4210
@philipfeghaly4210 Жыл бұрын
@@csongorvarga so to control my house locally i use ihost & for when im not in my home i can still use ewelink app ? or its one or the other ?
@csongorvarga
@csongorvarga Жыл бұрын
@@philipfeghaly4210 Exactly as you said. And you can delete all the scenes from the ewelink app, just create them in iHost, so they execute locally. The only thing which is not working, is when you pair any Zigbee device to iHost, it does not show up in the ewelink app, so you cannot control it when you are away.
@1ayoubtop
@1ayoubtop Жыл бұрын
i have problem with ihost in homeassistant node-red
@csongorvarga
@csongorvarga Жыл бұрын
And what is the issue?
Sonoff iHost could change smart homes forever
18:43
NotEnoughTECH
Рет қаралды 70 М.
PIZZA or CHICKEN // Left or Right Challenge
00:18
Hungry FAM
Рет қаралды 16 МЛН
When Cucumbers Meet PVC Pipe The Results Are Wild! 🤭
00:44
Crafty Buddy
Рет қаралды 45 МЛН
Из какого города смотришь? 😃
00:34
МЯТНАЯ ФАНТА
Рет қаралды 2,1 МЛН
The Ultimate Sausage Prank! Watch Their Reactions 😂🌭 #Unexpected
00:17
La La Life Shorts
Рет қаралды 7 МЛН
Filebrowser on the iHost and minor changes in 1.7.0 firmware update
14:11
Temperature difference scene: new functions to iHost with Node-Red
20:01
Is Sonoff NSPanel Pro 120 the smart panel we all deserve?
14:28
NotEnoughTECH
Рет қаралды 22 М.
How to use MQTT in Node-Red: basics, examples, tip & tricks
29:21
Csongor Varga
Рет қаралды 45 М.
Sonoff iHost - Smart home hub
35:43
Random Smart Things by BarnaB
Рет қаралды 21 М.
Глюк на моем iPhone 16 Pro Max
0:26
ТЕХНОБЛОГ ГУБАРЕВ СЕРГЕЙ
Рет қаралды 1,3 МЛН
Folding Best Smart Phones 🥶💀 #trollface #blowup #trend #shorts
0:14
Это ЛУЧШИЕ Смартфоны 2024 Года. Недорого и Качественно
15:23
Thebox - о технике и гаджетах
Рет қаралды 91 М.