Skip to content
Advertisement

Tag: raspberry-pi

Hardcode RF Codes in rpi-rf_send script + python raspberry pi

I’d like to hardcode the RF Code in the rpi-rf_send.py send script so I can repeatedly activate the same device automatically. I’ve reviewed all of the documentation and I cannot find any clear method to do that. Docs: https://pypi.org/project/rpi-rf/ https://github.com/milaq/rpi-rf It works well when passing the arguments directly from the terminal in this format: But what I need to do

log file error in in Raspberry with Python

I am use Python3 in my Raspberry Pi, and I have a code that someone has shared with me, the following line is shown to record the log file: but when I tray to run the code using Python on my Raspberry I get the following error: I have also created the directory and the file manually but I get

Advertisement