Text box

Tips, Tricks and Scripts to enhance your home automation and workaround known device bugs, limitations and incompatibilities
Post Reply
sc-magnus
Posts: 8
Joined: 25 Feb 2017 01:55

Text box

Post by sc-magnus » 25 Aug 2019 22:26

Hi,
Is there anyway to create a "text box" in the z-way UI ?
I want to make a module that show text ( current playing song on spotify )
I can already control my Mopidy server using HTTP device for play, paus, volume etc etc
but I cant figure out how to display some sort of text .

Anyone got some tips?

/Magnus

IgoriokLT
Posts: 85
Joined: 09 Oct 2016 15:24

Re: Text box

Post by IgoriokLT » 26 Aug 2019 12:12

XML or JSON vDev can help you with that.

sc-magnus
Posts: 8
Joined: 25 Feb 2017 01:55

Re: Text box

Post by sc-magnus » 28 Aug 2019 17:39

Hi
Have very little json and xml skills.
Can anyone point me in the right direction?
Would like to send a http command and then display the respons in a "text box"
Or is there a usermodule that i may modify/use the code from?

/Magnus

sc-magnus
Posts: 8
Joined: 25 Feb 2017 01:55

Re: Text box

Post by sc-magnus » 28 Aug 2019 18:44

Hi again.
I can use the InfoWidget module.
But how do I change de "metric.title" and "metrics.text"
Can it be changed with HTTP API?
Cant figure how to send a command to change the text

Post Reply