No, the only thing in the PiScan/data folder is a logs folder. None of the .json files were created.
The config/state files will just be created with default values if they don’t exist, but only on the first clean exit. The systems file will need to be created first to give it something to scan. See “Usage” in the readme for guidance on how to produce the fileNo, the only thing in the PiScan/data folder is a logs folder. None of the .json files were created.
If you started with a 1:1 copy of the example, note that the comments cannot be included, because the internal parser doesn’t know how to deal with them. Otherwise it could be a formatting error on my part. The parser I used is pretty strict, I’ve noticed it throws a fit of a single comma is out of placeFollowing DC31’s progress, I tried to copy your systems.json into the data directory. I see backend recognized it was there but immediately it kicked a ‘key’ error and crashed.
The other two config files do not exist in data.
apt
rather than pip
Sounds like it. What directory did you clone the repo into? Personally I’ve never had issues putting it in /home/pi, but you may need to do a chmod +w if it’s elsewhereAs a test I started the backend with sudo and afterwards those missing config files were indeed created. Perhaps a permissions issue?
They are both in /home/pi:Sounds like it. What directory did you clone the repo into? Personally I’ve never had issues putting it in /home/pi, but you may need to do a chmod +w if it’s elsewhere
What audio library did you compile with? In my experience PulseAudio uses a ton of CPU to the point where it can't run on a Pi, but with ALSA everything works fineIs PiScan_backend designed to run on Buster-Lite (non-gui)? I have tried that and the program seems to run fine. I can access it through PiScan-Client from another computer on the network. However, as soon as it detects audio the following message streams continuously across the open terminal window running the backend:
2020-06-13 15:43:22.758 ( 424.587s) [Demod - NFM ]WARN| DemodulatorThread::run() cannot push ati into audioOutputQueue, is full !
Yes, it was compiled with pulseaudio. I have installed PiScan with pulse on a pi3 running the full Buster with gui and it works fine. CPU in the high 20% range when scanning and in the 30%’s when processing audio. CPU temps less than 70C. I am using pulse to route the audio to other downstream programs (TTD and voxcall) and it works well.What audio library did you compile with? In my experience PulseAudio uses a ton of CPU to the point where it can't run on a Pi, but with ALSA everything works fine