Page 1 of 1

Dashboard problem

Posted: 10 May 2019, 18:24
by dpsslaser
hi!

There is a specimen does not work gpio status check for which two pictures are exchanged gpio0 "Lamp0.png" gpio1 "Lamp1.png" but no messenger does not display!
Physically working esp01 control gpio, 0.0 and gpio, 0.1!

Code: Select all

<meta name="viewport" content="width=width=device-width, initial-scale=1">
<STYLE>
* {font-family:sans-serif; font-size:14pt;}
.button {margin:4px; padding:4px 16px; background-color:#07D; color:#FFF; text-decoration:none; border-radius:4px}
</STYLE>
<HTML>
<br><br>
<table>
<tr><td>Light<td><img src="Lamp[Switch#State].png">
<td><a class='button link' href="dashboard.esp?cmd=gpio,0,0">On</a>
<td><a class='button link' href="dashboard.esp?cmd=gpio,0,1">Off</a>
</HTML>

sample code
https://www.letscontrolit.com/wiki/inde ... _Dashboard

video
https://youtu.be/jipufm_IP44

Thankyou!