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


MQTT Broker implementation


JCM

Recommended Posts

1 minute ago, 10der said:

@petrho can you stop flow. and look is the issue still here =) 

Ok

Link to comment
Share on other sites

some days ago I did see a message here about the same issue.  and no node-red and others "outside services"...

Edited by 10der
Link to comment
Share on other sites

32 minutes ago, 10der said:

some days ago I did see a message here about the same issue.  and no node-red and others "outside services"...

Ok so maybe related to fibaro api?

Link to comment
Share on other sites

Have you same experience regarding lockouts as me? Very annoying

Link to comment
Share on other sites

TBH my node-red works 24/7. No issues with lockout. Are you really sure what node-red is root(!) issue here?

Can you turning off node red for one day, for example if we you sure what node red is root issue in HC2 lockouts.

Link to comment
Share on other sites

13 minutes ago, 10der said:

TBH my node-red works 24/7. No issues with lockout. Are you really sure what node-red is root(!) issue here?

Can you turning off node red for one day, for example if we you sure what node red is root issue in HC2 lockouts.

Not sure but the lock-out IP address is from node-red server

Link to comment
Share on other sites

3 hours ago, petrho said:

Not sure but the lock-out IP address is from node-red server

It's very strange. A couple of times per day I will get error 401 and also receiving a security alert email. but still - it seems that I can continue to login.

Please login or register to see this attachment.

Please login or register to see this attachment.

Can it be a problem with the Swedish characters (åäö)?

Link to comment
Share on other sites

10 hours ago, petrho said:

Can it be a problem with the Swedish characters (åäö)?

no

Link to comment
Share on other sites

Each device now use common credentials oh HC server node for actions 

so, can you check each node of your flow what you have and clearly check for right assignment credentials 

also I can propose check at first nodes what can potential run at 00:00 for exaplme 

AFAIR you said about at this time HC2 lock your node red server 

Link to comment
Share on other sites

Still same random problems with locked out account (nodered server) error 401. Only thing I can suspect is when a lot of requests come from Nodered to HC at exatly same time. I did a couple (6) of new devices and the when I pressed deply I got error directly.

 

Link to comment
Share on other sites

guys sorry

 

I have a deadline for project 14 dec. 

I will fix it after.

 

thank you for understanding and I apologize for the oversight

Link to comment
Share on other sites

2 minutes ago, 10der said:

guys sorry

 

I have a deadline for project 14 dec. 

I will fix it after.

 

thank you for understanding and I apologize for the oversight

No hurry (and no pressure) - just wanted to give you some hints when it occured.

 

And again - thanks a lot for your fantastic work!

Link to comment
Share on other sites

  • 4 weeks later...

happy 2019!

I try to install fibaro module on nodered container. Here there are some errors that I got 

Other modules have been installed successful, so I support that it may be an syntax error...

My nodered version is 0.9.15, running on ubuntu 18.0.4 and node version is v6.16.0.

Please login or register to see this code.

EDIT: FIXED ! i UPDATE TO V8 NODE.

Edited by FSE
Link to comment
Share on other sites

Please login or register to see this image.

admin@smarthome:~$ uname -a
Linux smarthome 4.2.8 #1 SMP Wed Nov 14 00:59:34 CST 2018 x86_64 GNU/Linux
 

gJ8Li4gyD0.png

Link to comment
Share on other sites

I try to control wemo lamps from a VD. what is the best practice to read On/Off button and brightness slide value via HC2 node?

using globalVariables  or using hc2-device node?

Wemo node gets json on the following way.

 

Please login or register to see this code.

I like also to get the status of bulb polling their status and passing back to HC2.  Does someone build a similar VD?

Link to comment
Share on other sites

@10der happy new year, sir!

I need a simple example of VD that when a number change on node-red flow, the label of button on VD will change.

I also try to read the value of a slider from this VD and pass it to nodered, without globalVariable. Is it possible?

Thank you!

 

Link to comment
Share on other sites

2 hours ago, FSE said:

@10der happy new year, sir!

I need a simple example of VD that when a number change on node-red flow, the label of button on VD will change.

I also try to read the value of a slider from this VD and pass it to nodered, without globalVariable. Is it possible?

Thank you!

 

Was already in this post IMHO. 

But ok, I am going to work trip again - after ok will do

Link to comment
Share on other sites

@10der thank you! I m sure that your time is precious, I tried to figure out by your previous posts but I found your examples complex.

anyway, thanks again for sharing your time with all of us that try to learn.

Link to comment
Share on other sites

 :so. I am not at home now (work-trip0 but can access my home remote.

 

I can post here step by step cuz not enough time for it, sorry

so I have VD (sonoff relay) 

Please login or register to see this image.

 

so just drop MQTT In - HC2 device and fill data with VD id

 

zJKNGucJBw.png

 

now save flow

and back to HC2 UI

just click on buttons

7LbcYTv0cS.png

and 

 

uxyRvdYRQM.png

 

yes you can read any labels and as a bonus changed icon in VD.

 

have a nice day!

 

 

 

now we want to turn on and off my sonoff VD from node-red

 

lest check what VD is off

 

iG2QTQmc24.png

 

back to node-red

 

just add to previous flow inject node for On and for off

 

oGFQwDcwf4.png

 

set code for ON

dtNJ8QBmgs.png

Please login or register to see this code.

and off

 

Please login or register to see this code.

 

 

click inject On

iBuXCR7Z0r.png

 

yay!!!!

 

trying to click inject for off

 

w75yay1yBv.png

 

cheers! :0 

 

yes, it works!

and btw

 

you can get status back as well

pM407mAF3f.png

 

 

 

 

@FSE done

Link to comment
Share on other sites

@10der it is CRYSTAL CLEAR! 

I have another challenge but I do not need a answer as I think I have a workaround.

how to pass a json from VD to nodered?

My workaround is just to change the label on VD and trigger a function according to label on nodered. 

I suppose there is another way but I do not like to take advance of your kindness.

Link to comment
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...