I’m looking to setup a form of Heating Automation running in Home Assistant.
I run Home assistant on a Raspberry Pi 3 and all seems to be fine with what I have so far (Lights / Media Players etc)
My plan was to use Aqara Temperature / Humidity Sensors along with an LC Technology 4ch Relay board. Then with some automation, set some simple rules that allow the heating to go on/off at certain times / temperatures. I would also want to override the ‘timer’ and switch on/off when I want. As an added bonus, I would like to be able to easily adjust the set temperature whenever I wanted.
My question is, is the hardware I have chosen suitable for setting this up?
I am still working on getting the LC Tech relay to work, but I have set up an Aqara Sensor already. This is working fine via a Conbee Hub (DeConz add on) although doesn’t yet have any automation assigned to it. But my concern came when trying to set-up a simple Thermostat Card in Lovelace. Each time I try to set it up I get this message;
‘Specify an entity from within the climate domain.’
Thanks for the quick response! I did come across this when trying to get this working, but never managed to get it to show up. I suspect I’m missing something in the lovelace set up.
I have added the generic Thermostat to my config.yaml file
Couple of things.
I’m pretty sure that the heater needs to be in the switch domain.
How is this title compliant with the sticky at the top of the forum and how is anyone searching for solutions to a heating problem know to look at this.?
When you say config.yaml I assume you mean configuration.yaml ?
Not sure how you edit your files but in the same way you added the generic thermostat to the configuration.yaml but this time you insert the ‘card’ into your ui-lovelace.yaml. Your card is slightly off in syntax too, check the docs as you haven’t specified a card type. (I see it at the bottom, so it must be an “editor” )
Point taken re the Title. I’ll remember in future to make it more relevent.
I edit the yaml files in the configurator Add On. As you can see in the cards example above, I tried adding the Thermostat but to no avail. I also tried changing the type to generic_thermostat but got this message;
Unknown card type encountered: generic_thermostat.
I’m obviously missing something in the Lovelace Yaml file, but not sure what?
@Ydraiggoch, Sorry I’m not sure what you mean, you keep mixing up terms and they are not all going in the same direction.
You are aware that when you go to full yaml mode for lovelace then ALL your interface configuration is stored in these files ? ( I assume you do because that’s how you are refering to them)
BUT, that is JUST the UI, it doesn’t control anything. It merely displays it.
The ‘other’ YAML is everything in your configuation.yaml (not config.yaml) AND everything that’s referenced from that. eg automation.yaml for any automations that are dependent upon an entity chaging state etc. then there’s scripts.yaml for any sequence of events you don’t want to keep repeating or when you use a service template to do this OR do that. Then there are any entities you create in sensors.yaml, input_boolean.yaml etc. OR if you use ‘packages’ then you can mix and match.
The generic_thermostat goes in the configuration.yaml or an included file of some form.
See : - https://www.home-assistant.io/integrations/generic_thermostat/ as Tom advised.
It does NOT go in a lovelace yaml ‘card’
You THEN put (the output of this configured thermostat into) the thermostat in the ‘card’ (I’m not sure I’m making this clearer ! )
Sorry if I’ve got the wrong end of the stick but I find your posts a bit confusing.
Apologies, I don’t mean to make the posts confusing, so thanks for being patient with me! It’s probably just me using incorrect terminology, I am still learning (as I’m sure you’ve guessed!)
Anyway, your post makes perfect sense and I understand the difference between the various Yaml files.
All I am trying to do is get a Thermostat to show up in one of the overview screens.
I have this entry in configuration.yaml as per Tom’s advice;
I removed the lovelace yaml function in my configuration.yaml file so that Home assistant could do the entry for me. Once this was removed, I added a new thermostat card and it appeared. Also, just for information, it turns out that having the Light entity in the heater line does not make any difference. Home Assistant treats this as a switch and so when the desired temperature is not met, the ‘heating’ goes on but in this case the light goes on instead!
Please edit your post in line with Tinkerers sticky at the top of the forum.
Post code in the </> (button) pre-formatted code section.
We can’t read this to comment and cutting/pasting would require major reformatting.
Dave, as the thread owner, you get notifications if anyone posts to it.
Nobody else does.
I saw that there was a new post and happened to look otherwise I wouldn’t have known.
If you need to alert someone, use the reply button in ‘their’ post.
Or tag them eg @Mutt, but use that very cautiously, most members are very busy and don’t like being needlessly tagged. - You may get blocked by a few.
All seems to work fine in tasmota until I set the MQTT which is obviously required for Home Assistant integration. But once the MQTT is set, the relays don’t change state. Did you have similar issues?
I used a separate ESP board and a separate relay board. ESP is connected to Hass.io via MQTT and flashed with Tasmota. No, I don’t have similar issues. Maybe you should check how you configured MQTT in Hass and Tasmota