readme update
readme update

file:a/README.md -> file:b/README.md
--- a/README.md
+++ b/README.md
@@ -8,9 +8,30 @@
 
     npm install node-red-contrib-onvif
 
-## Usage
+## Flows usage
+
+### Input
+```json
+msg.payload = {
+    url: "", // IP camera URL
+    username: "", // IP camera username
+    password: "", // IP camera password
+}
+```
+
+### Output
+```json
+msg.payload = {
+    image: {
+        "base64": "", // Base64 encoded image
+        "binary": "", // Binary image
+    }
+}
+```
+
+## Dashboard Usage
 
 ONVIF Snapshot returns msg.payload in the form of a base64 encoded image to use with a Node-RED Dashboard template
 
-    <img src="{{ msg.payload }}">
+    <img src="{{ msg.payload.image.base64 }}">
 

comments