Hope you are doing great.
The CrateHistorian is not working. I have installed it with the following configurations:
{
"connection": {
"type": "crate",
# Optional table prefix defaults to historian
"schema": "monday_schema",
"params": {
"host": "localhost:4200"
}
}
}
Watching crate admin UI on localhost:4200
, I get two tables created with names data and topics.
The topics are stored in the topics tables but the data table doesn't add anything.
Tried running tail volttron.log to see what might be the issue and got this result for crate agent:
2021-02-08 15:02:32,748 (cratedbagent-3.3 8267) main DEBUG: Invalid data not saved ('2021-02-08T09:47:40.340678+00:00', 'my_campus/my_building/room2/Setpoint.3', 'scrape', 63.0, {'units': 'degreesFahrenheit', 'type': 'integer', 'tz': 'UTC'})
And this is done for all the data points I am trying to save.
What might be the issue in configurations?
Thanks in anticipation.
Where are you getting this data from? The format for historian is based upon https://volttron.readthedocs.io/en/develop/agent-framework/historian-agents/historian-topic-syntax.html.
Note the syntax differences between what is pasted up above and the following:
Is this the platform driver (former master driver) or from a different agent publishing to the topic?