Jump to content

Welcome to Smart Home Forum by FIBARO

Dear Guest,

 

as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.

 

As a member you can:

  •     Start new topics and reply to others
  •     Follow topics and users to get email updates
  •     Get your own profile page and make new friends
  •     Send personal messages
  •     ... and learn a lot about our system!

 

Regards,

Smart Home Forum by FIBARO Team


  • 0

Node Red integration with hc2 SOLVED


Question

Posted (edited)

I wondered if anyone can point me in the right direction to find help with setting up basic node red structures for hc2? using node-red-contrib-fibaro-hc2 by @10der .I have a node red flow which turns on my tv , turns on netflix or youtube or live tv , all with wol command.

I want to run this from a device or scene from hc2. I can post from node red to hc2 -no problem but can't find a way to get commands from hc2, any ideas ??

 

Edited by MARCUSP.I.L

Recommended Posts

  • 0
Posted

nice

 

Please login or register to see this attachment.

  • 0
Posted

Very nice jobb. I am just started to use Nodered, and i like it. But i am missing this Node  called "FibaroAPInode" in node-red. Any know where to find it.?

  • 0
Posted

@oddmn

 

  • Thanks 1
  • 0
Posted

Hello!

I cannot understand what exactly the Inject node is to transmite to hc2-server node?

 

I did the following changes in the Inject node:

Please login or register to see this image.

/monthly_2020_02/image.png.3acc73aba0ed62e903aafaee4dc0f00a.png" />

 

At the beginning I have the following status:

image.png.56a7b9216e7c35d4431b506ef050e4b2.png

 

After i press on Inject node, I receive the following error:

image.png.34a220407f071fcdf7a9c399112a2357.png

 

Please help me to understand what is wrong.

 

 

Не можу зрозуміти де я що пропустив на налаштуванні.

  • 0
Posted

I found a reason. You must use the username and password of the superuser only.

  • 0
Posted

Sorry HC server node is not supported

its old node please remove it 

 You must use the username and password of the superuser only.

Why?! For what purpose?!
you can use any non admin users but you should grant any devices for this user 
  • 0
Posted (edited)

Hi?


impossible to install node red  ?

 

:  npm install node-red-contrib-fibaro-hc2

Please login or register to see this code.

 
Do you have an idea of the problem

 

 

Edited by JMDFIB
  • 0
Posted

node-red-contrib-fibaro-hc2 Was removed from repo

use modern packages

  • 0
Posted

@JMDFIB

Please login or register to see this link.

  • 0
Posted (edited)

Hi, I can't install node-red-contrib-fibaro-devices from the Palette in node red.

It says: conflicts with node-red-contrib-home-assistant-websocket


Logged in with SSH and typed:

Please login or register to see this code.

and got:

-bash: npm: command not found

 

I need to get Scene triggers from Fibaro Dimmer 2 in HCL ----> Node Red in Home Assistant.

I only use HCL for firmware upgrades and setting parameters in Fibaro devices. I controll everything from Home Assistant.

 

Any ideas?

Edited by woggy
  • 0
Posted
1 hour ago, woggy said:

ode-red-contrib-home-assistant-websocket

yeah!

can you temp remove ode-red-contrib-home-assistant-websocket

  • 0
Posted
32 minutes ago, 10der said:

yeah!

can you temp remove ode-red-contrib-home-assistant-websocket

Says in use.

Made a backup and deleted all my flows. Still says in use even after restart of node red.

  • 0
Posted

Managed to uninstall home-assistant-websocket and install fibaro-devices. But then I could not install home-assistant-websocket again =(

 

Is there any workaround for this?

  • 0
Posted

ok i wil be remove confict names

  • 0
Posted
4 hours ago, 10der said:

Tanks, everything works great now! =)

 

The option "roomName/deviceName vise ID in output"' changes the ID number to the name.

For future updates it would be great to have both at the same time. Then I can filter and make automations using ID and still look at debug msg and see the name.

 

 

  • Thanks 2
  • 0
Posted

Hi @10der, thank you for your brilliant work with node-red-contrib-fibaro-devices. I have several integrations and automations on my HC2 and are also running UHAS by @Sankotronic. I have, however, also implemented Home Assistant with several integrations and use MQTT in multiple of the integrations. I find 

Please login or register to see this link.

  particularly useful for deciding which MQTT Topics to listen to and to help me decide which unwanted messages to filter out by not subscribing to those topics. See screenshot below for more detail. I specified HC2 (in the MQTT out node) as the topic to group HC2 related MQTT messages and was hoping to see a grouping hierarchy similar to other MQTT integrations. Can this be done or is there an easy way to see the what the topic of a specific VD (ID=953) is?

Please login or register to see this attachment.

 

For now I'm interested in the value of some HC2 Global variables, for example UHASSleepState or setting the values for Alarm State on my HC2 Home Status VD based on the status of my Paradox Alarm System integrated with Home Assistant.

 

Please login or register to see this attachment.

 

Thank you in advance,

 

Nico

  • 0
Posted

I have since spent quite a bit more time integrating my HC2 and Home Assistant. Below some screenshots of my implemented solution to synchronise some of the key parameters between them. See comments in the flow for more information.

I have since also realised that MQTT explorer is not really necessary since the number of parameters to exchange via this NodeRED flow can easily be identified. The complete flow is also attached.

 

Flow that extracts the detail of HC2 Global variables and relevant status changes and updates input_booleans that I use in HA to set or change these.

Please login or register to see this attachment.

 

Flow to activate and Sleep/Awake modes and associated automations

Please login or register to see this attachment.

 

Flows to set/update HC2 VD from HA

Please login or register to see this attachment.

Please login or register to see this attachment.

  • Like 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...