JSPM

blynk_aqara

0.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q25687F
  • License UNLICENSED

link data of aqara devices to blynk (source code from homebridge-aqara. Thanks to snOOz)

Package Exports

  • blynk_aqara

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (blynk_aqara) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

blynk-aquara

  • The source code is from the project homebridge-aqara Thanks to @snOOrz

https://raw.githubusercontent.com/rockmanqh/blynk-aquara/master/blynk-aqara.png

http://xiaomi-mi.com/uploads/CatalogueImage/fgfg%20(1)_13743_1435134515.jpg

  • Get data from aqara devices

    • Xiaomi Temperature-Humidity
    • Xiaomi Contact sensor
  • Create a blynk project and put the token key in the udpserver.js file

    • Add 3 label in the project
    • Set the virtual pin for each label : V0, V1, V2
  • Put the token key in the udpserver.js file

    • var AUTH = 'yourtokenkeyhere';
    • var v_temp = 'V0';
    • var v_hum = 'V1';
    • var v_door = 'V2';
  • Run the project

    • install plugin request: npm install request -g

    • test code:
      node udpserver.js

    • run code on reboot: @reboot /usr/local/bin/node /home/pi/udpserver.js