https://github.com/devicplan/ios_scripts
Scripts for IOS widgets to display data from Thingspeak
https://github.com/devicplan/ios_scripts
Last synced: 8 months ago
JSON representation
Scripts for IOS widgets to display data from Thingspeak
- Host: GitHub
- URL: https://github.com/devicplan/ios_scripts
- Owner: devicplan
- License: mit
- Created: 2023-09-21T19:02:55.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-09-26T20:28:18.000Z (over 2 years ago)
- Last Synced: 2025-01-22T04:19:16.687Z (about 1 year ago)
- Language: JavaScript
- Size: 357 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ios_scripts
Scripts for IOS widgets to display data from Thingspeak
Please read the [PDF](https://github.com/devicplan/ios_scripts/blob/3343ad035ef74e624ae0450c2bcdeb2f88fc8bd8/Add%20ThingSpeak%20Data%20Widgets%20to%20iOS%20Using%20Scriptable%20%C2%BB%20Hans%20on%20IoT%20-%20MATLAB%20%26%20Simulink.pdf) file, here you will find the description for the setup.
In the file test_more.js two more parameters have to be passed for drawing the graph. Between the parameters min and max the graph will be drawn. In the original file starter_original.js the values for scaling were obtained from the supplied data. This is not advantageous for a meaningful representation.
These parameters are passed separately with "|".
Example: 1278463|1|results=30|0|100
* Channel ID
* Field
* Number of records
* max line
* min line
The example represents all values in the scaling 0 to 100.
The color of the graph can be changed in line 54. (#46afd5)
test_more2.js (max and min line number or a for automatic)