Make sbpd_commands.cfg: sudo nano /home/tc/sbpd_commands. Make sbpd-script.sh executable: sudo chmod +x /home/tc/sbpd-script.shĨ. #sbpd -v -u $SERVER_UN -p $SERVER_PW -f /home/tc/sbpd_commands.cfg b,$SW1,$SH1,2,0,$LO1,$LMS1 e,22,27,VOLU,2 #LMS username and password This easy-to-install volume control is suitable for residential and commercial. #sbpd -d -s -f /home/tc/sbpd_commands.cfg b,$SW1,$SH1,2,0,$LO1,$LMS1 e,22,27,VOLU,2 #"Debug mode" Whole-Home New Installation Intercoms Door Answering Intercoms Audio/Video. #SH1=KEY:KEY_SPACE # command for SHORT press Add user commands in web interface: /home/tc/sbpd-script.sh Make sbpd-script.sh executable: sudo chmod +x /home/tc/sbpd-script.shĩ. LO5=KEY:KEY_ESC # key-command for LONG press(back) SH5=KEY:KEY_ENTER # key-command for SHORT press(enter, OK) LO4=KEY:KEY_LEFTBRACE # key-command for LONG press(special menu) SH4=KEY:KEY_SPACE # key-command for SHORT press(play/pause) LO1=KEY:KEY_2 # key-command for LONG press (here: preset 2) SH1=KEY:KEY_1 # key-command for SHORT press (here: preset 1) # button 1 # button-section, defines the GPIO and key-commands # The full list of Jivelite key commands can be found here: # then set the permission to group writable, so you don't need to run sbpd with root permissions # load uinput module - required to be able to send keystrokes # printf "\nWaiting for pigpiod to initialize\n" Printf "\npigpiod failed to initialize within time limit\n" # wait for pigpiod to initialize - indicated by 'pigs t' exit code of zero Stylish Sound Booster popup with a volume switch with a list of tabs that a now playing audio content. Copied this into the file (sbpd-script.sh): Volume Booster allows you to improve the sound quality in the Chrome browser to get more pleasure from listening to YouTube Music and watching videos. Created a spbd-script.sh: sudo nano /home/tc/sbpd-script.shĦ. Installed extensions: nano.tcz, pcp-sbpd.tcz and pigpio.tcz.ĥ. Connected encoder to GPIO 27 and GPIO 22, and triggered by GND.Ĥ.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |