sihui
(SiHui)
December 13, 2022, 4:14pm
245
Sure, install ioBroker, it is just a curl one liner (pretty impressive),
install the MQTT client adapter (=Binding in openHAB), point it to your MQTT broker.
install the Worx adapter
configure a MQTT instance =(Thing in openHAB), configure a Worx instance, all datapoints (=Channels in openHAB) will be available right away.
Go to each Worx datapoint you intend to use and click the gear sign on the far right, activate MQTT for that datapoint and activate subscription and or publishing.
Create a generic MQTT Thing in openHAB and add channels for each ioBroker datapoint you intend to use.
Thatās it.
I have no idea as I used a separate lxc container on my Proxmox installation. I would suggest to use not the openHAB server as this is hopefully only a workaround until the binding gets fixed in openHAB.
1 Like
mito
(Micha)
December 14, 2022, 6:21am
246
Thank you so much for your explanation!
I am still not sure, whether I really want to install ioBroker in parallel to OpenHAB on the same Raspberry. If there is no sustainable solution with the Binding itself until March next year, I could give it a try - letās wait and seeā¦
Any update @nibi79 ? I think a fix of the openhab binding itself would be highly appreciated from many people!
1 Like
nibi79
(NB)
March 8, 2023, 9:36am
248
hi all,
please take a look at my post here:
opened 08:34AM - 21 Oct 22 UTC
bug
Hi,
Since around 1 week I got the blocked message in the binding. I tried toā¦ wait 48 hours and also remove and add back the mower to my worx account without success. The Worx app operates normally.
Here is the log:
`2022-10-21 10:20:42.915 [ERROR] [d.internal.WorxLandroidBridgeHandler] - Connection blocked from Worx, please try again in 24h
2022-10-21 10:22:50.060 [DEBUG] [nternal.webapi.request.WebApiRequest] - URI: https://id.eu.worx.com/oauth/token
2022-10-21 10:22:50.692 [DEBUG] [nternal.webapi.request.WebApiRequest] - Worx Landroid WebApi Response: {"token_type":"Bearer","expires_in":3600,"access_token":"***hidden for debug log***","refresh_token":"***hidden for debug log***"}
2022-10-21 10:22:50.696 [DEBUG] [nternal.webapi.request.WebApiRequest] - URI: https://api.worxlandroid.com/api/v2/users/me
2022-10-21 10:22:50.858 [DEBUG] [nternal.webapi.request.WebApiRequest] - Worx Landroid WebApi Response: {"id":267139,"user_type":"customer","push_notifications":true,"location":null,"mqtt_endpoint":"a1optpg91s0ydf-ats.iot.eu-west-1.amazonaws.com","actions_on_google_pin_code":null,"created_at":"2020-03-27 20:33:54","updated_at":"2022-10-21 04:45:35"}
2022-10-21 10:22:50.874 [INFO ] [d.internal.WorxLandroidBridgeHandler] - Start retrieving AWS certificate
2022-10-21 10:22:50.877 [DEBUG] [nternal.webapi.request.WebApiRequest] - URI: https://api.worxlandroid.com/api/v2/users/certificate
2022-10-21 10:22:51.024 [DEBUG] [nternal.webapi.request.WebApiRequest] - Worx Landroid WebApi Response: {"id":160983,"pkcs12":"***hidden for debug log***","active":false,"created_at":"2020-04-10 11:21:16","updated_at":"2020-04-10 11:21:16"}
2022-10-21 10:22:51.034 [ERROR] [d.internal.WorxLandroidBridgeHandler] - Connection blocked from Worx, please try again in 24h
2022-10-21 10:23:43.735 [DEBUG] [nternal.webapi.request.WebApiRequest] - URI: https://id.eu.worx.com/oauth/token
2022-10-21 10:23:44.169 [DEBUG] [nternal.webapi.request.WebApiRequest] - Worx Landroid WebApi Response: {"token_type":"Bearer","expires_in":3600,"access_token":"***hidden for debug log***","refresh_token":"***hidden for debug log***"}
2022-10-21 10:23:44.175 [DEBUG] [nternal.webapi.request.WebApiRequest] - URI: https://api.worxlandroid.com/api/v2/users/me
2022-10-21 10:23:44.236 [DEBUG] [nternal.webapi.request.WebApiRequest] - Worx Landroid WebApi Response: {"id":267139,"user_type":"customer","push_notifications":true,"location":null,"mqtt_endpoint":"a1optpg91s0ydf-ats.iot.eu-west-1.amazonaws.com","actions_on_google_pin_code":null,"created_at":"2020-03-27 20:33:54","updated_at":"2022-10-21 04:45:35"}
2022-10-21 10:23:44.251 [INFO ] [d.internal.WorxLandroidBridgeHandler] - Start retrieving AWS certificate
2022-10-21 10:23:44.254 [DEBUG] [nternal.webapi.request.WebApiRequest] - URI: https://api.worxlandroid.com/api/v2/users/certificate
2022-10-21 10:23:44.387 [DEBUG] [nternal.webapi.request.WebApiRequest] - Worx Landroid WebApi Response: {"id":160983,"pkcs12":"***hidden for debug log***","active":false,"created_at":"2020-04-10 11:21:16","updated_at":"2020-04-10 11:21:16"}
2022-10-21 10:23:44.459 [ERROR] [d.internal.WorxLandroidBridgeHandler] - Connection blocked from Worx, please try again in 24h
`
Any idea?
and if possible, you can test this new version:
new AWS implmementation
I can confirm that the addon works with OH 3.4.1 and 3.4.2, but not with OH 3.2. I'm not sure if it works with other versions of OH, so please let me know if this version v3...
Currently, it looks like OH versions >= 3.3.0 are supported.
As always, your feedback is appreciated
4 Likes
mito
(Micha)
March 8, 2023, 11:40am
249
Great! Seems to work, the bridge is online again! I did not yet start the mower due to snow, but all values are already successfully received from the mower and shown in the sitemap!
Thank you so much for your efforts, nibi79!
1 Like
Today I upgraded OH to 3.4.2 and installed the binding.
It seems to be loaded, openhab-cli shows itās active:
290 ā Active ā 80 ā 3.4.1 ā openHAB Add-ons :: Bundles :: worxlandroid Binding
But the items canāt find the reference to the channel. Itās always unknown / invalid link.
My things definition:
Bridge worxlandroid:worxlandroidBridge:MyWorxBridge "MyWorx Bridge" [ webapiUsername="aa@aa.com", webapiPassword="aaa" ] {
Thing mower xyz "MyLandroid Shaun" [ refreshStatusInterval=3600, pollingInterval=3600 ]
}
My items:
Number LandroidBatteryLevel "Battery Level [%d %%]" <battery> (persistGroup, MowerBat, MowerBatStatus_Chart) {channel="worxlandroid:mower:MyWorxBridge:xyz:datBattery#batteryLevel"}
The webgui of OH tells me the Bridge & Thing are online. But when I look into the mower thing, there are no channels detected.
I had this running on OH 3.1 before without any issues. I didnāt change the config filesā¦
Any help appreciated!
sihui
(SiHui)
March 18, 2023, 6:27pm
251
foobar2605:
pollingInterval=3600
Maximum for pollingIntervall
is 599.
It is way better to use autodetected Things, you would have seen the max right away:
Thanks a lot for the quick reply.
That indeed helped.
About autodetection: I have all things defined in a config file. I would expect some error message when the thing file is loaded. Because I didnāt change the file migrating from OH 3.1 to OH3.4.2 and using the new binding.
Matt77
(Matt)
March 18, 2023, 7:00pm
253
may i ask where i could find this widget youāre using here?[quote=ācypresss, post:231, topic:95246, full:trueā]
Thatās strangeā¦
[/quote]
sihui
(SiHui)
March 18, 2023, 7:37pm
254
It is a desktop application from the German Worx forum, but that deskapp is broken at the moment:
Matt77
(Matt)
March 18, 2023, 11:31pm
255
Ahh ok and i thought it would be a openhab 3 widget.
Mercur
(Jens )
March 24, 2023, 5:31pm
256
I started my Landroid for a new season yesterday, switching to the landroid-Binding 3.4.1, because the Version 3.2. didnt work on my OH 3.4.2.
But I cant connect to the worx-Server. The bridge hangs in initialising-mode.
Errormessage is :
[worxlandroid.internal.mqtt.AWSClient] - Exception: software.amazon.awssdk.crt.mqtt.MqttException: The connection was closed unexpectedly.
Any Ideas are welcomed !
sihui
(SiHui)
March 24, 2023, 5:48pm
257
Mercur:
Any Ideas are welcomed !
Follow this issue on github. For some users the binding just does not work ā¦
opened 08:34AM - 21 Oct 22 UTC
bug
Hi,
Since around 1 week I got the blocked message in the binding. I tried toā¦ wait 48 hours and also remove and add back the mower to my worx account without success. The Worx app operates normally.
Here is the log:
`2022-10-21 10:20:42.915 [ERROR] [d.internal.WorxLandroidBridgeHandler] - Connection blocked from Worx, please try again in 24h
2022-10-21 10:22:50.060 [DEBUG] [nternal.webapi.request.WebApiRequest] - URI: https://id.eu.worx.com/oauth/token
2022-10-21 10:22:50.692 [DEBUG] [nternal.webapi.request.WebApiRequest] - Worx Landroid WebApi Response: {"token_type":"Bearer","expires_in":3600,"access_token":"***hidden for debug log***","refresh_token":"***hidden for debug log***"}
2022-10-21 10:22:50.696 [DEBUG] [nternal.webapi.request.WebApiRequest] - URI: https://api.worxlandroid.com/api/v2/users/me
2022-10-21 10:22:50.858 [DEBUG] [nternal.webapi.request.WebApiRequest] - Worx Landroid WebApi Response: {"id":267139,"user_type":"customer","push_notifications":true,"location":null,"mqtt_endpoint":"a1optpg91s0ydf-ats.iot.eu-west-1.amazonaws.com","actions_on_google_pin_code":null,"created_at":"2020-03-27 20:33:54","updated_at":"2022-10-21 04:45:35"}
2022-10-21 10:22:50.874 [INFO ] [d.internal.WorxLandroidBridgeHandler] - Start retrieving AWS certificate
2022-10-21 10:22:50.877 [DEBUG] [nternal.webapi.request.WebApiRequest] - URI: https://api.worxlandroid.com/api/v2/users/certificate
2022-10-21 10:22:51.024 [DEBUG] [nternal.webapi.request.WebApiRequest] - Worx Landroid WebApi Response: {"id":160983,"pkcs12":"***hidden for debug log***","active":false,"created_at":"2020-04-10 11:21:16","updated_at":"2020-04-10 11:21:16"}
2022-10-21 10:22:51.034 [ERROR] [d.internal.WorxLandroidBridgeHandler] - Connection blocked from Worx, please try again in 24h
2022-10-21 10:23:43.735 [DEBUG] [nternal.webapi.request.WebApiRequest] - URI: https://id.eu.worx.com/oauth/token
2022-10-21 10:23:44.169 [DEBUG] [nternal.webapi.request.WebApiRequest] - Worx Landroid WebApi Response: {"token_type":"Bearer","expires_in":3600,"access_token":"***hidden for debug log***","refresh_token":"***hidden for debug log***"}
2022-10-21 10:23:44.175 [DEBUG] [nternal.webapi.request.WebApiRequest] - URI: https://api.worxlandroid.com/api/v2/users/me
2022-10-21 10:23:44.236 [DEBUG] [nternal.webapi.request.WebApiRequest] - Worx Landroid WebApi Response: {"id":267139,"user_type":"customer","push_notifications":true,"location":null,"mqtt_endpoint":"a1optpg91s0ydf-ats.iot.eu-west-1.amazonaws.com","actions_on_google_pin_code":null,"created_at":"2020-03-27 20:33:54","updated_at":"2022-10-21 04:45:35"}
2022-10-21 10:23:44.251 [INFO ] [d.internal.WorxLandroidBridgeHandler] - Start retrieving AWS certificate
2022-10-21 10:23:44.254 [DEBUG] [nternal.webapi.request.WebApiRequest] - URI: https://api.worxlandroid.com/api/v2/users/certificate
2022-10-21 10:23:44.387 [DEBUG] [nternal.webapi.request.WebApiRequest] - Worx Landroid WebApi Response: {"id":160983,"pkcs12":"***hidden for debug log***","active":false,"created_at":"2020-04-10 11:21:16","updated_at":"2020-04-10 11:21:16"}
2022-10-21 10:23:44.459 [ERROR] [d.internal.WorxLandroidBridgeHandler] - Connection blocked from Worx, please try again in 24h
`
Any idea?
Mercur
(Jens )
March 25, 2023, 1:17pm
258
Edit: It works!!!
Lastly, I uninstalled the Bridge/Mower Things that I had previously added via Things Discovery.
Then just add the textual Things file without any further actions.
The binding immediately updated the associated elements. The sitemap is updated every 10 minutes and everything works fine.
Thanks again Nibi for your great work !
Happy too soonā¦
2023-04-04 08:10:51.322 [ERROR] [worxlandroid.internal.mqtt.AWSClient] - Exception: software.amazon.awssdk.crt.mqtt.MqttException: The connection was closed unexpectedly.
Hi! Worked with Version 3.4.1 beta 24hours without problems. now the bridge is in state initalizingā¦
Log shows:
2023-04-07 14:27:05.353 [DEBUG] [d.internal.WorxLandroidBridgeHandler] - API connected: true
2023-04-07 14:27:05.360 [DEBUG] [nternal.webapi.request.WebApiRequest] - URI: https://api.worxlandroid.com/api/v2/users/me
2023-04-07 14:27:05.851 [DEBUG] [nternal.webapi.request.WebApiRequest] - URI: https://api.worxlandroid.com/api/v2/product-items?status=1
2023-04-07 14:27:06.060 [DEBUG] [worxlandroid.internal.mqtt.AWSClient] - AWSClient create connection: IP ā 34.251.99.68
2023-04-07 14:27:06.720 [DEBUG] [d.internal.WorxLandroidBridgeHandler] - try to connect to AWSā¦
2023-04-07 14:27:07.168 [DEBUG] [d.internal.WorxLandroidBridgeHandler] - AWS connected: false
any suggestions?
1 Like
Hi,
Iām facing exactly the same issueā¦ Any ideas?
Thanks a lot!
BR
Michael
I took 24hours offline. Now it works . Hopefully after 24h again.
Feldt
(Rasmus Feldtmose)
April 18, 2023, 9:33am
262
Did it work after the 24 hours?
I have same issue. Just got my mower, and after around a day after setting it up in OH, the bridge just cannot connect. Stays in status Initializing. If I change the username or password in the binding, I get another error, so the connection must be valid somehow. Iām not that familiar with cloud services on a technical level, but it could seem like the amazon service has a limit on some kind - perhaps regarding number of connections, hours of use or something else?? Could that be the case?
Furthermore my app cannot connect to the mower. But I think that is a local issue with the range of my wi-fi. App only updates when I open it. After that I just get a connection error.
/feldt
at the moment i am above 24hours. hopefully this holds on. I must tell you that the last 24hours the worx was standby because of heavy rain. But it was constant conntected via WIFI
nibi79
(NB)
April 18, 2023, 12:35pm
264
Againā¦ please follow the issue regarding the current problem here:
opened 08:34AM - 21 Oct 22 UTC
bug
Hi,
Since around 1 week I got the blocked message in the binding. I tried toā¦ wait 48 hours and also remove and add back the mower to my worx account without success. The Worx app operates normally.
Here is the log:
`2022-10-21 10:20:42.915 [ERROR] [d.internal.WorxLandroidBridgeHandler] - Connection blocked from Worx, please try again in 24h
2022-10-21 10:22:50.060 [DEBUG] [nternal.webapi.request.WebApiRequest] - URI: https://id.eu.worx.com/oauth/token
2022-10-21 10:22:50.692 [DEBUG] [nternal.webapi.request.WebApiRequest] - Worx Landroid WebApi Response: {"token_type":"Bearer","expires_in":3600,"access_token":"***hidden for debug log***","refresh_token":"***hidden for debug log***"}
2022-10-21 10:22:50.696 [DEBUG] [nternal.webapi.request.WebApiRequest] - URI: https://api.worxlandroid.com/api/v2/users/me
2022-10-21 10:22:50.858 [DEBUG] [nternal.webapi.request.WebApiRequest] - Worx Landroid WebApi Response: {"id":267139,"user_type":"customer","push_notifications":true,"location":null,"mqtt_endpoint":"a1optpg91s0ydf-ats.iot.eu-west-1.amazonaws.com","actions_on_google_pin_code":null,"created_at":"2020-03-27 20:33:54","updated_at":"2022-10-21 04:45:35"}
2022-10-21 10:22:50.874 [INFO ] [d.internal.WorxLandroidBridgeHandler] - Start retrieving AWS certificate
2022-10-21 10:22:50.877 [DEBUG] [nternal.webapi.request.WebApiRequest] - URI: https://api.worxlandroid.com/api/v2/users/certificate
2022-10-21 10:22:51.024 [DEBUG] [nternal.webapi.request.WebApiRequest] - Worx Landroid WebApi Response: {"id":160983,"pkcs12":"***hidden for debug log***","active":false,"created_at":"2020-04-10 11:21:16","updated_at":"2020-04-10 11:21:16"}
2022-10-21 10:22:51.034 [ERROR] [d.internal.WorxLandroidBridgeHandler] - Connection blocked from Worx, please try again in 24h
2022-10-21 10:23:43.735 [DEBUG] [nternal.webapi.request.WebApiRequest] - URI: https://id.eu.worx.com/oauth/token
2022-10-21 10:23:44.169 [DEBUG] [nternal.webapi.request.WebApiRequest] - Worx Landroid WebApi Response: {"token_type":"Bearer","expires_in":3600,"access_token":"***hidden for debug log***","refresh_token":"***hidden for debug log***"}
2022-10-21 10:23:44.175 [DEBUG] [nternal.webapi.request.WebApiRequest] - URI: https://api.worxlandroid.com/api/v2/users/me
2022-10-21 10:23:44.236 [DEBUG] [nternal.webapi.request.WebApiRequest] - Worx Landroid WebApi Response: {"id":267139,"user_type":"customer","push_notifications":true,"location":null,"mqtt_endpoint":"a1optpg91s0ydf-ats.iot.eu-west-1.amazonaws.com","actions_on_google_pin_code":null,"created_at":"2020-03-27 20:33:54","updated_at":"2022-10-21 04:45:35"}
2022-10-21 10:23:44.251 [INFO ] [d.internal.WorxLandroidBridgeHandler] - Start retrieving AWS certificate
2022-10-21 10:23:44.254 [DEBUG] [nternal.webapi.request.WebApiRequest] - URI: https://api.worxlandroid.com/api/v2/users/certificate
2022-10-21 10:23:44.387 [DEBUG] [nternal.webapi.request.WebApiRequest] - Worx Landroid WebApi Response: {"id":160983,"pkcs12":"***hidden for debug log***","active":false,"created_at":"2020-04-10 11:21:16","updated_at":"2020-04-10 11:21:16"}
2022-10-21 10:23:44.459 [ERROR] [d.internal.WorxLandroidBridgeHandler] - Connection blocked from Worx, please try again in 24h
`
Any idea?
Please make sure to use the latest beta version of the binding, which you can find here:
1 Like