Search found 2 matches

by vidin
Tuesday 16 April 2019 20:24
Forum: Bash / PowerShell / Batch etc.
Topic: How to get Lux value using bash curl command
Replies: 2
Views: 1841

Re: How to get Lux value using bash curl command

It works fine, thanks
by vidin
Tuesday 16 April 2019 18:21
Forum: Bash / PowerShell / Batch etc.
Topic: How to get Lux value using bash curl command
Replies: 2
Views: 1841

How to get Lux value using bash curl command

hello I have problem with get Lux value
for example for voltage I use
curl -s 'http://192.168.9.4:8080/json.htm?type=devices&rid=11' | jq .result[0].Voltage | sed 's/\"//g' | awk '{ print $1 }'

for Lux I try
curl -s 'http://192.168.9.4:8080/json.htm?type=devices&rid=17' | jq .result[0].Lux ...