【发布时间】:2021-05-11 22:29:19
【问题描述】:
希望你做得很好。
CrateHistorian 不工作。我已经使用以下配置安装了它:
{
"connection": {
"type": "crate",
# Optional table prefix defaults to historian
"schema": "monday_schema",
"params": {
"host": "localhost:4200"
}
}
}
在localhost:4200 上观看 crate 管理 UI,我创建了两个名称为 data 和 topics 的表。
主题存储在主题表中,但数据表不添加任何内容。
尝试运行 tail volttron.log 以查看可能是什么问题并得到了 crate 代理的以下结果:
2021-02-08 15:02:32,748 (cratedbagent-3.3 8267) main 调试:无效数据未保存 ('2021-02-08T09:47:40.340678+00:00', 'my_campus/my_building/room2/Setpoint.3', 'scrape', 63.0, {'units': 'degreesFahrenheit', 'type': 'integer', 'tz': 'UTC'})
这是针对我要保存的所有数据点完成的。
配置中可能存在什么问题?
感谢期待。
【问题讨论】:
标签: python database crate volttron historian