diff --git a/helper.go b/helper.go index 214cd06..2d98574 100644 --- a/helper.go +++ b/helper.go @@ -34,6 +34,7 @@ func GetDevices(svc *d.DynamoDB) (*d.ScanOutput, error) { proj := expression.NamesList( expression.Name("device"), + expression.Name("group"), expression.Name("name")) expr, _ := expression.NewBuilder().WithProjection(proj).Build() diff --git a/html/home.html b/html/home.html index e23237f..63726f7 100644 --- a/html/home.html +++ b/html/home.html @@ -6,204 +6,106 @@
Temperature ºC
+ความชื้นอากาศ %
+ความชื้นของดิน %
+