I am automating my home, and for that I am collecting data with the purpose of analysing it for controlling devices.
My question is, what will be the best place to run the analytic software:
- Use openHAB rules
- Develop analytic application (node / python) that will listen to event from openHAB / MQTT and have the ability to extract data from influxDB, and based on analysis, send commands to openHAB.
It is clear that option 2 is better as I can use more resources from open source that relates to data analytics. On the other hand, I tend to have one place for my automation code - openHAB, which means using rules.
Will appreciate any suggestions / comments and if someone has done something similar and can share it will be great.