Skip to content

Poll Worx Landroid for status and publish to Domoticz or Home Assistant

Notifications You must be signed in to change notification settings

olskar/worx-landroid-nodejs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Home automation integration for Worx Landroid robotic mowers

This is a small Node.JS library that allows integrating Worx Landroid robotic mowers with various home automation systems for logging/charting Landroid status such as battery percentage and notifications for Landroid alarms.

The library is assumed to work with any Landroid sporting WiFi; both the 2015-2016 models with an on device RESTful API (such as WG796E and WG797E) and the 2017 models with a cloud service (such as WR201SI, WR105SE and WR110MI). Testing has mainly been performed with WG796E firmware version 12.1 and 12.6. Please report any breaking changes to the API.

Common installation

(The installation instructions make reference to .bat files. If you are not on Windows, you are assumed to know what to do...)

Regardless of the home automation system you are planning to use, you need to do the following:

  1. Install Node.JS. Make sure you allow npm to be on your PATH.
  2. Clone this Git repo - git clone https://github.com/mjiderhamn/worx-landroid-nodejs.git (First install Git if not already installed). Or by all means use the GitHub Windows client.
  3. Run install.bat to download dependencies.
  4. Edit the cloned config.js. Should be self explanatory. Although you may want to wait with this step until you have installed your home automation software, since you will need some details from that installation. NOTE! Make sure not to remove any quotations or commas!

Home Assistant

If you plan to use Home Assistant, follow the installation instructions at https://home-assistant.io/getting-started/.

  • 2015-2016 models: To start sending Landroid information to Home Assistant run landroid2home-assistant.bat
  • 2017 models:
    • Make sure you have OpenSSL installed (see below), either on your PATH or with the environment variable OPENSSL_BIN pointing to the executable.
    • To start sending Landroid information to Home Assistant run landroid-cloud2home-assistant.bat.

For tips setting up push notifications, see here.

Domoticz

If you plan to use Domoticz home automation system, follow these additional steps:

  1. Set up some MQTT broker/service, such as Mosquitto
  2. Note that on Windows you may need to install OpenSSL, see http://git.eclipse.org/c/mosquitto/org.eclipse.mosquitto.git/tree/readme-windows.txt linking to the URL in the OpenSSL section below.
  3. Install Domoticz on some supported hardware (PC, Raspberry Pi, ...).
  4. To start sending Landroid information to Domoticz:
  • 2015-2016 models: Run landroid2domoticz.bat
  • 2017 models:
    • Make sure you have OpenSSL installed (see below), either on your PATH or with the environment variable OPENSSL_BIN pointing to the executable.
    • Run landroid-cloud2domoticz.bat.
  1. Use your browser and navigate to Utility in the Domoticz UI.

Worx Landroid REST API JSON response

The documentation of the API has been moved here. Some documentation for newer (2017) models can be found here.

OpenSSL

For some setups you need to haven OpenSSL installed. For Windows, this might be helpful: http://slproweb.com/products/Win32OpenSSL.html

About

Poll Worx Landroid for status and publish to Domoticz or Home Assistant

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 98.9%
  • Batchfile 1.1%