Search found 642 matches

by Nautilus
Thursday 23 November 2017 9:53
Forum: Other questions and discussions
Topic: What's a scene? What's a Group?
Replies: 12
Views: 4770

Re: What's a scene? What's a Group?

On the group vs scene thing, groups are on/off type actions whereas scenes have additional parameters such as dimming, RGBW color, blinds tilt, music volume, etc. More an 'analog' world than a 'digital' world, as it were :mrgreen: Actually, you can set the dim level and RGB color to a group as well...
by Nautilus
Wednesday 22 November 2017 11:48
Forum: dzVents Lua Framework
Topic: os.execute.aftersec
Replies: 11
Views: 166

Re: os.execute.aftersec

This should be enough when you don't need the separate sleep command:

Code: Select all

os.execute('curl -s "http://127.0.0.1:8081/json.htm?type=command&param=setcolbrightnessvalue&idx=3&hue=18&brightness=50&iswhite=false" &')
by Nautilus
Wednesday 22 November 2017 11:43
Forum: Blockly
Topic: Lux sensor triggers all "If else" but should only trigger one
Replies: 2
Views: 73

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=nested...
by Nautilus
Wednesday 22 November 2017 11:32
Forum: Bugs and Problems
Topic: Unable to disable certain hardware
Replies: 3
Views: 116

Re: Unable to disable certain hardware

Hmm, could the underlying cause be the same as here: http://www.domoticz.com/forum/viewtopic.php?f=6&t=20325?

Does it say anything in the logs after applying?
by Nautilus
Friday 17 November 2017 0:09
Forum: Other questions and discussions
Topic: CPU usage after migrating RPi2 Wheezy to RPi3 Stretch
Replies: 8
Views: 286

Re: CPU usage after migrating RPi2 Wheezy to RPi3 Stretch

After removing mosquitto from systemctl things are (at least close) back to normal. The CPU usage is now pretty much on the same level as with RPi2, but I guess there shouldn't be any kind of big effect in any case. Probably there is still something (newer OS, newer Domoticz version, newer versions ...
by Nautilus
Tuesday 14 November 2017 21:04
Forum: Other questions and discussions
Topic: CPU usage after migrating RPi2 Wheezy to RPi3 Stretch
Replies: 8
Views: 286

Re: CPU usage after migrating RPi2 Wheezy to RPi3 Stretch

Do you run Domoticz beta? If not then try the Beta and see if it helps. I say this because Domoticz stable doesn't support Stretch while beta does. Could be compatible issue or if you fiddled with Stretch it also could be a services issue. As systemd-journal and dbus-daemon are trying something wit...
by Nautilus
Tuesday 14 November 2017 18:06
Forum: Other questions and discussions
Topic: CPU usage after migrating RPi2 Wheezy to RPi3 Stretch
Replies: 8
Views: 286

Re: CPU usage after migrating RPi2 Wheezy to RPi3 Stretch

CPU in my Pi3 with a lot of Lua/bash/python script has the following stats: Avg: 0.48 High: 1.51 Low: 0.25 Clearly your migration went tits up. Something is keeping your Pi3 busy. Did you just put your SD from the Pi2 into the Pi3? If so, did you try a fresh OS installation with Domoticz to see if ...
by Nautilus
Tuesday 14 November 2017 14:51
Forum: Bugs and Problems
Topic: Unable to enable Dzvents in Setup->Settings->Other
Replies: 10
Views: 326

Re: Unable to enable Dzvents in Setup->Settings->Other

Well yes, actually I was also able to get a check back to dZvents by changing theme / emptying appcache and cache but at that point it did not reflect the actual status anymore. So dZvents was enabled even though the box was checked for disabling it and normal event were disabled even though the box...
by Nautilus
Tuesday 14 November 2017 14:18
Forum: Bugs and Problems
Topic: Unable to enable Dzvents in Setup->Settings->Other
Replies: 10
Views: 326

Re: Unable to enable Dzvents in Setup->Settings->Other

I faced the same issue today, tried with both elemental and default themes (after clearing cache and appcache). Eventually I had to modify the database to enable the event system again. I tried with a few days old beta first, then updated to 3.8734 and tried again but no luck. No errors visible in t...
by Nautilus
Tuesday 14 November 2017 13:46
Forum: Other questions and discussions
Topic: CPU usage after migrating RPi2 Wheezy to RPi3 Stretch
Replies: 8
Views: 286

Re: CPU usage after migrating RPi2 Wheezy to RPi3 Stretch

Hmm, not a lot of scripts / events in use I assume? I think the CPU was around that after I had first installed Domoticz and before I migrated the old database, scripts etc. Then it went up to this 3% range. As the basis I'm also using minimal Stretch image without desktop and accessing via SSH. Wha...
by Nautilus
Tuesday 14 November 2017 0:36
Forum: Other questions and discussions
Topic: CPU usage after migrating RPi2 Wheezy to RPi3 Stretch
Replies: 8
Views: 286

CPU usage after migrating RPi2 Wheezy to RPi3 Stretch

I recently upgraded my Raspberry Pi running Domoticz from version 2 to version 3 an wanted to update the OS at the same time to a more recent version. The update / migration went pretty smoothly and Domoticz seems clearly more responsive and e.g. loading the web GUI screens is now clearly faster. Ho...
by Nautilus
Saturday 11 November 2017 23:55
Forum: Zigbee
Topic: Xiaomi Smart Home Suite (very cheap) compatibilty?
Replies: 2081
Views: 214092

Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

Is it really so that all Xiaomi wall switches are just "toggle" switches and there are no switches with separate on/off available?
by Nautilus
Monday 06 November 2017 15:10
Forum: RFLink Transceiver
Topic: RFlink might support Mi-light and other protocols soon :)
Replies: 98
Views: 15836

Re: RFlink might support Mi-light and other protocols soon :)

I have a strange issue with MiLight protocol, wondering if I'm the only one. I recently started adding my MiLight remotes to Domoticz via RFLink to gain better control of the lights (keep them in sync, allow the remotes to be used to start scenes etc.). At least with one of the remotes I have the is...
by Nautilus
Tuesday 31 October 2017 15:50
Forum: LUA
Topic: Use string from Harmony API in LUA
Replies: 7
Views: 409

Re: Use string from Harmony API in LUA

Thank you Nautilus, that was of great help! :D I basically got done what I wanted to do. The only problem I encountered, is that my JSON data starts with a "[" and then the script doesn't read the value . The log gives the error " EventSystem: in Fetch Harmony status: [string "..."]:11: attempt to ...
by Nautilus
Tuesday 31 October 2017 0:07
Forum: LUA
Topic: Use string from Harmony API in LUA
Replies: 7
Views: 409

Re: Use string from Harmony API in LUA

Try searching for something like "lua read json", assuming the ouput is json? If so, something like this should work: json = (loadfile '/home/pi/domoticz/scripts/lua/JSON.lua')() file = assert(io.popen('curl "http://192.168.1.10:8080/api/devices/harmony/show"')) raw = file:read('*all') file:close() ...
by Nautilus
Sunday 29 October 2017 8:44
Forum: Other questions and discussions
Topic: VB Switch control
Replies: 1
Views: 178

Re: VB Switch control

Did you try it in a browser (it should tell you whether the json call works or not)? Anyhow, I don't know about the Domoticz error (looks strange), but the json syntax is not quite correct, try changing dparam -> param
by Nautilus
Monday 23 October 2017 22:55
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: keeping Raspberry PI up-to-date
Replies: 11
Views: 947

Re: keeping Raspberry PI up-to-date

@Nautilus : would you by chance have the list of commands you use for doing all these steps ? My knowledge is still limited in Linux and despite I try to understand the logic and the commands, there most often plenty of switches and I'm always afraid of making a mistake. Sorry I'm afraid the answer...
by Nautilus
Wednesday 18 October 2017 8:28
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: keeping Raspberry PI up-to-date
Replies: 11
Views: 947

Re: keeping Raspberry PI up-to-date

Hi, Your advice make sense.. Clean install is always better.. However, I couldn't find a tutorial detailing all steps to really migrate domoticz to new installation: in my understanding, copying the domoticz is not enough, as there are other files and customizations : wifi config, files to make USB...
by Nautilus
Monday 16 October 2017 8:58
Forum: Bugs and Problems
Topic: Logitech Harmony Hub - thread seems to have ended unexpectedly
Replies: 81
Views: 5157

Re: Logitech Harmony Hub - thread seems to have ended unexpectedly

Would be strange that all of a sudden so many of us are experiencing problems with the network? In any case, I'll try to keep a closer eye on that as well...
by Nautilus
Saturday 14 October 2017 23:00
Forum: Bugs and Problems
Topic: Logitech Harmony Hub - thread seems to have ended unexpectedly
Replies: 81
Views: 5157

Re: Logitech Harmony Hub - thread seems to have ended unexpectedly

+1 I remember I had some issues with this hardware when the authentication was removed, but nothing major until now. Within the last week it has happened at least 4-5 times and it usually requires a restart of Domoticz (if I just try to inactivate/reactivate the hardware, Domoticz becomes unresponsi...