Skip to content
This repository has been archived by the owner on Oct 11, 2022. It is now read-only.

Add more sensors #38

Open
DavidMStraub opened this issue Nov 20, 2019 · 9 comments
Open

Add more sensors #38

DavidMStraub opened this issue Nov 20, 2019 · 9 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@DavidMStraub
Copy link
Owner

E.g. oven core temperature.

Is there a list of sensors supported by the API somewhere??

@DavidMStraub DavidMStraub added the enhancement New feature or request label Nov 20, 2019
@nic0dk
Copy link

nic0dk commented Dec 29, 2019

looked at their API options for Coffee machine, what i miss is the level status of water and beans, doesnt seems like they have it :(

@Krocko
Copy link
Contributor

Krocko commented Dec 30, 2019

@nic0dk
https://developer.home-connect.com/docs/monitoring/appliance_events

@nic0dk
Copy link

nic0dk commented Jan 1, 2020

didnt see them, that is useful indeed, i will love to get these level into HA :)

@DavidMStraub
Copy link
Owner Author

Related to #42, the question is whether something like this would be better represented by a sensor or by a custom event in HA. These events have three possible states: Off, Present, Confirmed. https://developer.home-connect.com/docs/monitoring/eventpresentstate. So either one makes them a sensor with string value or fires a custom event once it becomes "Present" and another one onceit becomes "Confirmed". I tend to think events make more sense.

@Krocko
Copy link
Contributor

Krocko commented Jan 2, 2020

I vote for the sensor.

@nic0dk
Copy link

nic0dk commented Jan 2, 2020

i like sensors because you will have the state showed on a card until it have gotten an new state.

im not sure about events, i think it as a event that happen and the only place to find the event is under "logbook" and you can make automation on it?

or is you HA custom events different compare to the build-in logbook events?

@Krocko
Copy link
Contributor

Krocko commented Jan 2, 2020

@DavidMStraub is it also possible for you, to add more coffee programs?
See here:
https://github.com/thoukydides/homebridge-homeconnect

@DavidMStraub
Copy link
Owner Author

im not sure about events, i think it as a event that happen and the only place to find the event is under "logbook" and you can make automation on it?

Yes, it would be possible to use them in automations (I guess this is the main use case).

is it also possible for you, to add more coffee programs?

It's quite simple, there is a list of programs in the source code. I'd be happy about a PR.

@emilp333
Copy link

Hi David,

I have a request for a new sensor. Since every program is its own sensor I think it makes sense to have an overall sensor combining the program statuses. Meaning you have a sensor saying that a program is running at all. Something like in the attribute of "operation_state".

I can of course makes my own template sensor to evaluate it but I think it makes more sense to be in the component it self.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants