Search found 526 matches

by HvdW
Tuesday 18 March 2025 23:02
Forum: Bugs and Problems
Topic: Domoticz seems to stall
Replies: 2
Views: 192

Re: Domoticz seems to stall

Thanks Walter. Check for a script that does something outside Domoticz eg open an URL or run an external command. Make sure you use the asynchronous methods of dzvents and for example do not use os.execute. Read the dzvents wiki about asynchrous actions. By default Dzvents gives an error when a ...
by HvdW
Tuesday 18 March 2025 22:39
Forum: Bugs and Problems
Topic: Domoticz seems to stall
Replies: 2
Views: 192

Domoticz seems to stall

Hi, Domoticz 2024.7 on RPI3+ Bookworm. My Domoticz seems to stall. sudo domoticz restart does the tric. Just 20 dzVents scripts running, no errors in the log. Started somewhere a week ago. Maybe it is a script that asks too much or too many script starting the same moment (every minute) I don't know ...
by HvdW
Saturday 15 March 2025 22:29
Forum: Show your projects
Topic: Presence Detection dzVents script
Replies: 0
Views: 371

Presence Detection dzVents script

Hi, The idea is mine, the heavy loading was done by DeepSeek and the finetuning by Claude. -- Presence Detection Script for Domoticz -- This script detects devices on the network using ARP and categorizes them into: -- 1. Detect: Devices to monitor (e.g., user devices). -- 2. Ignore: Devices to ...
by HvdW
Friday 14 March 2025 23:49
Forum: Other questions and discussions
Topic: Please...i need information
Replies: 8
Views: 806

Re: Please...i need information

Better not expose your domo to the web. If you need to access your domo instance from outdoors, use a VPN. Most modem/routers support vpn server, if yours does not, get one that does. Agreed. Do not expose. If you're running domoticz on RPI you could choose PiVPN, a secure way to get access to your ...
by HvdW
Thursday 13 March 2025 22:14
Forum: Other questions and discussions
Topic: how to use notifications
Replies: 8
Views: 373

Re: how to use notifications

This script doesn't use notifications. You can see the results in the log. 2025-03-13 22:11:04.712 Dummy: Light/Switch (mySwitch1) 2025-03-13 22:11:04.798 dzVents: Handling events for: "mySwitch1", value: "On" 2025-03-13 22:11:04.798 dzVents: ------ Start internal script: Script #1: Device ...
by HvdW
Thursday 13 March 2025 9:17
Forum: Other questions and discussions
Topic: how to use notifications
Replies: 8
Views: 373

Re: how to use notifications

Try to understand the code and see how easy it is to change it to what you are asking. You can have it with 6 different messages as well. Tip: Before changing code, save the running code as myScript - 1, copy the complete code and past it into a new script myScript - 2 and so on. Whatever mess you ...
by HvdW
Wednesday 12 March 2025 23:12
Forum: Other questions and discussions
Topic: how to use notifications
Replies: 8
Views: 373

Re: how to use notifications

return { on = { devices = { 'mySwitch1', 'mySwitch2', 'mySwitch3' } -- Add your switch names here }, data = { prevState = { initial = { mySwitch1 = 'Off', mySwitch2 = 'Off', mySwitch3 = 'Off' } } -- Initial states for all switches }, execute = function(domoticz, device) -- Check if the state has ...
by HvdW
Wednesday 12 March 2025 22:18
Forum: Other questions and discussions
Topic: how to use notifications
Replies: 8
Views: 373

Re: how to use notifications

As a matter of facts every (domoticz receives regular updates from esp) 10 seconds the status is pushed by pushsafer to my phone even if the status has not been changed. It's the updates that trigger. You might write a small script to trigger the notifications. It triggers on any change of state of ...
by HvdW
Wednesday 12 March 2025 10:50
Forum: Temperature and Weather
Topic: Temperature sensor suggestions
Replies: 3
Views: 342

Temperature sensor suggestions

I'm using some TFA temp/hum sensors and RFXtfx433. I'd like to change to one of these ( just an example ) nice small sensors with a display. Question: What kind to choose combined with Domoticz; 433 mHz, BT, Zigbee, WiFi PS I was just thinking. The WiFi version of Tuya always makes contact with it's ...
by HvdW
Sunday 09 March 2025 21:30
Forum: dzVents
Topic: nil value for solarnoon
Replies: 7
Views: 284

Re: nil value for solarnoon

jberinga wrote: Sunday 09 March 2025 21:25 Well... I wasn't using Copilot.... but Gemini.... ;)
Don't trust.
Test and ask along.
AI is just another tool that makes a lot of mistakes.
It can be very helpfull though.
by HvdW
Sunday 09 March 2025 21:23
Forum: dzVents
Topic: nil value for solarnoon
Replies: 7
Views: 284

Re: nil value for solarnoon

This is NOT helping the topic starter.... This user wants to use a standard dzvents function, gets an error and you tell him to do something complety different with the help of AI crap programming functions...... Better help him finding what is going wrong... Maybe you want people to use pen and ...
by HvdW
Sunday 09 March 2025 19:34
Forum: dzVents
Topic: nil value for solarnoon
Replies: 7
Views: 284

Re: nil value for solarnoon

Here is another message from CoPilot. To calculate solar noon in Dzvents, you can use the following Lua script. Solar noon is the time of day when the sun is at its highest point in the sky. This script calculates the solar noon based on your geographical location (latitude and longitude). Here's an ...
by HvdW
Sunday 09 March 2025 19:24
Forum: dzVents
Topic: Moving average usage
Replies: 5
Views: 739

Re: Moving average usage

Tbh, there's nothing from me here, it's just CoPilot. I inserted your question, preceded with dzVents coding and changed your last sentence to: Can you give me some help about moving average calculation to solve my issue ? CoPilot answered: I'd be happy to help you with calculating the moving ...
by HvdW
Sunday 09 March 2025 9:12
Forum: Python
Topic: Python Plugin: MqttMapper
Replies: 324
Views: 33461

Re: Python Plugin: MqttMapper

Play with the multiplier and see if you get any results.
by HvdW
Saturday 01 March 2025 11:52
Forum: dzVents
Topic: Handy functions for dzVents
Replies: 5
Views: 973

Re: Handy functions for dzVents

Having answered in this topic I have been thinking about documentation of my scripts. So I asked DeepSeek to have a look at my Car Charging on EV Power script and here is the result. --[[ Script Name: Car Charging on PV Power Description: This script manages the charging of an electric vehicle (EV ...
by HvdW
Saturday 01 March 2025 11:19
Forum: dzVents
Topic: how use idx iso names
Replies: 5
Views: 477

Re: how use idx iso names

A tip: When using dzVents scripts and devices I edit the devices involved and write the name of the script in the description to be able to find out where between all scripts this device is updated.
edit.jpg
edit.jpg (41.52 KiB) Viewed 239 times
by HvdW
Tuesday 25 February 2025 0:02
Forum: dzVents
Topic: Raingadgets
Replies: 4
Views: 172

Re: Raingadgets

BTW
Thanks for your referral.
My next Custom page will be this one.
https://gpsgadget.buienradar.nl/gadget/radarfivedays
It has a lot of information in one view and will be called only when the Custom page is opened.
by HvdW
Monday 24 February 2025 15:48
Forum: dzVents
Topic: Raingadgets
Replies: 4
Views: 172

Re: Raingadgets

Just the rain intensity translated per quarter hour coming, no mm's, that's all.
Screenshot_20250224_155141_Firefox.jpg
Screenshot_20250224_155141_Firefox.jpg (108.75 KiB) Viewed 133 times
Simple table plotting 🕰️ and 🌦️ risk.
by HvdW
Monday 24 February 2025 12:01
Forum: dzVents
Topic: Raingadgets
Replies: 4
Views: 172

Raingadgets

Here is a script to add to domoticz - Rain to display the rain prediction for the coming hour. Create a new TextSensor with the name 'Regen' Use this script in which you can adapt the coordinates of where you live. return { on = { timer = { 'every 15 minutes' }, -- change to 'every 1 minutes" when ...