Comments (13)
The sensor control the current values for previous-state and current-state. If the state of the sensor never change probably the check do not match the state of your washer.
Please check what are the values for this 2 attributes when the wash is completed and write back here.
from ha-smartthinq-sensors.
this is an extract of the sensor state:
run_completed: 'off'
error_state: 'off'
error_message: '-'
run_state: '-'
pre_state: Select Course
current_course: '-'
spin_option_state: '-'
watertemp_option_state: '-'
drylevel_option_state: '-'
tubclean_count: '41'
remain_time: '0:00'
initial_time: '0:00'
reserve_time: '0:00'
but this is after i turn on and off the washing machine accidentally. Before this, the pre_state was Spinning
from ha-smartthinq-sensors.
You must check the state exactly when the cycle is completed, may be you can run the shortest available cycle to make a test.
from ha-smartthinq-sensors.
Ok, this is the running state, 2 minutes to the end:
run_completed: 'off'
error_state: 'off'
error_message: Normal
run_state: Spinning
pre_state: Rinsing
current_course: Cotton
spin_option_state: 800 RPM
watertemp_option_state: '-'
drylevel_option_state: '-'
tubclean_count: '41'
remain_time: '0:02'
initial_time: '1:38'
reserve_time: '0:00'
doorlock_mode: 'On'
childlock_mode: 'Off'
And this is just a second after the washer shutdown itself for washing end
run_completed: off
error_state: off
error_message: -
run_state: -
pre_state: Spinning
current_course: -
spin_option_state: -
watertemp_option_state: -
drylevel_option_state: -
tubclean_count: 41
remain_time: 0:00
initial_time: 0:00
reserve_time: 0:00
doorlock_mode: Off
thanks
from ha-smartthinq-sensors.
So it seems that your washer move from "Spinning" to off and do not provide the End State.
This is strange, and I don't know exactly how to manage, because the risk is to provide false "completed" message.
What is the model of your washer?
from ha-smartthinq-sensors.
The model is F14U1JBS6, tha LG SmarthinQ app on my iphone give me the notification of washing complete, so i think probably LG get the notification just before the washing machine auto shutdown.
Probably to avoid false positive we should check the remain_time, initial_time and state change from on to off:
when the state change from on with initial_time > 0:00 to off with remain_time = 0:00, the washing cycle is completed. what you thing about it?
from ha-smartthinq-sensors.
This is quite complex logic to implement with polled device, check may be missed. The End status work perfectly because remain available in previous state and so the check is reliable. I don't know why your washer do not provide this.
Please provide me the URL with the info of your washer (you can found this as a info log when HA start) so that I can check information that should be provided by your washer.
from ha-smartthinq-sensors.
Ok i will try to find it! thanks
from ha-smartthinq-sensors.
HI @gerasimone ... here is my automation...
it works fine...in sync with LG app notification
- alias: LG Notifica fine lavaggio
initial_state: true
trigger:
- platform: state
entity_id: binary_sensor.lavatrice_wash_completed
to: 'on'
action:
- data:
message: Lavaggio terminato
title: Lavatrice
service: notify.telegram_diego
- data:
entity_id: media_player.googlehome4895
volume_level: '0.6'
service: media_player.volume_set
- data:
message: "lavatrice terminata"
entity_id: media_player.googlehome4895
service: tts.google_say
from ha-smartthinq-sensors.
thank you snakuzzo, but my automation works succesfully if triggered by changing the state in ha of the sensor. my problem is that in my case the lavatrice_wash_completed never switch to on.
What kind of lg washer you have?
from ha-smartthinq-sensors.
My model is F2WV4S7S0E
from ha-smartthinq-sensors.
Dont know if you changed something about this, but with the latest version of the plugin today I've received the first notification due the change of the binary_sensor.lavatrice_wash_completed, and in home assistant now i have the last_state_change with a value.
from ha-smartthinq-sensors.
Dont know if you changed something about this, but with the latest version of the plugin today I've received the first notification due the change of the binary_sensor.lavatrice_wash_completed, and in home assistant now i have the last_state_change with a value.
I changed nothing, but good to know that now it works.
May be LG fix somenthing in the washer....
from ha-smartthinq-sensors.
Related Issues (20)
- binary_sensor.dehumidifier_water_tank_full does not update status HOT 2
- FIXED: See comments - ERROR: Failed Setup, will retry: ThinQ platform not ready HOT 12
- After few minutes, integration is not updating values and doesn't see when machine finished program. HOT 2
- Fan modes in Capitals are rejected by HA and stop scenes ( and hence automations calling that scene ) HOT 2
- This integration seems no longer supported HOT 1
- Add support for LG Water Purifer HOT 1
- Switching AC on and setting a temperature at the same time doesn't work HOT 2
- LGE Devices Failed Setup, Will retry: ThinQ platform not ready HOT 14
- Add "URL redirect authentication method" information HOT 10
- Oven temperature display error HOT 1
- Signature doesn't match request HOT 6
- Unable to reenter login credentials HOT 12
- Time format change possibility for entities displaying remaining or countdown time.
- Dehumidifier tank full binary sensor reports ON when tank is not full
- Is it possible to add support for PuriCare AeroTower Hit (FS151PBK0)?
- Washing Machine on Delayed End shows incorrect time
- Can't set temperature of AC unit when HA is using Celcius
- After upgrade HA to 2024.8.0 integration stop HOT 6
- class 'custom_components.smartthinq_sensors.fan.LGEFan' does not set FanEntityFeature.TURN_OFF or TURN_ON
- Delay Start run state not displayed correctly HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ha-smartthinq-sensors.