#Baron Scott No Agenda Producer I
1 messages · Page 1 of 1 (latest)
Here is my thermostat state options:
climate.home
Thermostat
hvac_modes: auto, cool, heat, off
min_temp: 44.5
max_temp: 95
fan_modes: on, auto
current_temperature: 72
temperature: 72
fan_mode: auto
hvac_action: idle
fan_action: off
friendly_name: Thermostat
supported_features: 9
I cant determine if this sensor is actually working
I cannot find any new hvac_status entities anywhere in HA
what did you do beyond putting that in configuration.yaml?
i been trying different code samples based on examples I found on the forums... Currently this is all I have. I then reloaded all the yaml via Dev Tools
To check your configuration use the command for your install method:
do that
Is this available via the UI or do I need to do this from a bash shell?
shell
My guess is that you have two sensor: tags and that your config check will fail
ha core check reported no errors
Where should the hvac_status sensor be found in the HA portal?
Devices? Entities?
or will these be new entities tied to the climate.home entity?
BTW, how do I post screen shots in discord?
It's a sensor. You should find it
-> States
Please use imgur or other image sharing web sites, and share the link here.
Image posting is blocked in most channels to discourage people from sharing text as images. Sharing text as images assumes that everybody sees the world as you do, which isn't the case. Some people are colour blind, or have visual impairment that means they can't make sense of an image of text.
Please, no images of text
The only entity I see is the parent item in DevTool>state
climate.home
Thermostat
cool
hvac_modes: auto, cool, heat, off
min_temp: 44.5
max_temp: 95
fan_modes: on, auto
current_temperature: 72.5
temperature: 72
fan_mode: auto
hvac_action: cooling
fan_action: on
friendly_name: Thermostat
supported_features: 9
Find your sensor
Review your logs
There's nothing more I can do
Restart HA
if you didn't have sensor: there before
I cannot find the sensor in any of the items listed in the states page
What log will show whether the sensor is getting created?
Does my create sensor code looks correct?
OK.... I rebooted my Pi and niw I see the sensor.hvac_status!
if you didn't have sensor: there before
now I need to add the measurement history stats items
This is what I plan add:
- platform: history_stats
name: Hourly Cooling ON Time
entity_id: hvac_status.cool
state: 'on'
type: time
start: '{{ now().replace(minute=0).replace(second=0) }}'
end: '{{ now() }}'
- platform: history_stats
name: Hourly Heating ON Time
entity_id: hvac_status.heat
state: 'on'
type: time
start: '{{ now().replace(hour=0).replace(minute=0).replace(second=0) }}'
end: '{{ now() }}'
If these work correctly, where can I view them to confirm?
Hard to say without formatting
I just added and corrected formatting...
I am asking more about the intent (ability to track hourl yhvac runtime
There's still no formatting
Please use a code share site to share code or logs, for example:
- https://dpaste.org/ (select YAML for the language, and consider picking a longer expiry)
- http://pastie.org/ (select YAML for the language)
- https://paste.debian.net/ (you guessed it, select YAML as the language)
Please don't use Pastebin, since it can randomly add spaces to the main view. Please also don't share text as images since it makes it harder for people to help you. Remember that others may have colour blindness, impaired vision, etc.
Neither has a proper entity_id
You said that you found the sensor, but didn't use it
If you use the actual entity_id, they look fine
Actually, your template never outputs 'on'
There is a bug that will not allow me to copy the text in file editor
When I select the text, the page freezes
I saw above... I am tryting to get the yaml to share
I'm saying that you're looking for 'on', but your sensor will never have that value
ahh..
So I should replace with cooling and heating
The strings you are returning, yes
corrected:
- platform: history_stats
name: Hourly Cooling ON Time
entity_id: hvac_status.cool
state: 'cooling'
type: time
start: '{{ now().replace(minute=0).replace(second=0) }}'
end: '{{ now() }}' - platform: history_stats
name: Hourly Heating ON Time
entity_id: hvac_status.heat
state: 'heating'
type: time
start: '{{ now().replace(hour=0).replace(minute=0).replace(second=0) }}'
end: '{{ now() }}'
I am trying to recreate the graph reporting that this thermostat had until they shutdown the cloud/app service
https://community.home-assistant.io/t/radiothermostat-charting-and-scheduling-functionality/548128
If these are now correctly setup, will this store the data indefinitely? I would like to start off with 180 days for the sensor data to be stored.
Nevermind... I will rtfm for that.
One final question before I thank you very much for helping me get my first custom HA item created
Should I start with Grafana to build my visual runtime map or is there a simpler lighter weight HA graphing/report option?
You're still not using the right entity_ids
You said this and then used completely different ids: #1124815027552145550 message
hvac_status.heat is not a thing
So would the sensor id's be:
sensor.hvac_status.cool and sensor.hvac_status.heat?
I am having a problem understanding the relationship between the parent and the downstream items
If the entity in the counter is supposed to just be hvac_status then do I still create separate counters for heat and cool?
You only created one sensor - the one you identified earlier
If you want. They're still based on the original sensor having different states
Kinda wondering if this is from ChatGPT
If what is from chat GPT?