Updated Home Assistant (markdown)

stephan mckillen 2018-05-21 08:56:18 +12:00
parent 9a2d7b5ac7
commit 132103905a
1 changed files with 8 additions and 5 deletions

@ -334,9 +334,8 @@ light:
```
## Get the IP address of a newly flash Sonoff (ESP8266)
Here some code that will display the ip addess of a Newly flash ESP8266 with Tasmota
If you change the project name in the user_config.h default is sonoff
if you will have to change PROJECT name the script topic has to match it.
Here some code that will display the IP addess of a Newly flash ESP8266 with Tasmota
if you have to change PROJECT name in user_config.h you must also changethe script topic has to match it.
The script
```yaml
@ -347,6 +346,8 @@ The script
topic: cmnd/sonoff/ipaddress
service: mqtt.publish
```
topic: cmnd/_the PROJECT NAME_/ipaddress
now the sensor
```yaml
- platform: mqtt
@ -366,5 +367,7 @@ Put it into a group
restart HA
plug you newly flash ESP8266
click the EXECUTE in the new group and it display the ipaddress in the "SonOff IP" sensor
dont forget to change the topic name in tasmota
I run this on wemos sonoff flast with tasmata and it has not let me down.
don't forget to change the topic name in "Configure MQTT" in the Configuration Menu.
I run this on wemos and sonoff flash with tasmota and it has not let me down.