Skip to content

Commit

Permalink
chore(bump): bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
biancode committed Dec 6, 2022
2 parents 8985968 + dd6c263 commit e3c008e
Show file tree
Hide file tree
Showing 121 changed files with 11,158 additions and 7,710 deletions.
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# These are supported funding model platforms
custom: ["https://github.com/sponsors/BiancoRoyal", https://bianco-royal.space/supporter/", "https://opencollective.com/node-red-contrib-modbus", "https://noderedplus.de/"]
custom: ["https://github.com/sponsors/BiancoRoyal", https://bianco-royal.space/supporter/", "https://opencollective.com/node-red-contrib-modbus", "https://www.noderedplus.de/"]
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Please make sure you've read our contributing guidelines (https://github.com/Bia

**Does this Pull Request introduce any potentially breaking changes?**
<!--
If you have made any changes to the message format sent between nodes or to a node's configuration,
If you have made any changes to the message format sent between units or to a node's configuration,
please include bullet points of what changed and what a current user needs to update to keep the same
behavior they have with the previous version.
-->
65 changes: 63 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,75 @@
## [5.23.3](https://github.com/biancoroyal/node-red-contrib-modbus/compare/v5.23.1...v5.23.3) (2022-11-14)
# [5.24.0](https://github.com/biancoroyal/node-red-contrib-modbus/compare/v5.23.1...v5.24.0) (2022-12-06)


### Bug Fixes

* added missing verbose warn ([4082952](https://github.com/biancoroyal/node-red-contrib-modbus/commit/4082952624d6336d9463d8793415d786d45a2d9f))
* adjusted failing tests to tcp ports ([5db0e99](https://github.com/biancoroyal/node-red-contrib-modbus/commit/5db0e996c2b95b27cb245ee335cc53d82bdecb65))
* fixed failing tests using same ports ([06080d4](https://github.com/biancoroyal/node-red-contrib-modbus/commit/06080d452b0efd71d5f516d14137c24161e984c7))
* **flex-getter:** corrected isReadyForInput ([806ee4c](https://github.com/biancoroyal/node-red-contrib-modbus/commit/806ee4cb33659744708e80fad7d51e9f7b7c9edc))
* **flex-getter:** fixed failing tests ([1ab96b3](https://github.com/biancoroyal/node-red-contrib-modbus/commit/1ab96b30ec198aafffc288f1b81d626929c262a1))
* **flex-getter:** revise DelayOnStart ([c9d246a](https://github.com/biancoroyal/node-red-contrib-modbus/commit/c9d246a1627dbadb7a0bbd3e3b39c9429a10f859))
* **flex-server:** changed var to const ([d638d53](https://github.com/biancoroyal/node-red-contrib-modbus/commit/d638d5368b3e13700a0fd3aaaa434aae6be8d522))
* **flex-write:** deleted unused flow ([2f0baee](https://github.com/biancoroyal/node-red-contrib-modbus/commit/2f0baee699a25d0c21eaf95773ab67f4dccd47f6))
* **flexGetter-verboseWarn:** node.serverInfo is left from client - removed ([94c58db](https://github.com/biancoroyal/node-red-contrib-modbus/commit/94c58db6b17d58097a5db413301b0e8b2bd43751))
* **isReadyForInput:** now checks ONLY for readyforinput. Rest in onInput ([99f60a8](https://github.com/biancoroyal/node-red-contrib-modbus/commit/99f60a821d1a8192a9074016f668c7c04b0c740c))
* Node-RED PLUS changed to PLUS for Node-RED ([f726949](https://github.com/biancoroyal/node-red-contrib-modbus/commit/f72694954b2d3d07e65766c00dcb9274ffb1fd66))
* **not-ready-for-input-warning:** removed unnecessary variable/option ([d435b9b](https://github.com/biancoroyal/node-red-contrib-modbus/commit/d435b9b5964c11644af9d951879e61ff84009b40))
* **test:** same port on test ([b6f531f](https://github.com/biancoroyal/node-red-contrib-modbus/commit/b6f531fafbe7b22b4d3812dd20fa68e2f7a9e97f))
* **verboseWarn:** verboseWarn accidentally used func left from client ([c0d88cd](https://github.com/biancoroyal/node-red-contrib-modbus/commit/c0d88cd424eee6287fec3fa71c295d30fe4cad7c))


### Features

* added test-helper-extension ([c4b493d](https://github.com/biancoroyal/node-red-contrib-modbus/commit/c4b493d9fad7a3d1ff17b71fda117ca7a35b5216))
* added "inactive"-test ([03c744a](https://github.com/biancoroyal/node-red-contrib-modbus/commit/03c744ae8c3bfbae0d3e9df58ab08b8e6d2f7529))
* added isActive function ([6005960](https://github.com/biancoroyal/node-red-contrib-modbus/commit/6005960dc15ad21f8c3511ddc8e101494e25f955))
* added isInactive check on input ([92f49da](https://github.com/biancoroyal/node-red-contrib-modbus/commit/92f49da992f7ebf0bec2d7b81bcf63046c1576c2))
* added more point to Todo ([84f39ad](https://github.com/biancoroyal/node-red-contrib-modbus/commit/84f39ad70b60ba98b0d000f333b2784043add9a6))
* added more Todo notes ([30c5e80](https://github.com/biancoroyal/node-red-contrib-modbus/commit/30c5e808750e4c6ae9505ce045f4a1eff152e7aa))
* added planned updates for release ([765a549](https://github.com/biancoroyal/node-red-contrib-modbus/commit/765a5494f2db059d16ad25d4983219fdbabf9e9e))
* added test coverage to Todo ([6148dd5](https://github.com/biancoroyal/node-red-contrib-modbus/commit/6148dd5dca533b2e5a628dc1a40cece7c77c4be6))
* added tests for Client check ([55c235e](https://github.com/biancoroyal/node-red-contrib-modbus/commit/55c235e347885c06e7f37e03e096384fca0fc7de))
* added Todo content ([94d46e8](https://github.com/biancoroyal/node-red-contrib-modbus/commit/94d46e8c4b14e8ba695e4c5edcdf6849e2f8e4c0))
* added Todo content, excecuted clean.sh ([8f1977c](https://github.com/biancoroyal/node-red-contrib-modbus/commit/8f1977c01bde6a53cafae6224a7156f8ea827ec2))
* adjusted TODO and package.json ([c481b6f](https://github.com/biancoroyal/node-red-contrib-modbus/commit/c481b6f7885fad2349e98bf1e46d61ab7318a61f))
* **clex-connector-test:** organized code ([92c9e37](https://github.com/biancoroyal/node-red-contrib-modbus/commit/92c9e37d6f1e94975b86fe4b16e96601e1ef477e))
* **client-flows:** extracted and updated flows ([7c40530](https://github.com/biancoroyal/node-red-contrib-modbus/commit/7c405300e8fea8ceeabd8e0e4e15145fcd67a2cd))
* **client-test:** added "ready to send"-tests ([368e6cd](https://github.com/biancoroyal/node-red-contrib-modbus/commit/368e6cdea7201914137a5a207ce619530c917bfd))
* **client-tests:** organized code ([830b0ce](https://github.com/biancoroyal/node-red-contrib-modbus/commit/830b0cee067ad9e5ef35478eb06e589ea3affcbc))
* **delay-flex-getter:** added delay after start ([f68d666](https://github.com/biancoroyal/node-red-contrib-modbus/commit/f68d66632461d2642f531d84eaa884777b640132))
* **flex-connector-flows:** extracted and updated flows ([6f4330c](https://github.com/biancoroyal/node-red-contrib-modbus/commit/6f4330c9a57bce71c696a9ed499759f1d227e3a1))
* **flex-connector:** added "ready to send" tests ([11d5b1e](https://github.com/biancoroyal/node-red-contrib-modbus/commit/11d5b1e3526b658b9f385aad66874b0673395801))
* **flex-getter-flows:** extracted and updated flows ([db2471b](https://github.com/biancoroyal/node-red-contrib-modbus/commit/db2471bff6e0009b7fa45644a53267e45ad163a4))
* **flex-getter-test:** organized code ([981a15e](https://github.com/biancoroyal/node-red-contrib-modbus/commit/981a15e302f05c8ea6f1c1d742d9876a5ad37d61))
* **flex-getter:** added html information for node ([c74dc2d](https://github.com/biancoroyal/node-red-contrib-modbus/commit/c74dc2dba7820707cbe7aebe29b0a3b5d7b95e91))
* **flex-getter:** finished implementing delay + ([9656e8f](https://github.com/biancoroyal/node-red-contrib-modbus/commit/9656e8f6886d2cb941eb1d54f2e7a71c9bebebf8))
* **flex-getter:** finished implementing delay + warnings ([9782a0d](https://github.com/biancoroyal/node-red-contrib-modbus/commit/9782a0daf180fcaebae0aaf39a4da254cdcd4b8f))
* **flex-getter:** further implementing "delayOnStart" ([7666d95](https://github.com/biancoroyal/node-red-contrib-modbus/commit/7666d957ebaf89593d1d004dd8cdae437134e2e1))
* **flex-getter:** implemented readyForInput ([70bff72](https://github.com/biancoroyal/node-red-contrib-modbus/commit/70bff720af0175eee6a4662bb7415d5ce79aac96))
* **flex-getter:** started implementing "showWarnings" + "DelayOnStart" ([d9db52a](https://github.com/biancoroyal/node-red-contrib-modbus/commit/d9db52a5fa4851c71dbc8ea41ff020056bc6ab69))
* **flex-getter:** startted implementing showReadyForInput ([55b107c](https://github.com/biancoroyal/node-red-contrib-modbus/commit/55b107c0a281a57fa80de921dd35bd5df759c6bd))
* **flex-sequencer-test:** changed var to const ([ffbf9ff](https://github.com/biancoroyal/node-red-contrib-modbus/commit/ffbf9ffae7c10f66ab8bc8224784ffb10249ed02))
* **flex-sequencer:** added "Ready-To-Read" tests ([43e34d6](https://github.com/biancoroyal/node-red-contrib-modbus/commit/43e34d61e4d3e2fe7b3bd1b60407627955ba6346))
* **flex-sequencer:** extracted and updated flows ([b8c12b9](https://github.com/biancoroyal/node-red-contrib-modbus/commit/b8c12b94e8f3e485348b462d1a0f0cd031a19723))
* **flex-server:** extracted and updated flows ([64d69ea](https://github.com/biancoroyal/node-red-contrib-modbus/commit/64d69ea0a83d20a5d3951e540c0fbba261aaf22c))
* **flex-write:** added "ready to send"-tests ([9d35d13](https://github.com/biancoroyal/node-red-contrib-modbus/commit/9d35d131358ba8ac2dc44c1cff2b5c1460f117e7))
* **flex-write:** extracted and updated flows ([38e4b18](https://github.com/biancoroyal/node-red-contrib-modbus/commit/38e4b18e6e1b56630cd37c5a8aa70e5f87b45a05))
* **getter-flows:** updated flows to be organized ([5c6239a](https://github.com/biancoroyal/node-red-contrib-modbus/commit/5c6239a5e5220b96d2585ff16da32df64be19402))
* **getter:** organized Code ([19da2dc](https://github.com/biancoroyal/node-red-contrib-modbus/commit/19da2dc4cd02ea9cc1e7c29a8d0c6ec6e5af8dbf))
* **io-config:** extracted and updated flows ([e037a59](https://github.com/biancoroyal/node-red-contrib-modbus/commit/e037a59d726b1ad3fddadac3948befcc367f18ae))
* optimized and extracted server flows ([7456528](https://github.com/biancoroyal/node-red-contrib-modbus/commit/745652821bc7a341f966f4762711c43df900ed1c))
* option show warning and tabs for optionals ([12fa45e](https://github.com/biancoroyal/node-red-contrib-modbus/commit/12fa45e58a5fb83a1e9c06dc01cbadb7ca1fcaba))
* **queue-info:** extracted and updated flows ([1b668fa](https://github.com/biancoroyal/node-red-contrib-modbus/commit/1b668fa2679e0d121a27093671eae1464d76aa7c))
* ran clean script, updated Todo ([f6f142f](https://github.com/biancoroyal/node-red-contrib-modbus/commit/f6f142f4ceab790395d159e8ccf43ce613a66436))
* **read-flows:** updated flows to be organized ([ccfece8](https://github.com/biancoroyal/node-red-contrib-modbus/commit/ccfece87345f28d3bbf8bff658710e34ee47fc59))
* **ReadyToSend:** added test to test-classes ([ee1f924](https://github.com/biancoroyal/node-red-contrib-modbus/commit/ee1f924f6007b6a3d0be358919497ef475041f48))
* **response-filter:** added Client check test ([9db71b6](https://github.com/biancoroyal/node-red-contrib-modbus/commit/9db71b6b762df1956ef209f0600ede4a4dee439c))
* **response-filter:** extracted and updated flows ([93e10f8](https://github.com/biancoroyal/node-red-contrib-modbus/commit/93e10f8df273efbe417b4cc1db984bb039d15054))
* **response-filter:** prepared flow-extraction ([39092de](https://github.com/biancoroyal/node-red-contrib-modbus/commit/39092de5f800c2301cb11b1d58485351ba3ca26f))
* **response:** extracted and updated flows ([6930e37](https://github.com/biancoroyal/node-red-contrib-modbus/commit/6930e37c94aa5b2e7c0899c2c78fdec074e49d50))
* simplified code with new function ([15c06e2](https://github.com/biancoroyal/node-red-contrib-modbus/commit/15c06e28e748fd87ace7b70e5b09f656fe32f276))
* **write-flows:** updated flows to be organized ([b32cd54](https://github.com/biancoroyal/node-red-contrib-modbus/commit/b32cd5457d4aa16c5c1b7abac04fb415e20264ee))
* wrote test for messageAllowedStates ([e2c92ec](https://github.com/biancoroyal/node-red-contrib-modbus/commit/e2c92ec24561eea85c5d90f60d30b1c46501808c))



Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@

[![nodemodbus64](images/modbus-icon64.png)](https://www.npmjs.com/package/node-red-contrib-modbus)

## International Node-RED IIoT Website
## International IIoT Website for Node-RED

For an international area, [Iniationware][15] has provided the [PLUS for Node-RED International][16] website.

## Node-RED IIoT Webseite Deutschland
## IIoT Webseite Deutschland für Node-RED

Für einen deutschsprachigen Bereich hat [Iniationware][15] die Webseite [PLUS for Node-RED Germany][17] bereitgestellt.

Expand Down
199 changes: 199 additions & 0 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,199 @@
# TODO

- closed Issues
- excel list
- work on tcp first
- serial modbus server
- extract Todo (Jira)
- set priorities
- Stale issues
- recreate and rebuild with helper-node
- use as test-flow (issues flow - server flows - read - write)
- look for tests in modbus-serial
- mention new test in new version in issue-comments
- milestones for 6.12.
- better exception handling (security issue)
- Systemexceptions abfangen Javascript?
- [Errors-V.18](https://nodejs.org/docs/latest-v18.x/api/errors.html)
- Welche Exceptions gibt es, was passiert bei den verschiedenen Fehlern und wie kann ich sie einfangen
- testing examples (function)
- e2e usable examples
- change to test helper (--> already changed to Test Helper)
- nvm install
- v. 14/16/18 node.js (with Node-RED)
- 18 set default
- check e2e in all versions
- write shell script
- 14/16/18
- version 18
- check failing tests
- modbus serial new version put in v.18
- Research Modbus Lib

- Modbus Client
- Funktionen
- Read
- Multiple Read
- Write
- Multiple Write
- Modbus Crawler
- Adresse 0 - n durchlaufen bis unbekannte Adresse
- ggf. set area
- goAhead on errors option (jump empty inbetween)
- Sequence Read (Sequencer)
- Sequencer Write
- write around five things after each other
- Modbus Server
- TSL-Verschlüsselung möglich (nicht für 6.12.)
- secured modbus vorbereiten
- Modbus Flex-Server
- rework
- maybe different package
- vm critical point (security issues)
- Modbus Flex-Getter
- more tests for mentioned issues

- Issue
- js Modbus unsafe / schlecht gepflegt

- Payload Structure
- modbusBuffer: []
- modbusItems: []
- modbusItem: Any
- metadata
- serviceType: String (switch-case)
- modbusBufferLength: Int
- modbusItemsLength: Int
- hasModbusBuffer: bool
- hasModbusItem: bool
- hasModbusItems: bool
- last priority
- separate serial and tcp
- separation with new core packages
- Goal: core
- which test is for serial
- own modbus simulator / demo server (for PlusForNodeRED)
- [Modbus simulator installation](https://www.youtube.com/watch?v=c9flM7UZ-gY)
- [Modbus Simulator ModRSsim2](https://sourceforge.net/projects/modrssim2/)
- Modbus serial
- serialport check node.js version
- which node.js allowed
- package.json "engines" checken
- (node-modbus-serial no engines!)

- Bibliothek keep current forked project
- right version (check)
- for test and for dev
- use sh shell
- package.json
- dependency ~
- dev-dependency ^
- use npx for script in package.json (test, build, coverage)
- xstate/fsm check for version (2.0.0)
- find tests or write tests

- Research
- "npm install" or "npm i" when it comes to dev-dependencies/dependencies

- JS Source 2021
- [JS Version W3school](https://www.w3schools.com/js/js_2021.asp)
- JS Deploy 2017

- Modbus Specifications
- Modbus SunSpec (PV-protocol)
- issue [#340](https://github.com/BiancoRoyal/node-red-contrib-modbus/issues/340)

- contact creator and seller of PV Wallbox and heat pumps

- check nvm versioning in Shell
- **Always same Output for Node-RED package**


Current State (14.11. - v5.23.3):
- Tests
- check tests (231 master - 166 develop)
- compare tests
- Test Coverage (14.11. - v5.23.3)
- Statements : 74.7% (1813/2427)
Branches : 63.18% (719/1138)
Functions : 75.61% (217/287)
Lines : 74.75% (1809/2420)

- Documentation
- Funktionsbausteine extra erwähnen
- Specification
- if missing, maybe contribution

Flex-Getter
- mehr Tests
- für jeden Function Code einen Test
- Filter Github-Issues:
- "closed" obwohl noch nicht geklärt? (Stale issues)

Flex-Writer
- mehr Tests

## Video für Releases
- Deutsch/Englisch
- Vermerk auf andere Sprache
- Kamera von oben herab
- Shorts mit einbauen
- Vermerk Plus4NodeRed
- Sterne
- MacBook einrichten
- Tutorials
- Was wurde gemacht?
- Was wurde dazu in Plus4NodeRed Content geschrieben
- Nicht länger als eine Minute
Präsentation --> 6.12.
Video --> 9.12.
- Verweis Kontaktformular auf noderedplus.de

Client
- function isConnected (queueing, active)

F1, F3, F4

**Issue: Check Client Ready To Send**

Flex-Getter line 148, use similar in all nodes using the client.
- flex-connector
- flex-sequencer
- flex-write
- getter
- write

use receive with random message (test)
do we have the client
is client inactive?
- flex-connector
- flex-getter
- flex-write




inject once - helper not receive anything

Node-RED option to catch "warnings". Maybe catch-Node set to warnings if possible

Read - interval

Ports doppelt? &#x2611;

Node-RED read with Aqua-Tool Jetbrains?

0 als Broadcast


Funktionalität delay

Write/getter

Input on first delay (10 seconds)
Wie bei Read (Delay on Start)
isReady
verboseWarn if not ready (Wait for one delay)

Option do not warn on not ready for input
verboseWarn output disable/enable warnings
2 changes: 1 addition & 1 deletion examples/CODESYS-CSV-To-IO.json
Original file line number Diff line number Diff line change
Expand Up @@ -138,4 +138,4 @@
[]
]
}
]
]
Loading

0 comments on commit e3c008e

Please sign in to comment.