Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Controllers
  3. Home Assistant
  4. [SOLVED] device_tracker unable to load / known_devices.yaml not found after HA update

[SOLVED] device_tracker unable to load / known_devices.yaml not found after HA update

Scheduled Pinned Locked Moved Home Assistant
7 Posts 2 Posters 7.2k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • MadhiasM Offline
    MadhiasM Offline
    Madhias
    wrote on last edited by Madhias
    #1

    Hi,

    I am not sure if my problem fits in here or rather to Home Assistant itself, but after an upgrade of HA to 0.48.1 sensor information is not updated, only after restarting Home Assistant once, but with an old value (the one before upgrading). I updated netdisco manually as always to the now correct version (1.0.1). Maybe that is the cause? The Philips Hue lamp is detected and working.

    ERROR (MainThread) [homeassistant.components.device_tracker] Unable to load 
    /home/homeass/.homeassistant/known_devices.yaml: Config file not found:
    /home/homeass/.homeassistant/known_devices.yaml
    

    Do I have to use the device_tracker component now which I did not used before? Is the problem related to netdisco? Creating manually the *.yaml file did not help (of course).

    martinhjelmareM 1 Reply Last reply
    0
    • MadhiasM Madhias

      Hi,

      I am not sure if my problem fits in here or rather to Home Assistant itself, but after an upgrade of HA to 0.48.1 sensor information is not updated, only after restarting Home Assistant once, but with an old value (the one before upgrading). I updated netdisco manually as always to the now correct version (1.0.1). Maybe that is the cause? The Philips Hue lamp is detected and working.

      ERROR (MainThread) [homeassistant.components.device_tracker] Unable to load 
      /home/homeass/.homeassistant/known_devices.yaml: Config file not found:
      /home/homeass/.homeassistant/known_devices.yaml
      

      Do I have to use the device_tracker component now which I did not used before? Is the problem related to netdisco? Creating manually the *.yaml file did not help (of course).

      martinhjelmareM Offline
      martinhjelmareM Offline
      martinhjelmare
      Plugin Developer
      wrote on last edited by
      #2

      @Madhias

      The mysensors component will try to load a device_tracker platform during setup. But I didn't think a failure of one platform would stop all updates.

      Is that your only error in the log?

      How did you install home assistant? Is the home path correct in the error log messages?

      MadhiasM 1 Reply Last reply
      1
      • martinhjelmareM martinhjelmare

        @Madhias

        The mysensors component will try to load a device_tracker platform during setup. But I didn't think a failure of one platform would stop all updates.

        Is that your only error in the log?

        How did you install home assistant? Is the home path correct in the error log messages?

        MadhiasM Offline
        MadhiasM Offline
        Madhias
        wrote on last edited by Madhias
        #3

        @martinhjelmare Thanks again for your help! In the HA log this is the only error shown. I installed it in a Python virtual environment, the path locations are correct – I called the user homeass =)

        But looking at my gateway log there seems to be another error, with all sensors the same output:

        TSF:MSG:READ,3-3-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
        TSF:MSG:BC
        TSF:MSG:FPAR REQ,ID=3
        TSF:CKU:OK,FCTRL
        TSF:MSG:GWL OK
        !TSF:MSG:SEND,0-0-3-3,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
        
        1 Reply Last reply
        0
        • martinhjelmareM Offline
          martinhjelmareM Offline
          martinhjelmare
          Plugin Developer
          wrote on last edited by martinhjelmare
          #4

          Yeah, the last line in the serial log of the gateway says that it didn't receive an acknowledgement from node 3 when sending parent ID to node 3. Something with the radio communication seems to not work 100%. You can use the debug flowchart in the sticky thread in the troubleshooting section of the forum to try to find the cause.

          Here:
          https://forum.mysensors.org/topic/666/debug-faq-and-how-ask-for-help

          MadhiasM 1 Reply Last reply
          1
          • martinhjelmareM martinhjelmare

            Yeah, the last line in the serial log of the gateway says that it didn't receive an acknowledgement from node 3 when sending parent ID to node 3. Something with the radio communication seems to not work 100%. You can use the debug flowchart in the sticky thread in the troubleshooting section of the forum to try to find the cause.

            Here:
            https://forum.mysensors.org/topic/666/debug-faq-and-how-ask-for-help

            MadhiasM Offline
            MadhiasM Offline
            Madhias
            wrote on last edited by
            #5

            @martinhjelmare I'll do right now, what can be the problem there. Very strange, since it was working perfect for a long time now, maybe an update broke it (HA and Rasbian Lite). I have a fear about radio problems though, to solve them. It must be the gateway, since it is the same for all sensors.

            1 Reply Last reply
            0
            • martinhjelmareM Offline
              martinhjelmareM Offline
              martinhjelmare
              Plugin Developer
              wrote on last edited by martinhjelmare
              #6

              Yeah, I would guess it's on the gateway side, and I would guess that the radio doesn't get enough stable power. How are you powering the gateway? In my experience USB power from a regular USB port can often be not good enough. It might work sometimes, but often leads to failures when the gateway should send and needs more power.

              Adding a capacitor is a first step before replacing radio or power source though.

              MadhiasM 1 Reply Last reply
              1
              • martinhjelmareM martinhjelmare

                Yeah, I would guess it's on the gateway side, and I would guess that the radio doesn't get enough stable power. How are you powering the gateway? In my experience USB power from a regular USB port can often be not good enough. It might work sometimes, but often leads to failures when the gateway should send and needs more power.

                Adding a capacitor is a first step before replacing radio or power source though.

                MadhiasM Offline
                MadhiasM Offline
                Madhias
                wrote on last edited by Madhias
                #7

                @martinhjelmare OK, It was not an update, since when booting the gateway device from my backup drive I have the same radio problem. So I'll have a look onto that. The gateway is installed on a Raspberry Pi 3, powered by the 'normal' micro USB adapter. I could exchange the capacitor on the radio there as a start.

                [EDIT] Solved, just 'touched' the capacitor and wobbled around on the gateways radio, and radio communication works again. Sorry for the confusion...

                1 Reply Last reply
                1
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                22

                Online

                11.7k

                Users

                11.2k

                Topics

                113.1k

                Posts


                Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • MySensors
                • OpenHardware.io
                • Categories
                • Recent
                • Tags
                • Popular