Posts

The new Node-RED Dashboard 2 modules are great! But loading multiple external scripts in a particular order (e.g. the great HighChart visualization libraries) into a template node is a little bit of a pain. I write a little script, that can be put into a template node, e.g. into a UI-scoped Widget, that can load multiple scripts in the exact order wanted. A global variable is set to check, if all scripts are loaded successfully.  < template > </ template > < script >         window.customScriptsLoaded = false ;           // scripts to load in desired order     let scripts = [         'http://host.abc/first.js' ,         'http://host.abc/second.js' ,         'http://host.abc/third.js' ,         'http://host.abc/fourth.js' ,     ];     function loadScripts(sources) {           ...

Using Amazon Echo Devices as Unifi Doorbell Chimes

Bild
If you are operating a Unifi network and have some Unifi Doorbells installed in your network, you probably came to the same frustrating conclusion:  The Chimes sold by Unifi cannot fulfill any requirement beyond One Doorbell - One Chime. (At least until today. Maybe some future release of UnifiOS fixes this) If you, like me, have more than one door with a doorbell and want to get informed whenever a visitor presses the button, from which door exactly the alert was triggered, you have to resort to some other software and hardware. The good thing is, that it is very easy to create a fully customizable "Which doorbell button was pressed and who must be alerted" system by the use of Node-RED and some Amazon Echo devices.  You need the following Nodes installed through the Palette Manager: node-red-contrib-unifi-os node-red-contrib-unifi-os (node) - Node-RED (nodered.org) This node is required to connect to your UnifiOS environment and capture the events send by the system....