# How to send an analog command to a device

**URL:** <https://forums.losant.com/t/how-to-send-an-analog-command-to-a-device/1462>\
**Category:** Help\
**Created:** [January 23, 2019, 12:46pm UTC](https://forums.losant.com/t/how-to-send-an-analog-command-to-a-device/1462 "2019-01-23T12:46:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Uri\_Bear](https://avatars.discourse-cdn.com/v4/letter/u/f1d935/32.png) [@Uri\_Bear](https://forums.losant.com/u/Uri_Bear)\
**Post date:** [January 23, 2019, 12:46pm UTC](https://forums.losant.com/t/how-to-send-an-analog-command-to-a-device/1462/1 "2019-01-23T12:46:56Z")

</div>

Hello  
I am using the ESP8266 demo code.  
I would like to create a slider on the dashboard that will send a command+analog value as device command.  
example: slider moved to 228 will cause a command sent to the device “SetAnalogValue 228”  
Then the command handler on the ESP should decipher command & parameter.

Can you help me please?  
Thanks  
Uri
