Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upRunning on Pi 4 #5
Comments
It only support python3.5+ |
Hi George, where did you posted the changes to get the secure session working? |
It was a colleague Thomas McRoberts, I have included him in the link, we are making some OSDP products, so we are using your software for test, and found issues with the Secure channel implementation.
I have included Thomas in the email, he can give more detail.
Regards
George
From: Ryan <notifications@github.com>
Sent: 31 July 2020 11:23
To: ryanhz/osdp-python <osdp-python@noreply.github.com>
Cc: George Redpath <gredpath@iottech.co.uk>; Author <author@noreply.github.com>
Subject: Re: [ryanhz/osdp-python] Running on Pi 4 (#5)
Hi George, where did you posted the changes to get the secure session working?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fryanhz%2Fosdp-python%2Fissues%2F5%23issuecomment-667050765&data=01%7C01%7Cgredpath%40iottech.co.uk%7C1e67675077c44dd05da608d8353bb68b%7Cc6a97c2a954a4cb49c2d951228173195%7C0&sdata=%2Fr1nQYuFZeft1L9wknNyAbClLOfSm4Mwwgid5fZqV3I%3D&reserved=0>, or unsubscribe<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAOMCXHEUXSUBZE63OOGXW3R6KLQRANCNFSM4PE4LZPA&data=01%7C01%7Cgredpath%40iottech.co.uk%7C1e67675077c44dd05da608d8353bb68b%7Cc6a97c2a954a4cb49c2d951228173195%7C0&sdata=25HtrbHoGNMQBrR8fi2R6AKU0AJUR8oP7I3jS7lBXcM%3D&reserved=0>.
|
Oh, nice. The python code was ported from @dbytedreamer's OSDP.Net. We haven't used the secure channel yet, so it is not properly tested (I don't have sample data to test). Feel free to fork and make change directly. |
No problem Ryan, we will also post some of our test scripts.
I will try and load python 3.5 on the PI and let you know how we get on.
Best regards
George
From: Ryan <notifications@github.com>
Sent: 31 July 2020 11:32
To: ryanhz/osdp-python <osdp-python@noreply.github.com>
Cc: George Redpath <gredpath@iottech.co.uk>; Author <author@noreply.github.com>
Subject: Re: [ryanhz/osdp-python] Running on Pi 4 (#5)
Oh, nice. The python code was ported from @dbytedreamer's OSDP.Net. We haven't used the secure channel yet, so it is not properly tested (I don't have sample data to test). Feel free to fork and make change directly.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fryanhz%2Fosdp-python%2Fissues%2F5%23issuecomment-667054081&data=01%7C01%7Cgredpath%40iottech.co.uk%7C8ccf02bf2912474d389d08d8353cf51f%7Cc6a97c2a954a4cb49c2d951228173195%7C0&sdata=4eGeiKXva3VhRc4eSHOeBT%2FmFXAxMOsbAJD7G%2B8GrHk%3D&reserved=0>, or unsubscribe<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAOMCXGGR6BHZNR6CLLON73R6KMR7ANCNFSM4PE4LZPA&data=01%7C01%7Cgredpath%40iottech.co.uk%7C8ccf02bf2912474d389d08d8353cf51f%7Cc6a97c2a954a4cb49c2d951228173195%7C0&sdata=ag0WAPUC8Uy7%2BoaSAm5pvim95u6zIArQ65zz5cKPiAw%3D&reserved=0>.
|
Hi Ryan, I have tested the secure session with one of our devices, just had to make a few minor changes to get it working. I forked the lib, you can see my changes at https://github.com/Thomac02/osdp-python. Thanks btw, its a great library! |
Cool. I have merged your changes. Do you have test cases? |
I didn't think of using logger, that's much better. I was using a very basic script to test, currently working on proper unit tests like those you've already done. I'll push them once I've finished. |
I have created a new Debian installation on a PI 4.
I have installed using pip install -U osdp
It installs successfully into the python2.7/site-packages/osdp
When I enter python and try to run