core: FortiOS doesn't work

The problem

FortiOS no longer updates online devices

What version of Home Assistant Core has the issue?

core-2023.1.0

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

fortios

Link to integration documentation on our website

https://www.home-assistant.io/integrations/fortios/

Diagnostics information

No response

Example YAML snippet

device_tracker:
  - platform: fortios
    host: <YOUR-FORTGATE-ADDRESS>
    token: <YOUR-API-TOKEN>

Anything in the logs that might be useful for us?

Logger: homeassistant.components.fortios.device_tracker
Source: components/fortios/device_tracker.py:96
Integration: fortios (documentation, issues)
First occurred: 01:14:47 (56 occurrences)
Last logged: 01:25:47

Key not found in clients: 'is_online'

Additional information

FortiGate 40F FortiOS v7.2.3 build1262

Home Assistant can access with this URL, and it list all devices. https://<YOUR-FORTGATE-ADDRESS>/api/v2/cmdb/firewall/address/?access_token=<YOUR-API-TOKEN>

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 22 (9 by maintainers)

Most upvoted comments

Hi Julian,

Sorry about the lack of response, I have been busy. Thanks for you contribution, good findings.

Restarting the wad daemon won’t help here, that was a previous bug it could mitigate.

Filtering on the API call is a great idea, I did some quick tests and agree it works fine. I’ll incorporate this in the HA integration, test it and make a pull request.

Have a great weekend /Kim