No, you can't do that using Sonoff since it is an on-off switch with relay.
You need an Triac to do that. Normally the brightness control applications for AC will be done through Triac by changing the firing angle.
Your command seems to be out of sync with the rest.
sudo systemctl stop home-assistant@pi
First it seems incomplete at the end at best and moreover why are you using stop to restart? Why not use restart.
sudo systemctl restart email@example.com
Every networked device connected to your router has a MAC address, which is specifically linked to one device, unlike local IP addresses in your private network, which are assigned by your router and don't have to be permanent.
Generally, local IPs are assigned sequentially, often starting at 192.168.0.1, then 192.168.0.2 and so on, as described by How-To ...
From what I'm reading you need bridges for specific devices, unless they support Z-Wave or Zigbee (may well be wrong on this...).
In general, you need a "bridge" for everything - including Z-Wave and ZigBee. A bridge may be as simple as a USB dongle and some software, or it may be a stand-alone box, but there must be something to handle the radio and ...
The most obvious answer would be to use the azimuth parameter, and check for 180 (south). The sun component also has a 'rising' state (before noon), and next_noon time.
If you follow the link to the US Naval observatory, you can print out a table of solar position for any particular location, on any particular date. For my location (52N), I see the sun ...
If you have sent data from the device to the HomeAssistant over MQTT, then you can do it for sure the other way around. MQTT is completely bidirectional, there is no notion of server and clients as in HTTP, but broker and clients, and all clients are first class citizens.
You have to determine what topic the HomeAssistant uses to send the data (let's say /...
I am running Home Assistant on a Raspberry Pi and have had a lot of success using the Aeotec Gen5 Z-Wave control stick (USB). I bought several of the GoControl WNK01-21KIT kits and the door sensors have been working really well, but that is just one of many Z-Wave door sensor options.
TL;DR: Innr Zigbee light works with Home Assistant.
The long version:
As with any other Zigbee light, there are two ways to connect it with Home Assistant:
Pair the innr light with a Zigbee hub that is supported by HA. For example, innr works fine with the hue bridge which integrate well with HA.
Connect an external Zigbee antenna with the raspberry pi, use ...
First, if you just have 1 garage door opener, why are you generating a random client id every time? using a fixed clientID would be the right thing to do here.
The only time a random clientID makes any sense is when you are using a transient client e.g. a webpage using MQTT over Websockets.
Second, you appear to be double looping your reconnect function. ...
I don't know what happened, but reviewing the logs on my router, I was able to discern that the device DID obtain a DHCP address, but I overrode that with a fixed IP instead, following instructions on the GitHub page for the CLI.
USB3.0 interference is real! I had 2 fit-size USB 3.0 drives plugged directly into the pi USB3 ports, with the ConBee II plugged in next to them in the USB 2.0 port, and that completely prevented the ConBee from being able to pair with zigbee devices. What's more surprising is that moving the ConBee to a powered USB hub (with 3+ feet of distance from the Pi) ...
Probably the easy way to solve this would be proceed with a fresh reinstall.
Reinstalling the Mosquitto broker with all its components and settings you need will restore previous configuration and address the problem.
What is probably happened is Tuya Convert reinstalled and configure some of the Mosquitto MQTT Broker component changing its corresponding ...
This official guide suggests that only the config directory should be version controlled and also a specific .gitignore. This, applied to a fresh install of Home Assistant 0.105.3, leaves five files:
groups.yaml, scenes.yaml and scripts.yaml, all empty
automations.yaml, containing only 
configuration.yaml, with the following contents:
# Configure a ...
Binary sensor AND:
- platform: ping
Platform: ping allows you to create both a binary sensor (on/off) and a device_tracker (home/not_home). Accordingly, device_tracker can be added for stationary location of the user ...
There are devices made specially for dimming using only on-off impulses to set the brightness. A common pattern is to use a short on/off signal for on/off, and a longer on/off signal to increase brightness in n % steps.
So provided you can make the Sonoff switch on and off sufficiently fast, and reliably to get the timing right, adding a device like this or ...