This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

ekey fsx App
#21
(22.04.2021, 13:19)agris Wrote: On the picture it looks like the termination resistor on the AP scanner is swithed ON. This scanner is placed in the middle of the serial line.  Because the LM port is not terminated, then both scanners in short line distances must be set in OFF position.

That makes sense, but still nothing. The DIP switch has "ON" and "1" labels. For me as a developer these both mean ON. Big Grin 
I have wired the two scanners in a daisy-chain topology, not star topology.

P.S. I just tried with only one scanner, both the DIP switch to ON and OFF positions. On daemon start the orange blinking LED becomes steady blue for couple of seconds and then orange blinking LED again. There's some communication, but something is wrong.
Reply
#22
(22.04.2021, 11:36)Daniel. Wrote: You can use this script to check if RS485 works correctly
https://forum.logicmachine.net/showthrea...9#pid13139
Make sure nothing else is using the it.  It could be enabled in modbus/Dali or in some script.

I ran the test between RS485-1 and RS485-2 - said it's OK. 
Reply
#23
I'm thinking GND now. I haven't connected the GND pin of the LM RS485. Can you please suggest me to what should I connect it?
Reply
#24
From the photos it looks like you are using the same power supply for both scanners and LM. In this case GND is already common.
Some time ago I've tested LM with around 10 scanners connected and there were some issues with the communication. Turns out that scanners have RS485 line polarization resistors which should only be present on master device. Removing these resistors from LM helped but it's not a viable solution.
Reply
#25
The actual problem cause: all database tables from this app 'ekey_*' are missing in the scada.db file. After the new app version was installed, the app worked, scanners are found, but after LM restart the same problem. Are non native db tables automatically deleted in the new LM software versions?  Or is it the memory card problem?
Reply
#26
LM does not delete any custom tables from the DB. If the card is in read-only state then the app will be missing or have an older version after a reboot.
Reply
#27
(23.04.2021, 08:07)admin Wrote: LM does not delete any custom tables from the DB. If the card is in read-only state then the app will be missing or have an older version after a reboot.

Is the card used for file storage only, or OS and system files are there too? I mean, can I easily replace the card with another one and check if the problem is bad card?
Reply
#28
Card stores everything except for LM models with an additional small on-board storage for databases and trends. You can easily replace the card, but you need to install recovery firmware on it first. See this guide: https://openrb.com/reflash-logicmachine3...-software/
Reply
#29
The problem occurs when after successful scanners initial registration into db table the LM was powered off without Restart or Shutdown commands before the LM data base was synchronized. When LM is started again the APP read the previous correctly saved storage variables and then decides that db tables exist and don't search scanners again.
The solution, in this case, is - uninstall the app, delete storage variables, and install ekey FSX app again.
I will look how into the next version to resolve this problem.
Reply
#30
App feature request - access control calendar & control by scripts.

Imagine you have a cleaning lady and you give her access rights to particular scanner only during a given time frame at particular days in the week. Would be awesome to have such access control using a weekly calendar UI in the "Rights" tab. Instead of a simple checkbox, I imagine to have a button that opens a weekly calendar UI like in the attached screenshot (this is the Ubiquity WiFi scheduler UI).

Also, would be awesome to expose function calls for scripts that give and take access rights per user/scanner pair. This way complex custom logics become possible.

Attached Files Thumbnail(s)
   
Reply
#31
ekey FSX App new v.20210711 released

Changes from v. 20210228:
    * Scanners data communication stability improvements
    * By enrolling the same scanner will be suggested to use as selected in the previous enrollment event
    * Sync the LM data base after the initial installation or app update
    * Keys - possible to assign names or disable unused (configure by script)
    * new function ekeylib.get_event_result() available to use it in the Finger object script

The installation package will be available in the LogicMachine APP store
or
http://ekey.lv/logicmachine/ekey-app/eke...210711.ipk
The user manual
http://ekey.lv/logicmachine/ekey-app/eke...manual.pdf
Reply
#32
(10.05.2021, 19:39)mishoboss Wrote: App feature request - access control calendar & control by scripts.

Imagine you have a cleaning lady and you give her access rights to particular scanner only during a given time frame at particular days in the week. Would be awesome to have such access control using a weekly calendar UI in the "Rights" tab. Instead of a simple checkbox, I imagine to have a button that opens a weekly calendar UI like in the attached screenshot (this is the Ubiquity WiFi scheduler UI).

Also, would be awesome to expose function calls for scripts that give and take access rights per user/scanner pair. This way complex custom logics become possible.

I join the request, this is exactly what I'm missing.
Thank you!
Morkov
Reply
#33
New ekey FSX App v.20211118 is released:

Changes from previous v.20210711
1. User/Scanner access rights configuration is extended with new not mandatory parameter "Schedule"
As schedules are used the LogicMachine Schedulers records. The user/scanner access rights is case of additionaly assigned Schedule will depend of KNX datagroup value assigned to LM Schedule record. In case the datagroup value =1 (true) the access is allowed else disabled.
In case when access to user/scanner cell is allowed without the assigned Schedule then the functionality will work as previous with full user rights.
2. The scanner "Finger object"script example: see in User manual function ekeylib.get_event_result example with new parameters - rfid_card  , rfid_is_used , event_type_code 
3. Control the ekey FSX daemon status: see in User manual function "ekeylib.check_ekey_daemon" example

The installation package will be available in the LogicMachine APP store
or can be downloaded :
http://www.ekey.lv/logicmachine/ekey-app...211118.ipk
https://dl.openrb.com/pkg/ekey-20211118.ipk
User Manual:
http://www.ekey.lv/logicmachine/ekey-app...manual.pdf
Reply
#34
Hello, I have an issue relating to the ekey enrollment through the logic machine interface. It won't let me enroll any of the users registered.
I have checked that the latest firmware update is imported, I have tried restarting the logic machine server but with no result.
I have also tried recreating the scanners, but none of the users registered can enroll.
Can you provide me with a solution?
Reply
#35
(06.04.2022, 06:04)balatis Wrote: Hello, I have an issue relating to the ekey enrollment through the logic machine interface. It won't let me enroll any of the users registered.
I have checked that the latest firmware update is imported, I have tried restarting the logic machine server but with no result.
I have also tried recreating the scanners, but none of the users registered can enroll.
Can you provide me with a solution?

Hello, I had the same problem. I contacted Agris and he has been able to restore it. In my case the scanner had stayed in the enrollment state.
This problem occurs in a situation where the scanner is in the registration state, but before the end of this state, the ekey daemon is stopped and restarted.
The scanner cmd "restart" will help to solve this problem.
Reply
#36
(06.04.2022, 08:23)davidchispas Wrote:
(06.04.2022, 06:04)balatis Wrote: Hello, I have an issue relating to the ekey enrollment through the logic machine interface. It won't let me enroll any of the users registered.
I have checked that the latest firmware update is imported, I have tried restarting the logic machine server but with no result.
I have also tried recreating the scanners, but none of the users registered can enroll.
Can you provide me with a solution?

Hello, I had the same problem. I contacted Agris and he has been able to restore it. In my case the scanner had stayed in the enrollment state.
This problem occurs in a situation where the scanner is in the registration state, but before the end of this state, the ekey daemon is stopped and restarted.
The scanner cmd "restart" will help to solve this problem.
Thanks Danid , that worked !!
Reply
#37
New ekey fsx app v.20221203 is released:

Download links:
    http://www.ekey.lv/logicmachine/ekey-app...manual.pdf
    http://ekey.lv/logicmachine/ekey-app/eke...221203.ipk

Resolved problems:
1)  find active port now exclude other active ports used by other apps.
2)  enrolling mode enabled after 2 min, when the daemon was stopped and started again in active enrolling mode. 
3)  after scanner 'restart', the enrolled fingerprints now will be copied to this scanner.

New functionality:
1) new different app icon for SE Wiser
2) users and its credentials can be synchronized between multiple ekey fsx app instalations.
3) multilanguage support

the app frontend language dictionary file:
  http://www.ekey.lv/logicmachine/ekey-app...tionary.js
can be modified by adding extra language code and must be placed here
  /home/apps/store/data/ekey/lang/app_dictionary.js
Reply


Forum Jump: