iobroker-community-adapters / ioBroker.worx

Control Worx Landroid, Kress, Landxcape, Ferrex with IoBroker
MIT License
51 stars 20 forks source link

Try to send a message but could not find the mower #570

Closed Viburnum closed 2 years ago

Viburnum commented 2 years ago

Describe the bug
When starting the adapter all states are updated. When I want to send a command to start the mower, I get the following error: 2022-09-21 17:49:40.976 - error: worx.0 (1120) Try to send a message but could not find the mower

Screenshots & Logfiles
2022-09-21 16:36:29.436 - info: worx.0 (1120) starting. Version 1.6.6 in /opt/iobroker/node_modules/iobroker.worx, node: v18.9.0, js-controller: 4.0.23 2022-09-21 16:36:29.475 - info: worx.0 (1120) worx is selected 2022-09-21 16:36:32.217 - error: worx.0 (1120) Error: unsupported 2022-09-21 16:36:33.124 - info: worx.0 (1120) found DoubleShedule, create states... 2022-09-21 16:36:33.128 - info: worx.0 (1120) found OneTimeShedule, create states... 2022-09-21 16:36:33.130 - info: worx.0 (1120) found PartyModus, create states... 2022-09-21 16:36:38.209 - info: worx.0 (1120) Autolock found! Create State : AutoLock 2022-09-21 16:36:38.210 - info: worx.0 (1120) Autolock found! Create State : AutoLockTimer 2022-09-21 17:49:28.075 - info: worx.0 (1120) Loglevel changed from "info" to "silly" 2022-09-21 17:49:28.081 - silly: worx.0 (1120) States system redis pmessage system.adapter.worx.0.logLevel/system.adapter.worx.0.logLevel:{"val":"silly","ack":true,"ts":1663778968077,"q":0,"from":"system.adapter.worx.0","lc":1663778968072} 2022-09-21 17:49:40.960 - silly: worx.0 (1120) States user redis pmessage worx.0.*/worx.0.201930198403023376AE.mower.sendCommand:{"val":3,"ack":false,"ts":1663778980955,"q":0,"from":"system.adapter.web.0","user":"system.user.admin","lc":1663778980955} 2022-09-21 17:49:40.969 - debug: worx.0 (1120) state change: id_____ worx.0.201930198403023376AE.mower.sendCommand Mower 201930198403023376AE_____sendCommand______{"_events":{},"_eventsCount":0,"_maxListeners":100,"serial":"201930198403023376AE","online":true,"raw":{"id":394844,"uuid":"96c52e52-ad7f-4002-ad7f-b4d366033eaa","product_id":49,"user_id":XXX,"serial_number":"XXX","mac_address":"XXX","name":"Mählanie","locked":true,"firmware_version":3.28,"firmware_auto_upgrade":true,"push_notifications":true,"sim":null,"push_notifications_level":"warning","test":false,"iot_registered":true,"mqtt_registered":true,"pin_code":null,"registered_at":"2021-05-12 00:00:00","online":true,"app_settings":null,"accessories":null,"features":{"auto_lock":3.25,"chassis":"m_2019","digital_fence_settings":3.25,"display_type":"tube","input_type":"keyboard_tube","lock":true,"mqtt":true,"multi_zone":true,"multi_zone_percentage":true,"multi_zone_zones":4,"one_time_scheduler":3.15,"rain_delay":true,"rain_delay_start":3.08,"safe_go_home":3.25,"scheduler_two_slots":3.15,"unrestricted_mowing_time":true,"wifi_pairing":"smartlink"},"pending_radio_link_validation":null,"mqtt_endpoint":"iot.eu-west-1.worxlandroid.com","mqtt_topics":{"command_in":"PRM100/98D863581964/commandIn","command_out":"PRM100/98D863581964/commandOut"},"warranty_registered":false,"purchased_at":null,"warranty_expires_at":null,"time_zone":"Europe/Berlin","lawn_size":null,"lawn_perimeter":86,"auto_schedule_settings":{"boost":0,"nutrition":null,"irrigation":null,"soil_type":null,"grass_type":null,"exclusion_scheduler":{"exclude_nights":true,"days":[{"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,"slots":[]}]}},"auto_schedule":false,"distance_covered":412527,"mower_work_time":26764,"blade_work_time":25709,"blade_work_time_reset":0,"blade_work_time_reset_at":null,"battery_charge_cycles":313,"battery_charge_cycles_reset":0,"battery_charge_cycles_reset_at":null,"messages_in":299,"messages_out":54530,"raw_messages_in":299,"raw_messages_out":54530,"created_at":"2019-05-01 07:15:05","updated_at":"2022-09-05 09:46:13"},"edgeCut":false,"mqtt_command_in":"PRM100/98D863581964/commandIn","mqtt_command_out":"PRM100/98D863581964/commandOut","message":{"cfg":{"lg":"en","id":2,"dt":"21/09/2022","tm":"17:29:32","rd":180,"sn":"201930198403023376AE","mz":[0,0,0,0],"mzv":[0,0,0,0,0,0,0,0,0,0],"sc":{"p":0,"m":2,"distm":0,"ots":{"bc":0,"wtm":0},"d":[["13:00",180,0],["13:00",210,1],["13:00",210,0],["13:00",210,0],["13:00",210,0],["13:00",210,1],["13:00",180,0]],"dd":[["00:00",0,0],["00:00",0,0],["00:00",0,0],["00:00",0,0],["00:00",0,0],["00:00",0,0],["00:00",0,0]]},"cmd":0,"al":{"lvl":0,"t":60}},"dat":{"mac":"98D863581964","fw":3.28,"fwb":1,"lz":0,"rsi":-62,"lk":1,"dmp":[1.2,-0.6,240.1],"st":{"b":25837,"d":414839,"wt":26898,"bl":86},"rain":{"s":0,"cnt":0},"bt":{"t":18.2,"v":17.84,"p":41,"nr":314,"c":0,"m":0},"le":0,"ls":7,"act":1,"conn":"wifi"}}} 2022-09-21 17:49:40.972 - debug: worx.0 (1120) Send cmd:3 2022-09-21 17:49:40.975 - debug: worx.0 (1120) Worxcloud MQTT sendMessage to 201930198403023376AE Message: {"cmd":3} 2022-09-21 17:49:40.976 - error: worx.0 (1120) Try to send a message but could not find the mower

Versions:

TA2k commented 2 years ago

please retest with GitHub version