Any way to change media nest directory? I want save the events photos in /media/nest instead /config/nest and avoid backup save all nest media.
Hello Miguel,
Here’s what I do:
In my configuration.yaml I define this:
homeassistant:
media_dirs:
local: /media/local
nest: /media/nest/event_media
Then I copy, for every release of Home Assistant Core, the nest component in my custom_component folder:
I keep everything the same and I just modify these two files:
-
manifest.json in which I just add a dummy version property for it to work as a custom component:
-
media_source.py in which I modify/add the following lines as such:
Here’s the few lines added for you to copy/paste:
if DOMAIN in hass.config.media_dirs:
media_path = hass.config.media_dirs[DOMAIN]
_LOGGER.debug(media_path)
Upon restart, this gives me the following media source which is not in the config path but in the media path as per my configuration above:
Hope this helps!
Thanks you!
Maybe you should sent a PR to HA, I think that we need it as oficial feature
I don’t know how to do that
So, when I have any time I will send it
Wasn’t sure where to post this but… Does anyone know how to have the ‘Eco’ mode as a heating mode and not a seperate preset. In other words so that the green leaf is in the same row as Heat and Off.
With the tile card, you have two options for climate-preset-modes
:
style: dropdown
or
style: icons
and it has to be a row by itself…
Correct, was wondering if it was possible to make it an ‘hvac_mode’ in some way?
Because it’s confusing to users for Eco and Heat to be set at the same time. Just as preset_mode ‘none’ is pointless too. So Heat, Eco and Off as hvac_modes would be ideal if at all possible.
Think for a second about what you’re asking. This is how all Nest devices are designed. You would have to try & convince Google to somehow change it, which is really an impossibility as they will just tell you to educate your users on how the Nest works. Think of ‘Eco’ as a preset temperature rather than a mode.
preset_mode: none
means not Eco which restores the target temperature to the previous target temp before preset_mode:
was set to eco
. It is independent of the hvac_mode and is a completely different temperature when A/C is added to the mix, in which case hvac_modes can be off, heat or cool. If you try and add eco in there, what does that mean? 16°C (heat) or 25°C (cool)???
You can have:
hvac_mode: off = off
hvac_mode heat & preset_mode off = 20°C
hvac_mode heat & preset_mode eco = 16°C
hvac_mode cool & preset_mode off = 22°C
hvac_mode cool & preset_mode eco =26°C
Any idea if the official API allows one to set the Target Humidity for a Thermostat?
Hi,
This is how all home assistant climate thermostats work with an eco mode. It may be possible with a custom card that hides this, but it’s not specific to nest.
No, that is not an available API option in the SDM API
Here’s something for you to have a look at and play around with.
It’s not ideal but may give you some ideas…
type: vertical-stack
cards:
- features:
- type: target-temperature
type: tile
entity: climate.living_room
name: Dining Room
icon: mdi:heat-wave
vertical: false
hide_state: false
state_content:
- current_temperature
- state
- hvac_action
- preset_mode
styles:
card:
- border: none
- background-color: rgba(0, 0, 0, 0)
- type: horizontal-stack
cards:
- show_name: false
show_icon: true
type: button
tap_action:
action: call-service
service: climate.turn_off
target:
entity_id: climate.living_room
entity: climate.living_room
name: 'Off'
show_state: true
icon: mdi:toggle-switch-variant-off
styles:
card:
- border: none
- background-color: rgba(0, 0, 0, 0)
- show_name: false
show_icon: true
type: button
tap_action:
action: call-service
service: climate.turn_on
target:
entity_id: climate.living_room
entity: climate.living_room
name: 'On'
show_state: true
icon: mdi:toggle-switch-variant
styles:
card:
- border: none
- background-color: rgba(0, 0, 0, 0)
- show_name: true
show_icon: true
type: button
tap_action:
action: call-service
service: climate.set_preset_mode
target:
entity_id: climate.living_room
data:
preset_mode: none
entity: climate.living_room
name: Eco off
show_state: false
icon: mdi:leaf-circle-outline
styles:
card:
- border: none
- background-color: rgba(0, 0, 0, 0)
- show_name: true
show_icon: true
type: button
tap_action:
action: call-service
service: climate.set_preset_mode
target:
entity_id: climate.living_room
data:
preset_mode: eco
name: Eco on
show_state: false
icon: mdi:leaf-circle
styles:
card:
- border: none
- background-color: rgba(0, 0, 0, 0)
styles:
card:
- border: none
- background-color: rgba(0, 0, 0, 0)
styles:
card:
- border: none
- background-color: rgba(0, 0, 0, 0)
Looks like I might have a problem with my furnace!
I received an email from Google Nest notifying me that my furnace was heating but the ambient temperature had dropped and inquired if I had left a window open (nice). I confirmed this was the case last night based on my electical circuit monitoring (EmporiaVue) which showed the furnace was indeed on and running but the inside temperatures did indeed drop from Saturday evening until between 1 and 2pm Sunday afternoon. I was not home (roommate was) from Saturday 1pm until Sunday evening.
Did anyone migrate cameras from nest to Google Home? Is their a way to access them now in home assistant now?
I haven’t done mine yet since i have a few devices in the Nest app still. However, it should remain accessible and should see improved latency via WebRTC support. I’m going to try to migrate one soonish, but curious to hear back from others.