npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

pimatic-landroid

v0.1.23

Published

Pimatic plugin for Worx Landroid mower

Downloads

25

Readme

pimatic-landroid

Pimatic plugin for Worx Landroid mower

This plugin lets you control and get status info from a Landroid mower. Supported mowers are mowers that can be controlled via the Landroid app and are wifi connected to the Worx cloud. This plugin is tested with a Landroid M500 and should work will all cloud connected Landroid mowers.

After downloading the Landoid app, you can register in the app with your email and password. After registration you can add your mower in the app, configure the wifi and other settings.

When these steps are done you can configure the pimatic-landoid plugin.

Config of the plugin

{
  email:    "The email address for your Landroid account"
  password: "The password of your Landroid account"
  debug:    "Debug mode. Writes debug messages to the Pimatic log, if set to true."
}

Config of a LandroidMower device

Mowers are added via the discovery function. Per mower a LandroidMower is discovered unless the device is already in the config. The automatic generated Id must not change. Its the unique reference to your mower. You can change the Pimatic device name after you have saved the device. This is the only device variable you may change! The following data is automatically generated on device discovery and should not be changed!

{
  serial:       "Serialnumber of the mower"
  mac:          "Mac address of the mower"
  landroid_id:  "Landroid ID number of the mower"
  command_in:   "Mqtt command-in string"
  command_out:  "Mqtt command-out string"
}

The following variables (attributes) are available in the gui / pimatic.

cloud:              "If plugin is connected or disconnected to the Worx-landroid cloud"
status:             "Actual status of the mower (idle, mowing, etc)"
mower:              "Mower offline or online"
rainDelay:          "Delay after rain, before mowing (minutes)"
totalTime:          "TotalTime the mower has mowed (minutes)"
totalDistance:      "TotalDistance the mower has mowed (meters)"
totalBladeTime:     "TotalBladeTime the mower has mowed (minutes)"
battery:            "Battery level (0-100%)"
batteryCharging:    "If true battery is charging"
batteryTemperature: "Battery temperature of mower"
wifi:               "Wifi strenght at the mower (dBm)"

The mower can be controller and configured via rules. The action syntax is:

mower <mower-id>
  [start|pause|stop]
  [raindelay] <raindelay-number>
  [schedule] $schedule-variable | "schedule string"

The schedule can be set for a week starting at sunday till saturday. This schedule is repeated every week. The $schedule-variable contains a string with one or more days, separated by a semi-colon (;) The format for one day is:

<day-of-week>, <time-string>, <duration>, <edgeCut>

valid values:
  <day-of-week>:  [sunday|monday|tuesday|wednesday|thursday|friday|saturday]
  <time-string>:  00:00 - 23:59
  <duration>:     0 - 1439 (minutes)
  <edgeCut>:      0 or 1

for example if you want to set the mower for tuesday and friday at 10:00 for 1 hour with edgeCutting, the command is:

mower <mower-id> schedule $schedule-variable
$schedule-variable = tuesday, 10:00, 60, 1; friday, 10:00, 60, 1

or directly with a string in the action part of a rule

mower <mower-id> schedule "tuesday, 10:00, 60, 1; friday, 10:00, 60, 1"

The plugin is partly based on ioBroker.worx and homebridge-landroid

You could backup Pimatic before you are using this plugin!

The minimum requirement for this plugin is node v8!