Projets-2016-2017-UPnP Cameras integration into OpenHAB: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 9: | Line 9: | ||
= Calendar = |
= Calendar = |
||
Start of the project : January 9th, 2017. |
* Start of the project : January 9th, 2017. |
||
= Git repository = |
|||
[https://github.com/lawchris/openhab2-addons/tree/upnp-camera-binding repository with UPnP Camera binding] |
|||
== Week 1 (January 9th - January 15th) == |
== Week 1 (January 9th - January 15th) == |
||
* |
* Project choice: UPnP Cameras integration into OpenHAB |
||
* |
* Read resources from last year project: [http://air.imag.fr/index.php/Proj-Openhab-2016 UPnP camera detection] |
||
* Understand what is UPnP: [https://en.wikipedia.org/wiki/Universal_Plug_and_Play Universal Plug and Play] |
|||
* understand what is UPnP |
|||
* |
* Retrieve cameras from the lab for the project |
||
== Week 2 (January 16th - January 22nd) == |
== Week 2 (January 16th - January 22nd) == |
||
* Installation of OpenHAB2 |
* [http://docs.openhab.org/installation/index.html Installation] of OpenHAB2 |
||
* Read documentation on OpenHAB2 and binding implementation |
* Read documentation on OpenHAB2 and binding implementation |
||
* Read documentation on Eclipse SmartHome: [http://www.eclipse.org/smarthome/documentation/development/bindings/how-to.html implementing a Binding], [http://www.eclipse.org/smarthome/documentation/development/bindings/discovery-services.html implementing a discovery service] |
|||
* Read documentation on Eclipse SmartHome |
|||
* Meet team from last year project |
* Meet team from last year project |
||
== Week 3 (January 23th - January 29th) == |
== Week 3 (January 23th - January 29th) == |
||
* Installation of Kodi and Apache Felix |
* Installation of [https://kodi.tv/ Kodi] and [http://felix.apache.org/ Apache Felix] |
||
* First try of UPnP protocol |
* First try of UPnP protocol |
||
* Connect cameras to local network: D-Link cameras can only be configured with a computer running on Windows or Mac and not Linux because of the software provided by D-Link. However, there is still a solution for Linux user by using [https://www.winehq.org/documentation wine]. |
|||
⚫ | |||
* Cameras used in the project have to be configured with the following software: |
|||
DCS-5222L: (A version): [http://d2okd4tdjucp2n.cloudfront.net/DCS-5211L_5222L/autorun.exe Windows user] and [http://d2okd4tdjucp2n.cloudfront.net/DCS-5211L_5222L/DCS-5222L_A1_SetupWizard_v1.04.07.dmg Mac user] |
|||
DCS-932L: (A version): [http://d2okd4tdjucp2n.cloudfront.net/DCS-932L/autorun.exe Windows user] and [http://d2okd4tdjucp2n.cloudfront.net/DCS-932L/DCS-932L_A1_SetupWizard_v1.04.10.dmg Mac user] |
|||
The network must allow multicast. |
|||
An Ethernet cable is needed for the first steps of the configuration. |
|||
Reset cameras when using them for the first time in order to set a password. |
|||
⚫ | |||
== Week 4 (January |
== Week 4 (January 30th - February 5th) == |
||
* Using openHAB2 through the Karaf console can be time consuming with the exportation of bindings and find the different commands to install and activate them. Therefore, we decided to install and run openHAB from Eclipse IDE. |
|||
⚫ | |||
== Week 5 (February 6th - February 12th) == |
|||
⚫ | |||
* Installation of UPnP binding in OpenHAB |
* Installation of UPnP binding in OpenHAB |
||
* Detection of camera through OpenHAB interface with UPnP protocol |
* Detection of camera through OpenHAB interface with UPnP protocol |
||
* modification of [http://docs.openhab.org/configuration/sitemaps.html sitemaps] in openHAB |
|||
== Week 6 (February 13th - February 19th) == |
|||
* Retrieve documentations of our cameras, the different queries to control our cameras and retrieve information |
|||
* [http://www.ghafoor.org/forums/topic/ip-camera-d-link-dcs-5222l/ Commands to control D-link camera DCS-5222L] |
|||
* [http://gurau-audibert.hd.free.fr/josdblog/wp-content/uploads/2013/09/CGI_2121.pdf Some commands to retrieve data from cameras] This documentation is not specific to the cameras we have, thus several commands does not work |
|||
* Read documentations on how to contribute to openHAB |
|||
* Start of a clean creation of UPnP camera discovery binding in order to make a pull request to openHAB |
|||
* [https://github.com/openhab/openhab2-addons GitHub repository of openHAB2 addons] |
|||
* [http://docs.openhab.org/developers/contributing/contributing.html Contributing to the Development of openHAB - official documentation] |
|||
* [http://docs.openhab.org/developers/development/bindings.html Developing a Binding for openHAB2 - official documentation] |
|||
* [https://www.youtube.com/watch?v=30nhm0yIcvA&feature=youtu.be Getting started with Binding Development - Youtube video] |
|||
* Find documentations on motion tracking |
|||
== Week 7 (February 20th - February 26th) == |
|||
------------------------------------------ |
|||
== Week 8 (February 27th - March 5nd) == |
|||
* Continue the clean creation of the binding |
|||
* [http://docs.openhab.org/developers/development/guidelines.html Coding guidelines] |
|||
* Fix errors and typos on the binding |
|||
* Find documentations on motion tracking |
Revision as of 02:46, 6 March 2017
Team
- Supervisor: Didier Donsez
- Members: Antoine Blanc, Christopher Law
- Department: RICM 4, Polytech Grenoble
Calendar
- Start of the project : January 9th, 2017.
Git repository
repository with UPnP Camera binding
Week 1 (January 9th - January 15th)
- Project choice: UPnP Cameras integration into OpenHAB
- Read resources from last year project: UPnP camera detection
- Understand what is UPnP: Universal Plug and Play
- Retrieve cameras from the lab for the project
Week 2 (January 16th - January 22nd)
- Installation of OpenHAB2
- Read documentation on OpenHAB2 and binding implementation
- Read documentation on Eclipse SmartHome: implementing a Binding, implementing a discovery service
- Meet team from last year project
Week 3 (January 23th - January 29th)
- Installation of Kodi and Apache Felix
- First try of UPnP protocol
- Connect cameras to local network: D-Link cameras can only be configured with a computer running on Windows or Mac and not Linux because of the software provided by D-Link. However, there is still a solution for Linux user by using wine.
- Cameras used in the project have to be configured with the following software:
DCS-5222L: (A version): Windows user and Mac user DCS-932L: (A version): Windows user and Mac user The network must allow multicast. An Ethernet cable is needed for the first steps of the configuration. Reset cameras when using them for the first time in order to set a password.
- Detection of other devices through UPnP with Felix and Kodi: repository
Week 4 (January 30th - February 5th)
- Using openHAB2 through the Karaf console can be time consuming with the exportation of bindings and find the different commands to install and activate them. Therefore, we decided to install and run openHAB from Eclipse IDE.
- Set up of Eclipse IDE for Eclipse SmartHome developments and openHAB2 addons
Week 5 (February 6th - February 12th)
- Installation of UPnP binding in OpenHAB
- Detection of camera through OpenHAB interface with UPnP protocol
- modification of sitemaps in openHAB
Week 6 (February 13th - February 19th)
- Retrieve documentations of our cameras, the different queries to control our cameras and retrieve information
- Commands to control D-link camera DCS-5222L
- Some commands to retrieve data from cameras This documentation is not specific to the cameras we have, thus several commands does not work
- Read documentations on how to contribute to openHAB
- Start of a clean creation of UPnP camera discovery binding in order to make a pull request to openHAB
- GitHub repository of openHAB2 addons
- Contributing to the Development of openHAB - official documentation
- Developing a Binding for openHAB2 - official documentation
- Getting started with Binding Development - Youtube video
- Find documentations on motion tracking
Week 7 (February 20th - February 26th)
Week 8 (February 27th - March 5nd)
- Continue the clean creation of the binding
- Coding guidelines
- Fix errors and typos on the binding
- Find documentations on motion tracking