Search found 16 matches

by James83
Sunday 28 November 2021 16:28
Forum: dzVents
Topic: Changing Dimmer level with Selector switch
Replies: 8
Views: 2569

Re: Changing Dimmer level with Selector switch

I did some quick testing on 6 Tradfri spots. I found that using the room switch (created by the Hue bridge/app) does not work well because of the delay between the individual lights and the room switch. So best to use the individual lights in your script. Also found a flaw in my script, corrected in ...
by James83
Sunday 28 November 2021 15:32
Forum: dzVents
Topic: Changing Dimmer level with Selector switch
Replies: 8
Views: 2569

Re: Changing Dimmer level with Selector switch

That's what I meant. From 0 to 100% in 10 seconds 100 messages are send over the Zigbee network. I think it will clog my Zigbee network. I doubt it. In the original case (where the dimmer switch dims lights through the Tradfri bridge) the same happens without a problem. You could change the ...
by James83
Sunday 28 November 2021 15:09
Forum: dzVents
Topic: Changing Dimmer level with Selector switch
Replies: 8
Views: 2569

Re: Changing Dimmer level with Selector switch

Doesn't that create a lot of "traffic"? No, the "Up" statement of the switch is only once send to DZ over MQTT, as well as the "Stop" statement. The light itself is controlled by the Hue brigde. So it's only like you would change the level of the light by the slider in the GUI. For every percentage ...
by James83
Sunday 28 November 2021 1:12
Forum: dzVents
Topic: Changing Dimmer level with Selector switch
Replies: 8
Views: 2569

Re: Changing Dimmer level with Selector switch

Hi, Found your topic when i was looking for the same solution. Meanwhile i found a way to also use the "up" and "down" function of the remote. It was actually very simple. This is how i did it. It does create some queued events but only for a short time and cancels the queud events when the button ...
by James83
Saturday 11 September 2021 23:36
Forum: dzVents
Topic: MQTT customEvents - Invalid data
Replies: 0
Views: 265

MQTT customEvents - Invalid data

Hi, I run a ping script on one domoticz instance and want the data to be send to another domoticz instance on another Pi by MQTT with the customEvents command. I don't want to use the remote server plugin, because i need the data to be sent immediately after the ping happened. The message gets ...
by James83
Sunday 11 April 2021 19:00
Forum: dzVents
Topic: Strange behavior in logging (triggering and internal script logging) [Solved]
Replies: 2
Views: 681

Re: Strange behavior in logging (triggering and internal script logging) [Solved]

logging = { level = domoticz.LOG_INFO, marker = 'LOGGING', }, The trigger logging is also controlled by the logsetting in the script (See above). If it set to LOG_ERROR you won't see the Start and Finished as below. Result when set as above in the script and with Errors + minimal execution info ...
by James83
Sunday 11 April 2021 17:44
Forum: dzVents
Topic: Strange behavior in logging (triggering and internal script logging) [Solved]
Replies: 2
Views: 681

Strange behavior in logging (triggering and internal script logging) [Solved]

Hi all, Today i noticed that the logging is not complete anymore when dzVents scripts are triggered. latest beta 13149 and also in 13133 on RPI4. Especially time-triggered scripts do not show anything in the logs anymore. Other scripts do show their triggering but not the internal logging in the ...
by James83
Monday 25 January 2021 19:04
Forum: Zigbee
Topic: ZIGBEE2MQTT, subdevices not updating after friendly name change in Z2M frontend.
Replies: 2
Views: 1128

ZIGBEE2MQTT, subdevices not updating after friendly name change in Z2M frontend.

Hi, Yesterday, i installed zigbee2mqtt plugin and use the CC2531 stick. New hardware is allowed. Everything went fine, until I changed the friendly name of the maindevices in the frontend of Z2M. The created subdevices are not responding anymore. However, the plugin still updates it’s maindevices. ...
by James83
Thursday 03 December 2020 22:21
Forum: dzVents
Topic: QueuedCommand on selector switch not executing [Solved]
Replies: 1
Views: 422

QueuedCommand on selector switch not executing [Solved]

Hello, I noticed a strange behavior since beta 12501 and still exists in latest beta 12709 but i believe it worked fine in 12497 I have 2 scripts. First triggered script contains these lines: if checkmks then dz.devices('Alarm').switchSelector('Check MKs').afterSec(1) end -- check MK's uitvoeren if ...
by James83
Friday 10 July 2020 23:22
Forum: Other questions and discussions
Topic: Action doorbell, blocky script and camera
Replies: 3
Views: 833

Re: Action doorbell, blocky script and camera

Hi, I don't use the sub/slave devices option, but i think your problem might have to do something with it. It's not because you have set the doorbell as a slave device, it will just do what you want it to do (send a snapshot) I don't know Blockly that well, but i don't think the option for snapshots ...
by James83
Friday 10 July 2020 22:48
Forum: Suggestions
Topic: Visual TimedOut/Unreachable for all devices (eg Hue devices)
Replies: 1
Views: 339

Visual TimedOut/Unreachable for all devices (eg Hue devices)

Hi, As many, i use the Hue bridge. Works perfect with domoticz, exept for the "reachable" state of it's connected devices. The Hue app and some other apps show the unreachable state, but Domoticz does not. At least, i can not find it. So a light could be shown as "On" in Domoticz, while actually it ...
by James83
Sunday 05 January 2020 23:45
Forum: Other questions and discussions
Topic: Hardware sensor: external HDD, twice the actual
Replies: 0
Views: 163

Hardware sensor: external HDD, twice the actual

Hi,

I use the hardware sensors to "read" my RPi 3B+.
More or less, they all appear correct. Except for my external HDD. Gparted says it's 47% used. Domoticz says it's 86% used.

Is it a hardware or a Domoticz issue?

Thx,
Jimmy
by James83
Sunday 05 January 2020 22:51
Forum: Switches and Scenes
Topic: Doorswitch to turn on and off a light
Replies: 25
Views: 4754

Re: Doorswitch to turn on and off a light

Glad it's solved :D

Meanwhile did a quick test with and without the .name attribute.
Both output true if so
so, issue must have been in the name of the devices.

Jimmy
by James83
Sunday 05 January 2020 20:11
Forum: Switches and Scenes
Topic: Doorswitch to turn on and off a light
Replies: 25
Views: 4754

Re: Doorswitch to turn on and off a light

Hi, I have some of the same door/window sensors. They send a 'On' command for both the open and close state but with a different EV1527 code. Maybe try to change: if door == open then ... elseif door == closed then ... with if door.name == open.name then ... elseif door.name == closed.name then ...
by James83
Sunday 22 December 2019 9:56
Forum: Suggestions
Topic: Multiple choice selector switch
Replies: 3
Views: 642

Re: Multiple choice selector switch

Until then I am happy to see if I can help to overcome the problem with string.match and identify which states are active when combined. Thanks for your fast reply and sorry for my late answer :-) I worked arround this by renaming my devices, so i don't need string.match anymore in this case. But ...
by James83
Wednesday 04 December 2019 23:40
Forum: Suggestions
Topic: Multiple choice selector switch
Replies: 3
Views: 642

Multiple choice selector switch

Hi, I have some selector switches by wich events will be executed or not, depending on its state. Sometimes, multiple states may be executed but then i need to combine levels in new levels, like: level10= x, level20= y, level30= z, level40= x+y, level50= x+y+z, level60= y+z, level70= x+z. In my ...