Giter Site home page Giter Site logo

bkram / pynadtuner Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 215 KB

Library and web application to control the NAD C 425 and C 426 tuners via the builtin serial port

License: GNU General Public License v3.0

Python 75.82% Dockerfile 2.07% Shell 0.56% HTML 13.08% CSS 3.07% JavaScript 5.39%
nad python serial tuner fm-radio

pynadtuner's Introduction

WebTuner

Create and publish a Docker image

Screenshot

Screenshot.png

A Web application to control the NAD Tuners models C 425 or C 426 via the tuner's serial port.

Supported tuners

Successfully tested on a "grey/black" C 425 and a "silver/titanium" C 426.

WebTuner usage

Connect your tuner to your device with a serial to usb cable, if the connection to the tuner is not on /dev/ttyUSB0, or if you have more tuners the environment variable TUNER_PORT can be set to the correct one before starting the webtuner

Local installation run

Requirements

See the included requirements.txt

Startup

Make sure the user you are running the WebTuner under has permissions to open the serial port, on Ubuntu you can add the user to the 'dialout' group.

python WebTuner.py

Or

./launch.sh

Docker based run

The images in ghcr.io are for linux/amd64, linux/arm64 and linux/arm/v7

To run on the console use

sudo docker run --rm --name=WebTuner -p 8181:8181 --device /dev/ttyUSB0:/dev/ttyUSB0 ghcr.io/bkram/pynadtuner:latest

To run in the background

sudo docker run -d --name=WebTuner -p 8181:8181 --device /dev/ttyUSB0:/dev/ttyUSB0 --restart unless-stopped ghcr.io/bkram/pynadtuner:latest

Point your webbrowser to http://docker-host:8181 and enjoy.

FAQ

Why does it not show the station's strength ?

The tuner does not expose this information

Sometimes the Standby button does not work ?

This has been experienced with the C 425, manually powering it off and on seems te resolve the issue

RDS RT does not always work

The tuner does not seem to pass all the information all the time from the RDS decoder over the serial bus even though the tuner's display seems to show the correct text.

Standby toggling or changing the frequency will make the tuner send the RDS data once more.

NadSerial

This python package implements the serial handling required to communicate with NAD devices, this could be extended to include more NAD devices such as recievers and amplifiers which share the same protocol. However, more recent devices have switched to another serial protocol, which is not compatible with this package.

pynadtuner's People

Contributors

bkram avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.