{"_id":"@abstract-entity/node-red-oklyn","_rev":"4-4dc0ac09d6cd9ea9444a66c691191a16","name":"@abstract-entity/node-red-oklyn","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.0":{"name":"@abstract-entity/node-red-oklyn","version":"1.0.0","description":"This set of node-red nodes communicate with oklyn cloud API","main":"index.js","private":false,"repository":{"type":"git","url":"git+https://github.com/abstract-entity/node-red-oklyn.git"},"bugs":{"url":"https://github.com/abstract-entity/node-red-oklyn/issues"},"homepage":"https://github.com/abstract-entity/node-red-oklyn#readme","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["node-red","node-red-contrib","oklyn"],"author":{"name":"Abstract entity"},"license":"ISC","node-red":{"version":">=2.0.0","nodes":{"oklyn":"oklyn.js"}},"dependencies":{"axios":"0.26.0"},"gitHead":"b46ed82e267fe08068424aa2db5ab282fb43b39e","_id":"@abstract-entity/node-red-oklyn@1.0.0","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"integrity":"sha512-eFv2mAgdRPWace/+MixVp5ciyQcH9xAuuq/PW5KJJmXImWVM+uxlvcJlqZ7/bv6ktIlnFLt7bY4abNc2VuCuLg==","shasum":"dcc0ebdc54c846ab7f63f97c456419fea3871a69","tarball":"https://registry.npmjs.org/@abstract-entity/node-red-oklyn/-/node-red-oklyn-1.0.0.tgz","fileCount":8,"unpackedSize":767218,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiJdGjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpE0RAAk4rdJFb1KaAXuOIVp/WKKWwNv5UAIH7tqvnk+IwLz5cMBp0f\r\nOi+JlP34TzAoYGOz5imcSlzWX4/NHUvSBKeW2hxLlkdxMQ6siZ7e/hFqnsdH\r\noRuHBHQcFScrBb1HPkLFqV8tNrut+hrPSSNP4KvB6KAbJ/Yd1Q8RDHggj7yK\r\nS+099E8vYQpDh5K0YpoSqZDnQJOlV62KLcRLWlImHg12yxmLDrRJGUzCfntW\r\n4NXzxTvw02v+tvu3l+pzn5imQ/FzoI8Bdm0KDqCNDHJF9S1ts8Mb9Cjjp9P4\r\ndxrzh/Y/WZ3mmC2fTipbgvJYguU8j69DBVlGH2ZFq6eIwENcsT9SHS9SF/ws\r\nD+CtOL4fFTdvmRFQB7T69+CXyNMlkOgyNcUKQ5JuAr9hlJ0yDXwGH8brrNGp\r\nmCnQSjZqQSolzMlP4xsfWT03QqWXSy5yzHlD25b9hS0EmEqmf3ONW7gghfW3\r\nGCMr/B1z+DYYIhY2wuLmryfCWX0eihEmiuE1/22YzPtwGYNLj2nhNdbc18ui\r\nBOPu8T7mLTJRIzC4vSZvasDnlb8np1fBipJJ8v9238LNCbzY0Z8LaV9xdWrn\r\n67DsTpmwteiPM4nfYw6JvCngkQXw23FLALCnJN1HZf0+GBZbJwrZ64Vk4T6D\r\nzdi23kDz2P9tRB2XKI9w3YgNIqmbVb2XRkM=\r\n=T+fb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD+kQ7Ha8nINIQPgjHOWbrXU97lU3q8rJa4VxCBuhPTLQIhAPgFubnRDifkEQDK1+GlWp00yxBLsDO8ja9n22xc2ma3"}]},"_npmUser":{"name":"abstract-entity","email":"julien.moisan.56@gmail.com"},"directories":{},"maintainers":[{"name":"abstract-entity","email":"julien.moisan.56@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-red-oklyn_1.0.0_1646645667321_0.8747415044411844"},"_hasShrinkwrap":false},"1.0.1":{"name":"@abstract-entity/node-red-oklyn","version":"1.0.1","description":"This set of node-red nodes communicate with oklyn cloud API, if you like my work you can leave me a message, star github repo and/or buy me a coffee it's always pleasant","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"homepage":"https://github.com/abstract-entity/node-red-oklyn#readme","repository":{"type":"git","url":"git+https://github.com/abstract-entity/node-red-oklyn.git"},"bugs":{"url":"https://github.com/abstract-entity/node-red-oklyn/issues"},"keywords":["node-red","node-red-contrib","oklyn"],"author":{"name":"Abstract entity"},"license":"ISC","node-red":{"version":">=2.0.0","nodes":{"oklyn":"oklyn.js"}},"engines":{"node":">=12.0.0"},"dependencies":{"axios":"0.26.0"},"gitHead":"22fcc27ac6ad87ee53e997b7a9d2585f599044b0","_id":"@abstract-entity/node-red-oklyn@1.0.1","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"integrity":"sha512-zNfuRaWreQDAnD+x5B8bGmidvdr+4U/Y8uTVHABS1epZMni+wwMmX+0hr3CiDZ2l5Y5mm5r300IIfNBrsTpx2g==","shasum":"db85218c852abe9ca6c3b001298e955d6da6eb42","tarball":"https://registry.npmjs.org/@abstract-entity/node-red-oklyn/-/node-red-oklyn-1.0.1.tgz","fileCount":9,"unpackedSize":777593,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiJdwCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoKnA/+LZjM1sMeAVDHHirg4vtCm9Sf8ydkfymOm7Y/92Wp47QPunu2\r\nnMCg4Vuyi0SHrjg8cWuUKJOsImp2ZLtl8YO6M2q6SiE8ta13rrVt92R+W3+t\r\n2nflzsKO1UfbAgDA4heYAxFCsYJh7bBGi1Pk9daOGiFaJ5sBS96ut75P2Qaq\r\nBIiCnKRuDYcb648KbzmGy0apGDvESSmXbE8dHBhri/k0pND5Y5nBRNUlbXm7\r\nqUlPl16wgjxtIwcaOtd7ASdm9bvp5P/dzLGNs95sE2PyhL9d8wNlRbmhWBs+\r\npQxR4SCQzSGt1QDBK1XKdGrUfJxD0h4UnO0U3kWS/OevSCvuovDd0j2uxXhA\r\nDdHBaRn1bNBsaPmm8NZ/uN3XyTdP1AtmpSOeLSzWfaUzH/E81zCu9dB9PLUE\r\nJg46k4wOdD95K2fFRGSEsn6Gwf4pMYVNnT81om0Y9xamkmEn+Glgejjh6HkQ\r\nOa2MFrcihCtTOIfNe32cyaen8NldnYeSOG9hWw8MjndNO2KqfwwiXsOedJko\r\n6SdWOCry0lmNFdQqbgIZMyLctVb2E1wJXnNM7/ykI3Biw1hUvI+iOe8MkgiG\r\nAdMZbNTAqzrNj2FIlauuwvPQiQY6DudkJrSFPeikhdD0cSk6GXX9fO2A2HNK\r\nrV9eW/szOHafMtVT6SUsZ3xRmm7IUxrLpuw=\r\n=qZx3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCDkG213ceqNiu7Q6Qoo/vj0sseZiJ7U1nhAqR0Ytv4lAIgdB34VgtAGFdW27NGm9MmOsictyLC9uT8CEFvlNSjvZ8="}]},"_npmUser":{"name":"abstract-entity","email":"julien.moisan.56@gmail.com"},"directories":{},"maintainers":[{"name":"abstract-entity","email":"julien.moisan.56@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-red-oklyn_1.0.1_1646648322447_0.2952410548383191"},"_hasShrinkwrap":false},"1.0.2":{"name":"@abstract-entity/node-red-oklyn","version":"1.0.2","description":"This set of node-red nodes communicate with oklyn cloud API, if you like my work you can leave me a message, star github repo and/or buy me a coffee it's always pleasant","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"homepage":"https://github.com/abstract-entity/node-red-oklyn#readme","repository":{"type":"git","url":"git+https://github.com/abstract-entity/node-red-oklyn.git"},"bugs":{"url":"https://github.com/abstract-entity/node-red-oklyn/issues"},"keywords":["node-red","node-red-contrib","oklyn"],"author":{"name":"Abstract entity"},"license":"ISC","node-red":{"version":">=2.0.0","nodes":{"oklyn":"oklyn.js"}},"engines":{"node":">=12.0.0"},"dependencies":{"axios":"0.26.0"},"gitHead":"9c7b0bf4fd58c8d1e0386241cf39a94c584a37f2","_id":"@abstract-entity/node-red-oklyn@1.0.2","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"integrity":"sha512-Jvt6fcn0zovRPCfFCVY7qazcPELiUTf4Q7Wr9F9gDNtiuICU4UuwDq/51+4jQYaoIkQL4MV0Cm1KrTrZLraDig==","shasum":"657badc6a44fce1e2c07217af5ae2547183cf145","tarball":"https://registry.npmjs.org/@abstract-entity/node-red-oklyn/-/node-red-oklyn-1.0.2.tgz","fileCount":9,"unpackedSize":777588,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiJ0RNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqARw//UegzuBLJZzk28XEapT/WaSvD14AN62eh/kcoi44C3dMkKxp2\r\nCjlqrZswMFgpoXleszd3iw4b6Gw6+CZTSmy/oWvUmQkpGfM8kjCCXWo0U6UU\r\nyGv7Carf0W0mggnFsy7Xl6b6hLtCZ4xWdxZSdiz1I3+mGRwOz5t0/O0ooluu\r\nN4RDP9QuEJRUb2O7Z1xNaGsrR6zIA1foZnxvcrUlprjhMCzxpgz4mNbx1hOR\r\nax1GRtsY6XiP6sI92u8Czid3MRcTMq8SgEDj4AdAMvQMt4dqh+C7wAgpqapV\r\nlzQDCToNt+lcgVXZxD40n5IDpO1PV9/ct+ee9F9QETDz1XijNOWy0fOmp+3d\r\ngQ87V/B1e9JXJm/bMdRblcOU4/ViBsUwHlwr8yJBaDfiNmmAh+hu/wJpJjnP\r\nUD7suyhBV+Ob7P1B7dRlWaTH+g5DMT6NoOkEnCtaFpl7PQJl8SDw7x+B/e7D\r\nt8S+y/OnbrIldIiPnulFB3k0BoclpiOU5kW5tmzS4jMwDDCy3RMPLl1QzszT\r\nxd1HZUd5IuYMT40LjOR10jaJoSU7Yb1ZUnyT3CKyNkUCO1sjZRvR8fgeneJC\r\nG9XqFPbg1A4oG6phAkRWhAn5hAHc9XBCAIG1k5SqMSIltpyqScM9LF1CzQFO\r\nlTtMw2cpT3/7n4UPnKmzStxpBTrRuhldsRg=\r\n=aROZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDKIQ3JVHFxbsodA1HmhDr5xqc5xBhsy3a/Bct3tjExJQIhAOrbaaCi5QXP0+VoNvmbNHhRp6P3renbNUN5RPG4tMhw"}]},"_npmUser":{"name":"abstract-entity","email":"julien.moisan.56@gmail.com"},"directories":{},"maintainers":[{"name":"abstract-entity","email":"julien.moisan.56@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-red-oklyn_1.0.2_1646740557269_0.43955926716467864"},"_hasShrinkwrap":false},"1.0.3":{"name":"@abstract-entity/node-red-oklyn","version":"1.0.3","description":"This set of node-red nodes communicate with oklyn cloud API, if you like my work you can leave me a message, star github repo and/or buy me a coffee it's always pleasant","main":"oklyn.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"homepage":"https://github.com/abstract-entity/node-red-oklyn#readme","repository":{"type":"git","url":"git+https://github.com/abstract-entity/node-red-oklyn.git"},"bugs":{"url":"https://github.com/abstract-entity/node-red-oklyn/issues"},"keywords":["node-red","node-red-contrib","oklyn"],"author":{"name":"Abstract entity"},"license":"ISC","node-red":{"version":">=2.0.0","nodes":{"oklyn":"oklyn.js"}},"engines":{"node":">=12.0.0"},"dependencies":{"axios":"0.26.0"},"gitHead":"fdf4d6148cb284b80d1e4b6e91481a61671858cb","_id":"@abstract-entity/node-red-oklyn@1.0.3","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"integrity":"sha512-Jk0MOMEthz5cpASyAIdMPfXcdbZM5UMaDrEBwFbsgVpWd3PQBRi0Gt1AF6GFo3V5HWB5ItdIzhVWtztOdkwHdw==","shasum":"a6d7d1aca77dad8c6e6d32c1c6e54f7a1f18ab4e","tarball":"https://registry.npmjs.org/@abstract-entity/node-red-oklyn/-/node-red-oklyn-1.0.3.tgz","fileCount":9,"unpackedSize":777660,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHdYfP0E20CgWoVyt+bAnCIyCnJETBAM+1JXf6KfL7m9AiEAqgLDokljac4lGFS2tpB4Bje5jEwRpfQX+tBiGADpu9I="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJirFFaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpfeQ/+OgJ23raAv8qS4LF6UP8qacoMUDQ+pNK5QXyRG3ELfDaw6G8S\r\n0AQUofrQHjqSbYqsnnhbl1ZIeQx8qkoNSMOSYvVJL8bE4aJDG0f/ljg2BY9F\r\najGC4nL02qnBqGMwhy0dLTEE34N/IJEQf/LhWBvkgtRvqrW4Or2qkwYPVXej\r\npsZv910RKbwhFbDqkeYl1klfmElV498hcNvvV9Pyz01SDyman+lurohR+Et2\r\naeD2MKdaVDaqgM/1S4EnmTNy8cZHYvukYpmbEcowkU5D23qqw8HTFupDoVd7\r\nTq5sqxUeNnxYQdkiFOOJMxGTpHQ2njoaE30aS7D/J/bHMCAuiuuQGe/IXjHF\r\neWJAhsSNuIRebnHKVXCr075dBquTRH9LE4dze9GznmRYlsoZcVE/gHdRBNmH\r\ni1oN7L1x9yyWKNjIOwjz4979TYTsf3FzXyG9t+IJDlkagu7vROdK8r31PWAJ\r\nBN2jJeq8MHqW9q/SBumU9kIozgsPAQUesg+iDrUxh5MRezAo/ERimmVg97h/\r\nxWo235CBh6BQksj1fmTH4OZPsx3nnCxJITXwNXo3tnN+FglbpqcxT/hRQO2P\r\nF6EdkyBowS5dgw2Xg8fzNjTeCpaiefNPhJ5w64dxONkNTECqXYJ0W8MrB3VC\r\n02MN6b5gBfrVNs7SEbBTgXe33UGSPTIvZM4=\r\n=9Xom\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"abstract-entity","email":"julien.moisan.56@gmail.com"},"directories":{},"maintainers":[{"name":"abstract-entity","email":"julien.moisan.56@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-red-oklyn_1.0.3_1655460186009_0.5221870227576968"},"_hasShrinkwrap":false}},"time":{"created":"2022-03-07T09:34:27.254Z","1.0.0":"2022-03-07T09:34:27.558Z","modified":"2022-06-17T10:03:06.377Z","1.0.1":"2022-03-07T10:18:42.668Z","1.0.2":"2022-03-08T11:55:57.529Z","1.0.3":"2022-06-17T10:03:06.308Z"},"maintainers":[{"name":"abstract-entity","email":"julien.moisan.56@gmail.com"}],"description":"This set of node-red nodes communicate with oklyn cloud API, if you like my work you can leave me a message, star github repo and/or buy me a coffee it's always pleasant","homepage":"https://github.com/abstract-entity/node-red-oklyn#readme","keywords":["node-red","node-red-contrib","oklyn"],"repository":{"type":"git","url":"git+https://github.com/abstract-entity/node-red-oklyn.git"},"author":{"name":"Abstract entity"},"bugs":{"url":"https://github.com/abstract-entity/node-red-oklyn/issues"},"license":"ISC","readme":"# node-red-oklyn\r\nThis set of node-red nodes communicate with oklyn cloud API, if you like my work you can leave me a message, star github repo and/or buy me a coffee it's always pleasant\r\n\r\n<a href=\"https://www.buymeacoffee.com/abstractentity\" target=\"_blank\"><img src=\"https://cdn.buymeacoffee.com/buttons/default-orange.png\" alt=\"Buy Me A Coffee\" height=\"41\" width=\"174\"></a>\r\n\r\n![preview](images/preview.png \"Preview\")\r\n\r\n# Install\r\nEither use the Manage Palette option in the Node-RED Editor menu, or run the following command in your Node-RED user directory - typically '~/.node-red'\r\n\r\n    npm i @abstract-entity/node-red-oklyn\r\n\r\n# Flow example\r\nLink below show you an implementation of each oklyn node with manual trigger\r\n\r\n## [Flow example](examples/example.json)\r\n<br />\r\n\r\n# API Usage\r\n## Configuration\r\nTo find your api key follow this steps:\r\n1.  Open your Oklyn mobile app, and go to 'my account'\r\n2.  Open 'API Access' at the bottom of page\r\n3.  Activate API access\r\n4.  Copy your API key\r\n\r\n![api-key-conf](images/oklyn-api.png \"Find your API key\")\r\n\r\nTo add your api key in node-red configuration:\r\n1. Drag any oklyn node in your flow panel\r\n2. Double click the node\r\n3. For the 'Config' property select 'Add new oklyn-config', then click the 'edit pen'\r\n4. Paste your API key in 'Api key' peroperty, then click add\r\n\r\n## List devices\r\n**Configuration**\r\n- Name (optionnal): Name to display for the node\r\n- Config (required): Oklyn api key to use for the call\r\n\r\n**Payload Input**\r\n- No particular payload required\r\n\r\n**Payload output**\r\n- output\r\n\r\n      [\r\n        {\"id\":228,\"username\":\"first swimming pool\"},\r\n        {\"id\":229,\"username\":\"Secondary home swimming pool\"},\r\n        {\"id\":230,\"username\":\"Third swimming pool\"}\r\n      ]\r\n\r\n## Read measures\r\n**Configuration**\r\n- Name (optionnal): Name to display for the node\r\n- Config (required): Oklyn api key to use for the call\r\n- Device id (required): Id of the device, if you manage multiple device you can specify the id of device to connect to. if you got only one device use 'my' to select it without knowing id\r\n- Measure (required): Name of the measure to read, can be: air, water, ph, or orp\r\n\r\n![Oklyn-conf](images/oklyn-conf.png \"Measure conf\")\r\n\r\n\r\n**Payload Input**\r\n- No particular payload input expected.\r\n- You can override device id of the node, by adding it to **msg.deviceId** (outside of the payload)\r\n\r\n      { \r\n        \"deviceId\": 228\r\n      }\r\n\r\n![device-id-conf](images/deviceId-conf.png \"Device id conf\")\r\n    \r\n\r\n**Payload output**\r\n- output\r\n\r\n      {\r\n        \"recorded\": \"2022-03-06T13:45:04+00:00\",\r\n        \"value\": 8.61,\r\n        \"status\": \"danger\",\r\n        \"value_raw\": 8.61\r\n      }\r\n\r\n## Read pump state\r\n**Configuration**\r\n- Name (optionnal): Name to display for the node\r\n- Config (required): Oklyn api key to use for the call\r\n- Device id (required): Id of the device, if you manage multiple device you can specify the id of device to connect to. if you got only one device use 'my' to select it without knowing id\r\n\r\n**Payload Input**\r\n- No particular payload input expected.\r\n- You can override device id of the node, by adding it to **msg.deviceId** (outside of the payload)\r\n\r\n      { \r\n        \"deviceId\": 228\r\n      }\r\n\r\n**Payload output**\r\n- output\r\n\r\n      {\r\n        \"pump\": \"auto\",\r\n        \"status\": \"off\",\r\n        \"changed_at\": \"2022-03-07T05:00:01+00:00\"\r\n      }\r\n\r\n\r\n## Write pump state\r\n**Configuration**\r\n- Name (optionnal): Name to display for the node\r\n- Config (required): Oklyn api key to use for the call\r\n- Device id (required): Id of the device, if you manage multiple device you can specify the id of device to connect to. if you got only one device use 'my' to select it without knowing id\r\n\r\n**Payload Input**\r\n- You can change the state of the pump by following values: on, off, auto\r\n\r\n      {\r\n          \"pump\": \"auto\"\r\n      }\r\n\r\n- You can override device id of the node, by adding it to **msg.deviceId** (outside of the payload)\r\n\r\n      { \r\n        \"deviceId\": 228\r\n      }\r\n\r\n**Payload output**\r\n- output\r\n\r\n      {\r\n        \"pump\": \"auto\",\r\n        \"status\": \"off\",\r\n        \"changed_at\": \"2022-03-07T05:00:01+00:00\"\r\n      }\r\n\r\n## Read auxiliary contact state\r\n**Configuration**\r\n- Name (optionnal): Name to display for the node\r\n- Config (required): Oklyn api key to use for the call\r\n- Device id (required): Id of the device, if you manage multiple device you can specify the id of device to connect to. if you got only one device use 'my' to select it without knowing id\r\n\r\n**Payload Input**\r\n- You can override device id of the node, by adding it to **msg.deviceId** (outside of the payload)\r\n\r\n      { \r\n        \"deviceId\": 228\r\n      }\r\n\r\n**Payload output**\r\n- output\r\n\r\n      {\r\n        \"aux\": \"off\",\r\n        \"status\": \"off\",\r\n        \"changed_at\": \"2022-03-07T08:49:40+00:00\"\r\n      }\r\n\r\n## Write auxiliary contact state\r\n**Configuration**\r\n- Name (optionnal): Name to display for the node\r\n- Config (required): Oklyn api key to use for the call\r\n- Device id (required): Id of the device, if you manage multiple device you can specify the id of device to connect to. if you got only one device use 'my' to select it without knowing id\r\n  \r\n**Payload Input**\r\n- You can change the state of the auxiliary contact by following values: on, off\r\n\r\n      {\r\n        \"aux\": \"off\"\r\n      } \r\n\r\n - You can override device id of the node, by adding it to **msg.deviceId** (outside of the payload) \r\n \r\n      { \r\n        \"deviceId\": 228\r\n      }\r\n\r\n**Payload output**\r\n- output\r\n\r\n      {\r\n        \"aux\": \"off\",\r\n        \"status\": \"off\",\r\n        \"changed_at\": \"2022-03-07T08:49:40+00:00\"\r\n      }","readmeFilename":"readme.md"}