Search found 98 matches
- Wednesday 07 April 2021 18:39
- Forum: Python
- Topic: No plugin shown in HW list!
- Replies: 6
- Views: 990
Re: No plugin shown in HW list!
Thx all, my synology does not support docker so that is not an option. I did solve the issue and it was a stupid mistake from me. The plugins folder is not located at the same location as normal domoticz/plugins but in domoticz/var/plugins and as soon as I installed the plugin in the later it worked ...
- Tuesday 06 April 2021 21:54
- Forum: Python
- Topic: No plugin shown in HW list!
- Replies: 6
- Views: 990
Re: No plugin shown in HW list!
What else could be wrong?
- Tuesday 06 April 2021 18:59
- Forum: Python
- Topic: No plugin shown in HW list!
- Replies: 6
- Views: 990
Re: No plugin shown in HW list!
have updated to
Domoticz Version: 2020.2
but still no plugins in HW list.
Anyone?
Domoticz Version: 2020.2
but still no plugins in HW list.
Anyone?
- Monday 05 April 2021 18:52
- Forum: Python
- Topic: No plugin shown in HW list!
- Replies: 6
- Views: 990
No plugin shown in HW list!
Have some issues to get python plugin work. Domoticz Version: 2020.1 HW Synology DS216j (DSM 6.2) Pyhton 3.8.6 Get this in log: 2021-04-05 18:03:28.257 Status: PluginSystem: Started, Python version '3.8.6'. 2021-04-05 18:03:28.302 Status: WebServer(HTTP) started on address: :: with port 8090 2021-04 ...
- Tuesday 12 January 2021 10:26
- Forum: Examples & Solutions
- Topic: Begin- and endTime of some astro events [SOLVED]
- Replies: 37
- Views: 5554
Re: Begin- and endTime of some astro events [SOLVED]
Second script is an example script that is triggered by the customEvents send by the first script. So you do not need an extra dummy device or uservariable. ... I'm amazed how you can write all this code with nearly zero mistake! As far as I got now it seems to solve all my needs :P . I have only ...
- Sunday 10 January 2021 17:54
- Forum: Suggestions
- Topic: Implement Shelly
- Replies: 2
- Views: 472
Re: Implement Shelly
Seconds this request, the available python plugin works well for most environments but not for all. A native MQTT in Domoticz would be really great!
Shelly is really growing and add new devices at an impressive speed.
Shelly is really growing and add new devices at an impressive speed.
- Sunday 10 January 2021 12:37
- Forum: Examples & Solutions
- Topic: Begin- and endTime of some astro events [SOLVED]
- Replies: 37
- Views: 5554
Re: Begin- and endTime of some astro events [SOLVED]
dz.emitEvent(trigger).at(makeTime(t[field])) triggers the customEvent (saved in memory only) at the the sunset or sunrise in Spain time that have been collected from api.sunrise-sunset.org :D :D :D fantastic! it seems to work as far as I have tested. Think I at least understand the principle even ...
- Saturday 09 January 2021 12:29
- Forum: Examples & Solutions
- Topic: Begin- and endTime of some astro events [SOLVED]
- Replies: 37
- Views: 5554
Re: Begin- and endTime of some astro events [SOLVED]
Can you please first read the dzVents wiki sections on customEvents and emitEvent (use [ctrl]-f to search) For now I can't explain better then what I posted earlier :D Well not 100% sure that I understand after I have read the wiki but perhaps?! I give it a try, you can just ignore me if you don't ...
- Saturday 09 January 2021 9:56
- Forum: Examples & Solutions
- Topic: Begin- and endTime of some astro events [SOLVED]
- Replies: 37
- Views: 5554
Re: Begin- and endTime of some astro events [SOLVED]
Second script is an example script that is triggered by the customEvents send by the first script. So you do not need an extra dummy device or uservariable. -- waitd for the custome Events send by the astro events scripts. dzVents >= 3.0 return { on = { customEvents = { 'Sunset_Spain', 'Sunrise ...
- Friday 08 January 2021 20:17
- Forum: Examples & Solutions
- Topic: Begin- and endTime of some astro events [SOLVED]
- Replies: 37
- Views: 5554
Re: Begin- and endTime of some astro events [SOLVED]
With regards to option 2 According to your profile you are on 2020.1 and therefore probably not very easy to do something like it. If you were on a more recent version you should be able to do something like sunrise.switchOn().at(fetchedTime) or even better emitEvent('sunriseSpain Activity").at ...
- Friday 08 January 2021 18:36
- Forum: Examples & Solutions
- Topic: Begin- and endTime of some astro events [SOLVED]
- Replies: 37
- Views: 5554
Re: Begin- and endTime of some astro events [SOLVED]
Looks OK to me. You should see the sunset and sunrise times in the text devices you created for it. Ok, sorry I'm not native English speaking so perhaps it was unclear. The script worked before and updated the text objects. What I tried to ask about was this below: Perhaps you last script will ...
- Friday 08 January 2021 17:54
- Forum: Examples & Solutions
- Topic: Begin- and endTime of some astro events [SOLVED]
- Replies: 37
- Views: 5554
Re: Begin- and endTime of some astro events [SOLVED]
:) Absolutely what can I expect? Should I try to use "Sunset_Spain" as a global variable the same way I use sunset?? Just for info: I run the script and get this in the logg: 2021-01-08 18:11:40.629 Status: EventSystem: Script event triggered: /home/pi/domoticz/dzVents/runtime/dzVents.lua 2021-01-08 ...
- Friday 08 January 2021 14:29
- Forum: Examples & Solutions
- Topic: Begin- and endTime of some astro events [SOLVED]
- Replies: 37
- Views: 5554
Re: Begin- and endTime of some astro events [SOLVED]
Hallo Warren, first many thanks for all code you have given us!! dzvents is a reel blessing for an amateur like me!! The script you given us in this tread I would like to use in a slightly different scenario! I want to control the lights in two different places, they obviously then have different ...
- Thursday 07 January 2021 15:43
- Forum: Python
- Topic: Python Plugin: Shelly MQTT
- Replies: 504
- Views: 109781
Re: Python Plugin: Shelly MQTT
Failed to load the plugin: Running Domoticz 2020.1.11804-8 on a Synology NAS DS216j DSM 6.2.3. Python 3.8.2 I have had the plugin working in the past but now with new installation I cant get the Shelly MQTT to load anymore. I get this error 2021-01-07 15:24:43.532 Error: Shelly MQTT hardware (3 ...
- Thursday 05 November 2020 13:24
- Forum: Bash / PowerShell / Batch etc.
- Topic: Is there any disadvantage to restart Domoticz service
- Replies: 1
- Views: 1221
Is there any disadvantage to restart Domoticz service
Hi, sometimes I have had problem with domoticz, it hangs and don't respond. Normally that is no real problem I just restart it from the rpi. But when I'm not at home it sometimes would be good to have some automatic fix! I have created a cronjob that restart domoticz twice a day, is there any ...
- Saturday 19 September 2020 7:47
- Forum: dzVents
- Topic: Error in log (Solved)
- Replies: 5
- Views: 535
Re: Error in log
Thx @waaren I deleted a number of old inactive scripts last night and today there are no errors! It seems to be solved at least for now.
- Friday 18 September 2020 18:20
- Forum: dzVents
- Topic: Error in log (Solved)
- Replies: 5
- Views: 535
Re: Error in log
local modules -- only search for named and wildcard triggers, -- id is done later for scriptTrigger, scripts in pairs(allEventScripts) do if (string.find(scriptTrigger, '*')) then -- a wild-card was used scriptTrigger = ('^' .. scriptTrigger:gsub("[%^$]","."):gsub("*", ".*") .. '$') local function ...
- Friday 18 September 2020 17:25
- Forum: dzVents
- Topic: Error in log (Solved)
- Replies: 5
- Views: 535
Error in log (Solved)
Hi, my script's is running but I get this error in the log Error: EventSystem: in /home/pi/domoticz/dzVents/runtime/dzVents.lua: /home/pi/domoticz/dzVents/runtime/EventHelpers.lua:823: bad argument #1 to 'find' (string expected, got table) Any ideas on whats wrong, was not there some month ago ...
- Monday 03 August 2020 12:17
- Forum: Python
- Topic: Python plugin: Unifi Video from Ubiquiti
- Replies: 15
- Views: 4929
Re: Python plugin: Unifi Video from Ubiquiti
Hi @gysmo38 is this project closed? I'm looking for integration of Unifi Protect to be used as motion detectors.
Regards
Regards
- Friday 24 May 2019 21:45
- Forum: dzVents
- Topic: Variable as trigger OR .checkFirst() in json?
- Replies: 9
- Views: 688
Re: Variable as trigger OR .checkFirst() in json?
@warren even if I don't see why it work, it does Many thx!!