Search found 6 matches

by Falken
Sunday 25 February 2018 16:15
Forum: Other questions and discussions
Topic: IFTTT Webhook - Server returning 401
Replies: 4
Views: 1547

IFTTT Webhook - Server returning 401

Hi! I have configured a working Domoticz setup with access from the WAN-side of things. However, when I create a request like this: https://myip:443/json.htm?type=command&param=switchlight&idx=161&switchcmd=Set%20Level&level=10, the server returns a 401 when coming from the outside my network. If I ...
by Falken
Saturday 24 February 2018 14:30
Forum: Bash / PowerShell / Batch etc.
Topic: Presence detection using UniFi Controller (Ubiquiti Networks)
Replies: 49
Views: 29629

Re: Presence detection using UniFi Controller (Ubiquiti Networks)

I get: chmod: cannot access '/home/pi/domoticz/scripts/unifi-detect/unifi_detect.sh': No such file or directory


But the file is there, what am I doing wrong?
by Falken
Saturday 24 February 2018 13:02
Forum: Python
Topic: Python plugin: Xiaomi Mi Robot Vacuum
Replies: 311
Views: 116176

Re: Python plugin: Xiaomi Mi Robot Vacuum

EDIT: I solved it! The server had apparently crashed when I tried to start it erlier today, so when I ran my server tests now. It started for a moment to update the vaccums information. When I tried to start the server the "right way" via: sudo service miio_server start and sudo chmod +x test.py, it ...
by Falken
Friday 23 February 2018 21:56
Forum: Blockly
Topic: Nightlights, on movement, between 20:35 and 06:45
Replies: 6
Views: 1593

Re: Nightlights, on movement, between 20:35 and 06:45

Try:- If [(Rorel....... = On) and (Time >= 20:35 Or Time <= 06:45)] Note that you also have the second time set to greater, rather than less. Haha, that's what I meant when I said I scripted it to s*it! I tried so many combinations not knowing what I was doing that it eventually broke. Will this ...
by Falken
Thursday 22 February 2018 21:27
Forum: Blockly
Topic: Nightlights, on movement, between 20:35 and 06:45
Replies: 6
Views: 1593

Nightlights, on movement, between 20:35 and 06:45

Hi! I am very new to the Blockly universe, and even more new to the Domoticz automations system. I am trying to create my first Blockly script, that I want to control a light scheme (Philips Hue) when movement is detected by a simple 433 mhz motion detector. It should only activate between 20:35 and ...