-
Notifications
You must be signed in to change notification settings - Fork 80
PDR scraper, R-Pi installer #581
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your PR @Shaggs
See my suggestions I made in comments..
Will test it the next few days and give more feedback.
Don't think there will be many people who will have access to these devices..
I was lucky and managed to get a PSR3000 dirt cheap...
Thanks
Sonic
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will make some more changes when time permits. Those that use python shouldn't have too many issues.
Happy to answer any that come in until I can push updates
I get the following error.. Guess the output of mine is different so unable to review it.. Traceback (most recent call last): |
Having worked with a few different hardware decoders, i can tell you that the output of all of them differ slightly. Its also usually programmable. Some of them also output messages to a socket rather than UART. So you have to setup a socket listener on the server and then pipe the data somewhere. For that reason i basically make the solution on the fly. Theres a few ways to approach that, but the easiest way for most would be to form a string that looks like the output of multimon and pipe it straight to reader.js You'll have a hard time coming up with a one size fits all solution, even with hardware decoders from the same manufacturers, in my experience. |
I suggest not merging that into the main repo, but rather have it as a separate repo and link to it in the readme. |
Also, please always keep different features in their own respective branches and pull requests, so we can merge one and reject the other. ;) |
Description
Add a scraper via serial for decoders. This will allow users with pager decoders to upload messages. Mulit-part messages are handled via the device so no need to mess around with that side of things.
The python does have some library's that need to be installed.
Raspberian now has its own version of Nodejs installed being version 6. the install script will remove that version and install version 18 - 20
Fixes # (issue)
Raspbain nodejs version 6 #579
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
New install of Raspbain to try install script.
PDR.py has been used on another project of mine for 3 years now with no issues.
Checklist: