Jump to content

Recommended Posts

2 hours ago, 10der said:

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)


it’s a fibaro wall plug. I have just one API node (I have also another raspberry with your old package)

version 0.0.17

Edited by petrho
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

On 1/12/2020 at 1:51 PM, 10der said:

@project

 

 

 

image.png.257b13ba1bdbfb77f20634fafb94a07a.png

 

 

 

what does the topic reflects here (1590)?

Edited by petrho
Link to post
Share on other sites
8 hours ago, petrho said:
On 1/12/2020 at 2:51 PM, 10der said:

 

what does the topic reflects here (1590)?

device ID

  • Like 1
Link to post
Share on other sites
9 hours ago, petrho said:


it’s a fibaro wall plug. I have just one API node (I have also another raspberry with your old package)

version 0.0.17

it's my bug :)

I forgot disable debug messaging

  • Like 1
Link to post
Share on other sites

Do you have a list or examples which commands to use for example dim a dimmer 2 with 30% or how to control the rgw device?  I found that both boolean and turnOn / turnOff work fine for standard relay device...

 

Is the recommendation to set API interval to every second or will that affect the HC2 and/or the RPI? Do I still need the reset injection (if yes - why)?

 

...and thanks for a good tool!

Edited by petrho
  • Thanks 1
Link to post
Share on other sites
6 minutes ago, petrho said:

commands to use for example dim a dimmer 2

just put integer for dim value

20 minutes ago, petrho said:

how to control the rgw device? 

Sir, as I can undestabd ypu never to see my examples?

 

 

 

examples.json

  • Like 1
Link to post
Share on other sites
On 1/14/2020 at 8:04 AM, 10der said:

it's my bug :)

I forgot disable debug messaging

Is it possible to disable it by myself or do I need an updated version?

Link to post
Share on other sites

version:       0.0.18  

added MQTT support

 

so now you can setup fibaroAPI node:

image.png.f3e3adcff448f300362462c1dcd3e38d.png

 

than connect MQTT in

 

image.png.303f2bb08ffa46f7f8730cf5d9ae09b4.png

 

image.png.4e9066377b48aa0cbe5c94a784a78e9b.png

 

in your HC2 import MQTT VD

configure

 

image.png.0561a38e1795b594fb6788a8c5978332.png

 

 

change the topic

image.png.5b4e5cc44954d7d3f471d2f44e3bb133.png

 

save VD

 

now your HC2 will publish all events to Node-red 

 

WOW!

 

 

 

 

 

 

 

 

MQTT_sender.vfib

21 minutes ago, petrho said:

Is it possible to disable it by myself or do I need an updated version?

just ignore it. 

events to device should pass once

Edited by 10der
  • Thanks 1
Link to post
Share on other sites

thanks for this:

image.png.b83f7bcef8eccec5394c7e1fe55c51e9.pngand this image.png.9c2a9697c226ac18b6d3e0d231980d46.png

Now is possible transfer the brain of home automation system definitely from HC2 to RPI with mqtt ;-)

 

  • Thanks 1
Link to post
Share on other sites

But I preferred old schema of naming topic. In this moment after only 30 minutes test on 0.18 ;-)  but the night is coming ...

Ex. for device id:610:

image.png.7a98e03e6b4b9f296a52d705c019457f.png give as topic "home/status/610" in 0.14 but in new (0.18)it's reports topic only as 610 

 

This give the problem if you use in one flow sensor on direct  devices from two HCx ( with the same ID) without pass via HC API and mgtt in - out for set topic

 

Edited by drboss
Link to post
Share on other sites

Wow - cool with MQTT support in HC.

 

However - when I set the FibaroAPI mode to 0 I thought it was disabled. But when I have set to zero and haven't connected mqtt node to in - it sends data via the out pin

Edited by petrho
Link to post
Share on other sites

and I receiving from fibaroAPI many error message in debug (if debug off, too) like:

image.png.5f838008d9f68f2680f7c44f3ca4fdec.png

Link to post
Share on other sites

@10der small question because I'm not specialist of node-red programming but if possible that You add to "fibaroSensor" place for topic (of course this is low priority ask):

image.png.64d92ea861dc5faf6a69b91a925fd8dc.png

this useful if we use fibaroSensor without VD for get the result like  "/HC-001010/502 : msg : Object" in place of "502 : msg.payload : Object".

ps. After night with HC2 and node-red I say ... you work is very impressive, THANKS. It give second live to my HC2. With RPI zigbee and 433 RMpro I'm sure than now I'm not interested to bay HC3 (very secured -> restricted model :-( ) for my house. 

Link to post
Share on other sites

@10der small question because I'm not specialist of node-red programming but if possible that You add to "fibaroSensor" place for topic (of course this is low priority ask):

image.png.64d92ea861dc5faf6a69b91a925fd8dc.png

this useful if we use fibaroSensor without VD for get the result like  "/HC-001010/502 : msg : Object" in place of "502 : msg.payload : Object".

ps. After night with HC2 and node-red I say ... you work is very impressive, THANKS. It give second live to my HC2. With RPI zigbee and 433 RMpro I'm sure than now I'm not interested to bay HC3 (very secured -> restricted model :-( ) for my house. 

 

 

 

and small modification for last VD MQTT_Handler, line 238:

    if error_message == 2 then
    fibaro:call(fibaro:getSelfId(), "setProperty", "ui.lblStatus.value", "AUTH ERR")
    fibaro:debug("Disable password authorisation in mosquitto or set alow_anonymous true")
    else
    fibaro:call(fibaro:getSelfId(), "setProperty", "ui.lblStatus.value", error_message)
    end

 

Edited by drboss
Link to post
Share on other sites

After migration to 0.18 what can I do for thermostat?

1. I create fibaroXActor with Actions like this:

{
    "TurnOn25": {
        "name": "setThermostatSetpoint",
        "args": [
            1,
            25
        ]
    },
    "TurnOff17": {
        "name": "setThermostatSetpoint",
        "args": [
            1,
            25
        ]
    }
}

and my question what I need to send in injection to this Actor to work? 

Link to post
Share on other sites
"TurnOff17": {
        "name": "setThermostatSetpoint",
        "args": [
            ,
        ]
    }

IMHO

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