Search found 44 matches

by StasDemydiuk
Sunday 25 November 2018 21:18
Forum: Python
Topic: Python Plugin: Zigbee2Mqtt
Replies: 46
Views: 3434

Re: Python Plugin: Zigbee2Mqtt

What is the expected behavior of the aqara water leak sensor?
Because it is just simple contact sensor it stays "Open" when there is no water leakage and "Closed" if there is
by StasDemydiuk
Tuesday 13 November 2018 22:05
Forum: Python
Topic: Howto set color of Color switch, RGBWW, Dimmer from Python?
Replies: 4
Views: 319

Re: Howto set color of Color switch, RGBWW, Dimmer from Python?

You can update switch color by passing Color property to Device.Update

Code: Select all

n_value = 1
s_value = '1'
color = json.dumps({
  'ColorMode': 3, #mode 3: RGB
  'r': 255,
  'g': 255,
  'b': 255
})
Devices[0].Update(nValue=n_value, sValue=s_value, Color=color)
by StasDemydiuk
Saturday 10 November 2018 11:57
Forum: Design, usability and languages
Topic: New Domoticz Events design
Replies: 36
Views: 2413

Re: New Domoticz Events design

I used 4.10073 for old event editor and 4.10164 for new one.
In old one select box with event type active but as I see it does nothing, that's why it was removed in update
by StasDemydiuk
Saturday 10 November 2018 10:39
Forum: Design, usability and languages
Topic: New Domoticz Events design
Replies: 36
Views: 2413

Re: New Domoticz Events design

@Derik I was'n able to reproduce your issues both with old and with new events editor.
by StasDemydiuk
Saturday 10 November 2018 10:36
Forum: Blockly
Topic: Math operators and Blocking
Replies: 43
Views: 10661

Re: Math operators and Blocking

Math operators should became available by default in this PR (https://github.com/domoticz/domoticz/pull/2857)
by StasDemydiuk
Monday 05 November 2018 17:50
Forum: Design, usability and languages
Topic: New Domoticz Events design
Replies: 36
Views: 2413

Re: New Domoticz Events design

I'm missing the option to specify the trigger mechanism (time/device) for blockly's. When there was a missing device in a event, the text color changed to purple.. Now there is no different between a working and a not working [ with a missing device ] event There was a option to change into the lua...
by StasDemydiuk
Saturday 03 November 2018 10:21
Forum: Design, usability and languages
Topic: New Domoticz Events design
Replies: 36
Views: 2413

Re: New Domoticz Events design

harolds wrote:
Wednesday 31 October 2018 21:47
I'm missing the option to specify the trigger mechanism (time/device) for blockly's. So now all my blockly's are not triggered anymore.
Could you please explain how it was working in old editor?
by StasDemydiuk
Friday 02 November 2018 9:28
Forum: Python
Topic: [Feature request] Update device data without state update
Replies: 1
Views: 130

[Feature request] Update device data without state update

In current Python framework for plugins it is impossible to update device data (like battery or signal level) without updating nValue and sValue. I wonder if it is possible to add such ability as sometimes it is required to somehow handle heartbeat messages from device without updating actual value....
by StasDemydiuk
Friday 02 November 2018 9:23
Forum: Python
Topic: Creating a general gateway
Replies: 4
Views: 262

Re: Creating a general gateway

Had very similar challenge with gateway for different zigbee devices. Here is my plugin https://github.com/stas-demydiuk/domoti ... qtt-plugin. It is not what you are asking for but maybe might help as temporary solution.
by StasDemydiuk
Tuesday 30 October 2018 15:03
Forum: Bugs and Problems
Topic: Where is 'current states'?
Replies: 2
Views: 113

Re: Where is 'current states'?

You can find "current states" data in the first tab in new events editor
by StasDemydiuk
Sunday 28 October 2018 15:45
Forum: Design, usability and languages
Topic: New Domoticz Events design
Replies: 36
Views: 2413

Re: New Domoticz Events design

bizziebis wrote:
Saturday 27 October 2018 23:01
I'm missing the option to save the editor settings once they are changed
What editor settings do you mean, didn't found the ability to update them :o
by StasDemydiuk
Saturday 27 October 2018 17:55
Forum: Python
Topic: Howto set color of Color switch, RGBWW, Dimmer from Python?
Replies: 4
Views: 319

Re: Howto set color of Color switch, RGBWW, Dimmer from Python?

Wow, @Charger where have you found this DomoticzEvents lib, I haven't imagine that it even exist.
I wonder if could share some docs how to use it.
by StasDemydiuk
Saturday 27 October 2018 17:23
Forum: Design, usability and languages
Topic: New Domoticz Events design
Replies: 36
Views: 2413

Re: New Domoticz Events design

QSKONE wrote:
Saturday 27 October 2018 16:53
In Chrome 70. Events are broken
Works the same as in Chrome 69, everything is ok. Probably local caching issue, could you please try to clear the browser cache?
by StasDemydiuk
Saturday 27 October 2018 16:52
Forum: Bugs and Problems
Topic: Electricity Report not working
Replies: 23
Views: 864

Re: Electricity Report not working

Flappie, I applied your database and everything looks good in latest beta.
Found one error in total cost calculation, created the PR with fix for that:
https://github.com/domoticz/domoticz/pull/2809
by StasDemydiuk
Saturday 27 October 2018 16:19
Forum: Bugs and Problems
Topic: Can't save long event in
Replies: 6
Views: 304

Re: Can't save long event in

When I try to save events that are more then 5Kb long I have this error: [{},"Possibly unhandled rejection: {}"] /js/angular.min.js:124 Because all requests to Domoticz API use HTTP GET verb, it could be limitation of proxy server if you have one between you and Domoticz https://stackoverflow.com/q...
by StasDemydiuk
Friday 26 October 2018 11:58
Forum: Design, usability and languages
Topic: New Domoticz Events design
Replies: 36
Views: 2413

Re: New Domoticz Events design

I did not find how to change the type of a script already created, if I click on the + it creates a new one? As I understand, type of script only matters what template will be using when you create a new script and has no effect if you change it after. That's why there is no such ability in new eve...
by StasDemydiuk
Friday 26 October 2018 11:40
Forum: Design, usability and languages
Topic: New Domoticz Events design
Replies: 36
Views: 2413

Re: New Domoticz Events design

BTW Any suggestions for further events editor improvements are welcome
by StasDemydiuk
Friday 26 October 2018 11:38
Forum: Bugs and Problems
Topic: Script editor is not visible
Replies: 4
Views: 168

Re: Script editor is not visible

Looks like a cache issue
by StasDemydiuk
Thursday 25 October 2018 23:35
Forum: Bugs and Problems
Topic: Electricity Report not working
Replies: 23
Views: 864

Re: Electricity Report not working

@DirkJanP or @Flappie I wonder if you could share your database backup with me in PM, then I hope I'll be able to reproduce the issue and take a look
by StasDemydiuk
Sunday 14 October 2018 19:28
Forum: Bugs and Problems
Topic: No buttton report temperature
Replies: 9
Views: 309

Re: No buttton report temperature

@alienos should be fixed in this PR https://github.com/domoticz/domoticz/pull/2776