Announcement

Collapse
No announcement yet.

How to achieve AK GoogleCast(plugin) like icons for features controls in device card?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to achieve AK GoogleCast(plugin) like icons for features controls in device card?

    I installed the AK GoogleCast plugin and it created some devices for me. What I see different on device cards is it has some icons instead of buttons for controls. Have a look at the below screenshot to get a better idea.

    Click image for larger version

Name:	image.png
Views:	64
Size:	18.2 KB
ID:	1583143

    How can I achieve something similar to this in devices of my own plugin? As far as I know, the Plugin SDK does not provide any control over the look and feel of the devices.html page. We can only manipulate data of devices/features using Plugin SDK's API and the rendering of the devices.html page is handled by HS4 itself. Correct me if I am wrong here.

    I had a look at the Status/Graphics tab for this Google Cast device and tried to implement something similar in a device of my own. But I don't get the desired result. Below are the screenshots of the graphics used in Google Cast device and my device and also of the result I get after implementing the graphics in my device.

    Click image for larger version

Name:	image.png
Views:	118
Size:	58.4 KB
ID:	1583140
    Click image for larger version

Name:	image.png
Views:	60
Size:	36.3 KB
ID:	1583142
    Click image for larger version

Name:	image.png
Views:	66
Size:	33.1 KB
ID:	1583141

    Notable differences between GoogleCast's device and my device:

    1. GoogleCast's device does not show the feature name or status on the device card. It just shows the feature icon. Whereas my device shows both the feature name and the status of the feature.
    2. GoogleCast's device shows icons for controls. My device shows buttons for controls.

    I would like to know how can I achieve results similar to the AK GoogleCast plugin.​​

    #2
    You need to use
    https://homeseer.github.io/Plugin-SD...e.html?tabs=cs
    https://homeseer.github.io/Plugin-SD...e.html?tabs=cs

    [EDIT]

    Check this https://forums.homeseer.com/forum/de...40#post1327840

    Comment


      #3
      Thanks, alexbk66

      Comment

      Working...
      X