# Blynk v pin value to node red

**URL:** https://discourse.nodered.org/t/blynk-v-pin-value-to-node-red/20780
**Category:** General
**Created:** [23 January 2020 17:06 UTC](https://discourse.nodered.org/t/blynk-v-pin-value-to-node-red/20780 "2020-01-23T17:06:35Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![scottriggle](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/scottriggle/32/15964_2.png) [@scottriggle](https://discourse.nodered.org/u/scottriggle)
#### Post date: [23 January 2020 17:06 UTC](https://discourse.nodered.org/t/blynk-v-pin-value-to-node-red/20780/1 "2020-01-23T17:06:35Z")

</div>

I'm confused with using the node-red-contrib-blynk-ws. Can anyone point me to a way to simply receive a value from Blynk. Like temperature or reed switch hooked up to a virtual pin? I see samples of you have to use a write node to read a value? I know it's connect because I can write to the LCD in the Blynk app.

 ![Screen Shot 2020-01-23 at 12.02.14 PM](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/7/87a227d0f1607bd3bb436e2622595e49fac56328.png)

---

<div class="post-metadata">

### Author: ![scottriggle](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/scottriggle/32/15964_2.png) [@scottriggle](https://discourse.nodered.org/u/scottriggle)
#### Post date: [23 January 2020 18:27 UTC](https://discourse.nodered.org/t/blynk-v-pin-value-to-node-red/20780/2 "2020-01-23T18:27:12Z")

</div>

Well it looks like in the case of having widgets with virtual pins, I can see the changes made in node red when they Change. I have a reed switch, can I only get info from Blynk to node red if the reed switch changes? or can I read the current state which may not change for hours.

---

<div class="post-metadata">

### Author: ![scottriggle](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/scottriggle/32/15964_2.png) [@scottriggle](https://discourse.nodered.org/u/scottriggle)
#### Post date: [23 January 2020 18:41 UTC](https://discourse.nodered.org/t/blynk-v-pin-value-to-node-red/20780/3 "2020-01-23T18:41:28Z")

</div>

Figured it out! So since my virtual pin doesn't change that often and I needed to get the current status/state of it, you can use the trigger and sync node, with the virtual pin in it. That sends a write to that pin and kicks it back. THEN you need a write event to intercept what the other node did. Then you do what you want with it.

 ![Screen Shot 2020-01-23 at 1.38.53 PM](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/1/b17da7986f20fd0f9db5d43441da391e29ac9418.png)
