Search found 8 matches

by rlg6767
Wednesday 11 July 2018 11:31
Forum: Speech & Voice Systems
Topic: Controlicz and NGINX
Replies: 1
Views: 2312

Controlicz and NGINX

Hi, So I have Domoticz sat begind NGINX which is being used to reverse proxy a number of applications to the internet. I can access Domoticz remotely from the browser using https://mydns.dns.net/domo fine. I don't have a username/password setup for Domoticz. My server block in NGINX looks like this ...
by rlg6767
Wednesday 11 April 2018 15:11
Forum: LUA
Topic: Presence detection based on IP and Bluetooth
Replies: 45
Views: 11893

Re: Presence detection based on IP and Bluetooth

When I initially run the script from the terminal I can see in the terminal it sees the mobile device from both ping and bluetooth. Then after that it just reports that it can see the device from ping.

If this is by design, then that is totally fine.
by rlg6767
Tuesday 10 April 2018 22:26
Forum: LUA
Topic: Presence detection based on IP and Bluetooth
Replies: 45
Views: 11893

Re: Presence detection based on IP and Bluetooth

Sorry for the slow reply. I can confirm the script is working really well from a cron job. Will happily test your new script out. The rationale behind the comment around whether the frequency of pings etc slows down for both devices was from both a CPU cycle and also mobile battery viewpoint. I.e ...
by rlg6767
Thursday 05 April 2018 23:51
Forum: LUA
Topic: Presence detection based on IP and Bluetooth
Replies: 45
Views: 11893

Re: Presence detection based on IP and Bluetooth

Update: So I have been running the script from the command line now with no crashes and it all seems very happy. Will run from crontab overnight and report back. Quick question on functionality. I noticed that when only one device is connected (I have two that I'm monitoring) and the ping frequency ...
by rlg6767
Thursday 05 April 2018 12:38
Forum: LUA
Topic: Presence detection based on IP and Bluetooth
Replies: 45
Views: 11893

Re: Presence detection based on IP and Bluetooth

Great, will check it out tonight and report back. Many thanks.
by rlg6767
Wednesday 04 April 2018 11:08
Forum: LUA
Topic: Presence detection based on IP and Bluetooth
Replies: 45
Views: 11893

Re: Presence detection based on IP and Bluetooth

That would be good, much appreciated. I think it might be that Domoticz occasionally doesn't respond to the JSON. I tried the URL in the browser and it returned data on the relevant virtual switch.
by rlg6767
Tuesday 03 April 2018 22:44
Forum: LUA
Topic: Presence detection based on IP and Bluetooth
Replies: 45
Views: 11893

Re: Presence detection based on IP and Bluetooth

So I got this working on a raspberry pi 3 (many thanks by the way!!) but it seems to be crashing Domoticz randomly when it tries to update the switch status (but not always). The following error message appeared in the console whilst running the script: JSON request <http://192.168.1.90:8080/json ...
by rlg6767
Friday 30 March 2018 22:59
Forum: Third party and supplementary tools
Topic: [MyDomoAtHome] Support thread
Replies: 1080
Views: 213174

Re: [MyDomoAtHome] Support thread

So I have finished seeing up MyDomoAtHome on a Raspberry Pi 3. I can see the gateway at 192.168.1.90:3002. I can also see the devices from a browser at 192.168.1.90:3002/devices However I can't seem to get ImperiHome to connect to the local address. I haven't set up Nginx or port forwarding yet. Is ...