Search found 1763 matches

by Egregius
Sunday 19 February 2017 20:03
Forum: LUA
Topic: Pass2PHP
Replies: 366
Views: 14721

Re: Pass2PHP

Correct, 4th is name of database.

Think you'll need a extra package like php-mysql or something. Google 'enable mysqli php' ;)
by Egregius
Tuesday 14 February 2017 22:17
Forum: LUA
Topic: Pass2PHP
Replies: 366
Views: 14721

Re: Pass2PHP

You can easily backup the whole sql3lite db with rsync.
And/or send data in realtime to sql.
I only sent all temps every minute to sql, just for good analysis of the heating script.
by Egregius
Sunday 12 February 2017 15:59
Forum: LUA
Topic: Pass2PHP
Replies: 366
Views: 14721

Re: Pass2PHP

I would use the cron in pass2php ;)
by Egregius
Friday 10 February 2017 4:27
Forum: Other questions and discussions
Topic: heating controll
Replies: 6
Views: 274

Re: heating controll

A thermostat is nothing more than something that switches a heating on when it's to cold. If you can control your heating with the USB thing do it, why not? You only need a thermometer then in each room you'd like to control. I don't use the thermometers of my fibaro motion sensors, never used it, s...
by Egregius
Thursday 09 February 2017 15:59
Forum: Other questions and discussions
Topic: heating controll
Replies: 6
Views: 274

Re: heating controll

Keep in mind that these are battery powered devices! Of you have the oportunity to use main powered valves (like directly on the manifold) don't hesitate to do that. I even plan to replace my manifold by a version that supports electric valves on it, like used in a floor heating system. The Danfoss ...
by Egregius
Tuesday 07 February 2017 20:19
Forum: Heating/cooling
Topic: Danfoss thermostat with external thermometer?
Replies: 3
Views: 138

Re: Danfoss thermostat with external thermometer?

One in each room.
Search for pass2php or click on my signature. Already quite some info available.
by Egregius
Tuesday 07 February 2017 18:16
Forum: Heating/cooling
Topic: Danfoss thermostat with external thermometer?
Replies: 3
Views: 138

Re: Danfoss thermostat with external thermometer?

All thermostatic valves I tested suck in regulating precise. Therefore I set them higher/lower depending on the difference in temperature mesured by an external thermometer (Fibaro smoke sensor). Part of my pass2php heating script: $kamers=array('living','tobi','alex','kamer');$bigdif=100;foreach($k...
by Egregius
Monday 06 February 2017 20:28
Forum: LUA
Topic: Fetching otherdevices_svalues by index? Topic is solved
Replies: 5
Views: 202

Re: Fetching otherdevices_svalues by index? Topic is solved

I believe your idx will faster change than your name. Think about a complete reinstallation. You can't control idx, but you can choose the name.
by Egregius
Sunday 05 February 2017 1:14
Forum: Scripts [cleaning in progress]
Topic: PHP: Functions to control Domoticz
Replies: 5
Views: 221

Re: PHP: Functions to control Domoticz

You can't use the same port. One port for domoticz and one for the php webserver.
by Egregius
Saturday 04 February 2017 7:38
Forum: General Discussion
Topic: zwave network wake-up interval
Replies: 17
Views: 465

Re: zwave network wake-up interval

Under settings > Hardware
by Egregius
Friday 03 February 2017 21:45
Forum: Other questions and discussions
Topic: GUI
Replies: 3
Views: 266

Re: GUI

Create your own gui. Not so difficult.
Ihave pages for movies and tvshows. Directly from the movieposter powerup the mediaplayer, turn on tv and lighting, switch amplifier to correct input and volume,...
by Egregius
Friday 03 February 2017 16:49
Forum: Z-Wave
Topic: Set parameters for sleeping Z-Wave devices
Replies: 7
Views: 1327

Re: Set parameters for sleeping Z-Wave devices

Just wait 6 hours, grab a beer and relax ;)
by Egregius
Friday 03 February 2017 16:47
Forum: Blocky
Topic: Increase or decrease value
Replies: 3
Views: 168

Re: Increase or decrease value

Blockly can't do calculations. Use a lua/php/... script.
by Egregius
Thursday 02 February 2017 17:16
Forum: LUA
Topic: LUA Post method
Replies: 6
Views: 225

Re: LUA Post method

Maybe this could work:

Code: Select all

var = whatevervalue
os.execute('curl -s -d "a='..var..'" http://mysite.com/test.php &')
commandArray={}
return commandArray
by Egregius
Thursday 02 February 2017 0:39
Forum: LUA
Topic: Pass2PHP
Replies: 366
Views: 14721

Re: Pass2PHP

Lol, thanks and enjoy ;)
by Egregius
Wednesday 01 February 2017 8:05
Forum: Other questions and discussions
Topic: JSON command UP/DOWN for Fireplace switch?
Replies: 2
Views: 79

Re: JSON command UP/DOWN for Fireplace switch?

Use the developer view of Chrome/Firefox to see the command that's send while you adjust it.
by Egregius
Wednesday 01 February 2017 8:00
Forum: Heating/cooling
Topic: Smartwares introduces 433 thermostat valve
Replies: 74
Views: 17628

Re: Smartwares introduces 433 thermostat valve

If it isn't getting warmer than 26-27°C in that cabinet you could just set them to 28 when you want them open and on 4 if you want them closed.
by Egregius
Wednesday 01 February 2017 0:31
Forum: LUA
Topic: Pass2PHP
Replies: 366
Views: 14721

Re: Pass2PHP

From my floorplan, or with a simple remote upstairs. Slapen (sleep) activates pirs downstairs as alarm, makes sure everything downstairs is off. We mostly activate it ourself, the script after 4 hours is there in case we forgot it. Same thing with 'weg' (away) after 12 hours. When away upstairs is a...
by Egregius
Tuesday 31 January 2017 10:31
Forum: Blocky
Topic: Why does this not work ?
Replies: 2
Views: 149

Re: Why does this not work ?

Your nesting of the blocks is wrong.
Now you have
if('Pir keuken' == ( 'On' AND 'Lux Keuken' < 1500 ) )

should be
if('Pir Keuken' == 'On' AND 'Lux Leuken' < 1500 )

Go to advanced search