We have moved at community.getvera.com

Author Topic: "dummy/Virtual" plugin for text  (Read 1105 times)

Offline freemann

  • Jr. Member
  • **
  • Posts: 80
  • Karma: +1/-0
"dummy/Virtual" plugin for text
« on: June 30, 2014, 04:26:29 am »
I'm looking for an dummy/virtual device which i can use to display additional text/information about an room.
For example;
I created an scene that's calculates the average temp./CO2 values inside my home and outside in the garden. These figure i want to show in a device box.

I search the app-store, but i can't find a plugin that has this capability.

Offline garrettwp

  • Master Member
  • *******
  • Posts: 6371
  • Karma: +227/-128
  • Vera 3, Lite, ISY994
Re: "dummy/Virtual" plugin for text
« Reply #1 on: June 30, 2014, 05:47:48 am »
Have a look at the variable container plugin.

- Garrett

Offline freemann

  • Jr. Member
  • **
  • Posts: 80
  • Karma: +1/-0
Re: "dummy/Virtual" plugin for text
« Reply #2 on: June 30, 2014, 07:30:21 am »
Who thats exactly where i was looking for!

Thanx!

EarlyMorningHours

  • Guest
Re: "dummy/Virtual" plugin for text
« Reply #3 on: June 30, 2014, 11:59:25 am »
Deleted
« Last Edit: February 09, 2016, 01:44:49 pm by EarlyMorningHours »

Offline freemann

  • Jr. Member
  • **
  • Posts: 80
  • Karma: +1/-0
Re: "dummy/Virtual" plugin for text
« Reply #4 on: June 30, 2014, 12:41:16 pm »
This is what i "made" with the VarCon;
(see attachment)

in tab "Edit Variables & Names" i gave the variables(1,2,3,4,5,6) names.
in the luup code of the scene i do;
Code: [Select]
luup.variable_set("urn:upnp-org:serviceId:VContainer1", "Variable1", gemTempBuiten.."c"      , tonumber(dev_id))
luup.variable_set("urn:upnp-org:serviceId:VContainer1", "Variable2", gemTempBinnen.."c"      , tonumber(dev_id))
luup.variable_set("urn:upnp-org:serviceId:VContainer1", "Variable3", highestCO2Value1.." ppm", tonumber(dev_id))
luup.variable_set("urn:upnp-org:serviceId:VContainer1", "Variable4", highestCO2Value2.." ppm", tonumber(dev_id))
luup.variable_set("urn:upnp-org:serviceId:VContainer1", "Variable5", currentFanSpeed         , tonumber(dev_id))

The above code changes the variable value.