PatchworkBoy / homebridge-edomoticz

Domoticz Homebridge-Plugin
Other
118 stars 44 forks source link

[Feature] Add history for Eve app #158

Closed ooii closed 6 years ago

ooii commented 6 years ago

Is it possible to add history to devices reporting temperature and power consumption in order to use them with Eve?

PatchworkBoy commented 6 years ago

Nope.

On Thursday, 3 May 2018, 10:13, Farid <notifications@github.com> wrote:

Is it possible to add history to devices reporting temperature and power consumption in order to use them with Eve?— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

ooii commented 6 years ago

Any explanation why? It is technically undoable with this plug-in? If it is lack of time, can I try and if I succeed send a pull request?

PatchworkBoy commented 6 years ago

Feel free - I spent 6 months trying and got nowhere. Only proof of concept I’m aware of is here: https://gist.github.com/simont77/919399dda338e37213b1ca231082c219 and it’s evolution here: https://github.com/simont77/fakegato-history

ooii commented 6 years ago

In this case, I don't believe I can do better than you. But I know @ebaauw has managed to have temperature history with his Hue plugin.

PatchworkBoy commented 6 years ago

The matter is how to get all the history data cleanly from Domoticz' JSON API. How Hue integrates this in their own system is likely to be entirely different to how it's done in Domoticz. Generally when it comes to integrating any new features, the question is whether Domoticz exposes the required data to do what needs doing, and whether it does so in a suitable/usable format.