Difference between revisions of "M2M Bridge"

From AMTech WikiDocs
Jump to: navigation, search
(Configuration)
 
(471 intermediate revisions by 4 users not shown)
Line 1: Line 1:
== Functionality ==
+
[[File:AmtechM2mBridge.svg|40px]] M2MBridge is a software stack that implements M2M edge functionality leveraging AMTech IoT Protocol
* Configurable edge intelligence
+
# [[M2MBridge Functionality|Functionality]]
* Bridges standard and proprietary protocols to AMTech IoT DAP.
+
# [[Configuration example]]
* Device-to-device or device-to-server communications.
+
# [[M2MBridge network]]
** MQTT, LLRP, CoAP, STOMP, SmartM2M, LWM2M, PLC, Zigbee and others
+
#: [[Aggregation]]
* Allow remote and centralized control of IoT devices and gateways.
+
#: [[Edge reasoners]]
** SNMP/MIB/TRAP, Reader Management and other
+
#: [[Mesh network]]
* Configurable autodiscover
+
# [[Intelligence at the Edge]]
* Implements common functionality and host the execution of the protocols
+
#: [[WhatIsAPlugin|What is a plugin?]]
* Network failure detection and recovery
+
#: [[EPC (Electronic product code)]]
* Get centralized configuration information at startup and real time modifications
+
#: [[Smoothing observations]]
* Access control policies to manage observation production and consumption
+
# [[Observations production and consumption]]
[[File:Example.jpg]]
+
# [[Cloud Configuration]]
 
+
#: [[Observation production config]]
== Configuration ==
+
#: [[Validation]]
*Edge/Device(s) site configuration bridgeConfig.json #1
+
#: [[Sample configuration for beacons]]
**located at M2MBridge root directory.
+
# [[Automatic updates on bridge instance delete]]
    {
+
# [[Implementation notes]]
    "description": "AMTech M2M Bridge", //text to label bridge instance
+
# [[How to implement a new plugin]]
        "dap":{
+
# [[Set up a new Raspberry PI]]
        <span style="color:red"> amtech IoT DAP ur </span>
+
# [[Edge Configuration|M2MBridge Edge Configuration]]
        =amtech IoT DAP url=
+
# [[M2MBridge updates]]
        "dapUrl": "https://dap.amtech.mx",      //amtech IoT DAP url
+
# [[How to install & execute]]
            "userId": "xxxxxxx@amtech.mx",      //userid for the m2mBridge instance
+
# [[HelloWorld plugin]]
            "tenant" : "xxxxxxx",              // tenant where bridge been configured
+
# Supported plugins
            "password" :"xxxxxxxx",            //m2mBridge userId password
+
## [[File:wi-fi.svg|35px]] [[File:tcp-ip.svg|35px]] [https://en.wikipedia.org/wiki/Ethernet Wifi or RJ45 Ethernet]
            "crudCommandUrl" :"/xx/xx/" //topic to get crud and command observations
+
##: [[File:SNMPDevice.svg|35px]] [[SNMPDevice]]
        },
+
##: [[File:LLRPReader.svg|35px]] [[LLRPReader]]
        "guestSecurity":{
+
##:: [[File:LLRPAntenna.svg|35px]] [[LLRPAntenna]]
        "guesttenants":["progressnext2016"],    //add guest tenants to observations send from bridge
+
##: [[File:thing-magic.svg|35px]] [[ThingMagicEPCReader]]
            "guestusers":[]         //add guest users to observations send from bridge
+
##:: [[File:LLRPAntenna.svg|35px]] [[LLRPAntenna]]
        },
+
##: [[File:plc-icon.svg|35px]] [[OPCUADevice]]
        "networkFailed" :{
+
##: [[File:modbus.svg|45px]] [[ModbusDevice]]
        "retries" : 5,
+
##: [[File:wioGeneric.png|45px]] [[Wio Devices]] (troubleshooting inside)
            "failedWait" : 3000,
+
##:: [[File:wioNode.svg.svg|35px]] [[wioNode]]
            "reconnectWait" : 60000         //re-connection delay after an instance of plug in failed
+
##:: [[File:wioLink.svg|35px]] [[wioLink]]
        },
+
## [[File:bt.svg|35px]] [https://en.wikipedia.org/wiki/Bluetooth_Low_Energy BLE 4.0]
        "pluginLoad" :{         //bridge startup configuration
+
##: [[File:BLEbeaconsScanner.svg|35px]] [[BLEbeaconsScanner]]
        "sendM2mBridgeError" : true //send observations error when errors occurred at bridge layer
+
##: [[File:bleOBDScanner.svg|35px]] [[BLEODB2Scanner]]
        },
+
##: [[File:BLEPeripheralsScanner.svg|35px]] [[BLEPeripheralsScanner]]
        "logger" :{
+
##: [[File:BluvisioniBEEK.jpg|65px]] [[BLEBluvisionBeeksScanner]]
        "colorize" : true, //colorize log console messages
+
##: [[File:BLEGattCentral.svg|35px]] [[BLEGattCentral]]
            "level": "debug" //log level
+
## [[File:i2c.svg|35px]] [https://en.wikipedia.org/wiki/I%C2%B2C I2C]
        },
+
##: [[File:watersensor.svg|35px]] [[PCA9536I2CWaterDetectionWithBuzzer]]
        "address" :{ //Address use to geo locate m2mBridge instance
+
##: [[File:TSL2561Light.svg|65px]] [[TSL2561I2CLight]]
        "country" : "usa",
+
##: [[File:soundvibration.svg|35px]] [[ADC121C021I2CSoundVibrationShock]]
            "city": "Las Vegas",
+
##: [[File:ncd-i2c.png|65px]] [https://store.ncd.io/shop/?fwp_interface=i2c-interface NCD I2C devices]
            "road": "Las Vegas Boulevard South",
+
##: [[File:grove-log.png|65px]] [https://www.seeedstudio.com/category/Grove-c-1003%7C%7C24.html?p=0 Grove devices via I2C]
            "number":"3960"
+
## [[File:usb-logo.svg|35px]] [https://en.wikipedia.org/wiki/USB USB 2.0]
        },
+
##: [[File:thing-magic.svg|35px]] [[ThingMagicEPCReader]]
        "bridgeId":"m2mBridgeProgressNext",      //Id to uniquely identify m2m Bridge instance, in absence of this    property a unique identifier gets created
+
##:: [[File:LLRPAntenna.svg|35px]] [[LLRPAntenna]]
        "autoDiscover":{
+
##: [[File:Phidgets-Logo.png|65px]] [https://www.phidgets.com/?tier=0&catid=3&pcid=12 Phidgets USB sensors]
        "execute" : false,                        //create things type instances at startup time
+
<!--##:[[File:modbus.svg|45px]] [[ModbusDevice]]-->
            "instances":{"SNMPDevice":[{...}], ...} //Jsonld instances to be created
+
## [[File:xbee-pro-900hp.svg|35px]] [https://www.digikey.com/catalog/en/partgroup/xbee-pro-900hp/33082?utm_adgroup=RF%20&%20RFID XBee-Pro 900HP]
        }
+
##: [[File:relay-home-automation.svg|35px]] [[NCDXbee900Relay]]
    }
+
##: [[File:energy-monitor.svg|35px]] [[NCDXbee900EnergyMonitor]]
 
+
##: [[File:ncd-i2c.png|65px]] [https://store.ncd.io/shop/?fwp_interface=900hp-s3b NCD devices supporting XBee-Pro 900HP communication]
== Extensible ==
+
<!-- ## [[File:libelium.svg|45px]] [[waspmoteBLECentral]]-->
 
+
##: [[File:libelium.svg|65px]] [http://www.libelium.com/libeliumworld/waspmote/ Libelium waspmote]
== Pluggable architecture ==
+
##:: [[File:SmartEnvironment.jpg|65px]] [[Smart environment PRO]]
 
+
##:: [[File:SmartAgriculture.png|65px]] [[Smart Agriculture]]
== Existing plugins ==
+
##:: [[File:SmartWater.jpg|65px]] [[Smart Water]]
 
+
##:: [[File:SmartWaterIons.png|65px]] [[Smart Water Ions]]
=== LLRP ===
+
##:: [[File:SmartCities.jpg|65px]] [[Smart Cities]]
 
+
##:: [[File:SmartParking.jpg|65px]] [[Smart Parking]]
=== Bluetooth ===
+
##:: [[File:SmartSecurity.jpg|65px]] [[Smart Security]]
 +
##:: [[File:Radiation.png|65px]] [[Radiation]]
 +
##:: [[File:AmbientControl.png|65px]] [[Ambient Control]]

Latest revision as of 11:16, 14 January 2019

AmtechM2mBridge.svg M2MBridge is a software stack that implements M2M edge functionality leveraging AMTech IoT Protocol

  1. Functionality
  2. Configuration example
  3. M2MBridge network
    Aggregation
    Edge reasoners
    Mesh network
  4. Intelligence at the Edge
    What is a plugin?
    EPC (Electronic product code)
    Smoothing observations
  5. Observations production and consumption
  6. Cloud Configuration
    Observation production config
    Validation
    Sample configuration for beacons
  7. Automatic updates on bridge instance delete
  8. Implementation notes
  9. How to implement a new plugin
  10. Set up a new Raspberry PI
  11. M2MBridge Edge Configuration
  12. M2MBridge updates
  13. How to install & execute
  14. HelloWorld plugin
  15. Supported plugins
    1. Wi-fi.svg Tcp-ip.svg Wifi or RJ45 Ethernet
      SNMPDevice.svg SNMPDevice
      LLRPReader.svg LLRPReader
      LLRPAntenna.svg LLRPAntenna
      Thing-magic.svg ThingMagicEPCReader
      LLRPAntenna.svg LLRPAntenna
      Plc-icon.svg OPCUADevice
      Modbus.svg ModbusDevice
      WioGeneric.png Wio Devices (troubleshooting inside)
      WioNode.svg.svg wioNode
      WioLink.svg wioLink
    2. Bt.svg BLE 4.0
      BLEbeaconsScanner.svg BLEbeaconsScanner
      BleOBDScanner.svg BLEODB2Scanner
      BLEPeripheralsScanner.svg BLEPeripheralsScanner
      BluvisioniBEEK.jpg BLEBluvisionBeeksScanner
      BLEGattCentral.svg BLEGattCentral
    3. I2c.svg I2C
      Watersensor.svg PCA9536I2CWaterDetectionWithBuzzer
      TSL2561Light.svg TSL2561I2CLight
      Soundvibration.svg ADC121C021I2CSoundVibrationShock
      Ncd-i2c.png NCD I2C devices
      Grove-log.png Grove devices via I2C
    4. Usb-logo.svg USB 2.0
      Thing-magic.svg ThingMagicEPCReader
      LLRPAntenna.svg LLRPAntenna
      Phidgets-Logo.png Phidgets USB sensors
    5. Xbee-pro-900hp.svg XBee-Pro 900HP
      Relay-home-automation.svg NCDXbee900Relay
      Energy-monitor.svg NCDXbee900EnergyMonitor
      Ncd-i2c.png NCD devices supporting XBee-Pro 900HP communication
      Libelium.svg Libelium waspmote
      SmartEnvironment.jpg Smart environment PRO
      SmartAgriculture.png Smart Agriculture
      SmartWater.jpg Smart Water
      SmartWaterIons.png Smart Water Ions
      SmartCities.jpg Smart Cities
      SmartParking.jpg Smart Parking
      SmartSecurity.jpg Smart Security
      Radiation.png Radiation
      AmbientControl.png Ambient Control