Skip to content

Commit

Permalink
0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
MeisterTR committed Jun 2, 2019
1 parent 33fd482 commit 5ddeb7b
Show file tree
Hide file tree
Showing 7 changed files with 155 additions and 180 deletions.
21 changes: 15 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,36 @@
![Logo](admin/worx.png)
# ioBroker.worx

![Number of Installations](http://iobroker.live/badges/worx-installed.svg)
![Number of Installations](http://iobroker.live/badges/worx-stable.svg)

[![NPM version](http://img.shields.io/npm/v/iobroker.worx.svg)](https://www.npmjs.com/package/iobroker.worx)
[![Downloads](https://img.shields.io/npm/dm/iobroker.worx.svg)](https://www.npmjs.com/package/iobroker.worx)
[![Dependency Status](https://img.shields.io/david/MeisterTR/iobroker.worx.svg)](https://david-dm.org/MeisterTR/iobroker.worx)
[![dependencies Status](https://david-dm.org/MeisterTR/iobroker.worx/status.svg)](https://david-dm.org/MeisterTR/iobroker.worx)
[![Known Vulnerabilities](https://snyk.io/test/github/MeisterTR/ioBroker.worx/badge.svg)](https://snyk.io/test/github/MeisterTR/ioBroker.worx)

[![NPM](https://nodei.co/npm/iobroker.worx.png?downloads=true)](https://nodei.co/npm/iobroker.worx/)

**Tests:** Linux/Mac: [![Travis-CI](http://img.shields.io/travis/MeisterTR/ioBroker.worx/master.svg)](https://travis-ci.org/MeisterTR/ioBroker.worx)
Windows: [![AppVeyor](https://ci.appveyor.com/api/projects/status/github/MeisterTR/ioBroker.worx?branch=master&svg=true)](https://ci.appveyor.com/project/MeisterTR/ioBroker-worx/)
[Deutsche Beschreibung hier](README_de.md)
**Tests:** [![Travis-CI](http://img.shields.io/travis/MeisterTR/ioBroker.worx/master.svg)](https://travis-ci.org/MeisterTR/ioBroker.worx)

## worx adapter for ioBroker

control via cloud and mqtt

This adapter connects IoBroker with your Landroid S/M/L
This adapter connects IoBroker with your Landroid S/M/L via Cloud.
Temperatures, mowing times, battery level and various other data are read out from the mower
The adapter can control the mower and you can change config params like mowtimes.

<img src="admin/worx_ada2.png" alt="drawing" width="100%"/>
## Changelog

## Settings
- to connect to the mower type in email and password from your worx account in the Config.

## Changelog
### 0.2.0 (01.06.2019)
* (MeisterTR) add border
* (MeisterTR) fix small errors
* (MeisterTR) code cleanup
### 0.0.1
* (MeisterTR) initial release

Expand Down
86 changes: 0 additions & 86 deletions README_de.md

This file was deleted.

4 changes: 0 additions & 4 deletions admin/index_m.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,6 @@
<input type="text" class="value" id="password" />
<label for="password" class="translate">Type your pw</label>
</div>
<div class="col s6 input-field">
<input type="number" class="value" id="mower" />
<label for="mower" class="translate">option3 description</label>
</div>
</div>

</div>
Expand Down
6 changes: 5 additions & 1 deletion io-package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
{
"common": {
"name": "worx",
"version": "0.1.0",
"version": "0.2.0",
"news": {
"0.2.0": {
"en": "add border cut, cleanup fixed errors",
"de": "border Cut hinzugefügt, code bereinigt, fkleine fehler behoben"
},
"0.1.0": {
"en": "first working version",
"de": "erste Arbeitsversion",
Expand Down
4 changes: 2 additions & 2 deletions lib/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class mower extends EventEmitter {
this.serial = data.serial_number;
this.online = data.online;
this.raw = data;
//this.mqttC;
this.edgeCut = false;
this.mqtt_command_in = data.mqtt_topics.command_in;
this.mqtt_command_out = data.mqtt_topics.command_out;
//this.connectMqtt();
Expand Down Expand Up @@ -112,7 +112,7 @@ class mower extends EventEmitter {
that.mqttC.on('message', function (topic, message) {
let data = JSON.parse(message);
that.message = data;
that.emit('mqtt', that.serial, data);
that.emit('mqtt', that, data);
});

that.mqttC.on('error', function () {
Expand Down
Loading

0 comments on commit 5ddeb7b

Please sign in to comment.