Search 1.9 billion lines of Odoo code on GitHub

hr_biometric_machine

Author: Gaurav Sahu
License: no license
Branch: merge-branch-2543-add-base_fileurl_field-2cd8af10
Repository: camptocamp/odoo-cloud-platform
Dependencies: base, and hr
Languages: HTML (8, 2.5%), Markdown (183, 56.3%), Python (81, 24.9%), and XML (53, 16.3%)
Other repositories: Abdullah-Alghoul/hr_biometric_machine-1, Ahmed-Galal/hr_biometric_machine, Albin-John/hr_biometric_machine, Axon-System/hr_biometric_machine, CarlosToledo1007/hr_biometric_machine, Comunitea/CMNT_25_15_GZ, CybroOdoo/hr_biometric_machine, GauravSahu/hr_biometric_machine, Gofekra/hr_biometric_machine, Guobower/hr_biometric_machine, KT-Thanate/hr_biometric_machine, Mahmoud-Alaa-Eldeen/hr_biometric_machine, OdooBulgaria/hr_biometric_machine, Pravithavarghese1/hr_biometric_machine, Saharaifs/hr_biometric_machine, SarikaRamniklal/hr_biometric_machine, TheCloneMaster/hr_biometric_machine, VishnuArukat/hr_biometric_machine, adolfoeliazat/hr_biometric_machine, ahui/hr_biometric_machine, akumararun/hr_biometric_machine, alfieqashwa/hr_biometric_machine, amarildogolloshi/hr_biometric_machine, amas-interpreta/hr_biometric_machine, anas-taji/hr_biometric_machine, anndream/hr_biometric_machine, aouili-nizar/hr_biometric_machine, apertoso/hr_biometric_machine, app2one/hr_biometric_machine, arifmarias/hr_biometric_machine, binarysourcebd/hr_biometric_machine, brijeshkesariya/hr_biometric_machine, cjgarcia/hr_biometric_machine, defc0n1/hr_biometric_machine, dixgrake/hr_biometric_machine, dixgrake/hr_biometric_machine-1, doanvanthien/hr_biometric_machine, echeverrifm/hr_biometric_machine, fadeldamen/hr_biometric_machine, farouk123/hr_biometric_machine, fauzi-tsani/hr_biometric_machine, garzadekoster/hr_biometric_machine, github-fork-marlon/hr_biometric_machine, gitter-badger/hr_biometric_machine, haryoran04/hr_biometric_machine-1, haylahi/hr_biometric_machine, haylahi/hr_biometric_machine-1, iamyeonhan/hr_biometric_machine, ihthisha/hr_biometric_machine, infobit/hr_biometric_machine, innovariusph/hr_biometric_machine, isoscl/hr_biometric_machine, jalaludin/hr_biometric_machine, jeaitdepartment/hr_biometric_machine, jesmar81/hr_biometric_machine-1, jonathanf/hr_biometric_machine, joshuachinemezu/hr_biometric_machine, justinarokiaraj3995/hr_biometric_machine, larslemos/hr_biometric_machine, lithint/hr_biometric_machine, manish-kr/hr_biometric_machine, mannoble/hr_biometric_machine, marcelsavegnago/hr_biometric_machine, maxindo/hr_biometric_machine, mfhm95/hr_biometric_machine, minaeid90/hr_biometric_machine, mohamedhagag/hr_biometric_machine, mohamedmagdy/hr_biometric_machine, nabiforks/hr_biometric_machine, nabiforks/hr_biometric_machine-1, odoo-modules/hr_biometric_machine, onlink4it/hr_biometric_machine, papouso/hr_biometric_machine, prodax/hr_biometric_machine, quangtv-vti/hr_biometric_machine, ravikraju999/hr_biometric_machine, ringkubd/hr_biometric_machine, rkhalil1990/hr_biometric_machine, rkhalil1990/hr_biometric_machine-1, ryanpadilha/hr_biometric_machine, saltonmassally/hr_biometric_machine, shabeervpk/hr_biometric_machine, sibetron92/hr_biometric_machine-1, sm2x/hr_biometric_machine, suningwz/hr_biometric_machine, thaiodoo/hr_biometric_machine, tvtma/hr_biometric_machine, umair-gujjar/hr_biometric_machine, valenciaricardos/hr_biometric_machine, vijay-huang/hr_biometric_machine, vsantosv/hr_biometric_machine, xhair/hr_biometric_machine, xuanox/hr_biometric_machine, yaoxingqi/hr_biometric_machine, yasmanycastillo/hr_biometric_machine, yoozeer/hr_biometric_machine, zahidali746/hr_biometric_machine, and zhaohuaw/hr_biometric_machine

<h1>Biometric Device Integration - Odoo</h1> <p><a href="https://gitter.im/GauravSahu/hr_biometric_machine?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge"><img src="https://badges.gitter.im/Join%20Chat.svg" alt="Join the chat at https://gitter.im/GauravSahu/hr_biometric_machine"></a></p> <p>Step 1:</p> <p>Install ZKLIB <pre> sudo easy_install zklib or sudo pip install zklib </pre> Step 2:</p> <p>Install Module hr<em>biometric</em>machine</p> <h1>Some Usefull Function of ZKLIB</h1> <ol> <li>To Connect Machine <pre> zk = zklib.ZKLib(machine_ip, int(port)) res = zk.connect() </pre></li> <li>To Disconnect Machine <pre> zk.disconnect() </pre> Example: <pre> zk = zklib.ZKLib(machine_ip, int(port)) res = zk.connect() if res == True zk.disconnect() </pre></li> <li>To Enable Device <pre> zk.enableDevice() </pre> Example: <pre> zk = zklib.ZKLib(machine_ip, int(port)) res = zk.connect() if res == True zk.enableDevice() </pre></li> <li><p>To Disable Device <pre> zk.disableDevice() </pre> Example: <pre> zk = zklib.ZKLib(machine_ip, int(port)) res = zk.connect() if res == True zk.enableDevice() zk.disableDevice() </pre></p></li> <li><p>To Get Device Version <pre> zk.version() </pre> Example: <pre> zk = zklib.ZKLib(machine_ip, int(port)) res = zk.connect() if res == True print zk.enableDevice() print zk.disableDevice() print zk.version() </pre></p></li> <li><p>To Get Device OS Version <pre> zk.osversion() </pre> Example: <pre> zk = zklib.ZKLib(machine_ip, int(port)) res = zk.connect() if res == True print zk.enableDevice() print zk.disableDevice() print zk.version() print zk.osversion() </pre></p></li> <li><p>To Get Device Name <pre> zk.deviceName() </pre> Example: <pre> zk = zklib.ZKLib(machine_ip, int(port)) res = zk.connect() if res == True print zk.enableDevice() print zk.disableDevice() print zk.version() print zk.osversion() print zk.deviceName() </pre></p></li> <li><p>To Download Attendance <pre> zk.getAttendance() </pre> Example: <pre> zk = zklib.ZKLib(machine_ip, int(port)) res = zk.connect() if res == True print zk.enableDevice() print zk.disableDevice() print zk.version() print zk.osversion() print zk.deviceName() print zk.getAttendance() zk.enableDevice() zk.disconnect() </pre></p></li> <li><p>To Clear Attendance <pre> zk.clearAttendance() </pre> Example: <pre> zk = zklib.ZKLib(machine_ip, int(port)) res = zk.connect() if res == True print zk.enableDevice() print zk.disableDevice() print zk.version() print zk.osversion() print zk.deviceName() print zk.clearAttendance() zk.enableDevice() zk.disconnect() </pre></p></li> <li><p>To Set User <pre> zk.setUser(uid=12345, userid=&#39;gauravsahu&#39;, name=&#39;Gaurav Sahu&#39;, password=&#39;123456&#39;, role=zkconst.LEVEL<em>ADMIN) </pre> Example: <pre> zk = zklib.ZKLib(machine</em>ip, int(port)) res = zk.connect() if res == True print zk.enableDevice() print zk.disableDevice() print zk.version() print zk.osversion() print zk.deviceName() print zk.setUser(uid=12345, userid=&#39;gauravsahu&#39;, name=&#39;Gaurav Sahu&#39;, password=&#39;123456&#39;, role=zkconst.LEVEL_ADMIN) zk.enableDevice() zk.disconnect() </pre></p></li> <li><p>To Remove Admin User <pre> zk.clearAdmin() </pre> Example: <pre> zk = zklib.ZKLib(machine_ip, int(port)) res = zk.connect() if res == True print zk.enableDevice() print zk.disableDevice() print zk.version() print zk.osversion() print zk.deviceName() zk.clearAdmin() zk.enableDevice() zk.disconnect() </pre></p></li> <li><p>To Get All User <pre> zk.getUser() </pre> Example: <pre> zk = zklib.ZKLib(machine_ip, int(port)) res = zk.connect() if res == True print zk.enableDevice() print zk.disableDevice() print zk.version() print zk.osversion() print zk.deviceName() zk.getUser() zk.enableDevice() zk.disconnect() </pre></p></li> </ol>