Search found 10 matches

by jfcjfc
Tuesday 08 April 2014 18:51
Forum: Suggestions
Topic: Virtual Temperature Sensor
Replies: 13
Views: 7488

Re: Virtual Temperature Sensor

or only LUA, see lua script "heating control" . http://www.domoticz.com/forum/viewtopic.php?f=15&t=66#p11155 ALL ARE INSIDE : five virtual and real temperatures Tms = otherdevices_svalues['Tp-MS-Salon'] -- 131 => 156 / Real Tb = otherdevices_svalues['Tp-Basse'] -- 73 / Virtual Tv = otherdevices ...
by jfcjfc
Tuesday 15 October 2013 10:15
Forum: OpenTherm gateway
Topic: [120] opentherm gateway
Replies: 381
Views: 145491

Re: opentherm gateway

bistoury,

En français et en direct cela sera mieux ou plus simple (message privé)

It's not simulation, it's work with "contact sec" (dry contact ?) and others devices with dz
by jfcjfc
Monday 14 October 2013 13:56
Forum: OpenTherm gateway
Topic: [120] opentherm gateway
Replies: 381
Views: 145491

Re: opentherm gateway

"It would be nice if the http://www.opentherm-gateway.com would be implemented, to read data from boiler and thermostat." it's not necessary to buy this (above) : Only buy : one or two "http://www.planete-domotique.com/sonde-temp-rature-thn132n.html" (18 euros) and one http://www.planete-domotique ...
by jfcjfc
Friday 27 September 2013 1:39
Forum: PHP and all others
Topic: Events system thread (questions and feedback)
Replies: 308
Views: 158570

Re: Events system feedback thread (security panel)

it's OK (1026). commandArray = {} if (globalvariables['Security'] == 'Armed Home' and otherdevices['TEST_1'] == 'Off') then commandArray['TEST_1']='On' commandArray['TEST_2']='Off' end if (globalvariables['Security'] == 'Disarmed' and otherdevices['TEST_1'] == 'On') then commandArray['TEST_1']='Off ...
by jfcjfc
Thursday 26 September 2013 16:43
Forum: PHP and all others
Topic: Events system thread (questions and feedback)
Replies: 308
Views: 158570

Re: Events system feedback thread

Copycatz, """" v1.1023: Scenes and groups on/off/active/inactive via events, fixed bug where inactive event would still trigger when multiple events apply. Comma now supported in event OpenURL. events now triggered by security state change implemented script_security_name.lua for sec panel triggers ...
by jfcjfc
Saturday 20 July 2013 16:51
Forum: LUA
Topic: Script examples (Lua)
Replies: 139
Views: 164020

Re: Script examples (Lua)

commandArray['Bank']='Off'
commandArray['LED boven TV']='Off'
print('Geen beweging, alle lichten uit.')


1 command, 2 command and 3 print => same identation ?
by jfcjfc
Thursday 18 July 2013 18:37
Forum: LUA
Topic: Script examples (Lua)
Replies: 139
Views: 164020

LUA SCRIPTS

RESOLVED ( previous posts with errors) Tomorrow the LUA script of HEATING CONTROL ( version 1) -- devicestatus table -- Tp-Basse ; svalues column : 18.0 (virtual device - temperature) / devicestatut.type = 80) -- Tp-MS-Salon : svalues column : 27.3;44;0 (temperature-humidity..) / devicestatut.type ...
by jfcjfc
Thursday 18 July 2013 14:56
Forum: LUA
Topic: Script examples (Lua)
Replies: 139
Views: 164020

Re: LUA Scripts

Thanks asjmcguire, but no success, error : "attempt to index global 'otherdevices_Temperature' ( a nil value) .... Tsal = tonumber(otherdevices_Temperature['Tp-MS-Salon']) print(Tsal) Tbt = tonumber(otherdevice_Temperature['Tp-Basse']) print(Tbt) ................ with Temperature ou temperature ...
by jfcjfc
Thursday 18 July 2013 13:55
Forum: LUA
Topic: Script examples (Lua)
Replies: 139
Views: 164020

Re: LUA Scripts (error - help please )

error I don't understand in LUA, it work in python with json command all the time (otherdevices or devicechanged) error : attempt to compare two nil values => really 27.4 and 12.0 ..... --Tsal = tonumber(otherdevices['Tp-MS-Salon_Temperature']) --Tbt = tonumber(otherdevices['Tp-Basse_Temperature ...
by jfcjfc
Wednesday 17 July 2013 19:56
Forum: PHP and all others
Topic: Events system thread (questions and feedback)
Replies: 308
Views: 158570

LUA errors : attempt to compare two nil values

........ and devicechanged['Tp_MS_Salon_Temperature'] > devicechanged['Tp_Vacances_Temperature']) then ... or otherdevices['Tp_MS_Salon_Temperature'] > otherdevices['Tp_Vacances_Temperature']) then ... error : attempt to compare two nil values => 27.4 and 12.0 ???? Thanks CopyCatz !! without compare ...