I used a smart plug i bought that is connected to home assistant. I tell google assistant to turn on the de-soldering tool you have in the video that i purchased. It turns on then after 3 min. google tells me its ready to use it, and if i haven't turned it off in 30 min. It turns off and google tells me it turned it off for safety reasons. 😀i also use ESPHome to connect my DIY sensors, LD2410C mmWave Presence sensor BME280 temp/humidity sensor and BH1750 LUX/Light sensor packages. It makes it easy with ESPHome. For a board i use electroCookie boards that have power rails around the board, works well.
I used a smart plug i bought that is connected to home assistant. I tell google assistant to turn on the de-soldering tool you have in the video that i purchased. It turns on then after 3 min. google tells me its ready to use it, and if i haven't turned it off in 30 min. It turns off and google tells me it turned it off for safety reasons. 😀i also use ESPHome to connect my DIY sensors, LD2410C mmWave Presence sensor BME280 temp/humidity sensor and BH1750 LUX/Light sensor packages. It makes it easy with ESPHome. For a board i use electroCookie boards that have power rails around the board, works well.
It's interesting setup. Can you share your google assitant setting? THANKS.
@@simplymaker here are the 2 automations that i used. Also need to create 2 HA timer helpers one for 3 min and one for 30 min.
alias: Desoldering tool timers expire
description: ""
trigger:
- platform: state
entity_id:
- timer.desoldering_tool_3_min
- timer.desoldering_tool_30_min
to: idle
condition: []
action:
- choose:
- conditions:
- condition: state
entity_id: timer.desoldering_tool_30_min
state: idle
- condition: device
type: is_on
device_id: 4fd31542171ebcaf37341ec03a9b35f9
entity_id: 1a6ca21842ee247d8ec5ce2653fa8ecd
domain: switch
sequence:
- service: tts.cloud_say
data:
cache: false
entity_id: media_player.bedroom_speaker
message: Shutting down desoldering tool its been on for 30 minutes
- type: turn_off
device_id: 4fd31542171ebcaf37341ec03a9b35f9
entity_id: 1a6ca21842ee247d8ec5ce2653fa8ecd
domain: switch
- conditions:
- condition: state
entity_id: timer.desoldering_tool_3_min
state: idle
- condition: device
type: is_on
device_id: 4fd31542171ebcaf37341ec03a9b35f9
entity_id: 1a6ca21842ee247d8ec5ce2653fa8ecd
domain: switch
sequence:
- service: tts.cloud_say
data:
cache: false
entity_id: media_player.bedroom_speaker
message: Desoldering tool is ready to use
mode: single
and the other one
alias: Start 3 and 20 min Desoldering Tool Timers
description: ""
trigger:
- platform: device
type: changed_states
device_id: 4fd31542171ebcaf37341ec03a9b35f9
entity_id: 1a6ca21842ee247d8ec5ce2653fa8ecd
domain: switch
condition: []
action:
- choose:
- conditions:
- condition: device
type: is_on
device_id: 4fd31542171ebcaf37341ec03a9b35f9
entity_id: 1a6ca21842ee247d8ec5ce2653fa8ecd
domain: switch
sequence:
- service: timer.start
data: {}
target:
entity_id:
- timer.desoldering_tool_3_min
- timer.desoldering_tool_30_min
- service: tts.cloud_say
data:
cache: false
entity_id: media_player.bedroom_speaker
message: Desoldering tool has been turned on
- conditions:
- condition: device
type: is_off
device_id: 4fd31542171ebcaf37341ec03a9b35f9
entity_id: 1a6ca21842ee247d8ec5ce2653fa8ecd
domain: switch
sequence:
- service: timer.cancel
data: {}
target:
entity_id:
- timer.desoldering_tool_3_min
- timer.desoldering_tool_30_min
- service: tts.cloud_say
data:
cache: false
entity_id: media_player.bedroom_speaker
message: desoldering tool has been turned off
mode: single