Wow, fast response and briljant. It works like a charm.
Thank you @mgugu very much!
Search found 25 matches
- Wednesday 15 January 2025 7:43
- Forum: dzVents
- Topic: How obtain the name of the current event? [Solved]
- Replies: 12
- Views: 916
- Wednesday 15 January 2025 7:23
- Forum: dzVents
- Topic: How obtain the name of the current event? [Solved]
- Replies: 12
- Views: 916
Re: How obtain the name of the current event?
What is wrong with default Dzvents debug logging with global and script level log level options?
https://wiki.domoticz.com/DzVents:_next_generation_Lua_scripting#logging_=_{_%E2%80%A6_}_(optional)
The default debug logging options aren't wrong but in my view too abundant. And possible caused by ...
- Wednesday 15 January 2025 7:15
- Forum: dzVents
- Topic: How obtain the name of the current event? [Solved]
- Replies: 12
- Views: 916
Re: How obtain the name of the current event?
If I correctly understand, idea may be getting current script name, in order to have a generic print/log function using the script name without getting it as parameter.
Something like "scriptName = debug.getinfo(1,'S')" or equivalent, but working only under certain conditions
Yes, that's what ...
- Tuesday 14 January 2025 22:09
- Forum: dzVents
- Topic: How obtain the name of the current event? [Solved]
- Replies: 12
- Views: 916
Re: How obtain the name of the current event?
Thanks a lot, I will try this tomorrow!
- Tuesday 14 January 2025 21:47
- Forum: dzVents
- Topic: How obtain the name of the current event? [Solved]
- Replies: 12
- Views: 916
Re: How obtain the name of the current event?
Gosh, you're fast!
I have already created a helper (named "MyDebugPrint") which prints the text which is passed in a parameter. And this helper only prints info into the logfile if a global variable (named "FlagDebugPrint") is true.
But I would like to pass the name of the event which is running too ...
I have already created a helper (named "MyDebugPrint") which prints the text which is passed in a parameter. And this helper only prints info into the logfile if a global variable (named "FlagDebugPrint") is true.
But I would like to pass the name of the event which is running too ...
- Tuesday 14 January 2025 21:16
- Forum: dzVents
- Topic: How obtain the name of the current event? [Solved]
- Replies: 12
- Views: 916
How obtain the name of the current event? [Solved]
Hi guys,
It is not a very disrupting question but I would like to have an answer. Oh yes, I searched this forum and the rest of internet but no luck so far.
I would like to know the name of the event which is running. This offers the opportunity to pass debug information in a very simple manner to ...
It is not a very disrupting question but I would like to have an answer. Oh yes, I searched this forum and the rest of internet but no luck so far.
I would like to know the name of the event which is running. This offers the opportunity to pass debug information in a very simple manner to ...
- Sunday 19 March 2023 16:10
- Forum: Android
- Topic: How to configure the Domoticz Lite app on your smartphone
- Replies: 4
- Views: 10682
Re: How to configure the Domoticz Lite app on your smartphone
- Maybe an odd question but did you really took all the steps as described in my post above?
- On what system the WebGui is running?
- Wednesday 02 February 2022 13:29
- Forum: Suggestions
- Topic: [667] Ability to execute script:/// from Blocky
- Replies: 29
- Views: 19029
Re: [667] Ability to execute script:/// from Blocky
Thanks to the update to V2022.1 the parsing problem is gone!
So if you encounter the problem as described I suggest update Domoticz to V2022.1.
Thank you Gizmocus!
So if you encounter the problem as described I suggest update Domoticz to V2022.1.
Thank you Gizmocus!
- Tuesday 01 February 2022 21:45
- Forum: Suggestions
- Topic: [667] Ability to execute script:/// from Blocky
- Replies: 29
- Views: 19029
Re: [667] Ability to execute script:/// from Blocky
Thanks to all of you bringing up this problem!
And of course I realize that this is an old topic but anyway I would like to contribute to this problem and possible solutions.
I ran into the same problem (the logfile says: " Error: Error executing script command (/home/pi/domoticz/scripts/buzzer.py ...
And of course I realize that this is an old topic but anyway I would like to contribute to this problem and possible solutions.
I ran into the same problem (the logfile says: " Error: Error executing script command (/home/pi/domoticz/scripts/buzzer.py ...
- Saturday 16 January 2021 21:16
- Forum: Python
- Topic: Script -Error - Returned: 256
- Replies: 17
- Views: 17334
Re: Script -Error - Returned: 256
@timmpo: many thanks! Your solution about an incomplete PATH variable saved my weekend!
Especially the suggestion about running Domoticz from the terminal and then printing sys.path was extremely clarifying.
Thanks again!
(And yes, I know: it's an old thread but who cares! I'm old too...)
Especially the suggestion about running Domoticz from the terminal and then printing sys.path was extremely clarifying.
Thanks again!
(And yes, I know: it's an old thread but who cares! I'm old too...)
- Monday 06 April 2020 21:02
- Forum: Android
- Topic: How to configure the Domoticz Lite app on your smartphone
- Replies: 4
- Views: 10682
How to configure the Domoticz Lite app on your smartphone
Hi my fellow Domoticzans!
I have been struggling a lot to determine the correct values for the connection settings in the app. For instance it took me several hours to discover that Domoticz on the Raspberry Pi has to be restarted after changing the username/password combination. Horryfing but true ...
I have been struggling a lot to determine the correct values for the connection settings in the app. For instance it took me several hours to discover that Domoticz on the Raspberry Pi has to be restarted after changing the username/password combination. Horryfing but true ...
- Tuesday 10 March 2020 19:41
- Forum: Installation, Compiling, Permissions, Security and Starting
- Topic: Buster-Domoticz-RaZberry: Fibaro fails after boot
- Replies: 6
- Views: 645
Re: Buster-Domoticz-RaZberry: Fibaro fails after boot
Interesting, I suppose you are referring to the error in OpenZWave about the failure of downloading the config file?
Question: how did you go back to the last stable version (4.10717).
Question: how did you go back to the last stable version (4.10717).
- Tuesday 10 March 2020 10:09
- Forum: Installation, Compiling, Permissions, Security and Starting
- Topic: Buster-Domoticz-RaZberry: Fibaro fails after boot
- Replies: 6
- Views: 645
Re: Buster-Domoticz-RaZberry: Fibaro fails after boot
Thanks for your advice!
Well, I have a lot of confidence in backups, I've made them very often (using USB Backup).
I upgraded to beta 4.11780 (which number reminds me of the good old VAX...). Shutdown completely, power off, boot up and the same red color showed up in the Fibaro switch.
But I see a ...
Well, I have a lot of confidence in backups, I've made them very often (using USB Backup).
I upgraded to beta 4.11780 (which number reminds me of the good old VAX...). Shutdown completely, power off, boot up and the same red color showed up in the Fibaro switch.
But I see a ...
- Monday 09 March 2020 16:54
- Forum: Installation, Compiling, Permissions, Security and Starting
- Topic: Failed Load - libpython3.x
- Replies: 2
- Views: 1498
Re: Failed Load - libpython3.x
The only thing you have to do is:Status: EventSystem - Python: Failed dynamic library load, install the latest libpython3.x library that is available for your platform.
Code: Select all
sudo apt-get install -y python3-devGood luck!
- Monday 09 March 2020 16:44
- Forum: Installation, Compiling, Permissions, Security and Starting
- Topic: Buster-Domoticz-RaZberry: Fibaro fails after boot
- Replies: 6
- Views: 645
Re: Buster-Domoticz-RaZberry: Fibaro fails after boot
No one? Am I the only loser with this problem? 
- Thursday 05 March 2020 20:31
- Forum: Installation, Compiling, Permissions, Security and Starting
- Topic: Buster-Domoticz-RaZberry: Fibaro fails after boot
- Replies: 6
- Views: 645
Buster-Domoticz-RaZberry: Fibaro fails after boot
Hi guys,
I encountered a weird (at least for me) problem with Raspberry, Domoticz and Z-Wave. My configuration is:
Raspberry 1, model B, Rev 2
RaZberry (shield), HW Rev. 2.0, 11/04/2018
Domoticz V4.10717
Raspbian Buster Lite (Version 10)
one Fibaro wall switch FGWPE/F-102
My problem is that ...
I encountered a weird (at least for me) problem with Raspberry, Domoticz and Z-Wave. My configuration is:
Raspberry 1, model B, Rev 2
RaZberry (shield), HW Rev. 2.0, 11/04/2018
Domoticz V4.10717
Raspbian Buster Lite (Version 10)
one Fibaro wall switch FGWPE/F-102
My problem is that ...
- Tuesday 15 October 2019 21:36
- Forum: Installation, Compiling, Permissions, Security and Starting
- Topic: How to uninstall domoticz on RPi?
- Replies: 6
- Views: 34538
Re: How to uninstall domoticz on RPi?
Although maybe a little late but I would like to add some tags about this subject. So anyone can easily find what to do if you want to deinstall, uninstall, remove or get rid of Domoticz.
It cost me a considerable amount of time to discover that deinstall (what I used) means the same as uninstall ...
It cost me a considerable amount of time to discover that deinstall (what I used) means the same as uninstall ...
- Wednesday 14 March 2018 16:34
- Forum: Other questions and discussions
- Topic: How to init GPIO-SYSFS and define inputs using raspi-gpio
- Replies: 10
- Views: 11479
Re: How to init GPIO-SYSFS and define inputs using raspi-gpio
Since my problem about the invisible checkboxes "Auto configure devices" was solved by @ubee I did a lot of experiments with defining gpio-pins and trying to connect to them within Domoticz. But so far no success, unfortunately.
I am afraid that I'm doing something seriously wrong in my pin ...
I am afraid that I'm doing something seriously wrong in my pin ...
- Tuesday 13 March 2018 16:00
- Forum: Other questions and discussions
- Topic: How to init GPIO-SYSFS and define inputs using raspi-gpio
- Replies: 10
- Views: 11479
Re: How to init GPIO-SYSFS and define inputs using raspi-gpio
Yes, yes!
I tested with Chrome and voilà: the Auto configure devices checkbox and Debounce field both appear! Since I prefer to keep using Firefox I cleared the cache and both fields are visible now in Firefox too. Somewhere on this forum I read a post about clearing the browser's cache.
Thank you ...
I tested with Chrome and voilà: the Auto configure devices checkbox and Debounce field both appear! Since I prefer to keep using Firefox I cleared the cache and both fields are visible now in Firefox too. Somewhere on this forum I read a post about clearing the browser's cache.
Thank you ...
- Monday 12 March 2018 17:49
- Forum: Other questions and discussions
- Topic: How to init GPIO-SYSFS and define inputs using raspi-gpio
- Replies: 10
- Views: 11479
Re: How to init GPIO-SYSFS and define inputs using raspi-gpio
What I did:
sudo raspi-gpio set 4 ip pu
sudo echo "4" > /sys/class/gpio/export
echo "1" | sudo tee -a /sys/class/gpio/gpio4/active_low
echo "both" | sudo tee -a /sys/class/gpio/gpio4/edge
This is I think exactly (well, ok, I used gpio4 in stead of gpio26) the same as elgringo did in this post ...
sudo raspi-gpio set 4 ip pu
sudo echo "4" > /sys/class/gpio/export
echo "1" | sudo tee -a /sys/class/gpio/gpio4/active_low
echo "both" | sudo tee -a /sys/class/gpio/gpio4/edge
This is I think exactly (well, ok, I used gpio4 in stead of gpio26) the same as elgringo did in this post ...