oneDevice.js - Driver package for driving hardware with NodeJS

oneDevice.js

Drive the hardware with NodeJS.

what is this?

This is a driver package designed to drive hardware with NodeJS. Out of the box, well documented, continuously updated, friendly API. Build your own smart home with a Raspberry Pi.

I am very interested in smart home, and have always wanted to customize DIY by myself, and use intelligent devices to control all the devices in the home. So with this, I have been using it, and I will continue to integrate more types of hardware drivers and sensors, and more abstract interfaces.

DIY, personalization, customization, and complete control are the core of oneDevice.

 

Check out npm or GitHub for full documentation:

Code cloud address: https://gitee.com/onedevice/oneDevice

npm address: https://www.npmjs.com/package/onedevice

GitHub address: https://github.com/LanFly/Device

Subsequent major updates

  • Add more models of hardware drivers
  • A more abstract API, a natural language completes condition monitoring and action triggering
  • easier to read documentation

Changelog

v0.0.2 @ 2018-04-22 17:19

  • SSD1306 adds the showSystemInfo function to monitor system information.
  • Call showSystemInfo directly to display memory, CPU statistics, IP, and time on the screen.
  • The stopSystemInfo function is used to stop refreshing system monitoring information.
  • Added GPIO pin reference diagram for checking Raspberry Pi pin numbers and functions.

v0.0.1 @ 2018-01-01 23:27

  • Add the driver of iFLYTEK XFS5152CE text-to-speech chip
  • Added driver for SSD1306 OLED screen.
  • Support drawing canvas directly on SSD1306 screen, more friendly graphics API (I am trying to improve the refresh rate)
  • Including UART serial port, I2C, UDP driver
  • Including DHT-11, DHT-22 temperature and humidity sensor driver

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324913135&siteId=291194637