I have the V4 binding now running since 3 days without any issues, reconnect interval is set to 300.
Issues · nibi79/worxlandroid
openHAB Binding for Worx Landroid . Contribute to nibi79/worxlandroid development by creating an account on GitHub.
I have the V4 binding now running since 3 days without any issues, reconnect interval is set to 300.
I have no idea what else I can do. Now I canât get it to run at all. I have deleted the cache several times and uninstalled the binding several times. When it runs, it runs for about an hour. My reconnection time is set to 600. I have also tried to increase the log level of the binding but there is not much more log output.
Make sure you have the correct permissions for the binding in the addons folder, it needs to be <user:group>
openhab:openhab
:
sudo chown openhab:openhab <filename>
Bevor issuing the ommand check the permission:
sudo ls -l <filename>
That does not make sense. Doing it once is sufficient. Note that after clearing the cache and tmp openHAB downloads all bindings again and needs some time to settle down again. Sometimes more than one restart is needed.
Also make sure you have java 17 installed, not java 11.
I deleted all Things and created them again, restarted several times and now it seems to work. For whatever reasonâŠ
Hi!
Iâve downloaded the jar and installed in release OH 4.0.0. When I started the binding Iâve got this error message under the property page of BRIDGE:
COMMUNICATION_ERROR
Unexpected error deserializing â[{âidâ:599451,âuuidâ:â*****-****-****-****-**********â,âproduct_idâ:70,âuser_idâ:*****,âserial_numberâ:â***************â,âmac_addressâ:âA0B1C2D3E4F5â,ânameâ:âMâ,âlockedâ:false,âfirmware_versionâ:3.3,âfirmware_auto_upgradeâ:true,âpush_notificationsâ:true,âsimâ:null,âpush_notifications_levelâ:ânoticeâ,âtestâ:false,âiot_registeredâ:true,âmqtt_registeredâ:true,âpin_codeâ:null,âregistered_atâ:â2021-10-16 00:00:00â,âonlineâ:true,âapp_settingsâ:null,âprotocolâ:0,âpending_radio_link_validationâ:null,âcapabilitiesâ:[âauto_lockâ,âbluetooth_controlâ,âbluetooth_pairingâ,âborder_cutâ,âdigital_fence_settingsâ,âfollow_borderâ,âlockâ,âmqttâ,âmulti_zoneâ,âmulti_zone_percentageâ,âone_time_schedulerâ,âpairing_smartconfigâ,âpause_over_wireâ,ârain_delayâ,ârain_delay_startâ,âsafe_go_homeâ,âscheduler_two_slotsâ,âunrestricted_mowing_timeâ,âzone_keeperâ],âcapabilities_availableâ:,âfeaturesâ:{âauto_lockâ:3.25,âbluetooth_controlâ:3.2,âbluetooth_pairingâ:true,âchassisâ:âm_2021â,âdigital_fence_settingsâ:3.25,âdisplay_typeâ:âlcdâ,âinput_typeâ:âkeyboard_push_knobâ,âlockâ:true,âmqttâ:true,âmulti_zoneâ:true,âmulti_zone_percentageâ:true,âmulti_zone_zonesâ:4,âone_time_schedulerâ:3.15,âpause_over_wireâ:3.26,ârain_delayâ:true,ârain_delay_startâ:3.08,âsafe_go_homeâ:3.25,âscheduler_two_slotsâ:3.15,âunrestricted_mowing_timeâ:true,âwifi_pairingâ:âsmartconfigâ},âaccessoriesâ:{âultrasonicâ:true},âmqtt_endpointâ:âiot.eu-west-1.worxlandroid.comâ,âmqtt_topicsâ:{âcommand_inâ:âPRM100/A0B1C2D3E4F5/commandInâ,âcommand_outâ:âPRM100/A0B1C2D3E4F5/commandOutâ},âwarranty_registeredâ:true,âpurchased_atâ:â2021-10-11 00:00:00â,âwarranty_expires_atâ:â2023-10-11 00:00:00â,âsetup_locationâ:{âlatitudeâ:,âlongitudeâ:},âcityâ:{âidâ:*****,âcountry_idâ:*****,ânameâ:âThe name of my city.â,âlatitudeâ:,âlongitudeâ:,âcreated_atâ:â2018-02-15 22:09:04â,âupdated_atâ:â2018-02-15 22:09:04â},âtime_zoneâ:âEurope/Budapestâ,âlawn_sizeâ:250,âlawn_perimeterâ:96,âauto_schedule_settingsâ:{âboostâ:2,âexclusion_schedulerâ:{âdaysâ:[{âslotsâ:,âexclude_dayâ:false},{âslotsâ:,âexclude_dayâ:false},{âslotsâ:,âexclude_dayâ:false},{âslotsâ:,âexclude_dayâ:false},{âslotsâ:,âexclude_dayâ:false},{âslotsâ:,âexclude_dayâ:false},{âslotsâ:,âexclude_dayâ:false}],âexclude_nightsâ:false},âgrass_typeâ:âmixed_speciesâ,âirrigationâ:true,ânutritionâ:{âkâ:8,ânâ:14,âpâ:4},âsoil_typeâ:âsiltâ},âauto_scheduleâ:true,âimprovementâ:true,âdiagnosticâ:true,âdistance_coveredâ:673748,âmower_work_timeâ:41742,âblade_work_timeâ:40947,âblade_work_time_resetâ:28872,âblade_work_time_reset_atâ:â2023-03-30 16:30:49â,âbattery_charge_cyclesâ:305,âbattery_charge_cycles_resetâ:14,âbattery_charge_cycles_reset_atâ:â2022-03-27 17:22:37â,âcreated_atâ:â2021-07-15 04:56:13â,âupdated_atâ:â2023-05-26 18:10:57â,âlast_statusâ:{âtimestampâ:â2023-07-25 09:11:37â,âpayloadâ:{âcfgâ:{âidâ:0,âsnâ:â**********â,âdtâ:â25/07/2023â,âtmâ:â11:11:38â,âlgâ:âenâ,âcmdâ:0,âscâ:{âmâ:1,âdâ:[[â11:00â,75,1],[â11:00â,75,0],[â11:00â,75,0],[â11:00â,75,1],[â11:00â,75,0],[â11:00â,75,0],[â11:00â,75,0]],âddâ:[[â18:00â,75,0],[â18:00â,75,0],[â18:00â,75,0],[â18:00â,75,0],[â18:00â,75,0],[â18:00â,75,0],[â18:00â,75,0]],âdistmâ:0,âpâ:0,âotsâ:{âwtmâ:0,âbcâ:0}},âmzâ:[0,0,0,0],âmzvâ:[0,0,0,0,0,0,0,0,0,0],âmzkâ:0,ârdâ:0,âalâ:{âlvlâ:0,âtâ:60},âtqâ:0,âmodulesâ:{âUSâ:{âenabledâ:1}}},âdatâ:{âmacâ:â***************â,âfwâ:3.3,âfwbâ:1,âlsâ:7,âleâ:0,âconnâ:âwifiâ,âbtâ:{âtâ:31.1,âvâ:19.87,âpâ:100,ânrâ:305,âcâ:0,âmâ:1},âdmpâ:[-1.4,2.4,143.4],âstâ:{âbâ:40958,âdâ:673903,âwtâ:41753,âblâ:96},âactâ:1,ârsiâ:-83,âlkâ:0,âtrâ:0,âlzâ:0,ârainâ:{âsâ:0,âcntâ:0},âmodulesâ:{âUSâ:{âstatâ:âokâ}}}}}}]â
(I replaced serial, MAC, location, and address values for privacy. Might made some errors with JSON format.)
Have I done something wrong?
And apart from that Iâve got some issues with the mower thing page. The first paramter has no label displayed.
Thanks.
Does the Worx app work? If not, you may be blocked for 24 hours.
Edit: check this github entry:
Same here. Issue created:
The IP adress of your mower.
Hi!
Thanks for the reply. My app is working, it tells me that my mower is currently mowing and updates data correctly.
I entered the IP address of my mower (it is my local address? Do I need my router address here?) but nothing changed. The binding gives me the same error. If I validate my JSON without manipulating data (private MAC or location) a JSON validator ensures me that it is a correct JSON format.
Should I +1 the issue on github with this? EDIT: Never mind Iâve replied there already.
Yes.
Iâm pretty sure if the developers have some spare time they will have a look.
I donât have the json error (OH4 Release) and most of the binding is already working.
Ok, thank you for your help again!
I removed both bridge and mower. I emptried cache and recreated the bridge only. Same JSON error occured.
Waithing for devs.
Bug found, correction pushed to the git repo.
Updated jar : https://github.com/clinique/marketplace/blob/main/org.openhab.binding.worxlandroid-4.1.0-SNAPSHOT.jar
That is now working!
Thank you a lot!
Looks like it needs to be the serial number, not the IP adress, sorry.
Hi to all,
first of all, thanks a lot for maintaining this binding!
After migration from OH3.4.2 to OH 4.0.1 Iâm missing some channels.
Most Importand for me: The channel previously found with âdatCommon#errorCodeâ and âdatCommon#statusCodeâ
I need those Items again a numeric values. Is there any chance to get this, or is there a new way in OH4?
Thanks for your support!
Same here.
I had to recreate the Mower Thing and then update the changed channels in the item file.
Hi to all,
the first issue - missing integer Error/StatusCode is resolved in âreverseâ transforming the Description Codes.
Now i identified the next issue: I canât change the zone setting âMeters Zone 1â - âLandroidMeterZone1â
I hope this issue can be resolved soon - this is essential for me, as Iâm working with 7 zones
I canât change the zone setting
I can confirm this, just tested with openHAB 4.0.0 Release and binding version 4.1.0.202307251039.
Michael, you should open an issue to have this tracked and finally fixed:
openHAB Binding for Worx Landroid . Contribute to nibi79/worxlandroid development by creating an account on GitHub.
The channel previously found with âdatCommon#errorCodeâ and âdatCommon#statusCodeâ
I think these are now:
common#status
and common#error
and changed from Number ItemType to String ItemType.
Numeric codes are API internal, they are replaced by the string equivalent in this version of the binding making it more readable in scripts. Instead of reversing the strings to code, you could have better replacing numeric codes by strings in your scripts. You can find all codes here starting line #80
Now i identified the next issue: I canât change the zone setting âMeters Zone 1â - âLandroidMeterZone1â
I hope this issue can be resolved soon - this is essential for me, as Iâm working with 7 zones
Iâm afraid I wonât have the ability to look at this one until mid-august - being back from holidays.
Hi @glhopital ,
thanks for providing the org.openhab.binding.worxlandroid-4.1.0-SNAPSHOT Snapshot of the Binding.
Meanwhile I understood that i used cached legacy Versions all the time because I did not delete the items and added them again.
Okay nice, Iâve tried to set the start time for a workday (Friday) and I get the error shown below.
Did I configured something wrong.
2023-08-04 12:19:52.826 [INFO ] [nhab.automation.script.ui.af230f0a67] - DayOfTheWeek is: FRI
2023-08-04 12:19:52.828 [INFO ] [nhab.automation.script.ui.af230f0a67] - Calculated Time to Start Mowing is: 2023-08-04T19:37+02:00
==> /var/log/openhab/events.log <==
2023-08-04 12:19:53.831 [INFO ] [openhab.event.ItemCommandEvent ] - Item 'WorxLandroidS_FRI_ScheduleDuration' received command 89.0
2023-08-04 12:19:53.832 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'WorxLandroidS_FRI_ScheduleDuration' predicted to become 89.0
2023-08-04 12:19:53.832 [INFO ] [openhab.event.ItemStateUpdatedEvent ] - Item 'WorxLandroidS_FRI_ScheduleDuration' updated to 89.0
2023-08-04 12:19:53.833 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'WorxLandroidS_FRI_ScheduleDuration' changed from 90 to 89.0
==> /var/log/openhab/openhab.log <==
2023-08-04 12:19:53.837 [ERROR] [nal.common.AbstractInvocationHandler] - An error occurred while calling method 'ThingHandler.handleCommand()' on 'org.openhab.binding.worxlandroid.internal.handler.WorxLandroidMowerHandler@41fa4718': No enum constant org.openhab.binding.worxlandroid.internal.codes.WorxLandroidDayCodes.friday
java.lang.IllegalArgumentException: No enum constant org.openhab.binding.worxlandroid.internal.codes.WorxLandroidDayCodes.friday
at java.lang.Enum.valueOf(Enum.java:273) ~[?:?]
at org.openhab.binding.worxlandroid.internal.codes.WorxLandroidDayCodes.valueOf(WorxLandroidDayCodes.java:1) ~[?:?]
at org.openhab.binding.worxlandroid.internal.handler.WorxLandroidMowerHandler.setScheduledDays(WorxLandroidMowerHandler.java:476) ~[?:?]
at org.openhab.binding.worxlandroid.internal.handler.WorxLandroidMowerHandler.lambda$5(WorxLandroidMowerHandler.java:354) ~[?:?]
at java.util.Optional.ifPresent(Optional.java:178) ~[?:?]
at org.openhab.binding.worxlandroid.internal.handler.WorxLandroidMowerHandler.handleCommand(WorxLandroidMowerHandler.java:342) ~[?:?]
at jdk.internal.reflect.GeneratedMethodAccessor58.invoke(Unknown Source) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
at org.openhab.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:147) ~[?:?]
at org.openhab.core.internal.common.InvocationHandlerSync.invoke(InvocationHandlerSync.java:59) ~[?:?]
at jdk.proxy5786.$Proxy5945.handleCommand(Unknown Source) ~[?:?]
at org.openhab.core.thing.internal.profiles.ProfileCallbackImpl.handleCommand(ProfileCallbackImpl.java:85) ~[?:?]
at org.openhab.core.thing.internal.profiles.SystemDefaultProfile.onCommandFromItem(SystemDefaultProfile.java:48) ~[?:?]
at jdk.internal.reflect.GeneratedMethodAccessor57.invoke(Unknown Source) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
at org.openhab.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:147) ~[?:?]
at org.openhab.core.internal.common.Invocation.call(Invocation.java:52) ~[?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
==> /var/log/openhab/events.log <==
2023-08-04 12:19:54.837 [INFO ] [openhab.event.ItemCommandEvent ] - Item 'WorxLandroidS_FRI_StartTime' received command 2023-08-04T19:37:00.000+0200
2023-08-04 12:19:54.839 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'WorxLandroidS_FRI_StartTime' predicted to become 2023-08-04T19:37:00.000+0200
2023-08-04 12:19:54.840 [INFO ] [openhab.event.ItemStateUpdatedEvent ] - Item 'WorxLandroidS_FRI_StartTime' updated to 2023-08-04T19:37:00.000+0200
2023-08-04 12:19:54.841 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'WorxLandroidS_FRI_StartTime' changed from 2023-08-04T17:00:00.000+0200 to 2023-08-04T19:37:00.000+0200