ice987987/ioBroker.husqvarna-automower

Using your code in node without ioBroker

sgcl opened this issue · 2 comments

sgcl commented

Mathias,
Some years ago I started to use Node with the code from https://github.com/rannmann/node-husqvarna-automower but now that Husqvarna have published an official API I would like to set up something similar but using WebSocket to gather changes instead of reading the mower status every 3 minutes. You have produced almost what I want but I don't want to install ioBroker. I just want to run a job on my Mac to gather the data and save it so it can be interpreted by a web page an example of which I attach. Do you have the code without reference to ioBroker which I may use please?
Kind regards,
Graham Lawrence
Graham@GandJLawrence.co.uk

image

Hi Graham,
Thank you for your interest in this adapter. I took the initial code directly from husqvarna. Take a look at https://developer.husqvarnagroup.cloud/apis/Automower+Connect+API#/websocket, perhaps you can take some Ideas from there.

sgcl commented

Thank you for your help.