Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


View this topic in a long page with up to 500 replies per page Create new topic
1 | 2 | 3 | 4 | 5
timmmay

20859 posts

Uber Geek
+1 received by user: 5350

Trusted
Lifetime subscriber

  #2905370 22-Apr-2022 12:43
Send private message

Has anyone worked out a condition that says "If the Airtouch system is turned on"? I want to disable automation if someone has already turned it on manually.

 

I'm also looking at presence detection, so things can be turned off if I'm not at home. I haven't cracked that one yet. I've decided to do it with Fritzbox router integration rather than using the app as I think it will be more reliable for me. Any tips / links appreciated if anyone has cracked it.




Psilan
860 posts

Ultimate Geek
+1 received by user: 94


  #2905372 22-Apr-2022 12:56
Send private message

Use people and multiple entities for presence.
E.g. myself, app, unifi presence, if I'm on wifi or not etc. Lots of good YouTube videos on this.

Also, new version of HA has condition testing. So just try that out to get your condition right.




Voyager referral - https://refer.voyager.nz/68QKJ8XKK


timmmay

20859 posts

Uber Geek
+1 received by user: 5350

Trusted
Lifetime subscriber

  #2905384 22-Apr-2022 13:18
Send private message

I'll keep looking about presence thanks.

 

I worked out the condition for "Airtouch is off". You look at the device and the "HVAC Mode" to see if it's "off". Seems to work :)

 

condition: device
device_id: (correct device ID)
domain: climate
entity_id: climate.daikin
type: is_hvac_mode
hvac_mode: 'off'




Psilan
860 posts

Ultimate Geek
+1 received by user: 94


  #2905392 22-Apr-2022 13:43
Send private message

I had issues with that same condition. But then just changed my mind about using it. It worked half the time.





Voyager referral - https://refer.voyager.nz/68QKJ8XKK


timmmay

20859 posts

Uber Geek
+1 received by user: 5350

Trusted
Lifetime subscriber

  #2905395 22-Apr-2022 13:53
Send private message

I'll give it a shot and see how it goes.


K123
44 posts

Geek
+1 received by user: 2


  #2905404 22-Apr-2022 14:19
Send private message

I often end up with a couple of conditions like idle and off or sometimes "not on", to help with intermediate states as things change or lose connectivity.

I'm getting my AirTouch4 next month so curious to see how you get on.

 
 
 

Move to New Zealand's best fibre broadband service (affiliate link). Free setup code: R587125ERQ6VE. Note that to use Quic Broadband you must be comfortable with configuring your own router.
Psilan
860 posts

Ultimate Geek
+1 received by user: 94


  #2905406 22-Apr-2022 14:27
Send private message

You could also use helpers instead. Eg. Toggle helper to 1 or 0 when HVAC turns to whatever mode. Then use the helper for the condition.




Voyager referral - https://refer.voyager.nz/68QKJ8XKK


timmmay

20859 posts

Uber Geek
+1 received by user: 5350

Trusted
Lifetime subscriber

  #2905411 22-Apr-2022 14:38
Send private message

Psilan: You could also use helpers instead. Eg. Toggle helper to 1 or 0 when HVAC turns to whatever mode. Then use the helper for the condition.

 

I might look at that in a couple of weeks once I have my head around things a bit more. I think I've come a decent way so far, lots of integrations, lots of automations, starting to look at presence :)


timmmay

20859 posts

Uber Geek
+1 received by user: 5350

Trusted
Lifetime subscriber

  #2905480 22-Apr-2022 20:41
Send private message

I've used ApexCharts to make a graph out of Airtouch room temperatures. It took a while to work out how to install, and I can tweak it more still.

 

How do I make my card take up the whole width of the screen on the PC? It already does on mobile.

 

 

 


timmmay

20859 posts

Uber Geek
+1 received by user: 5350

Trusted
Lifetime subscriber

  #2905579 23-Apr-2022 09:16
Send private message

@Psilan you posted the yaml for this dashboard screenshot on page one, but I can't see how you did the little fan symbols showing which rooms are activated. Was that included or did you just show part of it? I'd like to make something similar.

 

I guess this is an output only, no controls to change settings?


Dono
26 posts

Geek
+1 received by user: 9


  #2905880 23-Apr-2022 21:31
Send private message

timmmay:

 

I'm also looking at presence detection, so things can be turned off if I'm not at home. I haven't cracked that one yet. I've decided to do it with Fritzbox router integration rather than using the app as I think it will be more reliable for me. Any tips / links appreciated if anyone has cracked it.

 

 

 

 

I use a device tracker from my UniFi integration (i assume you can do something similar for the fritzbox) for mine and my wife's cell phones, then you assign that device tracker to a person in Home assistant, When it has been disconnected for 15 minutes it sets that person to away (not_home). I didn't bother with the app tracking because i think (though have not confirmed) that this would only work if the HA instance was accessible from outside the local network - either published or using the HA cloud

 

So using it in an automation trigger for when i get home looks like this

 

platform: state
entity_id: person.dono
from: not_home
to: home

 

or as a condition so that something only runs if one of us are home

 

condition: or
conditions:
  - condition: state
    entity_id: person.thebetterhalf
    state: home
  - condition: state
    entity_id: person.dono
    state: home


 
 
 

Shop on-line at New World now for your groceries (affiliate link).
K123
44 posts

Geek
+1 received by user: 2


  #2905914 24-Apr-2022 04:01
Send private message


card take up the whole width of the screen on the PC


I found Lovelace view type Panel great for bigger screens. Normally the "one card" is a grid with many cards

timmmay

20859 posts

Uber Geek
+1 received by user: 5350

Trusted
Lifetime subscriber

  #2905935 24-Apr-2022 08:18
Send private message

Thanks Dono, K123. I'll have a play around. I'll look at one of the youtube presence tutorials based on the router. I have the Fritzbox integration done, and it's created a device tracker entity, it seems to be working. Given I turn my phone Wifi off at night I'd better not include it in the automations for night time or early morning :)


timmmay

20859 posts

Uber Geek
+1 received by user: 5350

Trusted
Lifetime subscriber

  #2906276 25-Apr-2022 08:18
Send private message

K123:
card take up the whole width of the screen on the PC


I found Lovelace view type Panel great for bigger screens. Normally the "one card" is a grid with many cards

 

How do you set a view to be Panel? The documentation I've found tells you the configuration value, but not where that value goes.


K123
44 posts

Geek
+1 received by user: 2


  #2906279 25-Apr-2022 08:37
Send private message

type attribute set to panel on the view. In UI it is the settings where you can rename the title of a tab

```
views:
- theme: material_dark_pink
title: Home
type: panel
path: main
badges: []
cards:
- square: false
columns: 2
type: grid
cards:
...
```

1 | 2 | 3 | 4 | 5
View this topic in a long page with up to 500 replies per page Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.