update rawdata switch✅  [Solved]

Easy to use, 100% Lua-based event scripting framework.

Moderator: leecollings

Post Reply
jsmit
Posts: 28
Joined: Wednesday 02 November 2016 19:02
Target OS: Raspberry Pi / ODroid
Domoticz version: v2020.2
Location: Nearby Hoorn NL
Contact:

update rawdata switch✅

Post by jsmit »

Hello,

I have made an switch, type mediaplayer.
Now i want to update the text in de switch (which is set in rawdata[1])
Doe anyone now how to do this in dzvents?

Jacco
Last edited by jsmit on Saturday 08 February 2020 15:57, edited 1 time in total.
jsmit
Posts: 28
Joined: Wednesday 02 November 2016 19:02
Target OS: Raspberry Pi / ODroid
Domoticz version: v2020.2
Location: Nearby Hoorn NL
Contact:

Re: update rawdata switch

Post by jsmit »

Nevermind. I have got it werking.
OedzesG
Posts: 106
Joined: Monday 11 March 2019 0:14
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: update rawdata switch✅

Post by OedzesG »

Nevermind. I have got it werking.
can you tell me how you fixed it?

running into the same question...


thnx!
jsmit
Posts: 28
Joined: Wednesday 02 November 2016 19:02
Target OS: Raspberry Pi / ODroid
Domoticz version: v2020.2
Location: Nearby Hoorn NL
Contact:

Re: update rawdata switch✅  [Solved]

Post by jsmit »

OedzesG,

domoticz.devices('Sonos woonkamer').update(1,artist1..' - '..title1)

Jacco
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest