CC @lcavalli @BebeMischa, since it sounds like you want to use this feature given you liked the post.
Well, it sounds good. For me now it does not have a use, as my only LG device is a refrigerator, but if I had a washmachine, I would like it. I could let the machine start automatically, when solar power production is high
Have you tried on desktop?
nevermind, give me a bit
Go into YAML mode, and specify the entity id of the sensor.
entity in the entity_id
field of data.
These are the buttons I created in an entities card.
- type: button
name: Avvia
icon: mdi:play
action_name: Premi
tap_action:
action: call-service
service: smartthinq_sensors.remote_start
data: {}
target:
entity_id: sensor.asciugabiancheria
- type: button
name: Wake-up
icon: mdi:sleep
action_name: Premi
tap_action:
action: call-service
service: smartthinq_sensors.wake_up
data: {}
target:
entity_id: sensor.asciugabiancheria
Thanks,
that target: works for me.
service: smartthinq_sensors.remote_start
data: {}
target:
entity_id: sensor.front_load_washer
Maybe some additional helper text in the services.yaml would be useful:
remote_start:
name: Remote Start
description: Send to ThinQ device the remote start command.
target:
entity:
integration: smartthinq_sensors
domain: sensor
fields:
entity_id:
name: Thinq target device
description: ThinQ device for the service call
example: sensor.front_load_washer
The custom component is broken:
I am re-implementing my HA setup and had this custom integration set up from before. I had to update my LG account TOS agreements, but after that it’s been working for me. I am in the US if that makes a difference. I’m also using an email based account, not Google or social media account.
I only have a washer & dryer, but those are recognized in my HA and reporting status correctly. It took a while to get the example custom card to be recognized, and now even that seems to be working.
I got very excited when I asked ChatGPT how I could tell my dryer to run a no-heat dry command without having to download it from LG ThinQ. Gave me full commands and everything. Unfortunately, it seems LG has locked out “regular guy” developers since ChatGPT was last trained around 6/2021. The HA component mentioned by ChatGPT seems to be gone, and it looks like LG requires a partnership and business to gain a client ID and secret.
Has anyone been working on bypassing that so the dryer itself can be commanded vs just reading sensors?
Hi, this component looks incredibly useful for me, unfortunately I can’t get the remote start functionality to work reliably. The washing machine is in remote start mode but the problem seems to be that the two readable “states” of my washing machine do not match what the LG SmartThinQ app is telling me. In HA, I can see:
“Power” = “on”
“Run state” = “Standby”
This means triggering the “Press Washing Machine Remote Start button” action should start a wash, but nothing happens even if I have it set to retry once a minute until the wash starts. Meanwhile, in the LG SmartThinQ app, it says the washing machine is “asleep”. I cannot see any reference to this among the HA sensors and the only way I’ve found to wake it up is using the LG SmartThinQ app.
Am I doing something wrong or is the ability to “wake” a “sleeping” appliance currently missing from this integration? Here’s my automation:
alias: Start Washing Overnight
description: ""
trigger:
- platform: time
at: "23:31:00"
condition:
- condition: state
entity_id: sensor.washing_machine_run_state
state: Standby
action:
- repeat:
sequence:
- type: turn_on
device_id: ...
entity_id: switch.washing_machine_power
domain: switch
- delay:
hours: 0
minutes: 0
seconds: 15
milliseconds: 0
until:
- condition: state
entity_id: switch.washing_machine_power
state: "on"
- repeat:
sequence:
- device_id: ...
domain: button
entity_id: button.washing_machine_remote_start
type: press
- delay:
hours: 0
minutes: 1
seconds: 0
milliseconds: 0
until:
- condition: or
conditions:
- condition: state
entity_id: sensor.washing_machine_run_state
state: Sensing
- condition: state
entity_id: sensor.washing_machine_run_state
state: Washing
mode: single
Thanks for any help.
Silly me, I realised I never checked for services. I’ve added the “SmartThinQ LGE Sensors: WakeUp” service to my automation, but unfortunately it just errored when it tried to run.
Source: custom_components/smartthinq_sensors/wideq/devices/washerDryer.py:248
Integration: Automation (documentation, issues)
First occurred: February 23, 2023 at 23:31:00 (2 occurrences)
Last logged: February 23, 2023 at 23:31:00
Start Washing Overnight: Error executing script. Unexpected error for call_service at pos 1:
While executing automation automation.remote_start_washing_machine
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 451, in _async_step
await getattr(self, handler)()
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 684, in _async_call_service_step
await service_task
File "/usr/src/homeassistant/homeassistant/core.py", line 1787, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1824, in _execute_service
await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 795, in handle_service
await service.entity_service_call(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 680, in entity_service_call
future.result() # pop exception if have
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 968, in async_request_call
await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 720, in _handle_entity_call
await result
File "/config/custom_components/smartthinq_sensors/sensor.py", line 696, in async_wake_up
await self._api.device.wake_up()
File "/config/custom_components/smartthinq_sensors/wideq/devices/washerDryer.py", line 248, in wake_up
raise InvalidDeviceStatus()
custom_components.smartthinq_sensors.wideq.core_exceptions.InvalidDeviceStatus
Just got a new LG InstaView Fridge Freezer and added it to HA using the @ollo69 HACS integration and thought all was looking good until…I realised that the climate.refrigerator_fridge
entity actually shows the same value as the sensor.refrigerator_fridge_temp
when the climate
value should be the actual temperature and sensor
should be the target temp. Same with the freezer values.
Is there a fix for this?
No, there is not. All the LG fridges are lying to us, sending out the set temperature as the actual too. So they look genius at keeping things at temperature.
Look in your fridges app from LG itself, you will see the same. Actual temp never changes even a degree…
There is nothing, that can be done in the component or HA to change this. Only LG self could change this behavior. I’m afraid, they never will…
I’ll have to search for some suitable fridge/freezer smart temperature sensors then, though not sure if there are any that could work successfully through the insulation of the fridge/freezer.
Well, actually I work in a hospital, where we do monitor almost 100 of freezers.
We use this kind of sensors inside the cabinet, we just drill a hole thru the insulation on the back of the freezer, and all the electronics stay outside. To watertight the hole just a drop of industrial kit.
Works like a charm
Inkbird makes a Bluetooth sensor that I have used for a couple of years in my garage freezer.
IBS-TH2. $20 on Amazon.
Have you managed to get those to work with HA without using their own hub?