Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

query for power characteristic history #1036

Closed
Kristian8606 opened this issue Oct 27, 2021 · 6 comments
Closed

query for power characteristic history #1036

Kristian8606 opened this issue Oct 27, 2021 · 6 comments

Comments

@Kristian8606
Copy link

Would you apply historical data to the (Power) on / off characteristic just like eve energy?

0A480B7D-2454-48B0-931C-F527B6122A0A

@ebaauw
Copy link
Owner

ebaauw commented Oct 27, 2021

It’s on my virtual todo list. Not sure if fakegato-history can support this; I might need to switch to the homebridge-lib implementation for eve history first. Same for providing a combined motion/temperature history for the Hue motion sensor, rather than exposing the device as two separate accessories.

@Kristian8606
Copy link
Author

Kristian8606 commented Oct 27, 2021

I can confirm that (fakegato-history) supports this feature I was using this feature in my test projects.

If my memory serves me right, I think that was the characteristic
this.LoggingService.addEntry({ time: Math.round(new Date().valueOf() / 1000), status: this.On });

@ebaauw
Copy link
Owner

ebaauw commented Oct 27, 2021

Is that the combined on/off and consumption history, or just the on/off history?

@Kristian8606
Copy link
Author

This is the story of only on - off.

@ebaauw
Copy link
Owner

ebaauw commented Nov 8, 2021

So with fakegato, it's either history for On or for Consumption. I can do both with the homebridge-lib implementation of Eve history, but need to refactor Homebridge Hue for that, see #4.

@ebaauw
Copy link
Owner

ebaauw commented Jan 23, 2022

Closing this issue. The combined history will be included in Homebridge deCONZ, see #1070.

@ebaauw ebaauw closed this as completed Jan 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants