Socket
Socket
Sign inDemoInstall

ra-wifi-proxy

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ra-wifi-proxy

ReefAngel proxy module to query and make commands on the controller at the provided endpoint


Version published
Weekly downloads
1
Maintainers
1
Install size
7.12 kB
Created
Weekly downloads
 

Readme

Source

ReefAngel Wifi Proxy

Build Status

The ReefAngel Wifi Proxy is a Node.js module for connecting to a ReefAngel wifi enabled controller and executing queries and commands against it.

Note: The results of these commands are the raw response values outputted from the controller.

Basic Usage

	var controllerSettings = {
		hostname: '192.168.1.150',
		port: 2000
	};
	
	var proxy = require('ra-wifi-proxy)(controllerSettings);
	
	//turn lights on
	proxy.triggerLightsOn();
	
	//query for current values in JSON format
	proxy.queryJson(function jsonCallback(err, response){
		if(!err) console.log(JSON.parse(response));
	});

API

  • clearAto(cb)
  • clearLeakDetector(cb)
  • clearOverheat(cb)
  • maskRelay(options, cb)
  • override(cb)
  • queryDate(cb)
  • queryJson(cb)
  • queryLables(forumId, cb)
  • queryMemory(cb)
  • queryVersion(cb)
  • queryXml(cb)
  • triggerButtonPress(cb)
  • triggerFeeding(cb)
  • triggerLightsOff(cb)
  • triggerLightsOn(cb)
  • triggerReboot(cb)
  • triggerWaterChange(cb)

Keywords

FAQs

Last updated on 04 Nov 2015

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc