8

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.


6

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 home-assistant@pi.service


5

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 ...


5

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 ...


5

The router configuration portal has DHCP-->'Address Reservation' under Advanced settings. This way MAC address to IP address reservation can be achieved.


4

No, most Sonoff devices are just remote controlled relays, they can only turn the power on or off. You can not use them to dim lights.


4

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 ...


4

Silly me! It is a binary sensor so it should be: binary_sensor: #TCL - platform: ping host: 192.168.0.1


3

I suspect that the problem is device code 1060 only supports Broadlink and does not support MQTT. Same for device code 1180. Unfortunately, I have found no complete example of using SmartIR with MQTT.


3

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. ...


2

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.


2

Apperently this is the systemctl that was being used by raspbian home-assistant@homeassistant.service


2

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 ...


2

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.


2

There is a REST API call you can make to HA to check if it's alive: http://your.homeassistant.ip/api/ If HA is running, the call will return this: {"message": "API running."} You do need to authenticate though. The simplest way: generate a long-lived access token at the bottom of a user's profile page on the HA UI, then use it in a ...


2

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 /...


1

Without seeing the actual /etc/mosquitto/mosquitto.conf that is being generated and passed to mosquitto this is only a guess. But it looks like mosquitto is being configured to use TLS (you appear to be passing in a cert & private key). The mosquitto log output shows that only 2 listeners are being started. The first on 1883 and the second on 1884 for ...


1

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) ...


1

You can do it with Node-RED and the Node-RED Google Assistant Bridge Sensor Example discussed here You will need something like a Raspberry Pi to run Node-RED, and sensors that can be queried from Node-RED, so ESP8266 sensors with either HTTP or MQTT would work well. Full disclosure, I wrote/run the Node-RED Google Assistant Bridge.


1

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 ...


1

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 ...


1

Yes, the Home Assistance REST API supports POST as well as GET. This is the relevant documentation page


1

Binary sensor AND: device_tracker: - platform: ping hosts: xi_readmi7a_name_ping: 192.168.1.43 ... 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 ...


1

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 ...


1

I use HA to trigger a topic update push from the ESP8266. In the ESP8226 code, in setup, register a callback function for subscribing to a topic. mqttClient.setCallback(callback); In that MQTT callback function, read topic and payload messages, and on a match, execute your ESP8266 code. if (strcmp(topic, inTopicPub) == 0) {// fishtank/pub pubAll(); } ...


Only top voted, non community-wiki answers of a minimum length are eligible