Hi madpatrick,
This works perfectly. Many thanks for the swift reply.
Search found 23 matches
- Sunday 10 August 2025 11:10
- Forum: dzVents
- Topic: Date and leap year handling in dzvents [Solved]
- Replies: 2
- Views: 355
- Sunday 10 August 2025 9:15
- Forum: dzVents
- Topic: Date and leap year handling in dzvents [Solved]
- Replies: 2
- Views: 355
Date and leap year handling in dzvents [Solved]
How can I make this script below working correctly at leap years? Now it always adds 364 days to calculate the end contract date as I am using addDays. If I could use addYears it would be easier I guess but that attribute doesn't exist. Maybe there's an easier way. return { on = { timer = { 'every ...
- Wednesday 14 May 2025 19:33
- Forum: Python
- Topic: Python plugin: Presence detection from wireless router
- Replies: 1113
- Views: 228596
Re: Python plugin: Presence detection from wireless router
Not sure how your setup looks like, but I had the same issue running on Rpi4 with Buster and Python 3.7. I upgraded to Bookworm and created a venv called venv (you can create a venv with any name) and successfully installed iDetect in the venv. My Python version is 3.11. After I also used/upgraded ...
- Monday 07 April 2025 19:28
- Forum: Bugs and Problems
- Topic: Habridge Error - undefined with status: Server Error - 500
- Replies: 3
- Views: 711
Re: Habridge Error - undefined with status: Server Error - 500
As I got no response here, I figured out how to compile (using maven) a new ha-bridge .jar based on the source code of bwssystems with my above mentioned changes implemented and now everything works again!
- Tuesday 01 April 2025 21:42
- Forum: Bugs and Problems
- Topic: Habridge Error - undefined with status: Server Error - 500
- Replies: 3
- Views: 711
Re: Habridge Error - undefined with status: Server Error - 500
Anybody succeeded in fixing it? I found out when downloading and inspecting https://github.com/bwssytems/ha-bridge/releases/download/v5.4.1/ha-bridge-5.4.1.jar you can find that com\bwssystems\HABridge\plugins\domoticz\DomoticzHandler.class contains the depreciated /json.htm?type= which forms e.g ...
- Wednesday 26 March 2025 22:47
- Forum: Python
- Topic: Python plugin: Presence detection from wireless router
- Replies: 1113
- Views: 228596
Re: Python plugin: Presence detection from wireless router
I finally got it to work by: 1. Removing the current iDetect switches, etc. in Domoticz 2. Installing the branch by: git checkout DomoticzEx-based-beta 3. sudo nano /etc/init.d/domoticz.sh and added a line: export PYTHONPATH=/home/pi/pyvenv/lib/python3.11/site-packages:$PYTHONPATH (where pyvenv is ...
- Wednesday 26 March 2025 11:03
- Forum: Python
- Topic: Python plugin: Presence detection from wireless router
- Replies: 1113
- Views: 228596
Re: Python plugin: Presence detection from wireless router
Hi,
thx for your quick reply.
I've enabled debug in Domoticz Hardware iDetect settings but where can I see more debug output from that?
In Domoticz log I only get this one error line.
thx for your quick reply.
I've enabled debug in Domoticz Hardware iDetect settings but where can I see more debug output from that?
In Domoticz log I only get this one error line.
- Tuesday 25 March 2025 22:48
- Forum: Python
- Topic: Python plugin: Presence detection from wireless router
- Replies: 1113
- Views: 228596
Re: Python plugin: Presence detection from wireless router
Almost there! I installed Debian version 12 (bookworm) on a clean rpi4 with python3.11 pre-installed. Created a venv and installed Paramiko, etc. Git cloned iDetect. I also installed Domoticz and enabled iDetect in Hardware. Domoticz Hardware Settings for my ASUS RT-AC88U with SSH on port 2020 ...
- Thursday 13 March 2025 20:05
- Forum: Python
- Topic: Python plugin: Presence detection from wireless router
- Replies: 1113
- Views: 228596
Re: Python plugin: Presence detection from wireless router
Can anybody help me with the first step, I get errors when installing paramiko with 'sudo pip3 install requests paramiko'. I am running Python 3.7.3 and Domoticz 2025.1_build16576 on Rpi4. After multiple tries, I still get this error: Looking in indexes: https://pypi.org/simple, https://www.piwheels ...
- Wednesday 12 March 2025 9:32
- Forum: Examples & Solutions
- Topic: How-to: launch action after a certain time [SOLVED]
- Replies: 12
- Views: 7376
Re: How-to: launch action after a certain time [SOLVED]
Good point,
I found a thread about that, see viewtopic.php?t=33002
Unfortunately dz.emitEvent('myEvent').cancelQueuedCommands() doesn't work but it describes some work-around solutions.
I found a thread about that, see viewtopic.php?t=33002
Unfortunately dz.emitEvent('myEvent').cancelQueuedCommands() doesn't work but it describes some work-around solutions.
- Tuesday 11 March 2025 20:00
- Forum: Examples & Solutions
- Topic: How-to: launch action after a certain time [SOLVED]
- Replies: 12
- Views: 7376
Re: How-to: launch action after a certain time [SOLVED]
Hi Walter,
I've tested it and it works! This is exactly what I was looking for.
Thx...
I've tested it and it works! This is exactly what I was looking for.
Thx...
- Tuesday 11 March 2025 13:59
- Forum: Examples & Solutions
- Topic: How-to: launch action after a certain time [SOLVED]
- Replies: 12
- Views: 7376
Re: How-to: launch action after a certain time [SOLVED]
Why does customEvents = { … } does not support .name attribute? ALmost all other objects support .name. It would be useful to identify it when handling multiple customEvents in one script. E.g.: return { on = { devices = {'Test1', 'Test2'}, customEvents = {'delay_1_sec', 'delay_2_sec'}, }, logging = ...
- Friday 21 February 2025 12:53
- Forum: iOS
- Topic: Pilot: Home Automation Control (iOS app)
- Replies: 1000
- Views: 249042
Re: Pilot: Home Automation Control (iOS app)
I'm testing the Pilot update on iOS on Apple iPhone 15 Pro and 11 Max.
I’m using the latest iOS version and latest Pilot app, and most functions seem to work again. Only the ‘location services’ don’t update the switch. Is this a known bug still?
I’m using the latest iOS version and latest Pilot app, and most functions seem to work again. Only the ‘location services’ don’t update the switch. Is this a known bug still?
- Monday 17 February 2025 22:53
- Forum: Switches and Scenes
- Topic: Ring 2 Doorbell
- Replies: 87
- Views: 41840
Re: Ring 2 Doorbell
I like the script by Korrel very much and it works nicely. Also for motion if you add/change the following: for alert in alerts: try: if alert['kind'] == 'ding': this_event_id = alert['id'] # print(f"{ts()}: EVENT (last-id: {last_event_id}) - (this-id: {this_event_id})") if this_event_id != last ...
- Saturday 08 April 2023 18:57
- Forum: Heating/cooling
- Topic: Toshiba Airconditioning
- Replies: 5
- Views: 4071
Re: Toshiba Airconditioning
I'm also interested in this.
It would be great if the Toshiba AC's would be integrated with Domoticz.
It would be great if the Toshiba AC's would be integrated with Domoticz.
- Tuesday 21 March 2023 1:00
- Forum: Switches and Scenes
- Topic: NS Panel Sonoff With Tasmota and MQTT
- Replies: 6
- Views: 5193
Re: NS Panel Sonoff With Tasmota and MQTT
And finally I also "mirrored" my Central Heating system (Nefit in my case) to the NSPanel Thermostat Page (ATC - page 3) partly by adding on/off actions to Nefit devices and partly by DzVents script: -- script for updating NSPanel thermostat page with Nefit data --[[ Temperature: --> sync with Temp ...
- Tuesday 21 March 2023 0:21
- Forum: Switches and Scenes
- Topic: NS Panel Sonoff With Tasmota and MQTT
- Replies: 6
- Views: 5193
Re: NS Panel Sonoff With Tasmota and MQTT
I have integrated the NSPanel (with Tasmota) into Domoticz and I finally got it working. Most trouble I experienced with the mirroring of the states of the NSPanel widgets: how to trigger on a specific widget ID and retrieve its action On/Off at the same time? Funny thing is that the widgets return ...
- Saturday 25 February 2023 19:22
- Forum: Switches and Scenes
- Topic: NS Panel Sonoff With Tasmota and MQTT
- Replies: 6
- Views: 5193
Re: NS Panel Sonoff With Tasmota and MQTT
I'm trying to control the widgets (on NSPanel page 2) and as a first step I'm setting the following rule: Rule1 on NSPanel#params#switch do Publish domoticz/in {"command": "switchlight", "idx": 100, "switchcmd": "%value%"} endon Rule1 1 So by pressing any widget (unfortunately not a widget with a ...
- Monday 09 January 2023 8:54
- Forum: dzVents
- Topic: Get local Enphase data from individual solar panels in domoticz
- Replies: 54
- Views: 13491
Re: Get local Enphase data from individual solar panels in domoticz
Yes I believe you are right that they don't show up after sunset as the microinverters go in standby if not enough voltage is produced by the panels.
Good to know that the devices in Utility are only created when the HW is actively communicating.
Thanks guys for all your help. Appreciated.
Good to know that the devices in Utility are only created when the HW is actively communicating.
Thanks guys for all your help. Appreciated.
- Sunday 08 January 2023 8:58
- Forum: dzVents
- Topic: Get local Enphase data from individual solar panels in domoticz
- Replies: 54
- Views: 13491
Re: Get local Enphase data from individual solar panels in domoticz
Solved!
Yesterday I tried several times and with “Accept new HW devices” turned on but I couldn’t find the new devices in the list. Even with clearing the cache of the browser.
This morning they suddenly where in the list!?
So problem solved.
Many thanks for the swift reply.
Yesterday I tried several times and with “Accept new HW devices” turned on but I couldn’t find the new devices in the list. Even with clearing the cache of the browser.
This morning they suddenly where in the list!?
So problem solved.
Many thanks for the swift reply.