-
1Join the network
This is made very simple, no registration simply a string is required.
https://github.com/invpe/gridshell/blob/main/Documentation/Tutorials/Use.md
-
2Upload vanilla firmware and configure your node(s)
Do it via the Web pages as provided in the documentation.
https://github.com/invpe/GridShell/blob/main/Documentation/Tutorials/Release.md
-
3Start building, start using, have fun!
The project follows the industry standard pattern to executing tasks with input data:
task_id = submit("script","input payload") results = gettask(task_id)
Submit your script to the network with the PHP script:
php use.php YOUR_USER_HASH "OUTPUTPAYLOAD=\"HELLO\"" "SOME_INPUT_PAYLOAD"
Submit your script from your Arduino Sketch:
#include <WiFi.h> #include "CGridShell.h" uint64_t uiLastTaskSubmitted = 0; uint32_t uiLastTaskID = 0; void setup() { CGridShell::GetInstance().Init("Your Grid Hash Goes here", false); WiFi.begin("YOUR_INTERNET", "YOUR_PASSWORD"); while (WiFi.status() != WL_CONNECTED) { delay(1000); } } void loop() { CGridShell::GetInstance().Tick(); if (millis() - uiLastTaskSubmitted >= 60000) { uiLastTaskID = CGridShell::GetInstance().AddTask("OUTPUTPAYLOAD=\"Hello From \"+INPUTPAYLOAD", "GridShell"); uiLastTaskSubmitted = millis(); } }
-
4Contribute, join the discussion
WHITEPAPER | FAQ | DISCUSSIONS | EXPLORER | PROJECT PAGE
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.