[2023-04-01 13:59:40]DEBUG : Signal 15 caught, exiting...
[2023-04-01 13:59:40]INFO : Shuting down
[2023-04-01 13:59:40]INFO : Websocket connection close: (None)-None
[2023-04-01 13:59:43]INFO : Starting daemon
[2023-04-01 13:59:43]INFO : Log level: debug
[2023-04-01 13:59:43]DEBUG : Socket port: 55070
[2023-04-01 13:59:43]DEBUG : PID file: /tmp/jeedom/gardena/deamon.pid
[2023-04-01 13:59:43]DEBUG : Init request module v2.21.0
[2023-04-01 13:59:43]DEBUG : token content:
[2023-04-01 13:59:43]DEBUG : # access_token: xxx
[2023-04-01 13:59:43]DEBUG : # user_id: xxx
[2023-04-01 13:59:43]DEBUG : # scope: ['iam:read', 'amc:api']
[2023-04-01 13:59:43]DEBUG : # expires_in: 86399
[2023-04-01 13:59:43]DEBUG : # expires_at: 1680436782.626223
[2023-04-01 13:59:43]DEBUG : # token_type: Bearer
[2023-04-01 13:59:43]DEBUG : # provider: husqvarna
[2023-04-01 13:59:43]INFO : Authentication done
[2023-04-01 13:59:43]INFO : updating Husqvarna Automowers
[2023-04-01 13:59:43]DEBUG : get mower:{"type": "mower", "id": "xxx", "attributes": {"system": {"name": "Automower", "model": "Husqvarna Automower\u00ae 310 Mark II", "serialNumber": xxx}, "battery": {"batteryPercent": 100}, "mower": {"mode": "HOME", "activity": "PARKED_IN_CS", "state": "RESTRICTED", "errorCode": 0, "errorCodeTimestamp": 0}, "calendar": {"tasks": [{"start": 540, "duration": 690, "monday": true, "tuesday": true, "wednesday": true, "thursday": true, "friday": true, "saturday": true, "sunday": true}]}, "planner": {"nextStartTimestamp": 0, "override": {"action": "NOT_ACTIVE"}, "restrictedReason": "NOT_APPLICABLE"}, "metadata": {"connected": true, "statusTimestamp": 1680350362900}, "positions": [{"latitude": xxx, "longitude": xxx}, {xxx}], "settings": {"cuttingHeight": 1, "headlight": {"mode": null}}, "statistics": {"numberOfChargingCycles": 23, "numberOfCollisions": 548, "totalChargingTime": 72000, "totalCuttingTime": 72000, "totalRunningTime": 82800, "totalSearchingTime": 10800}}}
[2023-04-01 13:59:43]INFO : Syncing Husqvarna Automowers with jeedom
[2023-04-01 13:59:43]DEBUG : Send to jeedom : {'husqvarna_automower': {'id': 'xxx', 'type': 'mower', 'name': 'Automower', 'model_type': 'Husqvarna Automower® 310 Mark II', 'serial': xxx, 'battery_level': 100, 'battery_type': 'Rechargeable', 'mode': 'HOME', 'activity': 'PARKED_IN_CS', 'state': 'RESTRICTED', 'errorCode': 0, 'errorDesc': '', 'planner_nextStartTimestamp': 0, 'planner_override': {'action': 'NOT_ACTIVE'}, 'planner_restrictedReason': 'NOT_APPLICABLE', 'cuttingHeight': 1, 'headlight': {'mode': None}, 'positions': 'xxx', 'latitude': xxx, 'longitude': xxx, 'cuttingBladeUsageTime': 0, 'numberOfChargingCycles': 23, 'numberOfCollisions': 548, 'totalChargingTime': 72000, 'totalCuttingTime': 72000, 'totalRunningTime': 82800, 'totalSearchingTime': 10800, 'connected': True, 'statusTimestamp': 1680350362900, 'calendarTasks': [{'start': 540, 'duration': 690, 'monday': (True,), 'tuesday': (True,), 'wednesday': (True,), 'thursday': (True,), 'friday': (True,), 'saturday': (True,), 'sunday': (True,)}]}}
[2023-04-01 13:59:44]DEBUG : Connect Websocket to wss://ws.openapi.husqvarna.dev/v1
[2023-04-01 13:59:44]DEBUG : Checking websocket connection status in 30s...
[2023-04-01 13:59:44]INFO : Start listening
[2023-04-01 13:59:44]DEBUG : Socket interface started
[2023-04-01 13:59:44]DEBUG : LoopNetServer Thread started
[2023-04-01 13:59:44]DEBUG : Listening on: [localhost:55070]
[2023-04-01 13:59:44]INFO : Websocket connected
[2023-04-01 13:59:45]DEBUG : new message received in Websocket: {"ready":true,"connectionId":"xxx="}
[2023-04-01 13:59:45]DEBUG : Websocket connection ready
Pour le calendrier, cela serait bien de pouvoir modifier les plages horaires via scénario, mais je doute que cela soit possible.