Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including pimatic-mobile-frontend with all npm packages installed. Try it out:

require("pimatic/package.json"); // pimatic is a peer dependency. var pimaticMobileFrontend = require("pimatic-mobile-frontend")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

pimatic-mobile-frontend v0.9.16

Provides a jQuery mobile webinterface for pimatic.

pimatic mobile-frontend plugin

Provides a jQuery mobile page, witch let you control your actuators, display sensor values and let you add and edit rules.

Example configuration

{
  "plugin": "mobile-frontend",
  "customTitle": "Pimatic", 
  "theme": "water",
  "flat": true,
  "debug": false,
  "mode": "production"
}

Mobile frontend development

For performance reasons the "production" mode uses minified and pre-compiled code. If you need to debug the mobile frontend code, e.g., as you are developing an mobile frontend extension, set the mode as part of the plugin configuration to "development". Then clear all browser caches and delete all app settings. Best is to use an incognito tab for testing.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free