Node script for my Domotica system