Worx Landroid Binding

First thanks for the binding, it worx like a charm! :slight_smile:
Just thought it would be useful to know when itā€™s time to replace the blades. Worx tells me that these are to be replaced every 2 months for normal usage, so assuming it mows 45 mins per day, 5 days a week that means around 2000 minutes of mowing.
We have the total blade time from the binding, then the excercise is quite easy.

items to add

String          LegoMowerBladesReplaced                  "Blades replaced"                   <settings>
Number          LegoMowerBladeTimeWhenReplaced           "Bladetime when replaced [%s min]"  <time>
Number          LegoMowerBladeTimeSinceReplaced          "Bladetime since replaced [%s min]" <time>
Number          LegoMowerBladesUsagePercent              "Blades usage [%.0f %%]"            <time>

rules

val Number LegoMowerBladesReplaceTime = 2000

rule MowerBladeTime
when
    Item LegoMowerTotalBladeTime changed
then
    var Number tt
    if (LegoMowerBladeTimeWhenReplaced.state == NULL)
        tt = 0
    else
        tt = LegoMowerBladeTimeWhenReplaced.state as Number
    LegoMowerBladeTimeSinceReplaced.postUpdate(LegoMowerTotalBladeTime.state as Number -  tt)
    LegoMowerBladesUsagePercent.postUpdate( (LegoMowerBladeTimeSinceReplaced.state as Number) / LegoMowerBladesReplaceTime * 100)
end

rule MowerBaldeTimeReplacement
when
    Item LegoMowerBladesReplaced received command SET
then
    LegoMowerBladeTimeWhenReplaced.postUpdate(LegoMowerTotalBladeTime.state)
    LegoMowerBladesReplaced.sendCommand("")
end

piece of sitemap

Default item=LegoMowerBladesUsagePercent valuecolor=[>=100="red", >=75="orange", >=0="green"]
Switch item=LegoMowerBladesReplaced mappings=[SET="Set time"]

When you replace the baldes just click the switch ā€œSet timeā€ in the sitemap, the total balde time will be recorded into the item LegoMowerBladeTimeWhenReplaced and the rules will do the rest. LegoMowerBaldesUsagePercent will show % of useage of the blades.

have fun.
ciao

3 Likes

Hi nibi79,
great Job ! The Binding is perfect!
But i have a litte question, is it possible to turn off the [.worxlandroid.internal.mqtt.AWSTopic] - onMessage in the Logfile? with so many log entries Iā€™m worried about my SD cardā€¦
Thanks :slight_smile: ā€¦

Thomas

Thank you!

Please have a look to this issue
https://github.com/nibi79/worxlandroid/issues/19

Will be fixed in the next release!

Do you have an idea when to expect a new release (just started to build on my own, troubleshooting maven-errors).

Regards,
Kai

Hi Kai,

Iā€™m going to release the new version this week.

1 Like

Graphical Enhancement/Improvement pushed :slight_smile:

hi all,

I just released a new version!

Version 2.0

with some new features:
#23 new channel for current zone
#26 Mowing activation / deactivation
#27 Mowing activation / deactivation on scheduling days
#28 Multizone activation / deactivation
#34 Start mowing in selected zone

And again many thanks to @INT5749 for testing, helping and restructuring the sitemap!
Checkout the new design -> https://github.com/nibi79/worxlandroid/blob/master/README.md

And please check the release notes first!!!

Your feedback is appreciated!

3 Likes

Hey nibi79 first of all, thanks for your great work!
I installed your binding last week and everything worked fine, at least for exactly two days. Currently Iā€™m one of the many, who has to wait 24h to use the connection againā€¦ of course, it was caused while I was playing around with different settings etc and polling all the time (I was surprised after reading about that lock - it is weird at all).
But, today Iā€™m waiting for more than 3 days and it still doesnā€™t work.
I tried to uninstall, rename and restart the OH several times, but nothing helped.
The response was always: ā€œConnection blocked from Worx, please try again in 24hā€

My current solution is:
Iā€™ve installed the landroid-bridge and I was astonished, that it worked immediately and properly. Iā€™m wondering whether your kind of connection is quite different to that one (please donā€™t judge me, Iā€™m not a programmer;) )? I would like to investigate and hopefully understand the reason. Finally, Iā€™m looking for a solution to use your binding again.

Thanks!

2 Likes

Had the same issuesā€¦ I solved it with unpairing the mower in the worx account and than readd the mover via app and qrcode again. Of course also delete everything in OH (things, items etc.) After that the connection to aaws servers worked immediately. But, be sure you wait the 24h again :slight_smile:

Hi

I have made a gate between from and rear garden for my mover, the gate is locked because i have a dog.

Im unlocking the gate when i receive status code 4, 6 , 7, 30, 32 and 33, but sometimes
the update is to late and the mover i already trying to got through the gate.

What the lowest successful value for ā€˜refreshStatusIntervalā€™ ?

Regards Mads

I really donā€™t know!

But:
1.) I think you mean ā€˜pollingIntervalā€™:
ā€˜refreshStatusIntervalā€™ - Interval for refreshing mower status (ONLINE/OFFLINE) and channel ā€™ ā€˜common#onlineā€™ in seconds (min=ā€œ30ā€)

ā€˜pollingIntervalā€™ Interval for polling in seconds (min=ā€œ30ā€ max=ā€œ599ā€, after 10 minutes / 600 seconds of inactivity, the connection is closed).

2.)
Worx should send a message automatically (immediately) when the status changes!? Well, actually there is no need to pollā€¦?!?

1 Like

Thanks

If i understand you correctly its should work without changing anything.

I would still like to lower my "pollinginterval,i will tried 30 sec unless that
its likely to give trouble ?

My current settings
[ refreshStatusInterval=120, pollingInterval=300 ]

Regards Mads

Same here. Have removed for more than 48h and reinstalled everything belongs to the binding and still get the message ā€œConnection blocked from Worx, please try again in 24h!ā€. :neutral_face:
Any ideas out there?

Have you tried this??

I have the same problem at the momentā€¦ I have waited 96+ hours still no luckā€¦

Everything works in the appā€¦ I can start and stop the mower from appā€¦ and therefore I believe this is a problem within the binding but Iā€™m no expert

Regards Mads

Please take a look to this issue

1 Like

I havenā€™t unpair the mower from the account, yet. Iā€™ll give it a try tonight and report in 48h :grimacing:

1 Like

Readd to the app does the job :smiley:
Iā€™ve also upgraded openhab to 2.5.7.

1 Like

Good that it finally work for you.

Are there plans for supporting the new features of FW 3.16 for the 2019 models, e.g. double scheduler?