Logic Machine Forum
error Bacnet read - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8)
+--- Thread: error Bacnet read (/showthread.php?tid=5067)



error Bacnet read - AngelesTR - 31.10.2023

I'm using a Intesis router ip-mstp.
 192.168.100.246

I get read bacnet clients
246 - 192.168.100.246 -router
50001 - 192.168.100.246 - device mstp

But when I try to read objects I always have the same error: unknown object,

require('bacnet')

bacnet.deviceip = '192.168.100.246'

device_id = 50001
value,err = bacnet.readvalue(device_id, 'analog value',1086)
log(err)
  [size=1][size=1]*
[/size][/size]


Thanks


RE: error Bacnet read - admin - 31.10.2023

Install YABE and check what objects are discovered. Some extra configuration might be needed on the BACnet router.


RE: error Bacnet read - AngelesTR - 15.11.2023

Hi:
With YABE I have managed to discover all the variables


What can i do now?
Thanks


RE: error Bacnet read - admin - 15.11.2023

In Yabe right click Devices, select Add device. There under BACnet/IP over Udp click Add. For testing purposes you can enable BACnet server on LM. It should appear in Yabe once it's configured correctly.


RE: error Bacnet read - AngelesTR - 15.11.2023

Yes ,yes the problem was the port....

If I can discover the values ​​with YABE there is no reason not to discover them with LM, right?

Thanks in advance...


RE: error Bacnet read - admin - 15.11.2023

It should work on LM if correct parameters are provided. Show a screenshot from Yabe with discovered devices and objects.


RE: error Bacnet read - AngelesTR - 15.11.2023

sorry but I don't know how insert an imagen in the Post.

yabe shows this tree:
udp:47808
device 246-192.168.100.246:47808 /this is the router
device-50001 - 90 / this is the device SMTP


RE: error Bacnet read - AEK - 15.11.2023

(15.11.2023, 13:51)AngelesTR Wrote: sorry but I don't know how insert an imagen in the Post.

yabe shows this tree:
udp:47808
device 246-192.168.100.246:47808 /this is the router
        device-50001 - 90 / this is the device SMTP

make printscreen, paste it into Paint, save as .png, and click below


RE: error Bacnet read - AngelesTR - 15.11.2023

(15.11.2023, 14:03)AEK Wrote:
(15.11.2023, 13:51)AngelesTR Wrote: sorry but I don't know how insert an imagen in the Post.

yabe shows this tree:
udp:47808
device 246-192.168.100.246:47808 /this is the router
        device-50001 - 90 / this is the device SMTP

make printscreen, paste it into Paint, save as .png, and click below
Blush


RE: error Bacnet read - admin - 16.11.2023

At this moment reading devices under routers is not supported. We will look into adding support for this in the next firmware.


RE: error Bacnet read - AngelesTR - 16.11.2023

And when you think it will be possible. I have a serious problem with that at this moment.
Best Regards


RE: error Bacnet read - admin - 17.11.2023

New firmware will only be available in several months time.

It would be very helpful if you could provide a Wireshark packet dump when accessing the MS/TP device via Yabe.
1. Install and run Wireshark
2. Set filter to udp.port==0xBAC0
3. Run Yabe and click at least one of the MS/TP objects in the discovered object list
4. Click Stop in Wireshark and click File > Export Specified Packets, save the packet dump with default settings