Thank you. I've learned something new!
Much appreciated. Can't wait to try this on another project I have in mind to create a touch screen Raspi with rotating info/photo screens.
Search found 96 matches
- Friday 21 February 2025 12:56
- Forum: dzVents
- Topic: Identify a switching sequence
- Replies: 8
- Views: 1452
- Sunday 16 February 2025 6:28
- Forum: dzVents
- Topic: Identify a switching sequence
- Replies: 8
- Views: 1452
Re: Identify a switching sequence
Thanks. I've never used AI/ChatGPT before how do you phrase a request for code? Do you have an example of what you entered to reply to my initial post?
- Friday 14 February 2025 15:28
- Forum: dzVents
- Topic: Identify a switching sequence
- Replies: 8
- Views: 1452
Re: Identify a switching sequence
Wow! Thank you. I never expected so much help!
Can I be cheeky and ask how I would change this if the motion sequence went sensor1, sensor2 and back to sensor1 as the alternative possible exit.
Can I be cheeky and ask how I would change this if the motion sequence went sensor1, sensor2 and back to sensor1 as the alternative possible exit.
- Friday 14 February 2025 14:31
- Forum: dzVents
- Topic: Identify a switching sequence
- Replies: 8
- Views: 1452
Identify a switching sequence
I would like to know if 3 movement sensors are triggered in a sequence with max 5 minutes gap between each of the triggers for the data to be valid. I not sure how to go about this so would appreciate some hints on how to do it. I'm not asking someone to do it for me, just give me a clue. For ...
- Monday 09 December 2024 10:09
- Forum: Design, usability and languages
- Topic: Incomplete text shown on dashboard
- Replies: 8
- Views: 12932
Re: Incomplete text shown on dashboard
I have a long header for some alert boxes which are over written by the status
. I tried this approach but it had no affect on the header. Has something changed or am I looking in the wrong place?- Monday 11 November 2024 18:58
- Forum: Other questions and discussions
- Topic: Physically lockable window handles with switches that can report..
- Replies: 0
- Views: 1633
Physically lockable window handles with switches that can report..
.. their open/closed/tilted/locked/unlocked status. I can find a few which will report open/closed/tilt but as far as I can tell I cannot find any that can report a locked status. That is that the key lockable pin is engaged. I'm currently using Hoppe lockable window handles on tilt and turn windows ...
- Wednesday 02 October 2024 14:56
- Forum: dzVents
- Topic: Dzvent Read Triangle Alert Value/Colour
- Replies: 2
- Views: 849
Re: Dzvent Read Triangle Alert Value/Colour
Thank you! I have 20 other scripts running ok but I just couldn't see the wood for the trees.
- Wednesday 02 October 2024 14:39
- Forum: dzVents
- Topic: Dzvent Read Triangle Alert Value/Colour
- Replies: 2
- Views: 849
Dzvent Read Triangle Alert Value/Colour
Having read and obviously misunderstood the documentation I assumed that this would work.
but in the error log I get attempt to call a nil value (global 'Devices')
The device number exists.
Any feedback appreciated.
Code: Select all
if (Devices(3732).color== 1) then
The device number exists.
Any feedback appreciated.
- Wednesday 29 May 2024 14:22
- Forum: dzVents
- Topic: Am I doing this wrong?
- Replies: 4
- Views: 827
Re: Am I doing this wrong?
Well thanks for the answers. @jvdz how do functions = subroutines. I cannot find this functionality. Anyhow here is a very simplified schema of my python script. Python setup array read in data (tuples) ========= example data for one shutter device # device, time1, time2, offset-time, up/down-on/off ...
- Wednesday 29 May 2024 13:03
- Forum: dzVents
- Topic: Am I doing this wrong?
- Replies: 4
- Views: 827
Am I doing this wrong?
This post is not about criticism. It may be that I cannot see the wood for the trees and need help. So I have a single perfectly running python script that controls 35 IP devices with over 100 command rules. I send the results to Domoticz dummy devices for display using json. The python initial ...
- Wednesday 29 May 2024 12:45
- Forum: dzVents
- Topic: http command to shelly
- Replies: 3
- Views: 884
Re: http command to shelly
Thanks. Yes I have already been using python to send http commands from on/off actions but wanted to incorporate the functionality in Dzvents.
I now have another issue but I will post that seperately.
I now have another issue but I will post that seperately.
- Tuesday 28 May 2024 19:38
- Forum: dzVents
- Topic: Convert text time to minutes after midnight
- Replies: 4
- Views: 1038
Re: Convert text time to minutes after midnight
So I think that I have solved part of the problem. local sometime=domoticz.utils.stringSplit(t1,':',convertNumber) domoticz.log('stringsplit ' .. tostring(sometime[1]) .. tostring(sometime[2]) ') local t1minutes=sometime[1]*60+sometime[2] domoticz.log('t1 minutes past midnight' .. tostring(t1minutes ...
- Tuesday 28 May 2024 19:20
- Forum: dzVents
- Topic: Convert text time to minutes after midnight
- Replies: 4
- Views: 1038
Re: Convert text time to minutes after midnight
Thanks for the feedback waltervl but I want to keep the original data in '09:00' hours/minutes format because it is easier to understand and to convert the variables to minutes after midnight. I just cannot see a simple way to do it. I have no problem with the logic of the if statements. May be I ...
- Tuesday 28 May 2024 16:32
- Forum: dzVents
- Topic: Convert text time to minutes after midnight
- Replies: 4
- Views: 1038
Convert text time to minutes after midnight
I have decided to try and integrate my, working for years, Python functionality into Dzvents but I have a problem with my conversion. The functionality that I want to replicate is time1 say '08:00' time2 say '09:00' if sunrise is < time1 then sunrise==time1 if sunrise is > time 2 then sunrise==time2 ...
- Thursday 23 May 2024 16:27
- Forum: dzVents
- Topic: http command to shelly
- Replies: 3
- Views: 884
http command to shelly
I can send these two commands successfully in the browser and via python. http://192.168.2.41/rpc/Cover.Open?id=0 http://192.168.2.41/rpc/Cover.Close?id=0 but I have not been able to do in in dzVents. The Wiki instructions I could not understand. Yes I'm probably not very clever. Give me a hint ...
- Thursday 23 May 2024 13:51
- Forum: dzVents
- Topic: Motion sensor device - switch off after x minutes
- Replies: 3
- Views: 874
Re: Motion sensor device - switch off after x minutes
OK I believe that I found what the problem is. The sensor doesn't send "off" and I think that it is not possible to force it off using Dzvents. So I created a dummy sensor which is updated whenever an "on" signal is received and I can switch the dummy sensor off after x minutes. The dummy sensor is ...
- Thursday 23 May 2024 6:06
- Forum: dzVents
- Topic: Motion sensor device - switch off after x minutes
- Replies: 3
- Views: 874
Motion sensor device - switch off after x minutes
I have a pir detector setup as switch type motion sensor/off delay=0 return { active = true, logging = { level = domoticz.LOG_DEBUG, marker = 'patio sensor' }, on = { timer = {'Every minute'} }, execute = function(domoticz) --local movement sensor 1 local patiosensor1 = domoticz.devices(3530) if ...
- Tuesday 07 May 2024 18:01
- Forum: 433 & 868 transceiver
- Topic: Recommendations for 433MHz movement/presence sensor
- Replies: 5
- Views: 2082
Re: Recommendations for 433MHz movement/presence sensor
So everyone seems to have reservations about using these. What the best recommended practice then?
- Tuesday 07 May 2024 17:59
- Forum: dzVents
- Topic: Dzvents and 1,2 or more dimensional arrays
- Replies: 1
- Views: 627
Dzvents and 1,2 or more dimensional arrays
Is this possible like in Python? I cannot find any info that says it is or maybe I just don't understand the language used.
- Monday 06 May 2024 18:05
- Forum: 433 & 868 transceiver
- Topic: Recommendations for 433MHz movement/presence sensor
- Replies: 5
- Views: 2082
Recommendations for 433MHz movement/presence sensor
Now that the bbq season is upon us, I need to stop my "smart" home locking me out on the patio at night with guests. Watching the stampede to the patio door is quite funny but... :). So would appreciate a recommendation for a battery operated sensor. I can see that there are quite a few brands ...