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

Not an issue - question concerning ON / OFF State #11

Open
mac89muc opened this issue Feb 15, 2023 · 3 comments
Open

Not an issue - question concerning ON / OFF State #11

mac89muc opened this issue Feb 15, 2023 · 3 comments

Comments

@mac89muc
Copy link

Had anybody got the Power (On/Off) State working?

I'm using a Jura E6 - and a year ago it was working with a little detour - I checked the sum of the coffees made and when the amount was lower then the value before the machine was off. So at that time when the machine was off - there weren't any status updates send concerning the total amount of coffees / cappuccinos etc. and the value was resetted to 0. When the machine was powered on again the 0 was replaced with the correct values and so the status of the machine was recognized as on.

These days the amount isn't going to be resetted to 0 when the machine was powered off. No clue if this changed due to an update of the esp..??

Regards

@skupu
Copy link

skupu commented Jul 2, 2024

I haven't checked this, but I think the number of coffees made can help to distinguish that the machine has been turned on manually.
So this would allow to turn it off remotely after anyone turns on and makes at least one coffee.
I guess that this idea could fix issues with using integration to manage remote turn off after manual turn on.
Just the question is if it should be done by script inside esphome or by ha automation...

@Arkoxs
Copy link

Arkoxs commented Jul 5, 2024

I've fixed this by first sending the TY: command. If there is a response the machine is powered on and values are retrieved.
If the return string is empty the machine is powered off and the function returns without results.

@derjoerg
Copy link

derjoerg commented Jul 5, 2024

Hi,
I've fixed this by adding a tasmota-plug. If there is power-consumption I (or HA) know that it is on, if power-consumption is 0 the device is off.

Just thinking about it again there is also another possibility:
I have an E8 and the ESP is powered directly through the E8. If the device is powered off also the ESP lost power and becomes unavailable. This "unavailability" can be checked within HA and so the status of the E8 can also be determined.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants