HA for dummies

Dear HA community,

I am new in HA, but I was already able to install HA on Raspberry, install MQTT, flash RfBridge SONOFF, install ConBee II, and make it somehow work together in basic level. So for now, i can for example operate my switch from sending MQTT messages using mqtt.publish service (RfRaw as of course I have a full house of cheap sometimes working devices from Aliexpress) …

BUT

I still cannot find any good sources, which will explain me the logic of Home Assistant - Devices, Entities, Services … there is a zillion of configuration examples… in yaml format but where to put it ?

Example:
documentation:
"Test any changes to your configuration.yaml file before launching Home Assistant. This script allows you to test changes without the need to restart Home Assistant.

hass --script check_config

"
but where ? how ? it looks, like terminal connection to Raspberry ? Or there is something in home assistant page ? :frowning:

or

i want to create switch, so i put into configuration yaml (i know it is not correct but logic is there):

switch:
- platform: mqtt
name: “rf_switch”
unique_id: pracovna_switch
state_topic: “tele/SOR/RESULT”
value_template: “{{ value_json.RfRaw }}”
command_topic: “cmnd/SOR/RfRaw”
payload_on: “rfraw AA B0 4E 05 08 0136 0A5A 00BE 04C4 283C
481828382838283828383828382838283828283828383828382838282838382828382838283828383828382828383828283828383828283838282838283828382838 55;rfraw 177”
payload_off: “rfraw AA B0 4E 05 08 015E 0A3C 00A0 04A6 2832 481828382838283828383828382838283828283828383828382838282838382828382838283828383828382828383828283828383828283828382838283828382838 55;rfraw 177”
availability_topic: “tele/SOR/LWT”
payload_available: “Online”
payload_not_available: “Offline”
qos: 1
retain: true
optimistic: true

where the rf_switch will appear? as Entity ? as ?

Thank you for any comments, an event the RTFM one… but i really didn’t find any exact description of system - where step by step without any (must know all) gaps…

I don’t think you are a dummy at all.
You have done very well indeed.

I do think that you are over thinking this though.
I assume you have installed the supervised version (specifically HassOS) ?
If so, you have a little strip down the left side of your browser when you visit http://yourlocalhaaddress:8123
The small cog (2nd up from bottom) takes you to config, then scroll down to “server controls” at the top of that page is “check config” button
Re the config itself: you need to go to “supervisor” 3rd up from bottom, goto the addon store, you will need either the samba addon or the ssh addon (I have both)
You can set the samba up and from the share it creates you should be able to see a folder called ‘config’ that is where all the config is stored.

Thank you Mutt,

The problem is, that i dont have that button for check config :slight_smile:

may be i will find the switch in Entity list, but first the config has to be correct, so first thing first… find the check config button, as restart HA for debugging yaml is nightmare :slight_smile:

ok, i got it, i has to enable advanced control in profile… and than i got much more option, including check config :slight_smile: thanks

Yeah, personally I think that should be enabled by default for the account that set up HA in the first place.

Glad you sorted it though

HA will not restart from the UI when you have config errors, it will do nothing and add an error with description to the log files.

1 Like