stargieg / packages-automation

openwrt packages for home automation
18 stars 15 forks source link

Question: BACnet MSTP #6

Open MatinatorX opened 3 years ago

MatinatorX commented 3 years ago

Hi, first wanted to say, great library! I was able to get this working on a GLiNet AR300M and X300B by applying the pull request that changes $ifname to $iface in bacserv.init. BACnet IP is working and I can see both devices with YABE. Awesome! Compiled the modules for OpenWRT 19.07.05.

Next I decided to try getting MSTP working on the X300B since it has RS485, but I can't seem to get it to use the selected interface (dev/ttyS0). I've removed any other packages that might be using the interface and I'm quite sure my MSTP configuration is good, but I'm not seeing any MSTP traffic from the X300B. (I have tried all the obvious things like polarity, checking grounding, confirming comm speed, rebooting the router, swapping in a commercial MSTP router to check the bus and everything checks out). I'm hoping I'm just doing something dumb, but since I'm running out of ideas I wanted to ask here!

MSTP settings are as follows:

Network: Enabled Routing: Enabled Network Layer: BACnet MSTP MAC Address: Tried 0, 1, and 127 Max Master: 127 Max Info Frames: 1 Speed: 38400 Parity: None Data Bits: 8 Stop Bits: 1 Network: 777 Device ID: 7777 Device Version: 7 Device Name: X300B Model Name: X300B Display Name: X300B Location: Kitchen Table

Thank you again for making this awesome library!