Skip to content
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.

Bridge for connecting the Worx (Kress or Landxcape) Lawn Mowers to IP-Symcon.

License

Notifications You must be signed in to change notification settings

nefiertsrebliS/mqtt-landroid-bridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MQTT-Landroid-Bridge

Worx (Kress, Landxcape and Ferrex) adapter for IP-Symcon

This repository has been closed and is no longer supported with updates

IP-Symcon-Mowercontrol via MQTT and cloud

This adapter connects IP-Symcon with your Worx-, Kress- ,Landxcape- or Ferrex-mower via Cloud. This bridge is based on the ioBroker.worx-Adapter from the ioBroker-Community. Thanks to all the people, who build this great adapter.

Requisites

To use this bridge, you need IP-Symcon V5.0 or newer and the newest Version of Node.js.

Setup

  1. Make sure you have Node.js installed (tested with Node.js v18).
  2. Check out the source code and build it:
    git clone https://github.com/nefiertsrebliS/mqtt-landroid-bridge.git
    cd mqtt-landroid-bridge
    npm install
    
  3. Update config.json to match your environment.
  4. Run the bridge:
    node bridge.js
    
  5. Optional (Linux only):
    1. Set up an systemd script to start the bridge on system startup (see example in systemd-script folder).

Configuration

Please modify your config.json like this:

{
	"cloud": {
	    "email": "yourmail@mailserver.org",
	    "pwd": "TopSecret!",
	    "type": "worx"
	},
	"mqtt": {
	    "url": "mqtt://yourIPS-Server",
		"options":
		{
			"username": "justMe",
			"password": "MySecret",
			"port": 1883
		}
	},
	"mower": [
		{
		    "sn": "serialNumberOfYourMower",
		    "topic": "yourbestmower"
		}
	],
	"logLevel": "info"
}

where

  • email and pwd are your login-data of your Cloud.
  • type is the type of your Mower and Cloud. It may be worx, landxcape or kress.
  • sn is the Serialnumber of your Mower. You may find it on your mower or on startup of this bridge in LogLevel "debug".
  • topic is a MQTT-topic of your choice to subscribe to on your IP-Symcon-MQTT-Server. Make sure, that your IP-Symcon MQTTworxGateway uses the same topic.
  • for logLevel you have the options debug, info, warn, error and silent. If you don't use a username or password, just leave the input field blank.

Managing multiple mowers in the same Cloud

If you have more than one mower connected to your Cloud Account, please modify your config.json like this:

{
	"cloud": {
	    "email": "yourmail@mailserver.org",
	    "pwd": "TopSecret!",
	    "type": "kress"
	},
	"mqtt": {
	    "url": "mqtt://yourIPS-Server",
		"options":
		{
			"username": "justMe",
			"password": "MySecret",
			"port": 1883
		}
	},
	"mower": [
		{
		    "sn": "serialNumberOfYourMower",
		    "topic": "yourbestmower"
		},
		{
		    "sn": "serialNumberOfYourSecondMower",
		    "topic": "yourOthermower"
		}
	],
	"logLevel": "debug"
}

Managing mowers in different Clouds

If your mowers ar in different clouds, please run seperat instances of this bridge for each cloud.

Recommendation for the winter break

If your mower is offline for a longer period, please disable the MQTT-Landroid-Bridge.

Connecting to IP-Symcon

To connect this Landroid Bridge to IP-Symcon, add the newest Version of the MQTTworx-Modul to your Symcon-installation after Landroid Bridge is up and running successfully (see above).

Changelog

Version Changes
V1.0.0 Baseversion
V1.0.1 FIX: Servertype
V1.0.2 FIX: Onlinestatus
V1.0.3 FIX: ioBroker.worx Version 1.3.0
V1.0.4 FIX: ioBroker.worx latest Version
V1.0.5 FIX: new Worx Cloud login method
V2.0.0 New: based on ioBroker.worx V2.0.3
FIX: New Login-procedure for worxCloud
V2.0.1 FIX: waiting for network online
V2.0.2 New: MQTT-Options
V2.0.3 New: MQTT-Subtopic
V2.0.4 FIX: parseJSON-error
V2.0.5 FIX: cloud-URL

License

MIT License

Copyright (c) 2023 nefiertsrebliS

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Bridge for connecting the Worx (Kress or Landxcape) Lawn Mowers to IP-Symcon.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published