mirror of https://github.com/arendst/Tasmota.git
edits to formating and context
parent
74b6a3c2e6
commit
3c3bcbfa14
|
@ -397,8 +397,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 have to change PROJECT name in user_config.h you must also changethe script topic has to match it.
|
||||
Here is some code that will display the IP address of you newly flashed ESP8266
|
||||
if you have to change PROJECT name in user_config.h you must also change the script topic has to match it.
|
||||
|
||||
The script
|
||||
```yaml
|
||||
|
@ -427,10 +427,9 @@ Put it into a group
|
|||
- sensor.sonoff_ip
|
||||
- script.get_gonoff_ip
|
||||
```
|
||||
restart HA
|
||||
plug in your newly flashed ESP8266
|
||||
click EXECUTE in the new group and it will display the ipaddress in the "Sonoff IP" sensor
|
||||
don't forget to change the topic name in "Configure MQTT" in the Configuration Menu.
|
||||
restart HA
|
||||
plug in your newly flashed ESP8266
|
||||
Click EXECUTE (in the new group) and it will display the IP address in the "Sonoff IP" sensor, 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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue