mirror of
https://github.com/xoseperez/espurna.git
synced 2026-03-11 18:57:03 +01:00
Configure Thingspeak URL at runtime (#2124)
* Permit thingspeak urn edit * Update thinkspeak.ino * Update index.html * Replace Host, Port, and URL with Address in Thingspeak * Create AsyncThingspeak object Create AsyncThingspeak object to contain the url of the component. * replace pointer by class member Thingspeak class improvement to answer Max's question: why use a pointer when it can be a class member? So now address parameter isn't a pointer anymore. * Update Thingspeak address on post
This commit is contained in:
@@ -1344,9 +1344,14 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="pure-g">
|
||||
<label class="pure-u-1 pure-u-lg-1-4">Thingspeak address</label>
|
||||
<input class="pure-u-1 pure-u-lg-3-4" name="tspkAddress" type="text" tabindex="32" />
|
||||
</div>
|
||||
|
||||
<div class="pure-g">
|
||||
<label class="pure-u-1 pure-u-lg-1-4">Thingspeak API Key</label>
|
||||
<input class="pure-u-1 pure-u-lg-3-4" name="tspkKey" type="text" tabindex="32" />
|
||||
<input class="pure-u-1 pure-u-lg-3-4" name="tspkKey" type="text" tabindex="33" />
|
||||
</div>
|
||||
|
||||
<legend>Sensors & actuators</legend>
|
||||
|
||||
Reference in New Issue
Block a user