Code Monkey home page Code Monkey logo

p1monitor's Introduction

P1-monitor

License

Disclaimer

This project is a Dockerized container running the original P1-monitor software from ztatz. Since the original P1-monitor software is only available as a dedicated Raspberry Pi image. Most of the original software has been extracted from the Raspberry Pi image, however some pages may be added in the future and bugs that'll be found, will be fixed (also check the patch folder, it contains some changes).

Mainly I work on this project for personal purposes, because I like to develop in my freetime (as a fulltime fullstack .NET developer). While my goal is to keep it working for everyone, I can't and won't guarantee it will. If you run into any issues, just let me know and I'll try to help.

Support

Please beware this project is NOT officially supported by ztatz, however there is a forum to visit.

Docker usage

The easiest way to get started, is by using the docker-compose.yaml that's available in this repository. If you'd like, change the image tag, ports and/or USB device.

docker compose up -d

Device usage

Since the USB device can change and be different after a reboot or physical port change, these step will create link based on the physical properties.

Find your device with lsusb and take a note of the ID. The vendor is 0403 and the product is 6001

Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 0403:6001 Future Technology Devices International, Ltd FT232 Serial (UART) IC
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Now that we have the needed information, let's create the symbolic link:

nano /etc/udev/rules.d/50-myusb.rules

KERNEL=="ttyUSB[0-9]*", SUBSYSTEM=="tty", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", MODE="0666", SYMLINK+="p1mon"

Make sure to replace the idVendor and idProduct values with your own! Save the file and reboot the system. Now you have a symbolic link /dev/p1mon, which can be passed through in the Docker container.

License

Refer to the License.md for details regarding licensing.

Credits

Thanks to the original creator of the P1-monitor software!

p1monitor's People

Contributors

eppin avatar

Watchers

 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.