npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

node-red-contrib-susi

v0.0.12

Published

Node-red node for SUSI

Downloads

31

Readme

node-red-contrib-susi

A collection of Node-RED nodes to Access ADVANTECH platform HW function by node-susiiot & node-susi.

Install

Use npm to command to install this package locally in the Node-RED modules directory

npm install node-red-contrib-susi 

or install in it globally with the command

npm install node-red-contrib-susi -g 

Nodes included in the package

Hardware Monitor Read platfom Voltage (12V, 5V...), Fan Speed (CPU, SYS...), Temperature (CPU, SYS...) from node-susi.

GPIO Read/Control platfom GPIO from node-susi.

Backlight Read/Control platfom Backlight from node-susi.

WatchDog Control platfom WatchDog from node-susi.

IoT Info Read platfom all function's Capability from node-susiiot .

IoT Data Read platfom function's Data from node-susiiot .

IoT Control Set platfom function's Data from node-susiiot .

Usage example

Flow Simple usage of the plugin in Node-RED, a message with ON or 1 will turn on the node, otherwise a message with OFF or 0 will turn off the node.

[
   {
      "id":"7511c3cd.8aee3c",
      "type":"inject",
      "name":"",
      "topic":"",
      "payload":"",
      "payloadType":"date",
      "repeat":"",
      "crontab":"",
      "once":false,
      "x":100,
      "y":334,
      "z":"2395ff1f.dc6a",
      "wires":[
         [
            "7dd5bff8.822a4"
         ]
      ]
   },
   {
      "id":"e4bfce4.f1b403",
      "type":"debug",
      "name":"",
      "active":true,
      "console":"false",
      "complete":"payload",
      "x":488,
      "y":333,
      "z":"2395ff1f.dc6a",
      "wires":[

      ]
   },
   {
      "id":"cc303b6a.33cfc8",
      "type":"inject",
      "name":"",
      "topic":"",
      "payload":"",
      "payloadType":"date",
      "repeat":"",
      "crontab":"",
      "once":false,
      "x":102,
      "y":399,
      "z":"2395ff1f.dc6a",
      "wires":[
         [
            "87306503.78cf98"
         ]
      ]
   },
   {
      "id":"4c702b.ffb38fd4",
      "type":"debug",
      "name":"",
      "active":true,
      "console":"false",
      "complete":"payload",
      "x":491,
      "y":398,
      "z":"2395ff1f.dc6a",
      "wires":[

      ]
   },
   {
      "id":"28a90a33.d756f6",
      "type":"inject",
      "name":"GPIO00 OFF",
      "topic":"",
      "payload":" { \"n\": \"Level\", \"bv\": 0, \"id\": 17040129 } ",
      "payloadType":"string",
      "repeat":"",
      "crontab":"",
      "once":false,
      "x":109,
      "y":526,
      "z":"2395ff1f.dc6a",
      "wires":[
         [
            "593e8a85.a6c174"
         ]
      ]
   },
   {
      "id":"e351522a.1caeb",
      "type":"debug",
      "name":"",
      "active":true,
      "console":"false",
      "complete":"payload",
      "x":492,
      "y":495,
      "z":"2395ff1f.dc6a",
      "wires":[

      ]
   },
   {
      "id":"37f5a3b6.c80a5c",
      "type":"inject",
      "name":"GPIO00 ON",
      "topic":"",
      "payload":" { \"n\": \"Level\", \"bv\": 1, \"id\": 17040129 } ",
      "payloadType":"string",
      "repeat":"",
      "crontab":"",
      "once":false,
      "x":104,
      "y":466,
      "z":"2395ff1f.dc6a",
      "wires":[
         [
            "593e8a85.a6c174"
         ]
      ]
   },
   {
      "id":"156af1fe.ea950e",
      "type":"inject",
      "name":"",
      "topic":"",
      "payload":"",
      "payloadType":"date",
      "repeat":"",
      "crontab":"",
      "once":false,
      "x":91,
      "y":67,
      "z":"2395ff1f.dc6a",
      "wires":[
         [
            "71d5d988.8e2a28",
            "401306eb.bfecf8",
            "d97b8119.26848",
            "267a0728.d985f8"
         ]
      ]
   },
   {
      "id":"3ef17d87.c10e82",
      "type":"debug",
      "name":"",
      "active":true,
      "console":"false",
      "complete":"payload",
      "x":491,
      "y":67,
      "z":"2395ff1f.dc6a",
      "wires":[

      ]
   },
   {
      "id":"904c4718.6fb3b8",
      "type":"debug",
      "name":"",
      "active":false,
      "console":"false",
      "complete":"payload",
      "x":489,
      "y":135,
      "z":"2395ff1f.dc6a",
      "wires":[

      ]
   },
   {
      "id":"f316ab80.0ce958",
      "type":"debug",
      "name":"",
      "active":false,
      "console":"false",
      "complete":"payload",
      "x":499,
      "y":195,
      "z":"2395ff1f.dc6a",
      "wires":[

      ]
   },
   {
      "id":"ad47140.f52b8f",
      "type":"debug",
      "name":"",
      "active":false,
      "console":"false",
      "complete":"payload",
      "x":493,
      "y":255,
      "z":"2395ff1f.dc6a",
      "wires":[

      ]
   },
   {
      "id":"7dd5bff8.822a4",
      "type":"SUSIIoT-Info",
      "name":"",
      "topic":"SUSIIoT Info",
      "class0":"Hardware Monitor",
      "class1HWM":"All",
      "class1GPIO":"All",
      "x":282,
      "y":338,
      "z":"2395ff1f.dc6a",
      "wires":[
         [
            "e4bfce4.f1b403"
         ]
      ]
   },
   {
      "id":"87306503.78cf98",
      "type":"SUSIIoT-Data",
      "name":"",
      "topic":"SUSIIoT Data",
      "class0":"Hardware Monitor",
      "class1HWM":"All",
      "class1GPIO":"All",
      "x":287,
      "y":399,
      "z":"2395ff1f.dc6a",
      "wires":[
         [
            "4c702b.ffb38fd4"
         ]
      ]
   },
   {
      "id":"593e8a85.a6c174",
      "type":"SUSIIoT-Control",
      "name":"",
      "topic":"SUSIIoT Control",
      "class0":"Hardware Monitor",
      "class1HWM":"All",
      "class1GPIO":"All",
      "x":299,
      "y":495,
      "z":"2395ff1f.dc6a",
      "wires":[
         [
            "e351522a.1caeb"
         ]
      ]
   },
   {
      "id":"71d5d988.8e2a28",
      "type":"SUSI-Temp",
      "name":"",
      "topic":"SUSI Temp",
      "pin":0,
      "x":328,
      "y":69,
      "z":"2395ff1f.dc6a",
      "wires":[
         [
            "3ef17d87.c10e82"
         ]
      ]
   },
   {
      "id":"401306eb.bfecf8",
      "type":"SUSI-Volt",
      "name":"",
      "topic":"SUSI Volt",
      "pin":0,
      "x":324,
      "y":135,
      "z":"2395ff1f.dc6a",
      "wires":[
         [
            "904c4718.6fb3b8"
         ]
      ]
   },
   {
      "id":"d97b8119.26848",
      "type":"SUSI-Fan",
      "name":"",
      "topic":"SUSI Fan",
      "pin":0,
      "x":325,
      "y":199,
      "z":"2395ff1f.dc6a",
      "wires":[
         [
            "f316ab80.0ce958"
         ]
      ]
   },
   {
      "id":"267a0728.d985f8",
      "type":"SUSI-Fan",
      "name":"",
      "topic":"SUSI Fan",
      "pin":0,
      "x":326,
      "y":254,
      "z":"2395ff1f.dc6a",
      "wires":[
         [
            "ad47140.f52b8f"
         ]
      ]
   }
]

Tested devices

| Vendor | Working | Note | |------------------------------------------------------|-----------|---------|------------------------------------------------------| | ADVANTECH AIMB-582 | YES | |

All Advantech platform ported SUSI4 driver should be able to support.

History

  • 0.0.1 - April 2015 : Initial Release

Authors

  • Neo Lo (https://github.com/neo7206)

License

Copyright 2014, 2015 ADVANTECH Corp. under the Apache 2.0 license.