# AND logic not working with localhost inputs

**URL:** <https://discourse.nodered.org/t/and-logic-not-working-with-localhost-inputs/65152>\
**Category:** General\
**Tags:** function-node\
**Created:** [15 July 2022 17:02 UTC](https://discourse.nodered.org/t/and-logic-not-working-with-localhost-inputs/65152 "2022-07-15T17:02:45Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [27 July 2022 20:09 UTC](https://discourse.nodered.org/t/and-logic-not-working-with-localhost-inputs/65152/5 "2022-07-27T20:09:39Z")

</div>

Let's atart with the basics

1. what device are you runnning NR on?
2. what verswion of NR and Node.js are you running (you can get this from the startup log)
3. what extra nodes (node-red-contrib-???) are you using oin your flow?
4. please export your flow and attach it to a reply
5. Give a step by step description of what you are trying to do.

Frankly I do not understand what you are trying to describe. or example:

> [@hectorbach2](#):
>
> pull a signal from groov epic, true/false , 1/0,

is the device returning a true/false or a 1/0? The easy way to find out is attach a `debug` node (set to display the complete msg object) to the output of the groove epic node to see what it is actually returning.

> [@hectorbach2](#):
>
> assign the name to this input but got the same mistake or step

again I don't understand what you are saying. This could be because it has to do with a contrib node, but not knowing waht the node is no-one will be able to help.

* * *

Here is how to copy and post a flow:

In order to make code readable and usable it is necessary to surround your code with three backticks (also known as a left quote or backquote `````)

````auto
``` 
   code goes here 
```

````

You can edit and correct your post by clicking the pencil ✏ icon.

See this post for more details - [How to share code or flow json](https://discourse.nodered.org/t/how-to-share-code-or-flow-json/506)

---

_[View the full topic](https://discourse.nodered.org/t/and-logic-not-working-with-localhost-inputs/65152)._
