Driver scripting within PiDome Server with real time updates utilizing Java Nashorn
Channel: PiDome Domotica/Home Automation
Date: 08/10/2015

This clips show the ability to create your own driver using javascript. Your driver will be the link to modify controls on the server and on the hardware attached.

In this clip an extreme simple example is shown where a push button on an Arduino controls a LED and updates a toggle button on the server and vice verse.

All done in ECMAScript (Javascript without browser features).

The Server has an editor embedded in the web interface where you will be able to modify and create scripts. With this you can design your own communication protocol on your serial text based hardware and let PiDome work with it.

Next to this there will be API descriptions and examples available when this feature has been published. We will also publish this current example setup with Arduino sketch and Fritzing schematic so you can rebuild it and immediately start using it.

More information on: http://pidome.org/info/blog-news/2015/10/10/added-scripting-support-for-text-based-serial-devices.html

API description is on: http://pidome.org/platform/api/custom-drivers/