Y2K
@Y2K
Electrician, automation, ... spent way too much on all this electronic junk.
Latest posts made by Y2K
-
RE: Flic to control sonoff basic
@Y2K I believe I can now, I have a SonOff iHost Hub, it connects with HomeKit, I also have a Flic2 LR Hub. the hub bridges to Homekit, and so does the SonOff so my SonOff devices can be triggered via a pass thru in scene controls and basic basic basic automation.
-
SDK interface - iHost
Took me a while to find how to create a new topic, bouncing around a bit but I found it.
I am trying to figure out how to use the SDK interface with iHost, but its been 14 days on my last post and nobody has answered the call. Maybe its a smaller community than I thought.
I have 5 buttons , working with the SDK interface and Node Red on an iHost device, Node Red has a Flic Pallet Add-on that I would like to get running on my iHost device, but no one has been able to help out.
I found this image of script. https://flic.io/flic-hub-sdk
-
RE: iHost (SonOff) - Docker - Node Red
Wow 14 days go by with out a reply ?
Is anyone out there ??
-
RE: Button Request Payload
Wow if this topic has not been forgotten, I think I need to get involved too.
https://community.flic.io/topic/18447/ihost-sonoff-docker-node-red/5?_=1716428756054
-
RE: iHost (SonOff) - Docker - Node Red
@Y2K
So now I have a flic button connected, A green icon without all the previous functionalities. I am still uncertain to which is better. I am okay with using the JavaScript, if the JavaScript works.Using 1.1.1 without 0.1.5 has a nice user interface allowing the programmer to choose the ability of click, or double click, or hold. I asks for the MAC address of the host device and the bluetooth MAC address of the button. Simply by clicking off a checkmark in a box, as the one image shows. But the end result is always a connection closed (error) with a red square.
On the other hand, with 0.1.5 installed with HCI the icon goes green. And the user interface is missing a few items but the docker files show what script to use for the payload.
Node red contribute 1.1.1 in the description, and I realize this is primarily for Raspberry pi users that it states to make sure the HCI is installed. So painstakingly I did all of that by deleting folders and removing everything start off from scratch. Now having what appears to be a working interface. Showing: "connected"!well I seem to be placing this in the wrong location in time, I don't get it. sorry folks I give up. I was hoping to place this in logical order.
But keep getting a message ×
As a new user, you can only post once every 300 second(s) until you have earned 2 reputation - please wait before posting again -
RE: iHost (SonOff) - Docker - Node Red
I wish I could reinsert supporting documentation back in time as I am just finding it now. Correction, it appears I was able to insert with a reply.
Upon using iHost SonOff Hub, Node-Red's adaptation or addon for Flic, is a contribute or should I say it has two contributes: one is a HCI version 0.1.5 , Whereas the other is a later version 1.1.1 !
Learning by my mistakes.png
I first installed 1.1.1 thinking it was the latest and ignored the prior 0.1.5 version. Which prevented or caused an error to which I could not resolve. In the image shown here installing 1. than 2. in red , 1.1.1 was installed before 0.1.5 !
I had to remove the /data folder on my SD card completely and reinstall Node red a fifth time in order to install 0.1.5 first before installing 1.1.1. Eventually the connection icon then turned green, however I still need to figure out how to manipulate the data.
-
RE: iHost (SonOff) - Docker - Node Red
1 1 1 interface connection failed.png
Is the local host 127.0.0.1 : as what it pulls up on the default screen ? I have tried 0.0.0.0 also.
I have all 3 connected each different address, using the same blue tooth button MAC address and they all say connected, but nothing appears to happen. Also with Docker addon of Node-red on my iHost. The Node red was installed 5 times.
One install had version 1.1.1 installed, and I could not install 0.1.5 once 1.1.1 was installed due to a conflict error. but when 1.1.1 was running all I ever got was a connection error.
now with 0.1.5 installed before 1.1.1 having both running I at least get a connected sign.Or is the local host the IP address that the hub now acquires 192.168.2.21
My iHost SonOff Hub is 192.168.2.109 and I am pretty sure I am not using that address.
Host - this is the host running the flic.io daemon process, defaults to localhost
Port - the port for the daemon process, defaults to 5551
Button Address - the bluetooth address that you noted down when pairing your buttonsThis might also clear the question up, what is A daemon process ?
Totally un-related but possibly helpful, I am not using a raspberry pi at all. And need to get this to run on an iHost.
https://discourse.nodered.org/t/how-to-get-a-flic-button-to-work-with-docker-and-a-pi3/65786
I think I might have to install something on the Flic2 LR Hub https://hubsdk.flic.io/ that transfers communication as a payload from it to say 127 ?
-
RE: Flic to control sonoff basic
I am sure this has been long forgotten, but I am working on my SonOff iHost Hub, ... to do the same.
-
iHost (SonOff) - Docker - Node Red
Anyone ?
... looking for help.
I am using a FLIC 2 LR Hub
Connecting (3) 2nd generation buttons. And (2) first generation buttons. I was using the buttons, to turn on two table lamps that could connect directly with the LifX devices. Later thru the HomeKit setup I learned to connected with all of my other HomeKit compatible devices ... thru the Flic 2 LR hub.
However if that did not get interesting enough, I have added a secondary hub! But I am not talking about Apples HomePods using siri to which I also use. Forced to purchase a HomePod mini, I was no longer able to use my iPad as a hub. Also because our Internet with sympatico sucks, I am striving to get away from cloud services to control all my devices locally.
En so the addition to something that I was not able to do before, which was to add my SonOff devices via a SonOff iHost hub.
The literature is vague, and I am trying to connect my Flic buttons to the device pallet. As the SonOff Hub has a feature to which Add-ons such as Node Red, Node Red has one Flic contribution that I can use to mesh programable logic to my SonOff devices, possibly to mesh with Apple, whereas Meross seems to be supported as well. My zigbee experience with Amazon however has been a major disappointment.
Needless to say, I cannot figure out any of the commands, in respect to Flic. I will get more involve with my other devices manufacturers with those companies, but Flic just works so easy. I can only imagine there is someone out there that can help glue the java-script together.supporting document https://flows.nodered.org/node/node-red-contrib-flic-buttons