{"_id":"@alheimsins/zaptec-go-start-stop","_rev":"3-679338d7150181ac92d732f7666497c4","name":"@alheimsins/zaptec-go-start-stop","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.0":{"name":"@alheimsins/zaptec-go-start-stop","version":"1.0.0","description":"A module for starting and stopping your Zaptec Go EV charger","main":"index.js","type":"module","publishConfig":{"access":"public"},"scripts":{"test":"standard && ava","standard-fix":"standard --fix","refresh":"rm -rf node_modules && rm package-lock.json && npm i"},"repository":{"type":"git","url":"git+https://github.com/Alheimsins/zaptec-go-start-stop.git"},"keywords":[],"author":{"name":"Geir Gåsodden","email":"geir.gasodden@pythonia.no","url":"https://github.com/zrrrzzt"},"license":"MIT","bugs":{"url":"https://github.com/Alheimsins/zaptec-go-start-stop/issues"},"homepage":"https://github.com/Alheimsins/zaptec-go-start-stop#readme","engines":{"node":">=16.15.0"},"devDependencies":{"ava":"4.2.0","standard":"17.0.0"},"dependencies":{"axios":"0.27.2"},"gitHead":"478206080093d096471f82e3eb14d53f273a2c56","_id":"@alheimsins/zaptec-go-start-stop@1.0.0","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-5+a3QgaQBn70LCW4Jh+d2wMvszfmc+/U2wKfVnEjDi1BblVtSlzLmmUBeGTTHdFBUH+cMyzirnReEv+9S7m4rA==","shasum":"10301536dbbca7107468c0d9cf73a4125c4d0800","tarball":"https://registry.npmjs.org/@alheimsins/zaptec-go-start-stop/-/zaptec-go-start-stop-1.0.0.tgz","fileCount":7,"unpackedSize":7236,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCLIZJiCy87JJ7kMWwuBVQf0jcQ3xUwv6DIRTAoAciTqAIgdCx9ok3wEGCljH4G8ZGaFl1zVgrB915I4WPuYe6308s="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJij7pQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrBGA/+MCDJGVcXomslRmE7eM3J3n057fpV5Z3YzU24q/1F39rl1hLj\r\n/drYaUaTnbthgGGF05wCoFAlP0wYav5c4eOL7JCtsDn/soAWVLROL5RHP4Ec\r\n+fefXVp5yCeRqx1ROWHl1vMfKVvG7taFyxJWdEbo7sFqMDXGcSDyqxmFoCid\r\nVafyKFOdm/58RKqKfyM5gZy/Ck65sQPnkykxApCV8i34JLlN8cmKIjMnDSIZ\r\n2+EWRj9a0L/ZcouTSAL05h0T+OJHlvOnD2QRJhb8vtQ5IPa7B1e28fBca+4c\r\nyQSAebpe3F827lUwPJQNP+6AKDXGwOtMdcbQpvz38yRy29EVMGFeY9Rfg0JX\r\nIl5Pr3H2NW3GLCNSeW/pfiUhq4702WYkBt1do1N+bNIivd7cxClY8Ze4DJv+\r\nv3lOx5mPi8sO0y2iL4JIamkzjK7EIGM15Y57/su0xyIzmfDjCLPbvY073q5j\r\nwHEk/5cbWdmU9Z1KySSzs6Oo18Y8SwCAymk9MNCgDPbJ1Xfwu1U7aXhhv3wZ\r\nTaTYuY/fvKX4/PqTWQLQBjpOSv1GQPAEu51CsCD7X2sEvstIA8/zOtE6A44D\r\nTShN+dK3gN8YDwgOtGuwG7ngHEE3xQ4OTb7Qxibi8z5VvsE1hLs57mIcHQmj\r\nEbFOvD7MNlDAZRvn5DxW3MRQRKSQlgSh6zE=\r\n=JJtz\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"zrrrzzt","email":"geir.gasodden@pythonia.no"},"directories":{},"maintainers":[{"name":"zrrrzzt","email":"geir.gasodden@pythonia.no"},{"name":"maccyber","email":"jonas.enge@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/zaptec-go-start-stop_1.0.0_1653586512484_0.7155577391250112"},"_hasShrinkwrap":false},"1.0.1":{"name":"@alheimsins/zaptec-go-start-stop","version":"1.0.1","description":"A module for starting and stopping your Zaptec Go EV charger","main":"index.js","type":"module","publishConfig":{"access":"public"},"scripts":{"test":"standard && ava","standard-fix":"standard --fix","refresh":"rm -rf node_modules && rm package-lock.json && npm i"},"repository":{"type":"git","url":"git+https://github.com/Alheimsins/zaptec-go-start-stop.git"},"keywords":[],"author":{"name":"Geir Gåsodden","email":"geir.gasodden@pythonia.no","url":"https://github.com/zrrrzzt"},"license":"MIT","bugs":{"url":"https://github.com/Alheimsins/zaptec-go-start-stop/issues"},"homepage":"https://github.com/Alheimsins/zaptec-go-start-stop#readme","engines":{"node":">=16.15.1"},"devDependencies":{"ava":"4.3.0","standard":"17.0.0"},"dependencies":{"axios":"0.27.2"},"gitHead":"134c8aca6a8d7619a98049dddbd275bcaa29da5a","_id":"@alheimsins/zaptec-go-start-stop@1.0.1","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-+VzWqI0SvJxjllbVNBu0jpfYIw9NpWP+v1LhJyc2+5GT6l0mJwJbJa3vj2IKdB1MDTIJtdg7fFLkiIu/jn5Cqg==","shasum":"c97f4cdf6734c6d99927933dc2e34cf1f73b3209","tarball":"https://registry.npmjs.org/@alheimsins/zaptec-go-start-stop/-/zaptec-go-start-stop-1.0.1.tgz","fileCount":7,"unpackedSize":7344,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCX/nA+Ocv2iYpew2KcAaS9RjZXZrs350ha/TQ0Di6VEQIgQcYWcLSO9lWIMMJ+rMj30oRaN0x5yjSCHjqeL62my1U="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJinEQEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr/yg/+OqfzP5EyQNLaXwVS+x7RgvdcDxmkNbh/uTs/ce4t7jnunZC8\r\nTyKkijiD+7LQDz+GK1rRFzIv17IjHk36etzkGNbIzVfYAdovXpGAH6V3V2B9\r\nWnu0CorgMyX9ZFBdceAeXQ9qrdNsDH8SEU7mC7SUwqwIf8UYMFAaNgPuI268\r\nClgwV532jGIMIit1nFusrDQSmEIWtcDZEHy+mIHr7CuHz68VunAPq6HrqQZv\r\n/PtCaa0IpQOVpPKaIT8tmNYyxc7Mkeu80f3w2BUXPXK2k6mH+B+x6BO39nY4\r\nJDc6MAFznH0JYoCj+IzrfxaNUAC6hlGz34QjGLWO5bnsekg2Gkq1e3G7ljX/\r\nBb2jYRZMAR6N9hLb2bIsyCrEfLOlxc8+RgW2DUG00QD+EJlkqSFIpqN8xOju\r\nnP4L/RlkTPFa7ZAOgMb9HrpBjvRQENtFNHtQigHmIKa589J3YHsHZKsRERuI\r\nc4HjTjeyrxpPnt1vTTZ2zLI7LI9CD3MhYIQh14x1bbDM5kL87X6W8m4vCgUb\r\n0eEuY77EbkuuAq8BeRYVehSUAnRqyOLuq0/biZCdl/qNeEyWbwXdSLxmzGe0\r\nFsjaMhZAGhVrkjBxrL2NBGHOd9Ylu38ApWFxSQKHVnJwFvxNGoB+nm6LETxQ\r\nH9+i75i4klh/AzadgrJR7uwZbdW08PlR3kQ=\r\n=zcZI\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"zrrrzzt","email":"geir.gasodden@pythonia.no"},"directories":{},"maintainers":[{"name":"zrrrzzt","email":"geir.gasodden@pythonia.no"},{"name":"maccyber","email":"jonas.enge@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/zaptec-go-start-stop_1.0.1_1654408196083_0.671464475930089"},"_hasShrinkwrap":false},"1.0.2":{"name":"@alheimsins/zaptec-go-start-stop","version":"1.0.2","description":"A module for starting and stopping your Zaptec Go EV charger","main":"index.js","type":"module","publishConfig":{"access":"public"},"scripts":{"test":"standard && ava","standard-fix":"standard --fix","refresh":"rm -rf node_modules && rm package-lock.json && npm i"},"repository":{"type":"git","url":"git+https://github.com/Alheimsins/zaptec-go-start-stop.git"},"keywords":[],"author":{"name":"Geir Gåsodden","email":"geir.gasodden@pythonia.no","url":"https://github.com/zrrrzzt"},"license":"MIT","bugs":{"url":"https://github.com/Alheimsins/zaptec-go-start-stop/issues"},"homepage":"https://github.com/Alheimsins/zaptec-go-start-stop#readme","engines":{"node":">=16.16.0"},"devDependencies":{"ava":"4.3.1","standard":"17.0.0"},"dependencies":{"axios":"0.27.2"},"gitHead":"806cd1deddeebcf407ee4a73a184a50de409166d","_id":"@alheimsins/zaptec-go-start-stop@1.0.2","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-Sa9g+/WtBdsR+FC6hTOsTGaFcFNAH6Pbn79O9vgWb7sgXtKETSOOWsHYahaiqc/nOGo5k/DzTrg6NZ9JhiDVsg==","shasum":"3facd906208d86959ed651be0b42f859b365730d","tarball":"https://registry.npmjs.org/@alheimsins/zaptec-go-start-stop/-/zaptec-go-start-stop-1.0.2.tgz","fileCount":7,"unpackedSize":7334,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDT/iatcs5465iQRfH1aIWCefr5nt0bNZDWKF3HyyFT9QIhANmT8iNJFsy8h6SENdIZNbUOlvmfmKgNMGu4qKQMz7kK"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi5io3ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoXiQ/+OJUOFLJjPsOFi8vE5rUySPitgSA0Tl0hQn02WrE/L0orCu9l\r\n7zqdAIx3pw1tKMowrFwhAsmRlXIesI2JhxviTCBvi2h0J11NeBLWY94bTuWG\r\nIwAjIrTXQiLYduQAmBdiCSv8hQc9yRNzS+Oda0d92AR9Qx4YEFtwvrdm8Rf/\r\njcT0a6bBgpOdJiwwLBZFpcYwh9mDaeGognvGuvVrNNKK17ijDMfeJkp2a5F2\r\nLEOrZeCgIEsbOGWRo/k2aFdb18nb2b3l/Y+OL8QxIhAnhJCb14xm2slXXBdS\r\nV+0x/hYVp9Ob8+dOB/llLz9gr8lBrvO5ZEE9uYURG0SYp8nJ7QHWPeEQk2Ja\r\nH+wtkTLu/pycMlDmjZwf3LDdmV5TeEIl2OckqNR2lxbnbA6sH1fkQuRD6YCZ\r\nVGPECocnRspnDtmW61x3wJFylTBjR2DctKQ03S+y35K+cL+bK/JAUiiSHUY1\r\nkrlJb7Y92J0/ZAF1v7sUTUFWpzdEQ1mifgLt4CVvhOGl4kn/YHl1XMQC4EYY\r\n09HCN9I3yPopznHUfANyCv8PtUrIJZa52KCNpZX2pH1WAG53zVXsE9IlFso3\r\nUQmITXkT4PIWEEiRwXOvO8SEFi2mBCf8V4ldygA4UkAP5aq3aq90VgXl+PH4\r\ndLAOJ9oUYI0EhkrQ6OPibzAvdYIMFZvMH1I=\r\n=sc4D\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"zrrrzzt","email":"geir.gasodden@pythonia.no"},"directories":{},"maintainers":[{"name":"zrrrzzt","email":"geir.gasodden@pythonia.no"},{"name":"maccyber","email":"jonas.enge@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/zaptec-go-start-stop_1.0.2_1659251255196_0.6172850571715782"},"_hasShrinkwrap":false},"1.0.3":{"name":"@alheimsins/zaptec-go-start-stop","version":"1.0.3","description":"A module for starting and stopping your Zaptec Go EV charger","main":"index.js","type":"module","publishConfig":{"access":"public"},"scripts":{"test":"standard && ava","standard-fix":"standard --fix","refresh":"rm -rf node_modules && rm package-lock.json && npm i"},"repository":{"type":"git","url":"git+https://github.com/Alheimsins/zaptec-go-start-stop.git"},"keywords":[],"author":{"name":"Geir Gåsodden","email":"geir.gasodden@pythonia.no","url":"https://github.com/zrrrzzt"},"license":"MIT","bugs":{"url":"https://github.com/Alheimsins/zaptec-go-start-stop/issues"},"homepage":"https://github.com/Alheimsins/zaptec-go-start-stop#readme","engines":{"node":">=16.17.1"},"devDependencies":{"ava":"4.3.3","standard":"17.0.0"},"dependencies":{"axios":"1.1.2"},"gitHead":"93be9cfd654f1a327d0671aa9e9db1ffa8947120","_id":"@alheimsins/zaptec-go-start-stop@1.0.3","_nodeVersion":"16.17.1","_npmVersion":"8.15.0","dist":{"integrity":"sha512-e0x1Ml//EuuE2n2AMrD3txq+nuxfUQvl0oRfyT9pKuZDaRPHR4OpgrV/OaIc7jOkkrFyPgHg5jBz4YT1kkPxrA==","shasum":"dd88cc74c0282f5e23fe4154bf016f73dfd4e5de","tarball":"https://registry.npmjs.org/@alheimsins/zaptec-go-start-stop/-/zaptec-go-start-stop-1.0.3.tgz","fileCount":7,"unpackedSize":7842,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDjYHdCWBbg7hXRbesHpbsCcUYD6MC4oFst6ksHRf/XDQIga83Preh3O2CsWIF4IFaZRva1pv2dVRwio1+JDNqNZho="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjQ9iVACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr1Vw//d1ZSfu+JPO79OLmJjj3zRdVmEPnWzaR0boMUhfeEYSidyy6V\r\nvGdE8KVlKH7pfEAoo5jmk7F38y83Js0GYNzwhORjjOBioFlgR/cDqjOOpv02\r\nuD0PjzK59b94mLhjB31sGU5bm8portJ9mv4I6nYB0c2F7ueuENOSc9G3uaAu\r\n1mT9iyOYDdVCSbPE4IksLDFbacw/5bGeqQbyJhBFxgjgtGw6vlL8As7i6UBD\r\no7eNXD7Gm7ODeIppWH6ERduqPJbIKrripqA4KJoTJE5bb1iAkNxW3+6Svolf\r\nmXwbaXY7pefooEsm/YPWavq+rNYyqmXOhmK3uPpu99NUAfQFMZgED9wzAvjz\r\ncroTZ4JpBxjGG89tFOykWzBK35cT9t4BFeoMdunAwF7VX9+4+r4AO9+cIWGF\r\n4mPfBYOP5hQqG8YALGMnqVCOV+Bxu89j27YYOjSN3EKp20Olxe7YXQjRheXb\r\nOk+nhxqletXJ1dDUlKOdnsKiwQUdv0+Bq0MVVvwfWP+zOj7Xdlfd2ZqSjFdW\r\ne8Oe4RO3z5ylIJ+piZgKl10Jmf3XQQvce3QzSSFlcf6qdJFN3EjW+F46efVT\r\n41/8fjJV7LfootGVn4XRBltFmgxRgFlta0oXb5Blh6fbKmPxITXVBb1QAi1/\r\n9WBa8yK4HzmxgwNx/tg38rXZEjH2L8tOsck=\r\n=vW7Y\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"zrrrzzt","email":"geir.gasodden@gmail.com"},"directories":{},"maintainers":[{"name":"zrrrzzt","email":"geir.gasodden@gmail.com"},{"name":"maccyber","email":"jonas.enge@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/zaptec-go-start-stop_1.0.3_1665390741380_0.11127182676379044"},"_hasShrinkwrap":false}},"time":{"created":"2022-05-26T17:35:12.445Z","1.0.0":"2022-05-26T17:35:12.652Z","modified":"2022-10-10T08:32:21.696Z","1.0.1":"2022-06-05T05:49:56.244Z","1.0.2":"2022-07-31T07:07:35.428Z","1.0.3":"2022-10-10T08:32:21.560Z"},"maintainers":[{"name":"zrrrzzt","email":"geir.gasodden@gmail.com"},{"name":"maccyber","email":"jonas.enge@gmail.com"}],"description":"A module for starting and stopping your Zaptec Go EV charger","homepage":"https://github.com/Alheimsins/zaptec-go-start-stop#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/Alheimsins/zaptec-go-start-stop.git"},"author":{"name":"Geir Gåsodden","email":"geir.gasodden@pythonia.no","url":"https://github.com/zrrrzzt"},"bugs":{"url":"https://github.com/Alheimsins/zaptec-go-start-stop/issues"},"license":"MIT","readme":"[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard)\n\n# zaptec-go-start-stop\n\nA module for starting and stopping your Zaptec Go EV charger\n\n# Usage\n\nYou will need your username and password for the [Zaptec Portal](https://portal.zaptec.com/)\n\n```JavaScript\nimport { start, stop } from '@alhemisins/zaptec-go-start-stop'\n\nconst username = '<your-zaptec-portal-username>'\nconst password = '<your-zaptec-portal-password>'\n\nconst resultStart = await start({ username, password })\nconsole.log(resultStart) // => { status: 'success', message: 'Started charging' }\n\nconst resultStop = await top({ username, password })\nconsole.log(resultStop) // => { status: 'success', message: 'Stopped charging' }\n```\n\nIf you only want the chargerID and session token you can use `getTokenAndCharger`\n\n```JavaScript\nimport { getTokenAndCharger } from '@alhemisins/zaptec-go-start-stop'\n\nconst username = '<your-zaptec-portal-username>'\nconst password = '<your-zaptec-portal-password>'\n\nconst access = await getTokenAndCharger({ username, password })\nconsole.log(resultStart) // => { status: 'success', message: 'Found charger and authenticated', id: '<your-charger-id>', token: '<your-session-token>' }\n```\n\n# Limitations\n\nIf you have multiple Zaptec Go chargers connected to your account this module will only pick the first one.\n\n# Related\n\n- [calculate-cheapest-charging-schedule](https://github.com/Alheimsins/calculate-cheapest-charging-schedule) Simple module for calculating the cheapest charging schedule for your EV\n- [tibber-get-price-info](https://github.com/Alheimsins/tibber-get-price-info) Retrieve price info from tibber for your current subscription\n- [bmw-is-connected-to-charger](https://github.com/Alheimsins/bmw-is-connected-to-charger) Answers the question: is my BMW connected to a charger?\n- [leaf-connect](https://github.com/Alheimsins/leaf-connect) Node.js client library for the Nissan Leaf API\n\n# License\n\n[MIT](LICENSE)\n\n## About\n\nCreated with ❤ for [Alheimsins](https://alheimsins.net)\n\n<img src=\"https://image.ibb.co/dPH08G/logo_black.png\" height=\"150px\" width=\"150px\" />\n","readmeFilename":"README.md"}