Search found 5 matches

by Stanislaw
Wednesday 18 April 2018 14:40
Forum: Heating/cooling
Topic: Setpoint widget in a floorplan
Replies: 23
Views: 6720

Re: Setpoint widget in a floorplan

Hi,
I have the same problem here. I'm doing some changes in the domoticzdevices.js in chrome browser but I can't figure this out...
Maybe someone could help?
by Stanislaw
Thursday 01 March 2018 20:40
Forum: LUA
Topic: Write a value from Dimmer to Percent Display
Replies: 5
Views: 1374

Re: Write a value from Dimmer to Percent Display

Sorry that I'm asking for a such basic things but I'm not a software developer, just trying to have some fun :) Can somebody tell me just last more thing? If I'm using command: commandArray['UpdateDevice'] = '13|0|30' To write something to a Percentage Display, can I put somehow a value from another ...
by Stanislaw
Thursday 01 March 2018 8:54
Forum: LUA
Topic: Write a value from Dimmer to Percent Display
Replies: 5
Views: 1374

Re: Write a value from Dimmer to Percent Display

dzVents hides most of the complexity of using LUA in combination with domoticz for you and therefore is much easier to learn. This is especial true when starting with programming in this area. Happy to help if you still have questions after looking at http://www.domoticz.com/forum/viewtopic.php?f ...
by Stanislaw
Wednesday 28 February 2018 13:45
Forum: LUA
Topic: Write a value from Dimmer to Percent Display
Replies: 5
Views: 1374

Re: Write a value from Dimmer to Percent Display

freijn thanks for help but I'm watching values of variables by using prDebug:

Code: Select all

function prDebug(sString)
  if(bDebug) then
   print ( sString )
  end
end
Still can't solve the problem....So many hours lost :(
by Stanislaw
Wednesday 28 February 2018 7:45
Forum: LUA
Topic: Write a value from Dimmer to Percent Display
Replies: 5
Views: 1374

Write a value from Dimmer to Percent Display

Good morning, I need a little help with a simple exercise. I would like to rewrite a value from a virtual dimmer to a percentage display. How I'm trying to do that: local iDimmer = tonumber (otherdevices['Dimmer']) --Input local qDimmer = 'Percent' --Output commandArray = {} --I'v tried: qDimmer ...