Skip to content
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

Put Card - Date with Time #2

Closed
neyStyle opened this issue Sep 10, 2021 · 8 comments
Closed

Put Card - Date with Time #2

neyStyle opened this issue Sep 10, 2021 · 8 comments

Comments

@neyStyle
Copy link

Hey,

I use Uhppoted by nodeRed and it works perfect. We use 20 diffrent 4 Door Controller and import and export everything
in a mySql Database on our Server and build our own Backend to manage everything.

It is possible to add a Hour for the putCard node ?
We only can set the Date but it was better when we can set the Time also.

Thank you very much

@uhppoted
Copy link
Owner

Wow! Nice system!!

re. putCard. Unfortunately the limitation is imposed by the actual controller - it only supports dates for the from and to fields.

But maybe take a look at time profiles, which allow for much finer grained access. The specific functions/nodes are:

  • clear-time-profiles
  • get-time-profile
  • set-time-profile

Each time profile allows up to 3 time periods during which a card has access and can also be defined as active between dates and on specific days of the week. Profiles can also be chained to create fairly complex schedules - you may need get a bit creative though, depending on what you're trying to achieve :-).

There's a very basic example here and the info documentation for the nodes describes the format. The description is a fairly minimal - let me know if you need any additional information.

@neyStyle
Copy link
Author

Hey,

I had the Version 0.6.10 and there was no Timeprofile.
I will take a look at the new Version.

Thank you very much

@uhppoted
Copy link
Owner

Ok, great! Hopefully that works for you :-).

I guess as a fallback you could update the controller whenever a card's access changes e.g. if it's due to expire at 16:30 then at 16:30 you actively change the card record on the controller. But if time profiles can do what you want they're a much better solution.

The controller also provides an API to allow for remote access control - it's not implemented in any of the uhppoted components at the moment but I'll start looking into it. Although TBH, as far as I can tell it's only intended for very complicated access control requirements (e.g. the Fred can only access a room if Tom is there and Jane is not kind of thing). Time profiles and tasks should suffice for most day-to-day requirements.

@neyStyle
Copy link
Author

Oh fine,

i will try this and will see what is the best workaround.
At this moment we have on Apartment House for rent with 22 Apartments and Saune etc....
Every Apartment has Chip-Card´s for open.
But we have on every Door a QR-Reader for a Chip and a QR-Code. At this moment we programming Apple Passkit that we can send the Guest a Pass for her Wallet, works fine. For all People without a Apple Divice we send also a PDF with the QR-Code. it works really good.

@uhppoted
Copy link
Owner

Neat system! Out of curiosity, what readers are you using? I'd like to add them to my 'tried-and-tested' hardware list - I'm slowly building up a list of "known to work" components for the "do you know if this will work?" type questions that occasionally crop up.

@uhppoted
Copy link
Owner

Awesome! Thank you :-)

@uhppoted
Copy link
Owner

Hi,

I've updated the compatible hardware list with the readers and am going to close this out - don't think there's any more I can add to the above. Feel free to reopen if you need to though :-).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants