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


Recommended Posts

Posted

Ahh - that solved my problem as well. Thanks

 

Posted (edited)
On 8/12/2018 at 5:14 PM, Rikard Ronnkvist said:

think there is something strange with the dispatcher, I can only get it to work by using JSON-formated payload

fixed 0.56

38 minutes ago, petrho said:

Ahh - that solved my problem as well. Thanks

thank you so much. fixed!

Edited by 10der
Posted

And again - your node will be awsome! Big thanks!

  • Thanks 1
Posted

How is the device-node working? Do you have any example?

Posted
47 minutes ago, petrho said:

How is the device-node working? Do you have any example?

 

this object still in development, under construction... :D

 

but you can use it as a filter.

Please login or register to see this code.

 

 

so, you subscribe on ALL events

Please login or register to see this image.

 

and separate events via HC device

 

TKDwXaJM6c.png

 

for example

 

f0dPdv6x6P.png

 

in output, you will have the only event for this device.

 

 

Posted

Time to play more with this now, thanks for the updated version @10der

Posted
1 hour ago, 10der said:

 

this object still in development, under construction... :D

 

but you can use it as a filter.

Please login or register to see this code.

 

 

so, you subscribe on ALL events

Please login or register to see this image.

 

and separate events via HC device

 

TKDwXaJM6c.png

 

for example

 

f0dPdv6x6P.png

 

in output, you will have the only event for this device.

 

 

Ok - like a filter?

Posted

yep!

  • Thanks 1
Posted
6 hours ago, petrho said:

Ok - like a filter?

so it suppose to work also with global variables? Variables are missing "value" payload.

Posted
2 hours ago, korniza said:

so it suppose to work also with global variables?

Global vars not supported this node. sorry. maybe todo.

 

here is workaround

 

Please login or register to see this code.

 

Posted (edited)
21 minutes ago, 10der said:

Global vars not supported this node. sorry. maybe todo.

 

here is workaround

 

Please login or register to see this code.

 

 

Thanks! Do you have similar example for how change global variables from nodered?

 

 

 

 

I can't get the reset to work (actually not sure what expect to happen)

 

Please login or register to see this attachment.

Edited by petrho
Posted
1 hour ago, petrho said:

I can't get the reset to work (actually not sure what expect to happen)

 

node retrieve all devices states again. this feature just like a watchdog.

 

Quote

Do you have similar example for how change global variables from nodered?

 

 

  • Thanks 1
Posted
2 hours ago, 10der said:

 

node retrieve all devices states again. this feature just like a watchdog.

 

 

 

Nothing happened when I press the reset (sending a 0 as payload)

Posted
2 minutes ago, petrho said:

Nothing happened when I press the reset (sending a 0 as payload)

are you waiting for magic? :)  no no  no ;)

just turn on debug and press reset. you can see statuses of all devices 

so. just inject string "0" as payload

 

ya9DpRkk6D.png

Posted
Just now, 10der said:

are you waiting for magic? :)  no no  no ;)

just turn on debug and press reset. you can see statuses of all devices 

so. just inject string "0" as payload

 

ya9DpRkk6D.png

exactly what I did but nothing in the debug window (I think it worked with earlier version?)

3 minutes ago, petrho said:

exactly what I did but nothing in the debug window (I think it worked with earlier version?)

It looks different from your example (see picture) But I have tried the proposal with a 0 in the payload. Same outcome - no debug info)

 

Please login or register to see this attachment.

13 minutes ago, petrho said:

exactly what I did but nothing in the debug window (I think it worked with earlier version?)

It looks different from your example (see picture) But I have tried the proposal with a 0 in the payload. Same outcome - no debug info)

 

Please login or register to see this attachment.

Now it's working - I just used your example file and when I changed to string and payload 0 it works!

Posted

latest here:

 

Please login or register to see this code.

 

 

 

Please login or register to see this image.

 

on global changes events you can subscribe like a home/globals/#

  • Thanks 2
Posted

You deserve respect from everyone!
I hope also fibaro to saw some respect to us and integrate that so not required the 10 sec delay!

Also some very popular scenes/vd here (for example Smart Message) need to implement this and add Google Home notifications (huge step!) or chromecast interaction.

 

  • Like 1
Posted

Is it possible to update a label on a VD ?

Would be really cool to take som MQTT-data and push it to a VD so that you can display it in the app...

Posted

Please login or register to see this code.

Please login or register to see this image.

  • Thanks 1
Posted

or native solution

 

very simple!

 

Please login or register to see this code.

 

Please login or register to see this image.

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