Search found 7 matches
- Wednesday 22 November 2017 19:54
- Forum: Blockly
- Topic: Lux sensor triggers all "If else" but should only trigger one
- Replies: 3
- Views: 946
Re: Lux sensor triggers all "If else" but should only trigger one
Unfortunately nested if's do not work and with "else if" the conditions must be set so that all of them mutually exclude each other, otherwise all matching condition are executed even if a prior condition matches. See e.g. http://www.domoticz.com/forum/viewtopic.php?f=6&t=16946&p=153470&hilit ...
- Tuesday 21 November 2017 22:14
- Forum: Blockly
- Topic: Lux sensor triggers all "If else" but should only trigger one
- Replies: 3
- Views: 946
Lux sensor triggers all "If else" but should only trigger one
I have the following Blockly "code":
Is something broken or have I missed something?
I've had problems getting it to work properly so I added a few debug messages to see which triggers that worked. Turns out that ALL of them trigger, when the Lux value is 0.Is something broken or have I missed something?
- Thursday 19 October 2017 14:13
- Forum: Show your projects
- Topic: Pellet stove hack
- Replies: 7
- Views: 3036
Re: Pellet stove hack
Maybe you could monitor the energy consumption to detect whether it's on or off?
This plug for example monitors energy consumption: http://nodon.fr/en/z-wave/micro-smart-plug-z-wave_14-2
This is another way (but costs more): https://aeotec.com/z-wave-home-energy-measure
This plug for example monitors energy consumption: http://nodon.fr/en/z-wave/micro-smart-plug-z-wave_14-2
This is another way (but costs more): https://aeotec.com/z-wave-home-energy-measure
- Thursday 19 October 2017 13:42
- Forum: Bash / PowerShell / Batch etc.
- Topic: Monitor memory usage - curl command results in "401 Unauthorized"
- Replies: 1
- Views: 1984
Re: Monitor memory usage - curl command results in "401 Unauthorized"
I solved it by adding &username=AAA&password=BBB where AAA is the encoded username and BBB is the encoded password. I used this webpage to encode them: https://www.base64encode.org/ More information regarding this is available here: https://www.domoticz.com/wiki/Domoticz_API/JSON_URL's#Authorization ...
- Wednesday 18 October 2017 20:52
- Forum: Bash / PowerShell / Batch etc.
- Topic: Monitor memory usage - curl command results in "401 Unauthorized"
- Replies: 1
- Views: 1984
Monitor memory usage - curl command results in "401 Unauthorized"
I'm trying to follow this guide: https://www.domoticz.com/wiki/Monitor_memory_usage It didn't work but after replacing "grep telegram-cli" with "grep domoticz" I at least got it to print out the current memory usage in the terminal. But when I execute the following command: curl "http://192.168.1 ...
- Wednesday 18 October 2017 19:08
- Forum: Blockly
- Topic: "Time > Sunrise AND Time < Sunset" doesn't work
- Replies: 9
- Views: 5589
- Wednesday 18 October 2017 16:10
- Forum: Blockly
- Topic: "Time > Sunrise AND Time < Sunset" doesn't work
- Replies: 9
- Views: 5589
"Time > Sunrise AND Time < Sunset" doesn't work
I have two saved events, where I want to turn Off an outside lamp on Sunrise, and turn it On on Sunset.
Sunrise:
Sunset:
But it doesn't work! What am I missing?
Sunrise:
Sunset:
But it doesn't work! What am I missing?