Search found 2440 matches

by gizmocuz
Saturday 24 February 2018 10:22
Forum: Suggestions
Topic: Make blockly Else if to an actual else if
Replies: 21
Views: 550

Re: Make blockly Else if to an actual else if

@ash77, not sure i understand, but m_events (or the database is easier to check) is correct looking at your actions You configured 4 actions (no complicated else stuff), and 4 actions are created and will be checked. No need to know it is from A or B Unless you meand that 2. condition: temp>26 was a...
by gizmocuz
Friday 23 February 2018 18:43
Forum: Suggestions
Topic: Make blockly Else if to an actual else if
Replies: 21
Views: 550

Re: Make blockly Else if to an actual else if

Thanks, this makes sense! This patch could be accepted, as all will happen in the first IF, and it should not even go to the ELSE because the above is true. But, there can be more conditions then one if (A=1 and B=2) then ... else if (A=2 and B=1) then ... else if (A=2 and B=2) then ... else .. will...
by gizmocuz
Friday 23 February 2018 16:43
Forum: Suggestions
Topic: Make blockly Else if to an actual else if
Replies: 21
Views: 550

Re: Make blockly Else if to an actual else if

You mean the patch from 'ash77' ? i dont think that this is 'the' patch and causes only the first 'then' to be executed and then it stops

If the 'EventRules' is correctly populated by a patch, this will not cause previous scripts to break....
(in this case there should be more rules created)
by gizmocuz
Friday 23 February 2018 16:04
Forum: Suggestions
Topic: Make blockly Else if to an actual else if
Replies: 21
Views: 550

Re: Make blockly Else if to an actual else if

Best to test this solution first locally... But i don't think this is the fix unfortunately, and it's the way it was designed/implemented years ago. The OP from this topic also created a github issue where i try to explain how to overcome (his/some) this issue: https://github.com/domoticz/domoticz/i...
by gizmocuz
Friday 23 February 2018 15:25
Forum: Bugs and Problems
Topic: Erroneous values in gas/electricity meter readings
Replies: 12
Views: 766

Re: Erroneous values in gas/electricity meter readings

But if you are the creator of this meter, you could always send an increasing value, so this will solve your actual meter issue ?
Just saying, it might be better to solve the hardware, then to conceal the error with frontend software.
At least, now you know for sure when things go wrong
by gizmocuz
Thursday 22 February 2018 9:26
Forum: Bugs and Problems
Topic: Erroneous values in gas/electricity meter readings
Replies: 12
Views: 766

Re: Erroneous values in gas/electricity meter readings

So basically you are saying, with this patch, you do not have spikes, and all looks normal, and you have/had no idea your counter device is faulty and produces errors?
Then we should not apply this patch otherwise nobody will notice this behavior ?
by gizmocuz
Sunday 11 February 2018 12:57
Forum: Other questions and discussions
Topic: Looking for an switch
Replies: 13
Views: 290

Re: Looking for an switch

Any zwave (quibino, popp, ... ) build in modules will work. It might be a pain to build them into the wall, but the wife can operate them like normal switches. (as it always should be)
by gizmocuz
Sunday 11 February 2018 9:51
Forum: Z-Wave
Topic: Minimote always on
Replies: 3
Views: 193

Re: Minimote always on

You could make scenes/groups and learn the minimote as the trigger code, or use scripts, but scenes are probably what you want to look at
by gizmocuz
Sunday 11 February 2018 9:48
Forum: Bugs and Problems
Topic: Erroneous values in gas/electricity meter readings
Replies: 12
Views: 766

Re: Erroneous values in gas/electricity meter readings

Obviously a reliable counter will not take steps backwards. But if that ever happens, in my opinion reporting a negative delta is closer to truth than overflowing to billions or discarding correct data. No of course not, but it should be shown... you want to know that you have a fault counter If ne...
by gizmocuz
Thursday 08 February 2018 18:00
Forum: Bugs and Problems
Topic: Erroneous values in gas/electricity meter readings
Replies: 12
Views: 766

Re: Erroneous values in gas/electricity meter readings

If it not better to check if ulFirstValue is smaller then actValue, if it's bigger, ignore the value as that should not happen ?
by gizmocuz
Friday 19 January 2018 9:58
Forum: Forum feedback
Topic: Login wiki gives fatal exception
Replies: 9
Views: 565

Re: Login wiki gives fatal exception

Thanks ;) Could you try again to login to the wiki? I made some changes, also forced it to HTTPS, i think that was the problem with my Chrome browser anyway. It did not like to login over plain HTTP
by gizmocuz
Thursday 18 January 2018 11:55
Forum: Forum feedback
Topic: Login wiki gives fatal exception
Replies: 9
Views: 565

Re: Login wiki gives fatal exception

Its all done by volunteers... and i was visiting family oversees for a month
by gizmocuz
Thursday 18 January 2018 7:46
Forum: General Discussion
Topic: HTTP API / MQTT - how to get notification of user variable change
Replies: 1
Views: 296

Re: HTTP API / MQTT - how to get notification of user variable change

At the moment there is no method that is being called when a uservariable has changed, only when new sensor/device data is received. mainworker::sOnDeviceReceived MQTT::on_connect, sOnDeviceReceived.connect(boost::bind(&MQTT::SendDeviceInfo, this, _1, _2, _3, _4)); This needs to be implemted in the ...
by gizmocuz
Wednesday 15 November 2017 11:47
Forum: Python
Topic: Python Plugin: Broadlink RM2 V3
Replies: 266
Views: 27138

Re: Python Plugin: Broadlink RM2 V3

That i do not know. Yes we always try to use the latest library versions.
Maybe you can update the script
by gizmocuz
Wednesday 15 November 2017 10:10
Forum: Python
Topic: Python Plugin: Broadlink RM2 V3
Replies: 266
Views: 27138

Re: Python Plugin: Broadlink RM2 V3

Yes, but when they used the prebuild versions it should work
by gizmocuz
Monday 13 November 2017 15:42
Forum: LUA
Topic: how can I run a command from a variable?
Replies: 12
Views: 623

Re: how can I run a command from a variable?

@danny, you can even make a good morning light with a scene.... 1%, 3%, 5%, 10%, 15%, 25%, 50%, 100%...
it makes no sense to add the same device with the same delay no...

Great it's working !
by gizmocuz
Monday 13 November 2017 9:57
Forum: Python
Topic: Python Plugin: Broadlink RM2 V3
Replies: 266
Views: 27138

Re: Python Plugin: Broadlink RM2 V3

@Phantom, is your HTTP/HTTPS still working ? (because of the notification issue)
I had to struggle a lot to get this working during compilation (right openssl library)

Maybe we need a specific python version/libray on our build system?
by gizmocuz
Monday 13 November 2017 9:40
Forum: LUA
Topic: how can I run a command from a variable?
Replies: 12
Views: 623

Re: how can I run a command from a variable?

This all can be done without scripting and using a scene In the scene you can specify delays Also how i use it, first turn on the bedroom light, next turn off all ground floor lights one by one (with a delay) the one closest to the stair last If you do not trust your RF then you better connect a goo...
by gizmocuz
Sunday 12 November 2017 12:54
Forum: Blockly
Topic: notification with light on
Replies: 12
Views: 964

Re: notification with light on

Why don't you add the notification directly on the switch ? (switches tab, press the notification button)
by gizmocuz
Sunday 12 November 2017 12:52
Forum: LUA
Topic: how can I run a command from a variable?
Replies: 12
Views: 623

Re: how can I run a command from a variable?

Thats not possible.
But maybe explain why you need this for ... what are you trying to do ?
Maybe it is already possible with Blockly, dzVents, Lua, Python, Scenes/Groups