Jump to content

Recommended Posts

hi!

 

here is my new node-red node for FIBARO HCx

 

https://flows.nodered.org/node/node-red-contrib-fibaro-devices

 

now you can use finaroSenor node - for any sensors in HC and fibaroActor for binary or multilevel switchers.

also you  can use fibaroXActor for building custom actors like Thermostat and turn on / off Mode / Level / etc parameters.

 

here is simple intergration with node-red UI

image.png.dd19ea2cd84ed1e9c6f00f618e380534.png

 

 

image.png.3613a53e1127172a5ad9d4ec74b41ced.png

 

you can click in UI and switch on / off fibaro power plug... or click B-button on fibaro power plug....

 

also you can build own dash board 

 

image.png.2c1db68d7439d6d54c4857b42e71142e.pngimage.thumb.png.40a30121ea344e589028e716e37e43e2.png

 

 

NOTICE : PLASE DO NOT USE MORE THAN 1 (one) "FIBARO API NODES" FOR 1 (one) HC SERVER!

 

 

happy HA!

 

O.

 

Edited by 10der
  • Like 2
  • Thanks 2
Link to post
Share on other sites
  • Replies 167
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

hi!   here is my new node-red node for FIBARO HCx   https://flows.nodered.org/node/node-red-contrib-fibaro-devices   now you can use finaroSenor node - for any sensors in

.41 nothing new just "glamour"      

hi @petrho you get the status with Actornode when you enable the "event passtrough" 

Posted Images

Upgrade work fine from 0.14, the version in pallets show okey.  I start migrate my flows from older version (last edition 0.0.84)

  • Thanks 1
Link to post
Share on other sites

Hi 

 

it is possible to change value on HC2 virtual device from external source with  this Node Red flow ?

 

thank you

Link to post
Share on other sites

@project

image.png.e0780665c9b28522884fcc8b91068a2c.png

 

 

image.png.257b13ba1bdbfb77f20634fafb94a07a.png

[{"id":"a36eb64f.dfbca8","type":"inject","z":"31d6120b.b04cae","name":"","topic":"1590","payload":"Hello","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":360,"y":200,"wires":[["a0672e7c.d6d0c"]]},{"id":"a0672e7c.d6d0c","type":"fibaroXActor","z":"31d6120b.b04cae","name":"","deviceID":"0","server":"22c8eb11.659074","events":false,"payload":"{\"Hello\":{\"name\":\"setProperty\",\"arg1\":\"ui.lblHello.value\",\"arg2\":\"Slovakia!\"}}","outputs":0,"x":550,"y":200,"wires":[]},{"id":"22c8eb11.659074","type":"fibaro-server","z":"","name":"HC2","ipaddress":"192.168.1.36"}]

 

image.png.1314fde82617eeee8dd26a0c611f38f5.png

 

Link to post
Share on other sites

@10der how to query the current value:

image.thumb.png.c070a3f93867a8962b6845ee19c3365d.png

 

[{"id":"70ad16b9.d0a008","type":"fibaroQuery","z":"31d6120b.b04cae","name":"query dev state","server":"22c8eb11.659074","x":720,"y":280,"wires":[["6382e798.0a6c88"]]},{"id":"2edae324.e0726c","type":"inject","z":"31d6120b.b04cae","name":"toggle","topic":"1590","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":350,"y":280,"wires":[["e75854b4.f18eb8"]]},{"id":"6382e798.0a6c88","type":"debug","z":"31d6120b.b04cae","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":890,"y":280,"wires":[]},{"id":"e75854b4.f18eb8","type":"change","z":"31d6120b.b04cae","name":"","rules":[{"t":"set","p":"property","pt":"msg","to":"ui.lblHello.value","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":530,"y":280,"wires":[["70ad16b9.d0a008"]]},{"id":"22c8eb11.659074","type":"fibaro-server","z":"","name":"HC2","ipaddress":"192.168.1.36"}]

 

Link to post
Share on other sites

Hi 10der!

 

Is there a way to change a global variable?

 

I found different informations in the forum, but .....

 

Thanks for your good job!

Karl Heinz 

Link to post
Share on other sites
38 minutes ago, kallecux said:

Is there a way to change a global variable?

changing glob vars require admin rights for HC.

so. currentky I removed all code with glob var.

you can change glob vars via VD. call VD press button fron node-red and change your glob var.

as well as in next ver i will create node for reading and event changes for globa vars.

Link to post
Share on other sites

@10der  

 

Sorry, but I'm doing something wrong and I can't go through it,  i have always error msg:  "TypeError: Cannot read property 'ipaddress' of null"    on both inject and querry .  

 

I have this  VD device 

{"id": 135,"name": "Buderus","roomID": 0,"type": "virtual_device","visible": true,"enabled": true,"properties": {"categories": "[\"other\"]","deviceIcon": 0,"ip": "","port": 80,"currentIcon": "0","log": "","logTemp": "","mainLoop": "","ui.Label1.value": "2","ui.Label2.value": "20","visible": "true","rows": [{"type": "label","elements": [{"id": 1,"lua": false,"waitForResponse": false,"caption": "Tlak","name": "Label1","favourite": false,"main": false}]},{"type": "label","elements": [{"id": 2,"lua": false,"waitForResponse": false,"caption": "Teplota","name": "Label2","favourite": false,"main": false}]}]},"actions": {"pressButton": 1,"setSlider": 2},"created": 1576694268,"modified": 1576694268,"sortOrder": 108}

 

When i change the  ui.Label1.value and ui.Label2.value , via browser with  .... api/callAction?deviceID=135&name=setProperty&arg1=ui.Label2.value&arg2=20 ... this is without problem . 

thanks

Link to post
Share on other sites

@project is your HC node blinking with green?

 

image.png.7dca2564b7f477635c155a892c98454c.png

another question is query node has right HC APi node?

somtimes after importing node-red add a NEW EMPTY config node with empty paramenets,

Edited by 10der
Link to post
Share on other sites

i have import my flow on another server. and.... YES! now I have 2 (two) HC2 config node

a new created config node - WRONG. please delete this node.

I do not know why it happened!

image.png.4ed117ac18a7500f7dbcc003d85591b2.png

Link to post
Share on other sites

Hi 

 

do I have both flows  "node-red-contrib-fibaro-devices" and "node-red-Contrib-fibaro-hc2" installed or only  the .......fibaro-devices ? 

Link to post
Share on other sites

Because only with the flow "node-red-contrib-fibaro-devices" i dont have visible the node fibaro-server 

Link to post
Share on other sites

Hi and thanks for the new package.

Why do I get double or triple responses?

0612BDCE-C870-4B80-B49D-9F101F4C3D6F.jpeg

Link to post
Share on other sites

i am not good undestand Sweden :) what sensor type you are use?

@petrho how many Fibari API nodes you are used?

what version (was bug with multi-connections without closing connection to HC)

Link to post
Share on other sites

Hi @10der

 

can you help me please .  I don't understand the logic of this . What should i wrote in the inject node and Xactor node when i want change the value of Label2 on the VD device nr 135 ? 

 

thank you

Link to post
Share on other sites

Join the conversation

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

Guest
Reply to this topic...

×   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...