【问题标题】:node-red owfs not working (node-red-contrib-owfs)节点红色 owfs 不工作 (node-red-contrib-owfs)
【发布时间】:2017-10-09 14:16:33
【问题描述】:

我有连接到 Raspberry Pi 并使用 OWFS 的单线传感器,我可以使用 python ow 库在 localhost:4304 访问这些传感器,也可以通过 localhost:2121 的 Web 界面访问这些传感器。

在 node-red 中,我安装了 node-red-contrib-owfs,默认情况下它被配置为在 localhost:4304 查找 owfs,但它给出了错误 Error: connect ECONNREFUSED 127.0.0.1:4304

有没有人成功完成这项工作或知道可能出了什么问题?今天一切都已安装并全新更新。

谢谢!

【问题讨论】:

    标签: raspberry-pi node-red


    【解决方案1】:

    好的,解决了。 在/etc/owfs.conf中,默认配置有

    server: port = localhost:4304
    

    改成

    server: port = 4304
    

    表示 node-red-contrib-owfs 可以访问它。

    随便。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多