python - volttron bacnet 扫描未拾取设备
问题描述
如果我使用它在 VOLTTRON 中获取 bacnet 配置:
(volttron) volttron@volttron:/var/lib/volttron/scripts/bacnet$ python grab_bacnet_config.py 26 --registry-out-file registry_configs/26.csv --driver-out-file ./devices/26
但这永远不会完成,我必须control-C
在 Linux 终端中使用 a 取消脚本。追溯:
CERROR:__main__:an error has occurred: 'NoneType' object has no attribute 'pduSource'
Traceback (most recent call last):
File "grab_bacnet_config.py", line 460, in <module>
main()
File "grab_bacnet_config.py", line 390, in main
target_address = result.pduSource
AttributeError: 'NoneType' object has no attribute 'pduSource'
这是什么意思?设备有问题吗?
BACnet 控制器似乎可以很好地向 BAS 报告,有什么想法可以尝试吗?
解决方案
推荐阅读
- swift - Swift Combine:如何将 `AnyPublisher<[Foo], *>` 转换为 `AnyPublisher
`? - sql - 显示列值未出现在另一列的同一组中的行
- node.js - 进程停止时,使用 PM2 运行的节点应用程序不会停止
- javascript - 要解密,首先计算: a' = a^(P−1−x) (mod P); 如何使用 javascript 计算 a'?
- javascript - 如何在我的网站中正确实施用户系统 - 基本指南、javascript、节点?
- c# - 使用 C# 以特定方式组合所有字符
- ios - 找不到框架 GoogleMobileAds
- html - 将旋转的 div 对齐到右侧
- java - 如何将字符串转换为日期并验证日期是否在给定的特定日期之后
- javascript - 如何先用字母然后用数字对数组项进行排序?