Search found 2120 matches

by Egregius
Sunday 19 August 2018 22:19
Forum: PHP and all others
Topic: Pass2PHP
Replies: 648
Views: 57475

Re: Pass2PHP

You can run the floorplan completely besides the domoticz ui. Once you get the hang of it you’ll never use the domoticz ui again. Except for adding devices...
Sometimes I need to use the domoticz ui when I just added a switch, but what a pain it is to find a switch when you have +100 of them :shock:
by Egregius
Sunday 19 August 2018 6:50
Forum: PHP and all others
Topic: Pass2PHP
Replies: 648
Views: 57475

Re: Pass2PHP

You also have a soundtouch? I'm updating Github now ;) There are some new functions for it: function bosekey($key,$sleep=100000){ $xml = "<key state=\"press\" sender=\"Gabbo\">$key</key>"; bosepost("key", $xml); usleep ($sleep); $xml = "<key state=\"release\" sender=\"Gabbo\">$key</key>"; bosepost("...
by Egregius
Saturday 18 August 2018 16:05
Forum: PHP and all others
Topic: Pass2PHP
Replies: 648
Views: 57475

Re: Pass2PHP

Why bother searching for other solutions if it works without issues?
Leave it like that ;)
I only make changes for new stuff, like yesterday for a Bose Soundtouch 30 😁
by Egregius
Saturday 18 August 2018 13:05
Forum: PHP and all others
Topic: Pass2PHP
Replies: 648
Views: 57475

Re: Pass2PHP

I would indeed put it in cron120 or cron300 at the end of the file so it doesn't slow down the rest. Or put it in a separate script and call that at the end of cron.
by Egregius
Friday 17 August 2018 16:04
Forum: Z-Wave
Topic: How to check health status of Domoticz processes like webserver
Replies: 4
Views: 125

Re: How to check health status of Domoticz processes like webserver

A moderator should move the topic.
Use a bash script to query the json api. Search the forum, already scripts on it.
by Egregius
Sunday 12 August 2018 10:00
Forum: PHP and all others
Topic: Pass2PHP
Replies: 648
Views: 57475

Re: Pass2PHP

I forgot about this reply. Indeed, there needs to be a, in it.

apcu_store('cron120',time());
by Egregius
Thursday 09 August 2018 22:30
Forum: Blockly
Topic: turn off lights together with tv
Replies: 6
Views: 219

Re: turn off lights together with tv

Begin small, if tv is off switch light off. Then add one time condition and then add the second.

That way you'll learn better what happens.
by Egregius
Thursday 09 August 2018 19:30
Forum: Blockly
Topic: turn off lights together with tv
Replies: 6
Views: 219

Re: turn off lights together with tv

How can it be before 18 and after 19 at the same time?
by Egregius
Wednesday 08 August 2018 15:25
Forum: dzVents
Topic: high cpu when dzvents is enabled
Replies: 19
Views: 514

Re: high cpu when dzvents is enabled

Well, the RPi 3B is lot's faster than the RPi2. No doubt about that. I have RPi2, 3 and 3B in the house and the speed difference is quite noticable.
by Egregius
Wednesday 08 August 2018 14:15
Forum: dzVents
Topic: high cpu when dzvents is enabled
Replies: 19
Views: 514

Re: high cpu when dzvents is enabled

Might be overkill but you can run a virtualisation platform like EXSI or Proxmox on it and run multiple servers on 1 NUC.
That instantly gives also a great way to make complete system backups. Even if my NUC goes completely down I'm back up and running in one hour.
by Egregius
Wednesday 08 August 2018 11:47
Forum: Forum feedback
Topic: Forum performance
Replies: 12
Views: 835

Re: Forum performance

Weird, after the previous posts the performance went to acceptable. Now lately it's back slow, slower, slowest...
by Egregius
Wednesday 08 August 2018 11:46
Forum: dzVents
Topic: high cpu when dzvents is enabled
Replies: 19
Views: 514

Re: high cpu when dzvents is enabled

My cpu load is 0.2% :lol:
But, I don't use any of the internal scripting and I run on a Intel NUC :D
by Egregius
Wednesday 08 August 2018 11:42
Forum: Suggestions
Topic: SSL certificate should be purchased for domoticz.com
Replies: 2
Views: 220

Re: SSL certificate should be purchased for domoticz.com

On the forum there's a letsencrypt certificat installed, only the redirection from http to https isn't done.
People should always use https://www.domoticz.com/forum instead of the plain text http url.
And the administrators should place a redirect from http to https.
by Egregius
Saturday 04 August 2018 21:55
Forum: LUA
Topic: Find My iPhone implementation in LUA script
Replies: 248
Views: 38601

Re: Find My iPhone implementation in LUA script

This is the php script I use, the solution is mentioned in this issue https://github.com/albeebe/PHP-FindMyiPhone/issues/16
by Egregius
Friday 03 August 2018 21:28
Forum: LUA
Topic: Find My iPhone implementation in LUA script
Replies: 248
Views: 38601

Re: Find My iPhone implementation in LUA script

Apple changed something in their ssl. I had to add a option to disable the ssl check to get it working again in my php script.
by Egregius
Wednesday 01 August 2018 8:28
Forum: General Discussion
Topic: Delay in Domoticz GUI
Replies: 5
Views: 345

Re: Delay in Domoticz GUI

The delay is 10 seconds (you can see that in the developer screen of your browser). If you want faster response you could have a look at my php floorplan, there you can set your own refresh time. Mine is set at 3 seconds when I'm on wifi, wich is almost instant. When I'm not at home the refresh is s...
by Egregius
Sunday 29 July 2018 14:44
Forum: PHP and all others
Topic: Pass2PHP
Replies: 648
Views: 57475

Re: Pass2PHP

You don’t need base64 anymore to use pass2php.
by Egregius
Saturday 28 July 2018 6:42
Forum: PHP and all others
Topic: PHP script show value
Replies: 1
Views: 183

Re: PHP script show value

Depending on your needs you could use a small javascript to refresh the browser window:

Code: Select all

<script type="text/javascript">
	setTimeout("window.location.href=window.location.href;",15000);
</script>
You could also have a look at my PHPFloorplan and unleash the power of PHP on Domoticz :-)
by Egregius
Wednesday 18 July 2018 8:23
Forum: Forum feedback
Topic: Cookie policy ?
Replies: 26
Views: 3177

Re: Cookie policy ?

You just need to remove everything that's behind forum/ in the address bar of your browser.
by Egregius
Saturday 07 July 2018 7:56
Forum: General Discussion
Topic: Control a switch via Http
Replies: 1
Views: 293

Re: Control a switch via Http

You could use a php page for that.