nibi79 / worxlandroid

openHAB Binding for Worx Landroid
57 stars 20 forks source link

Vision model not found #105

Open nick1802 opened 1 month ago

nick1802 commented 1 month ago

Hi all,

https://community.openhab.org/t/worx-landroid-binding/95246/508?u=nick_woodforth

can we get the vision models supported? the binding finds the mower in logs but with a error. so never comes up in inbox.

i beleave the error is due to it comeing back with true instead of a number for features.auto_lock.

[ERROR] [rnal.discovery.MowerDiscoveryService] - Error in WebApiException : Unexpected error deserializing '[{"id":******,"uuid":"********-****-****-****-************","product_id":73,"user_id":******,"serial_number":"********************","mac_address":null,"locked":true,"firmware_version":"3.34.0+3","firmware_auto_upgrade":true,"sim":null,"test":false,"iot_registered":true,"mqtt_registered":true,"registered_at":"2024-03-01 00:00:00","online":true,"protocol":1,"pending_radio_link_validation":null,"capabilities":["auto_lock","bluetooth_pairing","border_cut","display_pairing_shortcut","lock","mqtt","multi_zone_tag","one_time_scheduler","ota_upgrade","pause_over_border","rain_delay","unrestricted_mowing_time","vision"],"capabilities_available":[],"features":{"auto_lock":true,"bluetooth_pairing":true,"chassis":"vision_m_2022","display_type":"lcd","input_type":"keyboard_push_knob","lock":true,"mqtt":true,"multi_zone_zones":4,"one_time_scheduler":true,"rain_delay":true,"unrestricted_mowing_time":true},"accessories":{"digital_fence":true},"mqtt_endpoint":"iot.eu-west-1.worxlandroid.com","mqtt_topics":{"command_in":"**\/**\/******\/********-****-****-****-************\/v1\/commandIn","command_out":"**\/**\/******\/********-****-****-****-************\/v1\/commandOut"},"name":"Vision M","blade_height_shift":0,"push_notifications":true,"push_notifications_level":"warning","pin_code":null,"app_settings":null,"warranty_registered":true,"purchased_at":"2024-02-29 00:00:00","warranty_expires_at":"2027-03-01 00:00:00","setup_location":{"latitude":-**.**************,"longitude":***.****************},"city":{"id":*******,"country_id":36,"name":"Oxenford","latitude":-27.890329,"longitude":153.313095,"created_at":"2018-02-15 22:37:17","updated_at":"2018-02-15 22:37:17"},"time_zone":"Australia\/Brisbane","lawn_size":96,"lawn_perimeter":78,"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":true},"grass_type":"mixed_species","irrigation":null,"nutrition":null,"soil_type":"ignore"},"auto_schedule":false,"improvement":true,"diagnostic":true,"distance_covered":26437,"mower_work_time":2082,"blade_work_time":2012,"blade_work_time_reset":0,"blade_work_time_reset_at":null,"battery_charge_cycles":2409,"battery_charge_cycles_reset":0,"battery_charge_cycles_reset_at":null,"created_at":"2023-10-09 01:20:32","updated_at":"2024-04-20 12:50:52","last_status":{"timestamp":"2024-04-22 08:07:05","payload":{"cfg":{"id":0,"tz":"Australia\/Brisbane","lg":"en","cmd":0,"log":{"imp":1,"diag":0},"vis":{"slab":0},"sc":{"enabled":1,"paused":0,"once":{"time":0,"cfg":{"cut":{"b":0,"z":[]}}},"slots":[{"e":1,"d":0,"s":660,"t":300,"cfg":{"cut":{"b":0,"z":[1]}}},{"e":1,"d":1,"s":660,"t":300,"cfg":{"cut":{"b":0,"z":[1]}}},{"e":1,"d":1,"s":1020,"t":60,"cfg":{"cut":{"b":1,"z":[1]}}},{"e":1,"d":2,"s":660,"t":300,"cfg":{"cut":{"b":0,"z":[1]}}},{"e":1,"d":3,"s":660,"t":300,"cfg":{"cut":{"b":0,"z":[1]}}},{"e":1,"d":4,"s":660,"t":300,"cfg":{"cut":{"b":0,"z":[1]}}},{"e":1,"d":5,"s":660,"t":300,"cfg":{"cut":{"b":0,"z":[1]}}},{"e":1,"d":5,"s":1020,"t":60,"cfg":{"cut":{"b":1,"z":[1]}}},{"e":1,"d":6,"s":660,"t":300,"cfg":{"cut":{"b":0,"z":[1]}}}]},"cut":{"b":0,"bd":0,"ob":0,"z":[]},"mz":{"s":[{"id":1,"c":1,"cfg":{"cut":{"bd":150,"ob":0}}}],"p":[]},"rd":180,"al":{"lvl":1,"t":30},"tq":0,"modules":{"DF":{"fh":0,"cut":1},"HL":{"enabled":0}}},"dat":{"uuid":"********-****-****-****-************","mac":"************","tm":"2024-04-22T08:07:03.150Z","fw":"3.34.0+3","ls":1,"le":5,"conn":"wifi","bt":{"t":22.9,"v":19.8,"p":100,"nr":2409,"c":0,"m":0},"head":{"uuid":"********-****-****-****-************","fw":"1.2.29+4","act":1},"dmp":[-1.9,0.6,8.3],"st":{"b":2060,"d":27167,"wt":2132,"bl":78},"act":1,"features":{"ble":0},"rsi":-61,"lk":1,"tr":0,"rain":{"s":1,"cnt":180},"sh":0,"sc":{"slot":0,"once":0},"cut":{"z":0},"mz":[{"id":1,"p":78514,"a":108050534}],"cam":{"status":0,"error":0},"rfid":{"status":0},"modules":{"DF":{"stat":"ok"}}}}}}]' : java.lang.IllegalStateException: Expected a double but was BOOLEAN at line 1 column 676 path $[0].features.auto_lock