Client CLI/library for Pira p164 rds encoder
boyska 22522dbcf8 import at the beginning of file | 4 months ago | |
---|---|---|
README.md | 4 months ago | |
dedication.webp | 4 months ago | |
requirements.txt | 4 months ago | |
sergio.py | 4 months ago |
This repository contains the code for controlling a Pira.cz P164 RDS Encoder. Both ethernet and USB are supported.
It can be used both as a library and as a CLI program.
sergio --baud 19200 get PS
ONDAROSS
To make it machine readable, just use --output json
sergio --output json --baud 19200 get PS
{"variable": "PS", "value": "ONDAROSS"}
sergio --baud 19200 set RT1 'www.ondarossa.info'
This assumes your computer has a correct time and date of course.
sergio --baud 19200 synctime Europe/Rome
You can also specify --save
so that this is saved immediately.
sergio --baud 19200 dump > dump.json
Dr. Pira teached us all to call Sergio whenever you have computer problems.