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

@martijndierckx/node-red-contrib-gardena-smart-mower

v0.0.2

Published

Nodes for controlling/monitoring Gardena smart system mowers

Downloads

91

Readme

node-red-contrib-gardena-smart-mower

Nodes for controlling and monitoring Gardena smart system enabled mowers. Tested on a 2023 smart SILENO city, 600 m².

Getting started

1. Get developer access

  1. Create an account on the Husqvarna developer website
  2. Create a new application
    • Application name: Your choice
    • Description: Can be left empty
    • Redirect URLs: http://localhost (Doesn't matter because we won't use it)
  3. Connect correct API's to your newly created application (Big orange button: 'Connect new API')
    • Authentication API
    • GARDENA smart system API
  4. Use Application key and secret in the configuration of this node as Client ID and Client Secret

2. Install the nodes in your palette

  1. Go to 'Manage palette' in the menu of node-red
  2. Go to the 'Install' tab
  3. Search for node-red-contrib-gardena-smart-mower
  4. Install the nodes

3. Configure the mower & config node

  1. Drag a 'Gardena Mower' node on your flow
  2. Create a new 'Gardena configuration'
  3. Enter the previously acquired Client ID & Client Secret
  4. Click the search button to scan for 'locations'
  5. Select the appropriate location
  6. Save the 'Gardena configuration'
  7. Click the search button to scan for 'mowers'
  8. Select the appropriate mower
  9. Save your node
  10. Go!

Using the mower node

Receiving updates from the mower

When a status update is available for the Gardena smart system mower, a new message is sent:

  • msg.mower: id & name of the mower
  • msg.payload: latest values of all attrbutes
    • state
    • stateTs
    • activity
    • activityTs
    • lastErrorCode
    • lastErrorCodeTs
    • operatingHours
    • batteryLevel
    • batteryLevelTs
    • batteryState,
    • batteryStateTs
    • rfLinkLevel
    • rfLinkLevelTs
    • rfLinkState
  • msg.updatesList: list of attributes which have been updated

Commanding your mower

You can command the mower by sending a message with:

  • msg.action:
    • resumeSchedule
    • startMowing
    • parkUntilFurtherNotice
    • parkUntilNextTask
  • msg.duration: Optional duration in minutes (only for 'startMowing' action)

Example flow

Alt text

https://github.com/martijndierckx/node-red-contrib-gardena-smart-mower/blob/efcb5789b564cce2cb0d9e4ca6d703a3180b9778/demoflow.json#L1-L135