# \[ANNOUNCE\]node-red-contrib-button-events: beta preview

**URL:** <https://discourse.nodered.org/t/announce-node-red-contrib-button-events-beta-preview/33668>\
**Category:** Share Your Nodes\
**Created:** [2 October 2020 11:50 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-button-events-beta-preview/33668 "2020-10-02T11:50:36Z")\
**Posts on this page:** 9\
**Page:** 2

<div class="post-metadata">

**Author:** ![BartButenaers](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bartbutenaers/32/10476_2.png) [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Post date:** [9 October 2020 19:57 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-button-events-beta-preview/33668/21 "2020-10-09T19:57:00Z")

</div>

> [@BartButenaers](#):
>
> Perhaps I should use the same color as the gpio nodes?

Done:

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/d/cdcd0c93bc30954904a8a8d2a52b9831c5136213.png)

> [@BartButenaers](#):
>
> That feature request should be implemented before I can continue reusing the input message.

I now reuse the LAST input message. E.g. when I inject those messages:

1. Message with\* payload=0\* and _topic="ZERO"_
2. Message with _payload=1_ and _topic="ONE"_

Then I now get these output messages:

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/f/9f6a16acac201203ddccad3582eafaecc1c2d5d0.png)

> [@Colin](#):
>
> as soon as the spec is stable

When I translate this sentence via Google Translate to Dutch and back to English, then I get this result: _"as soon as Colin stops asking new features, and has confirmed that his feature requests work correctly"_🤣

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [10 October 2020 09:18 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-button-events-beta-preview/33668/22 "2020-10-10T09:18:10Z")

</div>

> [@BartButenaers](#):
>
> as soon as Colin stops asking new features, and has confirmed that his feature requests work correctly

I hereby declare that the current spec fully meets my requirements (at least until I think of something else) 🙂

I am away from home at the moment so I can't do more than cursory tests I am afraid, but it is looking good.

---

<div class="post-metadata">

**Author:** ![BartButenaers](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bartbutenaers/32/10476_2.png) [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Post date:** [10 October 2020 14:56 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-button-events-beta-preview/33668/23 "2020-10-10T14:56:26Z")

</div>

> [@Colin](#):
>
> I hereby declare that the current spec fully meets my requirements

Thanks for the magic words!

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/0/b0fcf3670811e90faae94e1abc6620e3b5cf6655.png)

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [10 October 2020 15:30 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-button-events-beta-preview/33668/24 "2020-10-10T15:30:06Z")

</div>

Excellent, thanks.

---

<div class="post-metadata">

**Author:** ![BartButenaers](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bartbutenaers/32/10476_2.png) [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Post date:** [10 October 2020 15:41 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-button-events-beta-preview/33668/25 "2020-10-10T15:41:09Z")

</div>

Damn, I have been too fast. Had to work - unexpected - more than 7 hours today, due to some server issues. So I thought: let's publish this node quickly afterwards to npm. But I forgot that Bryan hasn't published his latest version yet to npm. As a result, the input message will still not be resend to the output. Instead a completely new output message will be created.  
To cope with this, I had to publish fix version _ **1.0.1** _ now 🙄.  
Should have wait until my brain was cooled down again ...

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [10 October 2020 15:54 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-button-events-beta-preview/33668/26 "2020-10-10T15:54:56Z")

</div>

That's life.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [10 October 2020 16:38 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-button-events-beta-preview/33668/27 "2020-10-10T16:38:01Z")

</div>

@BartButenaers - you see @colin was only trying to protect you from yourself... 🤕

---

<div class="post-metadata">

**Author:** ![BartButenaers](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bartbutenaers/32/10476_2.png) [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Post date:** [10 October 2020 20:29 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-button-events-beta-preview/33668/28 "2020-10-10T20:29:52Z")

</div>

> [@BartButenaers](#):
>
> But I forgot that Bryan hasn't published his latest version yet to npm. As a result, the input message will still not be resend to the output. Instead a completely new output message will be created.

Bryan, has released this evening version _1.0.1_ of his button-events library. This will be installed from here on automatically when you (re)install my node. So now the input messages will be re-used for the output messages.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [1 December 2020 11:50 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-button-events-beta-preview/33668/29 "2020-12-01T11:50:40Z")

</div>

Closed on 1 December 2020 11:50 UTC

This topic was automatically closed after 60 days. New replies are no longer allowed.

[Previous page](https://discourse.nodered.org/t/announce-node-red-contrib-button-events-beta-preview/33668.md?page=1)
