In addition to this it would be nice to be able to read the consumption data (electricity and water).
Pity âecostartâ or âsmartgridâ canât be used to delay the appliance from starting via the binding
Why should you use ecostart or smartgrid? You can start your Machine anytime you want i.e. by writing a rule. I do this depending on the energy production of my photovoltaic system.
@BoernLange, I just added my new Dishwasher to my OH configuration which works well.
Iâm wondering why the âpower_state_on_offâ channel is using âoffâ/âonâ in lower case. This seems not to work with a âoh-toggle-itemâ in OH-Pages. As far as I can see the toggle-item sends commands âOFFâ/âONâ in upper case which will not be correctly interpreted.
Or is there a possibility to change the toggle-item values which are sent to the item?
I like the idea of those options as they are set and forget. Currently I have to use the Miele App to set the program and then set a delay before OpenHAB can take over whereas with my old dumb dishwasher I just needed to close the door and a OpenHAB powered relay contact across the start switch did the rest.
Isnât one of the points of OH to combine everything into a single system?
This channel should be changed to a Switch
channel (itâs currently String
). The name is also strange, probably âpowerâ would have been better. You could create a GitHub issue for this.
The Miele APIâs are quite limited in terms of functionality, so Iâm not sure itâs possible to do what you are asking for. Perhaps you can explain in more details what you would like, i.e. what will you do on the appliance, and what do you expect openHAB to do?
See also https://www.miele.com/developer/assets/API_V1.x.x_capabilities_by_device.pdf
In an ideal situation Iâd like the appliance to receive from OH a âPower Onâ command, followed by a âuse this program with these options command,â followed by âStartâ
I have a Miele Dishwasher and Miele Dryer that I would like to use this way when I have spare PV or the cheapest power
Iâm not sure about the cloud API, but I donât think itâs possible to turn on the appliance when itâs off. Additionally, you cannot send the program info to the appliance, unless itâs on and you have selected âMobileControlâ on it. Even Mieleâs app requires that. And still you cannot do that, since this AFAIK is part of a closed API, so the Miele app can do this, but the cloud API cannot. The last part, âStartâ is probably the only thing possible.
Related to this topic: Dishwasher price calculation automation
So the work-around for all this is to turn it on, program it to end at the latest acceptable time to you, and then let openHAB override the start time based on the best price.
@laursen, yes you are right, that should be a âSwitchâ channel and maybe the âstart/stopâ channel too.
I was able to work around it using a list item with action âtoggle itemâ.
@kevin, In my case Iâm able to power on my dishwasher from Openhab. However in this state it is impossible to start the (default) selected ECO program. This seems only to be possible if you activate âSmartStartâ on the appliance directly.
If you want to use PV or cheapest power, why not just preconfigure the program and SmartStart i.e. in the morning on the appliance and let Openhab start the program later when there is enough PV? Thatâs what Iâm going to do.
It is not a switch
channel to be consistent with the program_start_stop
and program_start_stop_pause
channels.
A switch
can be simulated using rules and an item that is not attached to a channel. Another option is to add a new channel to the binding with the same behavior but of type switch
. In my opinion the type of the existing channel shouldnât be changed because it would break rules using it.
I agree. We should add a new Switch
channel of type system.power
with the name power which will be compliant and not collide with existing channels. The existing power_state_on_off channel should be deprecated. Iâm not sure if:
will make it possible to migrate it. Otherwise it could be checked if itâs linked to any items, and we could then:
- Log a warning if linked, and refer to the new channel.
- Dynamically remove the channel if not linked.
You canât migrate (because there is no way to adjust links), but you can remove the old channel and add the new channel. This will make it less disruptive for users because all they have to do is re-link, not re-create the thing.
This is definitely possible. I will add two new channels for this to the binding shortly. For documentation purposes I added a feature request on Github.
@BoernLange, great, many thanks for the info.
Iâm using my new smart dishwasher for about one month now. It works great so far.
Regarding the âactive programâ and smart start, I noticed the following:
If I for example choose âQuickPowerWashâ and let openhab start the dishwasher when I have enough PV-Power, as soon as it is started, the âactive programâ switches to âECOâ. However, the dishwasher runs on âQuickPowerWashâ as I wanted. It seems to be a display error.
Anyone else experienced the same behaviour?
Hi, is there a backport (3.4.x) for the merged changes concerning the consumption data (electricity and water)?
Hi @Mario_Aerni, I wonât backport the changes the 3.4.x but @laursen has already done this. Maybe you can provide your version @laursen?
Sure, you could try this:
org.openhab.binding.mielecloud-3.4.3-SNAPSHOT.jar
Iâm not sure, but I believe I updated it with the latest changes for retesting. I just extracted it from my production system and donât have my development environment available now, so canât verify. Try it.
Thx, will do
Update: Worked fine, thx again!
For some reason I donât see the new channels (energy and water). Few questions, where I should put the new jar-file (into addons directory)? Do I need to delete my dishwasher Thing and then recreate it?