BiancoRoyal / node-red-contrib-bacnet

maintained by PLUS for Node-RED - https://plus4nodered.com
https://www.npmjs.com/package/node-red-contrib-bacnet
MIT License
24 stars 16 forks source link

How do you specify the object id in the node settings of the object type you are trying to read ? #3

Closed aniston closed 6 years ago

aniston commented 6 years ago

Hello, have been trying to implement a simple BACnetr read , got the basic BACnet command node for a simple whois to work, but could not figure out how to do a simple read_prop of the same device , in particular as an example to get the PresentValue(85) of Object analog_value(2) with Object_Id(4) from Device(7682)

without giving the device ip i get Error: ERR_TIMEOUT in the Debug while with the ip i get Error: BacnetError - Class:0 - Code:0

But in the BACnet Read node there is no setting for the object_id.

If possible an example flow of the 3 working nodes would be much helpful.

Regards, Aniston

aniston commented 6 years ago

Got it working, mixed-up using the Instance as the BACnet DeviceId which is a more common way of addressing a BACnet Device and not directly thru its ip address.

incase any other starters stmble on this, some points to note:

Saravan95 commented 5 years ago

Got it working, mixed-up using the Instance as the BACnet DeviceId which is a more common way of addressing a BACnet Device and not directly thru its ip address.

incase any other starters stmble on this, some points to note:

  • we need to address the BAcnet device by it's BAcnet IP address
  • Instance is the ObjectInstance and not to be confused by the BACnet Device Id

Can you please post the configurations of these nodes.

mlavelle42 commented 4 years ago

I would also like to see the screen grabs of these nodes. I'm not having any luck so far.

biancode commented 4 years ago

@aniston could you provide seom of your examples, please?

mlavelle42 commented 4 years ago

I'm trying to read BACnet points within Node-Red. Form nomenclature seems to differ from what I expected. I set the Type to Analog_Input (but Analog_Value may be the correct selection).

image

The Instance is, I believe, correct at 2749 (taken from YABE).

image

The Property ID is a mystery. I used Present_Value (85)

image

I put the Device Address as the IP of the controller.

image

I'm not sure about the "Interface" - I used the controller IP - doesn't seem appropriate.

image

Suggestions?

juniormercato commented 4 years ago

Estou tentando ler pontos BACnet dentro do Node-Red. A nomenclatura das formas parece diferir do que eu esperava. Defino o Tipo como Analog_Input (mas Analog_Value pode ser a seleção correta).

imagem

Acredito que a instância esteja correta em 2749 (tirada do YABE).

imagem

O ID da propriedade é um mistério. Eu usei o Present_Value (85)

imagem

Coloquei o endereço do dispositivo como o IP do controlador.

imagem

Não tenho certeza de que a "Interface" - usei o IP do controlador - não pareça apropriado.

imagem

Sugestões?

Hello. In "interface" use the IP address of the equipment where NODE-RED is installed. Send some YABE printscreens to verify correct data type.

mlavelle42 commented 4 years ago

YABE screens.

image

Analog Input

image

Still get a Time_Out error

image

Changed the Interface IP to the that of the Pi.

image

Still not sure about the Property ID set to 85.

image

Suggestions?

juniormercato commented 4 years ago

Changes the netmask to 255.255.255.0

mlavelle42 commented 4 years ago

Changed netmask. No change in results. Suggestion about Property ID? Is PRESENT_VALUE appropriate to read an analog input?

mlavelle42 commented 4 years ago

Who Is? doesn't appear to succeed.

image

YABA sees the objects. Any ideas?

magicmatt007 commented 3 years ago

I've successfully implemented my first BACnet flows. However, I had to google the numbers for property ID and object ID: https://www.controlscourse.com/bacnet-reference/

In above screenshots, I see nice drop downs which show the actual text descriptions for the property IDs. In my installation (Home Assistant, Node Red) I CAN'T (edit: corrected typo from 'can') see these though. How can I make these visible?

image

biancode commented 3 years ago

@magicmatt007 I see there is some code at the wrong palce ... you can add an unused write and it should work after tht node is deployed, doesn't it?

tbiss242 commented 3 years ago

@magicmatt007 how were you able to solve the ERR_TIMEOUT problem? I still get that error no matter what changes I make. Who Is? seems to be working correctly, but any BACnet Read/Write gives me the timeout error.

magicmatt007 commented 3 years ago

@magicmatt007 how were you able to solve the ERR_TIMEOUT problem? I still get that error no matter what changes I make. Who Is? seems to be working correctly, but any BACnet Read/Write gives me the timeout error.

@tbiss242 : I haven't used this for a while but don't think I ever had the ERR_TIMEOUT problem. I only wasn't able to see the property IDs in plain text and had to enter their respective IDs.

andreapx commented 9 months ago

@magicmatt007 how were you able to solve the ERR_TIMEOUT problem? I still get that error no matter what changes I make. Who Is? seems to be working correctly, but any BACnet Read/Write gives me the timeout error.

Hi, sorry for this necropost, but I'm banging my head against the wall! Were you able to solve the ERR_TIMEOUT error?