dvpi
dvpi copied to clipboard
Question: PTT from bash shell
I want to control the PTT through a zigbee switch connected to a home automation server using zigbee2mqtt. The idea would be to install the mosquito_sub package in the Raspberry Pi to subscribe to the button topic and, if button press is detected then activate or deactivate the PTT from command line.
Is there a shell command that would switch or toggle PTT? I will implement the rest via bash script.
Thanks in advance.