# Bash command app for Domoticz data recovery

**URL:** <https://community.gladysassistant.com/t/appel-commande-bash-recuperation-donnees-domoticz/7164>\
**Category:** Configuration\
**Created:** [April 8, 2022, 2:36pm UTC](https://community.gladysassistant.com/t/appel-commande-bash-recuperation-donnees-domoticz/7164 "2022-04-08T14:36:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kazuke](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/k/2acd7d/32.png) [@kazuke](https://community.gladysassistant.com/u/kazuke)\
**Post date:** [April 8, 2022, 2:36pm UTC](https://community.gladysassistant.com/t/appel-commande-bash-recuperation-donnees-domoticz/7164/1 "2022-04-08T14:36:31Z")

</div>

Hello

I just tested the jq utility (in the Debian/Ubuntu repositories. [https://pkgs.org/search/?q=jq](https://pkgs.org/search/?q=jq)) to retrieve a temperature value in Domoticz.  
With the command:

```bash
curl -s "http://192.168.0.106:8080/json.htm?type=devices&rid=22" | jq -r .result[].Temp

```

18.3  
The request to the API returns the desired value.  
How to integrate (is it possible?) a bash command call to have a device on the dashboard?  
Thanks for your feedback

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [April 8, 2022, 4:44pm UTC](https://community.gladysassistant.com/t/appel-commande-bash-recuperation-donnees-domoticz/7164/2 "2022-04-08T16:44:23Z")

</div>

Hello @kazuke!

You can create a bash script to publish this value in MQTT, and receive these values in Gladys via MQTT 🙂

I found this on the internet for example:

> **[The Pokies Net 2026 — 1,700+ Pokies & Instant PayID](https://thepokiesnet.casino)**
>
> Play at The Pokies Net: 2,000+ games including 1,700+ pokies, instant PayID transfers, crypto payments, and $10 no-deposit bonus for Aussie players.

---

<div class="post-metadata">

**Author:** ![kazuke](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/k/2acd7d/32.png) [@kazuke](https://community.gladysassistant.com/u/kazuke)\
**Post date:** [April 9, 2022, 7:54pm UTC](https://community.gladysassistant.com/t/appel-commande-bash-recuperation-donnees-domoticz/7164/3 "2022-04-09T19:54:01Z")

</div>

Thanks PG  
I’ll check it out
