# install dependencies
npm install
# serve with hot reload at localhost (make sure no other service is running on port 80)
sudo npm run dev
You can access the web-api trough this.$homey
.
For more info on the web-api docs see the Athom Web-API docs