一件事如果沒有它發生之理,那它能夠發生的嗎?假使那事果然都不發生,又如何能夠得到那個發生之理?這就是『事、理不二』的道理,發生之事蘊有發生之理,發生之理緣起發生之事。那『空山樹倒』是否是發生了一件事呢?假使有人砍了你的『櫻桃樹』又是不是發生了一件事的呢??
《易繫辭》說:艮,東北之卦也,萬物之所成終而所成始也,故曰成言乎艮。又說:終萬物始萬物者莫盛乎艮 。
艮:艮其背,不獲其身,行其庭,不見其人,無咎。
彖曰:艮,止也。 時止則止,時行則行,動靜不失其時,其道光明。 艮其止,止其所也。 上下敵應,不相與也。 是以不獲其身 ,行其庭不見其人,無咎也。
象曰:兼山,艮﹔君子以思不出其位。
初六:艮其趾,無咎,利永貞。
象曰:艮其趾,未失正也。
六二:艮其腓,不拯其隨,其心不快。
象曰:不拯其隨,未退聽也。
九三:艮其限,列其夤,厲薰心。
象曰:艮其限,危薰心也。
六四:艮其身,無咎。
象曰:艮其身,止諸躬也。
六五:艮其輔,言有序,悔亡。
象曰:艮其輔,以中正也。
上九:敦艮,吉。
象曰:敦艮之吉,以厚終也。
論語《里仁》子曰:『參乎!吾道一以貫之。』曾子曰:『唯。』子出。門人問曰:『何謂也?』曾子曰:『夫子之道,忠恕而已矣。』
以及
老子第三十九章中講︰
昔之得一者,天得一以清,地得一以寧,神得一以靈,谷得一以盈,萬物得一以生,侯王得一以為天下貞。其致之。天無以清則恐裂,地無以寧則恐發,神無以靈則恐歇,谷無以盈則恐竭,萬物無以生則恐滅,侯王無以貞高則恐蹶。故貴以賤為本,高以下為基。是以侯王自謂孤寡不穀,此非以賤為本耶?非乎?人之所惡 ,唯孤寡不穀,而侯王以為稱。故致譽無譽。不欲琭琭如玉,珞珞如石。
正是《止》於《一》之『學問』大道。希望人們知道所謂『道德』之名,實在說的是『得到』── 得道── 的啊!!
如果說『氣候』持續變遷,有朝一日,假使乾坤都『無路』可走,人又該往向『何方』的呢??
─── 《○ 《止》何處!?》
放眼天下誰爭第二!
Things Gateway by Mozilla
AWS IoT Device SDK for Python
The AWS IoT Device SDK for Python allows developers to write Python script to use their devices to access the AWS IoT platform through MQTT or MQTT over the WebSocket protocol. By connecting their devices to AWS IoT, users can securely work with the message broker, rules, and the device shadow (sometimes referred to as a thing shadow) provided by AWS IoT and with other AWS services like AWS Lambda, Amazon Kinesis, Amazon S3, and more.
Overview
This document provides instructions for installing and configuring the AWS IoT Device SDK for Python. It includes examples demonstrating the use of the SDK APIs.
MQTT Connections
The SDK is built on top of a modified Paho MQTT Python client library. Developers can choose from two types of connections to connect to AWS IoT:
- MQTT (over TLS 1.2) with X.509 certificate-based mutual authentication.
- MQTT over the WebSocket protocol with AWS Signature Version 4 authentication.
For MQTT over TLS (port 8883), a valid certificate and a private key are required for authentication. For MQTT over the WebSocket protocol (port 443), a valid AWS Identity and Access Management (IAM) access key ID and secret access key pair are required for authentication.
Device Shadow
A device shadow, or thing shadow, is a JSON document that is used to store and retrieve current state information for a thing (device, app, and so on). A shadow can be created and maintained for each thing or device so that its state can be get and set regardless of whether the thing or device is connected to the Internet. The SDK implements the protocol for applications to retrieve, update, and delete shadow documents. The SDK allows operations on shadow documents of single or multiple shadow instances in one MQTT connection. The SDK also allows the use of the same connection for shadow operations and non-shadow, simple MQTT operations.
曾經領先果真甘退幕後?
Connect a Raspberry Pi to IBM Watson IoT Platform
Use a Raspberry Pi to connect to IBM Watson IoT Platform. Then you can visualize the data generated by the Raspberry Pi
世間事,隨或且易??
Mosquitto
An Open Source MQTT v3.1/v3.1.1 Broker
Eclipse Mosquitto™ is an open source (EPL/EDL licensed) message broker that implements the MQTT protocol versions 3.1 and 3.1.1. MQTT provides a lightweight method of carrying out messaging using a publish/subscribe model. This makes it suitable for “Internet of Things” messaging such as with low power sensors or mobile devices such as phones, embedded computers or microcontrollers like the Arduino.
Mosquitto is an iot.eclipse.org project
止之道,恐難定靜矣!!