Skip to content

A node webservice that exposes GET routes which match the commands of the Novy cooker hood remote

Notifications You must be signed in to change notification settings

martijndierckx/novy-433

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Novy 433Mhz cooker hood remote webservice

A node webservice that exposes GET routes which match the commands of the Novy cooker hood remote on channel 1 (=default channel).

Dependencies

Connecting the 433Mhz transmitter

See http://wiringpi.com/pins/ for the correct WiringPi pin number. Pin 15 (BCM 14) is the default transmitter pin.

The transmitter may be powered by 5V, but if you also want to connect a receiver, make sure you connect it to a 3.3V power source.

Installation

$ git clone https://github.com/martijndierckx/novy-433.git
$ cd novy-433
$ cp config_sample.json config.json
$ npm install

Configuration

After copying the config_sample.json file to config.json, you can adjust that file to match your GPIO pin and HTTP port. The other settings should, normally, not be altered.

Running

$ node index

To run this thing as a service, have a look on https://stackoverflow.com/questions/4681067/how-do-i-run-a-node-js-application-as-its-own-process/28542093#28542093

When the node app is running, you can request the following URLs on the configured port (They will always return a 200 status code, even when something fails):

  • /toggle-lights
  • /power-up
  • /power-down
  • /toggle-power
  • /toggle-ambient-lights

Or you can just surf to / to test the different queries there.

Based on / With the help of

About

A node webservice that exposes GET routes which match the commands of the Novy cooker hood remote

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published