{"_id":"@codekilo/signalk-modbus-client","_rev":"3-2510db379858a6e8ef2fbb78009748a7","name":"@codekilo/signalk-modbus-client","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@codekilo/signalk-modbus-client","version":"1.0.0","description":"a plugin for SignalK to read data via modbus","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/codekilo/signalk-modbus-plugin.git"},"keywords":["signalk-node-server-plugin"],"author":{"name":"Albert Smit","email":"albertsmit93@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/codekilo/signalk-modbus-plugin/issues"},"homepage":"https://github.com/codekilo/signalk-modbus-plugin#readme","dependencies":{"jexl":"^2.2.2","modbus-serial":"^7.7.3"},"gitHead":"ce28f64e7c456f769390acf0bc540c063ecd6175","_id":"@codekilo/signalk-modbus-client@1.0.0","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"integrity":"sha512-mTYQUTFu9MI7lanxVb2ihJ1qDzQnHhw6gFG8D2G8wzZmYT52RdOpIWEfCDXbuEOQzhO/hdO1IjYue/RN51BiFQ==","shasum":"5b28fae76abdebd952ec450990d27e39656d1901","tarball":"https://registry.npmjs.org/@codekilo/signalk-modbus-client/-/signalk-modbus-client-1.0.0.tgz","fileCount":4,"unpackedSize":12138,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe6eBMCRA9TVsSAnZWagAAUe8QAJwvcdqBWelObVNQyG7f\nNxSmouYHUEscmmtXXXn0n9tVa7zMnbmO2mGmq8Kajld1bxdqei5PGekitq2Z\nkOjbKyhdZpnwdOqritfRO7fvyBE7/Baq9MSJ9reURgFHOI2alllZASQ9u/IO\nnI2ns8Bp4cN565wQVmCrpBrUGqmAl/ZrNtJQeN9xA8XeVNMfjf+1+M9o+/DM\nzoc/ueQ8zg1TwJidOEbcEuuxZNqq3Xr6cLTMGUQ1wo4EYyazR8eM9cGMFY+b\n/j+ZFldF5ObdLCTaAA0FToqoinBbgkz0PpcxrdRE+gzCRdQDB+6aw4Em5Fkd\nstsfq2UeuM1ZY5qxa5Sv0IMHUEKeNoOgSuCE4/57gpIttjW/QPyXCDbFBvR1\nJ8g2VOy+krd1mdJz7ypct6h3G9Kqh0YYDbJ/feg1bgzesmBwiWz6tyDumxd4\nYKtU8U1picwBEXZlcNTXLflg0I/N1ebhg0oBsbUNjJA9yv8UZfNjGqmVAxAy\nzv8gQcaT1cFFfarjovyQgMx1sABwiMJIy0Ew/RVzAQjURPqqEImgyUhDSMk+\nl0dVHlcB+/6lcI83ujt7qVQjIceNgzR+pQ60UAMdbZgekEju294ZzDkl3PZW\nJApIM56ox7CtiSSFBk6htZST7WUPnM+fNk5YX/+P4fnviZHC2aPbbrJau0Sc\nDjGo\r\n=AqmL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCdyeLsKLWfVipPzWhpJSDNXd9XPee++dh73rR6dOgrLAIgFsOS9wOrMWLNth5Agf1wQCx4Agld/TFvsWb8ca9lLEA="}]},"maintainers":[{"name":"albert-smit","email":"albertsmit93@gmail.com"},{"name":"munnik","email":"martijndemunnik@protonmail.com"}],"_npmUser":{"name":"albert-smit","email":"albertsmit93@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/signalk-modbus-client_1.0.0_1592385612520_0.04513574314663926"},"_hasShrinkwrap":false},"1.0.1":{"name":"@codekilo/signalk-modbus-client","version":"1.0.1","description":"a plugin for SignalK to read data via modbus","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/codekilo/signalk-modbus-plugin.git"},"keywords":["signalk-node-server-plugin"],"author":{"name":"Albert Smit","email":"albertsmit93@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/codekilo/signalk-modbus-plugin/issues"},"homepage":"https://github.com/codekilo/signalk-modbus-plugin#readme","dependencies":{"jexl":"^2.2.2","modbus-serial":"^7.7.3"},"gitHead":"18fd6d4d59388f0b3087fd520eadf50f2d2b75db","_id":"@codekilo/signalk-modbus-client@1.0.1","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"integrity":"sha512-KKJR9tTFoVC/wBMf5uV2yhdnC03RDFtOIjA2ajPJKBwYNti2ISdfVumBQwfWbTHiySqRz70xuT9osvMQSoJ8zQ==","shasum":"f14a511bfe3baf6830771f743d7f3b047a49922d","tarball":"https://registry.npmjs.org/@codekilo/signalk-modbus-client/-/signalk-modbus-client-1.0.1.tgz","fileCount":4,"unpackedSize":12258,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe6eGZCRA9TVsSAnZWagAABhUP/2XyNAqYYrYSeXpSttR8\ni0Qizly8+gEVClNfzzp2nTptu6NiUVe6fxUc/WJ8gjZWikh1SglZInKimRy5\n39g4bpOexRJztqhnRQqgqB1fbwkY/dB+h2iCdZDsy7LyFc8AK8rA6Olz+Tnq\n31iRnNiIGtcdSdKGApEGdag1w3toMJoHsIOpmZ2EmER2a5dQu4W4xGbLWHue\nf31ut0LEE/SVmIs9WBPj+ktgAlsFNK7+xgEiPK+eqI/iN7tcFqaLbg7a7fDK\njMJf0Tu8P20WSS4K1vgbbgYyx7AhEnNAHuP7Opf6wINR9Qtcag6u6qmrG7rH\nUiMNt+hZaFv+yuCNYQEqnv8c2KrmI5mLCI7JNnsG2mbF1jom4yEEEZCUPN+H\nE9/Wqsy0Q5IKDE70rkR1WWGY4N9DlUclmhKHCoM5TBmpQCMmNQxlV63tvUi0\nR6wrQt9iNoZ+B80MdQ1/qTQXh6fzlHASAeEMD9fMKaI3FJVqC+EnVXGJOiSU\nATk/YzYBthgnBzKk9AW7cS8MJ1pritFnG6WsvBWJ5BAsEq9XFvP+FS7pRRo0\nCarNuoRPavA63Ye3W8D7r8effRGJSNlvZOi1uP9NivEiozSSHo+gB3iB8oqD\nxr6yHP4IjFGhC8WunVsEXD+IMdFGSHEML+0loZEKkdVrGqky8b6QgP26ihas\nCthq\r\n=iq3m\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC/OZp3hKnNH2fK++y2lbUu7Zm50mUyxWnKgTFk8KFzlQIhAIgSvHySXSs1fsbVNGSOonA4zISOdzApR7YssTnlFHGs"}]},"maintainers":[{"name":"albert-smit","email":"albertsmit93@gmail.com"},{"name":"munnik","email":"martijndemunnik@protonmail.com"}],"_npmUser":{"name":"albert-smit","email":"albertsmit93@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/signalk-modbus-client_1.0.1_1592385945304_0.08999443309193533"},"_hasShrinkwrap":false},"1.0.2":{"name":"@codekilo/signalk-modbus-client","version":"1.0.2","description":"a plugin for SignalK to read data via modbus","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/codekilo/signalk-modbus-plugin.git"},"keywords":["signalk-node-server-plugin"],"author":{"name":"Albert Smit","email":"albertsmit93@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/codekilo/signalk-modbus-plugin/issues"},"homepage":"https://github.com/codekilo/signalk-modbus-plugin#readme","dependencies":{"jexl":"^2.2.2","modbus-serial":"^7.7.3"},"gitHead":"01ad158490c4587194ea56479926d0579caab760","_id":"@codekilo/signalk-modbus-client@1.0.2","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"integrity":"sha512-rJvfXrnkTY4x7SjPVI+I6LuBxyVSaA9hJtJ135qi/YpxySOmyGgEY8twm5SzjV+NMRxOWxDD5WhT2+5+H9voqw==","shasum":"30410e782e24c125e46408197791eded9ea05b3c","tarball":"https://registry.npmjs.org/@codekilo/signalk-modbus-client/-/signalk-modbus-client-1.0.2.tgz","fileCount":4,"unpackedSize":12257,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe6eIxCRA9TVsSAnZWagAASwkP/242QHTGZbCgc9t2NyHD\ntKg2kY9TrW8QeZ2oqmgG0t7RFMcF/av1jfcpRwe+kS9wF3grGOEUW6uLjYwu\nGESGjO0fPSODmeAxZBdRMIu+bt004LXWq3bpbImCJltB9CM0nw4VeuJ8z/Vb\nct2E3iBr/Pb10tA9nB7WfhbjEE1b0OkUmsVhZbA7JkfPY2+FTsLhTb/jPzfA\nvxnR87LnzsKr0IoU6crCxm8jNLtjqcha5VhA7tbiXx4i2Lw2gbQ1wjY/OD3v\nBN9QxnwStEK/57ZUZai514HryYCf7VoGrh3Qcdur88uUY9PSHMZnyuY7oBHJ\nmdncGZsOpowx3UIUJh++abEw6m1bx3KJ4E1+dY1e2zM2Gic+7uI73pfHTlQJ\nPYY4sAqvunNIzR6FvH0aK5i7CfW1RrtDoYxvXrz1iOErYp2Ms8VpSnwEU9k5\nqVa3wUA9B5/mo4TFoHuVC6oi/K/36jJHOS3Mu7DcNBfiCplfRhe3rKnOyZJ5\nOqBFsmbIrLqDL32b8e4vsyvdSsXS5hBGNij8hhJ77wCWx03qHsxQhx40omW0\nhyq5O1iT+R+tkBdw17MHZ+Vv42fo6TfTf/cr1qG7AYpTpMC1P1Gp7PvlF+9R\na0cdXtxtfELYsy2PT293H702l5/V8q5D++SOXpt/3W/kmI4ci9M8wFVZihht\nSxJd\r\n=UBVR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDHrOcEGxypgYaQZNJ2a1/wNonK7IIxHYvrM+HpEoaB9QIhAJ5aVJWG0oBU0eql6Of8GYiK81d2TmXm4yvn25K9QUXS"}]},"maintainers":[{"name":"albert-smit","email":"albertsmit93@gmail.com"},{"name":"munnik","email":"martijndemunnik@protonmail.com"}],"_npmUser":{"name":"albert-smit","email":"albertsmit93@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/signalk-modbus-client_1.0.2_1592386097173_0.4252878146686929"},"_hasShrinkwrap":false}},"time":{"created":"2020-06-17T09:20:12.282Z","1.0.0":"2020-06-17T09:20:12.626Z","modified":"2022-04-05T00:03:11.222Z","1.0.1":"2020-06-17T09:25:45.407Z","1.0.2":"2020-06-17T09:28:17.320Z"},"maintainers":[{"name":"albert-smit","email":"albertsmit93@gmail.com"},{"name":"munnik","email":"martijndemunnik@protonmail.com"}],"description":"a plugin for SignalK to read data via modbus","homepage":"https://github.com/codekilo/signalk-modbus-plugin#readme","keywords":["signalk-node-server-plugin"],"repository":{"type":"git","url":"git+https://github.com/codekilo/signalk-modbus-plugin.git"},"author":{"name":"Albert Smit","email":"albertsmit93@gmail.com"},"bugs":{"url":"https://github.com/codekilo/signalk-modbus-plugin/issues"},"license":"MIT","readme":"# SignalK-modbus-client\n\nThis plugin is designed to read arbitrary modbus data and convert it into signalk data.\n\n## Installation\nThis package can be installed like any other SignalK plugin from the appstore.\n\n## Use\n\nBefore the plugin can be used it has to be configured this can be done either by placing a configuration file in `.signalk/plugin-config-data/signalk-modbus-client.json`, or by using the plugin config menu on the web interface of the signalk server.\n\n### Options\nThese are all the options that can be configured in the web interface.\n\n#### Polling Interval\nThe rate at which to poll the modbus server for new data. All registers are polled at this rate.\n\n#### Connection Information\nEnter the IP address and port used to connect to the modbus server here.\n\n#### Register mapping\nFor each register that is being mapped to a signalk path a mapping needs to be created, this mapping contains the following information: These mappings are located in an array.\n\n**Operation type** which modbus function code to use to read the register.  \n**Register** Which register to read  \n**SignalK path** Where to place the data in the signalk tree   \n**Conversion** How the data needs to be converted into the right unit.  \n\nThe conversion system uses [jexl](https://github.com/TomFrost/jexl) to define the expressions for conversion of data, the incoming data is always `x`\n\n\n## Development \nTo install the plugin into SignalK for development first clone the repository and link the npm module:\n\n```\n$ git clone\n$ cd signalk-modbus-plugin\n$ npm link\n```\n\nThen go to the SignalK configuration directory (probably `~/.signalk`)  and link the module again:\n\n```\n$ cd .signalk \n$ npm link @codekilo/signalk-modbus-client\n```\n\nThe plugin should now be installed and visible when the server has restarted.","readmeFilename":"README.md"}