home-assistant/os-agent

What is the expected result of running the test?

creativethings opened this issue · 2 comments

The readme describes I can run
gdbus introspect --system --dest io.hass.os --object-path /io/hass/os
to test.
However what is the expected response so I can know my test was successful?

fwiw, the output on my system (Pi4) and os-agent_1.2.2_linux_armv7.deb the output is

node /io/hass/os {
  interface org.freedesktop.DBus.Introspectable {
    methods:
      Introspect(out s out);
    signals:
    properties:
  };
  interface org.freedesktop.DBus.Properties {
    methods:
      Get(in  s interface,
          in  s property,
          out v value);
      GetAll(in  s interface,
             out a{sv} props);
      Set(in  s interface,
          in  s property,
          in  v value);
    signals:
      PropertiesChanged(s interface,
                        a{sv} changed_properties,
                        as invalidates_properties);
    properties:
  };
  interface io.hass.os {
    methods:
    signals:
    properties:
      @org.freedesktop.DBus.Property.EmitsChangedSignal("true")
      readwrite b Diagnostics = false;
      @org.freedesktop.DBus.Property.EmitsChangedSignal("invalidates")
      readonly s Version = '1.2.2';
  };
};

I've just successfully installed homeassistant-supervised.deb so I assume the above indicates os-agent was a success.

Yes, bascially there should be no error like Error: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown or similar. The output of @nadnerb33 looks good.