pdmangel / node-red-contrib-openhab2

Other
20 stars 14 forks source link

PostUpdate #8

Open bebben88 opened 7 years ago

bebben88 commented 7 years ago

Hey, many thanks for the plugin. Now im using node-red as my primary rules engine. When i use postUpdate instead of ItemCommand in an out node it works as intended in openhab, the rules in openhab reacts to either command or update.

But when I use input node in node-red it always react on both. And as i can see it, i cant find a way to separate them. It would be great if it was in the topic if it is a command or update on the incoming.

pdmangel commented 7 years ago

Hi ... just back from vacation :-) I'll have a look at your proposals asap.

fab33 commented 6 years ago

+1 for this proposition. It would be find to have an option for output 1 to select ItemCommandEvent and ItemSateChangedEvent. We can use output 2 but it's not so easy (must add switch node to filter and change node to extract payload)