npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

node-red-contrib-aula-education

v0.6.1

Published

A Node-Red Node for collecting data from aula the danish educational platform.

Downloads

57

Readme

node-red-contrib-aula-education

Node-Red Node for collecting data from aula the danish educational platform.

Still under development. Not all aspects are tested yet

Platform

This node is based on the home assistant unoffical (hacs) addon to get Aula data made by scaarup https://github.com/scaarup/aula. But converted to javascript and put into a node-red node.

A lot of data is returned form API. Some examples on how to parse the incoming data is added.

Login

You will need to create a Unilogin from here https://www.aula.dk/portal/#/login choose to create a username and then a password. As aula knows a lot of personal stuff about both parents and thier kids(names, address and more) dont take security lightly and preferably use a password generator and to make a long password as you dont need to remember it by heart. Node-red will store it encrypted.

Usage

How to import: Menu top right -> Import -> Examples -> node-red-contrib-nibeuplink -> basic

The node

Example of what is returned in home assistant as state info in the daily overview. The same and more info is returned by this node.

location: null
sleepIntervals:
  - id: 61297321
    startTime: '12:00:00'
    endTime: '13:00:00'
checkInTime: '07:38'
checkOutTime: '15:34'
activityType: 0
entryTime: '07:30'
exitTime: '16:00'
exitWith: {Person name}
comment: null
spareTimeActivity: null
selfDeciderStartTime: null
selfDeciderEndTime: null
profilePicture: >-
  https://media-prod.aula.dk/12345/13456/1mk23j1_400x400.jpg?response-content-disposition=attachment%3Bfilename%3D%21315sa3fa4_400x400.jpg%22&Expires=1692734400&Signature=asdaasdaULlo2-5ksfsd79XTfdsix4lr-2IsfsdfF7~G7VEsdfsdSclbCxJV~hoSu2n0AZTQQWYL3R0-QhIgz-UoBSCtpnM6A7qPuPBcf6qBz-XeJsdfsdKsZCwA5fsdfcTsqWMI1nVsP5YN7h6SuRZgOVxC3kCyykozW4UYXks~3yJbN3jkD6tlsyPYDw2aeYQ6vPE0KnRwPJJZTb3QncPG2NC9kJnX8W4dfhfdhsadpyGTCKXwQ~5r8P3p-~w0H62ig42dy-VKNZUDH4IsVimPasdghrhd345n55R0TiflCf5MsFfnb2g__&Key-Pair-Id=asdaKAILBPEasdasd1234IBROXQ
icon: mdi:account-school
friendly_name: {Institusion name} {First name}

Support of API calls

The origianl python addon made by scaarup for home assistant does support more then what I converted and tested here. PRs are welcomed. What is converted and what is not:

| Function | Convered to JS | |---|:---:| | Get daily overview | Yes | | Get unread messages | Yes | | (Untested)Get calendar | Yes | | "Ugeplaner" | No | | "Huskelisten" | No |

Extra functions not found in python version: Get posts, notifications and mark messages as read.