First thanks for the binding, it worx like a charm!
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
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.
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 ā¦
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
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.
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
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ā ?
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ā¦?!?
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!ā.
Any ideas out there?
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