From cbf4d64d696aac060b2ccd451fa4b4e55c339eff Mon Sep 17 00:00:00 2001 From: zeus Date: Fri, 26 Nov 2021 22:53:25 +0200 Subject: [PATCH] edit poc --- poc-datacollector/modules/ROOT/nav.adoc | 1 + .../ROOT/pages/index-dummy_service.adoc | 94 +++++++++++++++++++ .../modules/ROOT/pages/index-usage.adoc | 2 +- 3 files changed, 96 insertions(+), 1 deletion(-) create mode 100644 poc-datacollector/modules/ROOT/pages/index-dummy_service.adoc diff --git a/poc-datacollector/modules/ROOT/nav.adoc b/poc-datacollector/modules/ROOT/nav.adoc index ca43ad0..1f5d013 100644 --- a/poc-datacollector/modules/ROOT/nav.adoc +++ b/poc-datacollector/modules/ROOT/nav.adoc @@ -6,3 +6,4 @@ ** xref:index-redis.adoc[Redis] * xref:index-src.adoc[src-files] * xref:index-usage.adoc[Usage] +** xref:index-dummy_service.adoc[dummy_service] diff --git a/poc-datacollector/modules/ROOT/pages/index-dummy_service.adoc b/poc-datacollector/modules/ROOT/pages/index-dummy_service.adoc new file mode 100644 index 0000000..7da9fbd --- /dev/null +++ b/poc-datacollector/modules/ROOT/pages/index-dummy_service.adoc @@ -0,0 +1,94 @@ += Redis -> services redisserver + + + + +== start datacollector + +**** +TIP: Start poc-datacollector + +video::650056224[vimeo] +**** + +== stop datacollector + +**** +TIP: Stop poc-datacollector + +video::650388472[vimeo] +**** + +== Open Web interface webclient + +**** +TIP: Start poc-datacollector + +video::650056224[vimeo, start=48] +**** + + +== usage dummy_service + +WARNING: Change to project root directory + +=== List devices + +* Open a terminal and Run: + +[source.bash] +---- +./tools/poc-dummy-ls +---- + +=== Add device + +* Open a terminal and Run: + +[source.bash] +---- +./tools/poc-dummy-create device-name +---- + +=== Remove device + +* Open a terminal and Run: + +[source.bash] +---- +./tools/poc-dummy-rm device-name +---- + +=== Send data from device + +* Open a terminal and Run: + +[source.bash] +---- +./tools/poc-dummy-send device-name "data test" +---- + +TIP: Always use double quotes around data + +=== Device history + +* Open a terminal and Run: + +[source.bash] +---- +./tools/poc-dummy-log device-name +---- + + + + + + + + + + + + + + diff --git a/poc-datacollector/modules/ROOT/pages/index-usage.adoc b/poc-datacollector/modules/ROOT/pages/index-usage.adoc index 50aa274..7da9fbd 100644 --- a/poc-datacollector/modules/ROOT/pages/index-usage.adoc +++ b/poc-datacollector/modules/ROOT/pages/index-usage.adoc @@ -59,7 +59,7 @@ WARNING: Change to project root directory ./tools/poc-dummy-rm device-name ---- -=== Send date from device +=== Send data from device * Open a terminal and Run: