# Change the value of an object remotely

**URL:** <https://community.gladysassistant.com/t/modifier-la-valeur-dun-objet-a-distance/6477>\
**Category:** Configuration\
**Created:** [August 13, 2021, 8:31am UTC](https://community.gladysassistant.com/t/modifier-la-valeur-dun-objet-a-distance/6477 "2021-08-13T08:31:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hizo](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/h/51bf81/32.png) [@Hizo](https://community.gladysassistant.com/u/Hizo)\
**Post date:** [August 13, 2021, 8:31am UTC](https://community.gladysassistant.com/t/modifier-la-valeur-dun-objet-a-distance/6477/1 "2021-08-13T08:31:45Z")

</div>

Hello,

I wanted to know if it is possible to modify the value of a Zigbee connected object.

The idea is as follows:  
I made a small monitoring system that only activates if I press a Xiaomi button (multiple possibilities, 1 click, 2 clicks, …).  
But I would like to be able to activate it (value to 1) or deactivate it (value to 2) remotely (via an SSH connection to run the command) because I can forget to activate or deactivate it if someone comes in my absence.

My scenes depend on the state of this button.

No problem with fake MQTT buttons but I don’t see how to do it here.

It’s a shame that this is not provided from the dashboard, we could have a modifiable numerical input in the way of switches.

Thank you.

---

<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:** [September 3, 2021, 5:51am UTC](https://community.gladysassistant.com/t/modifier-la-valeur-dun-objet-a-distance/6477/2 "2021-09-03T05:51:24Z")

</div>

Hello! I’m reading your post-vacation message 🙂 Why don’t you create a scene that triggers either with the real button or with your MQTT virtual button? (You can put 2 triggers in your scene)

What’s the difference? 🙂

Otherwise, why not just manually launch the scene remotely?
