Value not changing for hvac app in UI through afb-client-demo

Description

Hello I was trying to change the default value for left temperature being shown in HVAC application in AGL demo image using afb-client demo. But it is not getting reflected in UI but through command its getting reflected. Is there any additional step to be done for the value change to be seen in UI. In general how do we control or change the default values shown in UI .Below shows the command that I have given:

imx8mqevk:~# afb-client-demo -H ws://localhost:30032/api?token=x hvac set '{"LeftTemperature":45}'
ON-REPLY 1:hvac/set: OK
{
  "jtype":"afb-reply",
  "request":

{     "status":"success",     "info":"No changes"   }

}
imx8mqevk:~# afb-client-demo -H ws://localhost:30032/api?token=x hvac get
ON-REPLY 1:hvac/get: OK
{
  "response":

{     "LeftTemperature":45,     "RightTemperature":21,     "FanSpeed":0   }

,
  "jtype":"afb-reply",
  "request":

{     "status":"success"   }

}

Environment

None

Activity

Show:

Jan-Simon Moeller 
May 12, 2023 at 11:54 AM

You need to go for the master branch or octopus branch.  Look at how it is done there (using Kuksa.val as backend instead of the multiple service binders).

Jan-Simon Moeller 
May 12, 2023 at 11:36 AM

What do you mean ?

Shilpa John 
May 12, 2023 at 11:28 AM

okay , lets say I am using DIC ,So what is the latest approach to change content on it?

Jan-Simon Moeller 
May 12, 2023 at 11:04 AM

Hi !

 

Koi is EOL. The last release with the old application framework is lamprey.

That being said: the UI is only setup to push data down into the service (who else would set the temp in the demo app?) . So there is no reaction to the value changing through cmdline.

Be advised that the old appfw (afm + service binders) is deprecated.

Inactive

Details

Assignee

Reporter

Hardware Platform(s) Affected

NXP i.MX8

Affects versions

Priority

Created May 12, 2023 at 9:49 AM
Updated September 15, 2023 at 2:11 PM
Resolved September 6, 2023 at 10:17 AM

Flag notifications