Posts: 19
Threads: 3
Joined: Jun 2022
Reputation:
0
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
Posts: 7758
Threads: 42
Joined: Jun 2015
Reputation:
447
Install YABE and check what objects are discovered. Some extra configuration might be needed on the BACnet router.
Posts: 19
Threads: 3
Joined: Jun 2022
Reputation:
0
15.11.2023, 13:23
(This post was last modified: 15.11.2023, 13:33 by AngelesTR.)
Hi:
With YABE I have managed to discover all the variables
What can i do now?
Thanks
Posts: 7758
Threads: 42
Joined: Jun 2015
Reputation:
447
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.
Posts: 19
Threads: 3
Joined: Jun 2022
Reputation:
0
15.11.2023, 13:34
(This post was last modified: 15.11.2023, 13:42 by AngelesTR.)
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...
Posts: 7758
Threads: 42
Joined: Jun 2015
Reputation:
447
It should work on LM if correct parameters are provided. Show a screenshot from Yabe with discovered devices and objects.
Posts: 19
Threads: 3
Joined: Jun 2022
Reputation:
0
15.11.2023, 13:51
(This post was last modified: 15.11.2023, 13:54 by AngelesTR.)
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
Posts: 7758
Threads: 42
Joined: Jun 2015
Reputation:
447
At this moment reading devices under routers is not supported. We will look into adding support for this in the next firmware.
Posts: 19
Threads: 3
Joined: Jun 2022
Reputation:
0
And when you think it will be possible. I have a serious problem with that at this moment.
Best Regards
Posts: 7758
Threads: 42
Joined: Jun 2015
Reputation:
447
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