This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
Official
[App] PostNL by Athom (v1.0.1)
CommunityModerators
Member
Post NL
This app adds support for Jouw PostNL (https://jouw.postnl.nl) packet traking from your Homey .Links:
Supported Languages:
- English
- Dutch
Feedback:
Any requests please post them in the Post NL topic on the Athom Forum or contact Athom on Slack
If possible, please report issues at the general Homey issues section on Github otherwise in the above mentioned topic.
Forum Discussion
Initial Discussion created by @GeurtDijker, most relevant old discussion will be appended.
Ask any Moderator to add/update/correct this Discussion.
Tagged:
Comments
Hi,
It looks like PostNL has an API (https://developer.postnl.nl/) available. It would be great to have an app for Homey that can:
- Connect to my personal PostNL account (https://jouw.postnl.nl)
- Triggers for different states (Nieuw pakket, Afgifte, Sorteercentrum, Onderweg, Bezorgd)
- Actions to give information (Afzender, Bezorgmoment, Gewicht, Omschrijving)
Examples:
- If New pakket, then say (voice) 'Er is een nieuw pakket onderweg, van <afzender>. Verwachte bezorgmoment is <bezorgmoment>.'
- If Status of pakket changed, and status = Onderweg, then say (voice) 'De bezorger is onderweg'
- If Status of pakket changed, and status = Afgifte, and <gewicht> =>20, then say (voice) 'Er wordt een zwaar pakket geleverd van <gewicht> kilo op <bezorgmoment>'.
I hope someone will pick this up to make a great new Homey app!
I don't know why? But this would be great!
But if anyone on the forum happens to have already a account/access to the Api that would speed up things ofcourse;)
https://www.postnl.nl/zakelijke-oplossingen/data-oplossingen/gratis-proberen/
So... the only way is scraping the data
I'm gonna dig into it but not today
The PostNL app (Android) is getting better and better. It even shows regular letters that are on there way to my address (still beta). So there is a lot of data available, the only question is, can it be used in a Homey app?
Cool! Thanks athom.
However, the app only lets you use it as a trigger. So I can only set a flow using the "er is een pakketje onderweg" as a trigger. That means Homey will wake me up at 3pm to tell me there is a parcel on its way.
Is it possible to use a trigger like a motion sensor and use the PostNL app for the "then" part? Than I can let my Homey tell me that a parcel is on its way when I walk in to the living room in the morning...
https://github.com/athombv/nl.postnl/issues/1
please add a general trigger "state had changed" and tag "state"