-
Notifications
You must be signed in to change notification settings - Fork 27
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
Howto start dishwasher #181
Comments
Due to safety regulations, you can only remote start appliances after enabling remote start physically on the appliance for each run. Which property to set depends on the model. I haven't bothered to figure out that on my own dishwasher. |
Yes I know, since I also have the connectlife App. How will I be able to figure out what I need to do te perform a remote start? Or more easy to begin with, how can I enable the "child lock"?
|
I'd say you are on the right track. I'm not sure why you get that error message. Which device is you dishwasher? In the mapping file, you can try to make the property a switch, e.g. if the property name is
Some devices have write-only properties to set state. You can also try:
|
It works, thanks. It seems I needed to create: "015-dishwasher-60.3.yaml" for this. I can confirm I can change child lock with the switch, but it also reads back state from machine itself. Now I will see if there is a way to remote start the machine. Which entity is used for this? When I remote start the machine from the App, these entities are updated: Dishwasher Current program phase gewijzigd in Main wash I tryed changing these values, also played around with the Remote_control_monitoring_set_commands and Remote_control_monitoring_set_commands_actions. Also I tried with "Device status". No luck till now... |
Did you have to set using For remote start - are you able to figure out which property changes when enabling remote start on the dishwasher? |
Yes, I needed to use From:
To:
After a minute or so when not doing anything: Then, when I start the machine from the App:
It seems the entity to really start the machine is not here? |
The Have you tried to set You could also install https://mitmproxy.org/, point your mobile phone to use that and inspect the traffic from the app. I haven't done this myself, but i found this how-to when using iPhone and Mac. |
Yes, doesn't work. Will see if I can check with proxy... |
I have installed https://mitmproxy.org/, it also works since I'm able to see the traffic from my App, but I'm not sure to which messages to look at, besides it looks encoded. |
I installed mitmproxy myself, and it looks like the app does not connect to the same endpoints as the integration, but goes through Tuya. The request and response is Base64 encoded, but it seems to also be encrypted - see discussion here: https://gist.github.com/bahorn/160b4143badd1b6fae61cec629fce339 I have no idea on how to extract the encryption key elements from the app. |
I figured out how to start and stop my dishwasher!
I'm not sure how to expose this in a good way in HA though. This is a write-only property, so adding it to the mapping file doesn't really work. Also, it should only be enabled when remote start is enabled. I hacked it in as a hard coded select entity to be able to play with it, but it is probably better to set these values using a service? |
That is great news! Yes I think a service makes most sense. Looking forward to implementation :)
Problaby nothing really happens if you would call this service without having remote start enabled? |
you can play with my hood too. I would be happy if I can control fan and light from HA (to use in automations). It does not require remote start enabled |
I haven't tried yet. Might get an error response, but I don't think it will break anything.
For the hood you can try the
I'm not sure if this should be an integration service action, entity service action or device action. Conceptually, device action looks like the best fit. Then it is also possible to define the action programatically, avoiding having to specify all variant of such services in I will be travelling most of the next 3 weeks, so unfortunately I won't have much time to work on this until after that. |
Thanks for the effort! Can you (in the meantime) perhaps share how you hardcoded this for testing? |
I made an attempt on implementing an integration service action The action can be called on any ConnectLife device. The options are hard coded in |
This is amazing! I also tried it on my dishwasher with the same result as you, start/stop works. The other commands seem to do nothing. Now the only thing left for me to figure out is how to choose a program/mode and I'll be able to start my dishwasher automatically when the electricity price is low. Random suggestion: I don't know if that would make things easier or harder for you, but it feels more natural to me to have buttons/entities for these commands rather than an action. |
I'm not sure about buttons, problably it really complicates. In the meantime I was able to setup an automation which is checking the "remote start enabled" property (condition) when the door is being closed (trigger), then it calculates a delayed start time based on solar forecast (https://forecast.solar) taking into account the orientation of my solar panels, but it also makes sure it doesn't start later than specific time to ensure the dishwasher finishes before 18:00. The only thing I need to do in the morning is just enable "remote start enabled" and close the door 👍 HA will do the rest and will sent me notifications. |
It is a bit complicated to add support for entities that combines more than one property in this integration. The mapping file framework have to be updated with support for I have just merged PR #183, but it is only experimental for now, as it is available for any device, but the For experimenting, I wonder if I should add a service to send a arbitrary set of key/values on any device. |
Understandable.
Great, thanks!
That would be very nice! Please do. |
Any instruction how to start dishwasher is more than welcome :)
I know where to find "ConnectLife: Set value", but which entity to set? If I set any sensor value I get an error:
Actie connectlife.set_value kon niet worden uitgevoerd. Unknown error
The text was updated successfully, but these errors were encountered: