How to create a widget to tune a parameter to be sent to the device?

How to create a widget to tune a parameter to be sent to the device?

@Philippe MARIN

Dear all,
I want to be able to send an order from a dashboard to a device. The main goal would be to tune for example the data transmission frequency, from the dashboard, avoiding the need to access the device physically.
Is there a way to create a button, slider, or a selector, or kind of potentiometer, which value will be sent to the device when modified? And what would be the process to send information to the device? (I’m working through LoRaWAN and TTN connector)
Thanks for your help.
Phil.