Categories
VSCP

#JavaScript in decision matrix of #VSCP #IoT #m2m

Now it is possible to use execution of JavaScript as a result from a triggered action in the decision matrix of the VSCP Daemon.  Things that is triggering an action can typically be events from external nodes or internal VSCP daemon generated events.  For example a measurement value can be sent to a remote cloud service or an ON event can enable some special on-board functionality or just toggle a pin on some output. The possibilities are endless.

With the VSCP decision matrix escape functionality dynamic data can be written into the JavaScript before it is executed. This includes the triggering event data as well as environment information.

File, encryption and socket functionality is available from inside the script plus functions to send event, receive events, handle VSCP remote variables, handle measurements and more.

As a script can be stored in a VSCP remote variable it can be externally edited and functionality can therefore be dynamic.

The new functionality is described here.

Callback functions for VSCP functionality is described here.

LUA scripting will be added later making it possible to do slightly more complicated scripting.

Categories
General

mJS – a new approach to embedded scripting

There are many projects out there that aim to bring scripting on microcontrollers. There are several JavaScript projects, like Duktape, Espruino, Jerryscript, MuJS, V7. There is MicroPython, there is Lua, and others. One common thing these projects share is an attempt to implement the whole language specification, together with the

Source: mJS – a new approach to embedded scripting

Categories
General

Why Should Sensors Be Isolated – Dataforth

This Dataforth Tech Note answers the question, Why Should Sensors Be Isolated?

Source: Why Should Sensors Be Isolated – Dataforth

Categories
General

New donation

We got a EUR 30 donation from Sven Zwiers to the project.

Thank you!

Categories
General

Blynk

First drag-n-drop IoT app builder for Arduino, Raspberry Pi, ESP8266, SparkFun boards, and others

Source: Blynk

Categories
General

IoTuesday: Why IoT Is About More Than Automating Your Home – News – SparkFun Electronics

While many of us fancy a new “Home of Tomorrow,” the real growth in IoT is occurring in places most of us don’t see.

Source: IoTuesday: Why IoT Is About More Than Automating Your Home – News – SparkFun Electronics

Categories
General

Happy Chinese New Year 2017!

Categories
General

Raspberry Pi 3 as an Eddystone URL beacon

hcitool -i hci0 cmd 0x08 0x0008 17 02 01 06 03 03 aa fe 0f 16 aa fe 10 00 02 77 65 62 67 61 7a 65 72 08 00 00 00 00 00 00 00 00

Source: Raspberry Pi 3 as an Eddystone URL beacon

Categories
General

Raspberry Pi 3 as an Eddystone URL beacon • Hackaday.io

sudo hcitool -i hci0 cmd 0x08 0x0008 17 02 01 06 03 03 aa fe 0f 16 aa fe 10 00 03 77 65 62 67 61 7a 65 72 08 00 00 00 00 00 00 00 00

Source: Raspberry Pi 3 as an Eddystone URL beacon • Hackaday.io

Categories
General

Google seeks dev feedback for putting AI on Raspberry Pi

Google will bring its AI and machine learning technology to the Raspberry Pi this year, and has posted a survey seeking input.

Source: Google seeks dev feedback for putting AI on Raspberry Pi