iobroker.modbus 5.0.4 → 5.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -128,6 +128,8 @@ The Formula is executed by the eval() function. Therefore, all common functions
128
128
 
129
129
  In the formula, "x" has to be used for the read value from Modbus. E.g. `x * Math.pow(10, sf['40065'])`
130
130
 
131
+ Using the "sf" array (see above example) you can access other read modbus values if they are flagged as "Scale Factor" in the config (see below infos on "SF" flag).
132
+
131
133
  If the formula cannot be evaluated during runtime, then the Adapter writes a warning message to the log.
132
134
 
133
135
  Another use case for formulas could also be to prevent implausible data with a formula like `x > 2000000 ? null : x`
@@ -276,6 +278,9 @@ There are some programs in folder *test' to test the TCP communication:
276
278
  ### **WORK IN PROGRESS**
277
279
  -->
278
280
  ## Changelog
281
+ ### 5.0.5 (2022-08-13)
282
+ * (Apollon77) Prevent some crash cases reported by Sentry
283
+
279
284
  ### 5.0.4 (2022-06-15)v
280
285
  * (bluefox) Corrected the coils reading in slave mode
281
286
  * (bluefox) Corrected type of connection indicator
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "files": {
3
3
  "main.css": "./static/css/main.96b3c861.css",
4
- "main.js": "./static/js/main.9ab56ea5.js",
4
+ "main.js": "./static/js/main.92002ca6.js",
5
5
  "index.html": "./index.html",
6
6
  "main.96b3c861.css.map": "./static/css/main.96b3c861.css.map",
7
- "main.9ab56ea5.js.map": "./static/js/main.9ab56ea5.js.map"
7
+ "main.92002ca6.js.map": "./static/js/main.92002ca6.js.map"
8
8
  },
9
9
  "entrypoints": [
10
10
  "static/css/main.96b3c861.css",
11
- "static/js/main.9ab56ea5.js"
11
+ "static/js/main.92002ca6.js"
12
12
  ]
13
13
  }
@@ -1 +1 @@
1
- <!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="shortcut icon" href="./favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"/><meta name="theme-color" content="#000000"/><link rel="manifest" href="./manifest.json"/><script type="text/javascript" src="./../../lib/js/socket.io.js"></script><title>Modbus</title><script defer="defer" src="./static/js/main.9ab56ea5.js"></script><link href="./static/css/main.96b3c861.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
1
+ <!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="shortcut icon" href="./favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"/><meta name="theme-color" content="#000000"/><link rel="manifest" href="./manifest.json"/><script type="text/javascript" src="./../../lib/js/socket.io.js"></script><title>Modbus</title><script defer="defer" src="./static/js/main.92002ca6.js"></script><link href="./static/css/main.96b3c861.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>