Search found 18 matches

by misfit
Thursday 07 November 2019 19:56
Forum: Zigbee
Topic: Smoke-detector, status change domoticz doesn't work
Replies: 25
Views: 5128

Re: Smoke-detector, status change domoticz doesn't work

hoeby wrote: Thursday 07 November 2019 11:21 Your xiaomi gateway is connected to domoticz?
Yes it's connected but ... Just checked the devices panel now and the smoke detector is there, seems it just needed some time (lots of). Thank You for the reply.
by misfit
Wednesday 06 November 2019 20:52
Forum: Zigbee
Topic: Smoke-detector, status change domoticz doesn't work
Replies: 25
Views: 5128

Re: Smoke-detector, status change domoticz doesn't work

I cannot even add the smoke detector to Domoticz. In Mi Home i added the device (Mijia Honeywell Fire Alarm Detector - https://www.gearbest.com/alarm-systems/ ... d=13027332) and enabled "Accept new Hardware devices" in Domo (V4.10717) but no luck.
by misfit
Monday 04 November 2019 19:25
Forum: Blockly
Topic: Time Triggered Blockly does not work (LED Off - Xiaomi Gateway v2)
Replies: 5
Views: 690

Re: Time Triggered Blockly does not work (LED Off - Xiaomi Gateway v2)

Yes i set the trigger to 'time': Try with this, State can be something else then 'On' or 'Off' Changing level to > 0% does switch the devce On and changing level to 0% does switch the device to Off. dimmer on.pngdimmer off.png That's working, thank you. Any idea how to change the LED color using ...
by misfit
Monday 04 November 2019 9:02
Forum: Blockly
Topic: Time Triggered Blockly does not work (LED Off - Xiaomi Gateway v2)
Replies: 5
Views: 690

Re: Time Triggered Blockly does not work (LED Off - Xiaomi Gateway v2)

Yes i set the trigger to 'time':
trigger.jpg
trigger.jpg (3.59 KiB) Viewed 616 times
The logic for On/Off:
on.jpg
on.jpg (19.36 KiB) Viewed 615 times
off.jpg
off.jpg (19.68 KiB) Viewed 615 times
by misfit
Sunday 03 November 2019 21:53
Forum: Blockly
Topic: Sending mail with Blockly
Replies: 2
Views: 834

Re: Sending mail with Blockly

Can you show your blockly logic? Maybe your mail gets rejected as spam because the subject and/or the body of your message?
I'm using gmail with application password, that's working ok.
by misfit
Sunday 03 November 2019 21:36
Forum: Blockly
Topic: Time Triggered Blockly does not work (LED Off - Xiaomi Gateway v2)
Replies: 5
Views: 690

Time Triggered Blockly does not work (LED Off - Xiaomi Gateway v2)

I turn on the LED of a xiaomi gateway (v2) at sunset: If Time = Sunset and Gateway = Off Do Set Gateway = On Set Gateway = Level (%) 15 That's working ok. But why it's not turning off using this logic? >> If Time >= 22:00 and Gateway = On Do Set Gateway = Off Set Gateway = Level (%) 0
by misfit
Sunday 21 January 2018 23:20
Forum: Blockly
Topic: Blockly event does not get fired.
Replies: 5
Views: 1039

Re: Blockly event does not get fired.

mrf68 wrote: Sunday 21 January 2018 7:56 As far as I know, the changing state of a variable does not trigger an event. Try making it an On/Off dummy switch and have that sending a message when it is turned on.
Then, what is the purpose of 'UserVariable' event type?
by misfit
Sunday 21 January 2018 15:03
Forum: Blockly
Topic: Blockly event does not get fired.
Replies: 5
Views: 1039

Re: Blockly event does not get fired.

jvdz wrote: Sunday 21 January 2018 10:43 I think it needs a Time test to fire as time script like I also mentioned in this thread:
http://www.domoticz.com/forum/viewtopic ... 85#p166122

Jos
Indeed it helped. Thank you!
by misfit
Sunday 21 January 2018 10:06
Forum: Blockly
Topic: blockly else statement
Replies: 5
Views: 4715

Re: blockly else statement

You have that:
elseif.png
elseif.png (8.8 KiB) Viewed 4610 times
If you want to run statement if none of the 'else if' branch evaluates to true, then just put an always true condition (with a user variable) in a last 'else if' branch.
by misfit
Sunday 21 January 2018 9:18
Forum: Blockly
Topic: Blockly event does not get fired.
Replies: 5
Views: 1039

Re: Blockly event does not get fired.

As far as I know, the changing state of a variable does not trigger an event. Try making it an On/Off dummy switch and have that sending a message when it is turned on. Yes but as its a timed event (script type: 'Time'), the state of the variable should be checked in every minute. Or did i miss ...
by misfit
Saturday 20 January 2018 21:24
Forum: Blockly
Topic: Blockly event does not get fired.
Replies: 5
Views: 1039

Blockly event does not get fired.

This 'Device' event gets fired if one of my PIR sensors changes state to 'On' and security status is 'Armed Away'. I set a delay so i have time to disarm the system when entering home: PIR_On_Device.jpg The problem is that the following script (script type: 'Time') does not get fired after the value ...
by misfit
Tuesday 05 December 2017 20:16
Forum: Other questions and discussions
Topic: Infra transmitter (to control TV)
Replies: 0
Views: 317

Infra transmitter (to control TV)

Hello,

Can someone recommend an IR transmitter that can be mixed with domoticz?

Thanks.
by misfit
Monday 04 December 2017 19:07
Forum: Blockly
Topic: Xiaomi Gateway - Setting light color
Replies: 13
Views: 7846

Re: Xiaomi Gateway - Setting light color

I see this skeleton when creating a new dzvents script: return { on = { devices = { 'myDevice' } }, execute = function(domoticz, device) domoticz.log('Device ' .. device.name .. ' was changed', domoticz.LOG_INFO) end } How to utilize your code, if lets say i want to set the color when a user ...
by misfit
Sunday 03 December 2017 13:26
Forum: Blockly
Topic: Xiaomi Gateway - Setting light color
Replies: 13
Views: 7846

Xiaomi Gateway - Setting light color

I can dim the light with 'level (%)' but how to set RGB color? (Tried to put hex value in 'number' block but seems thats not the right way :)

Thanks!
by misfit
Saturday 02 December 2017 11:24
Forum: Zigbee
Topic: Xiaomi Smart Home Suite (very cheap) compatibilty?
Replies: 2452
Views: 537419

Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

*deleted
by misfit
Saturday 02 December 2017 0:40
Forum: Zigbee
Topic: Xiaomi Smart Home Suite (very cheap) compatibilty?
Replies: 2452
Views: 537419

Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

Hmm it seems the multicasted status updates coming from the gateway are much more bulky and not that reliable compared to the updates intended to the xiaomi servers outside. Its sad. At least it turned out that delayed or dropped status updating and other anomalies are not the fault of domoticz and ...
by misfit
Friday 01 December 2017 21:14
Forum: Zigbee
Topic: Xiaomi Smart Home Suite (very cheap) compatibilty?
Replies: 2452
Views: 537419

Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

Why is that sometimes domoticz just stops reading the motion sensor status? Its updating On-Off-On-Off-On-Off... (when testing, i wait 2 minutes every time for the switch to go off before initiate movement again) then it stops updating and then after some time hell known why its working again all of ...
by misfit
Wednesday 29 November 2017 23:51
Forum: Zigbee
Topic: Xiaomi Smart Home Suite (very cheap) compatibilty?
Replies: 2452
Views: 537419

Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

Version: Beta 3.8755 Platform: Raspberry Pi 2 / Ubuntu Mate 16.04.2 Hardware: Xiaomi Gateway/Sensors Hello, Any idea why domoticz does not update xiaomi sensor status? It updates slowly/randomly (door contact, infra), not responsive at all. In Xiaomi's MiHome every sensor updates almost immediately ...