mirror of https://github.com/arendst/Tasmota.git
>U Example
parent
1ebbcc3a0d
commit
b29c81de93
|
@ -11,6 +11,7 @@
|
|||
- [Web UI](#Web-UI)
|
||||
- [Hue Emulation](#hue-emulation)
|
||||
- [Alexa Controlled MCP230xx I<sup>2</sup>C GPIO Expander](#alexa-controlled-mcp230xx-i2c-gpio-expander)
|
||||
- [Retrieve network gateway IP Address](#Retrieve-network-gateway-IP-Address)
|
||||
|
||||
[Back To Top](#top)
|
||||
|
||||
|
@ -1223,3 +1224,20 @@ bu(p1 "p1 on" "p1 off")bu(p2 "p2 on" "p2 off")bu(p3 "p3 on" "p3 off")bu(p4 "p4 o
|
|||
[Back To Top](#top)
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
#### Retrieve network gateway IP Address
|
||||
|
||||
>**>D**
|
||||
gw=""
|
||||
|
||||
>; Request Status information. The response will trigger the `>U` section
|
||||
**>B**
|
||||
+>status 5
|
||||
|
||||
>; Read the status JSON payload
|
||||
**>U**
|
||||
gw=StatusNET#Gateway
|
||||
print %gw%
|
||||
|
||||
[Back To Top](#top)
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue