custom widgets, display external images by given url #605
-
|
Dear community, I wonder if there is a way to display an external image by a given URL in the statelist by "states-icon-display" or "states-icon-stateStyle" ? Another question is, if it's possible to change the whole span tag of a data point to an img or div tag? And finally: Is there a way to define custom widgets? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
Have you had a look into the FAQ ?
|
Beta Was this translation helpful? Give feedback.
Have you had a look into the FAQ ?
You may convert any image to base64 and use it as an icon within the Device. This is will be used in StateList. An URL is not possible.
Why would you want to change
spantoimg/div? What do you want to archieve? You may display an image by using HTML code (<img ... />) within a state (in ioBroker) and then using that state in jarvis. StateList will display HTML code and thus show the image.What do you exactly mean by Custom Widgets? What do you wanna display? You may create a custom widget in ioBroker.vis and display that via iFrame.