Search found 24 matches

by PeGe
Sunday 26 March 2017 19:09
Forum: Blockly
Topic: Blocky script doesn't work like expected...
Replies: 23
Views: 6530

Re: Blocky script doesn't work like expected...

I don't buy that! - When a command/instruction as essential as the "else if" statement does not work as it should according to all accepted programming standards, that script interpreter is most definitely broken. Period! The fact that a piece of software *can* still be used to a limited extent ...
by PeGe
Sunday 26 February 2017 16:08
Forum: Blockly
Topic: power meter with two values
Replies: 2
Views: 1607

Re: power meter with two values

Hi jaha, Not sure what type of wall plug you have, but my Fibaro wall plug (Z-Wave unit) shows all the "devices" listed in the picture below. I have a setup where that wall plug is automatically shut off whenever I lock my front door with an auxiliary lock, which my alarm system monitors via a built ...
by PeGe
Tuesday 21 February 2017 20:46
Forum: LUA
Topic: Yet another presence detection method
Replies: 135
Views: 39980

Re: Yet another presence detection method

Two androids (marshmallow, and lolipop) are working great for me. But of course they do! - Neither Androids nor Windows(Nokia) phones will put the wifi interface to sleep. I was discussing iPhones specifically. ... So that this method does not work is simply not true... OK, but I actually didn't ...
by PeGe
Monday 20 February 2017 13:40
Forum: LUA
Topic: Yet another presence detection method
Replies: 135
Views: 39980

Re: Yet another presence detection method

Thanks for this guide, I got it working, sort of.... The switch for my phone turns on automatically after a while. When i disconnect from wifi it stays connected however. It seems it doesn't update regularly, is there a way to check this and a way to change this? My wife's phone also connected ...
by PeGe
Sunday 12 February 2017 12:40
Forum: LUA
Topic: Yet another presence detection method
Replies: 135
Views: 39980

Re: Yet another presence detection method

While reading this thread out of pure curiosity, not intending to test or implement the solution in my own environment (due to incompatoble router hardware), I immediately spotted a fundamental error occuring three (3) times in your script: I assume that the original author intended to split the URL ...
by PeGe
Saturday 11 February 2017 12:29
Forum: Other questions and discussions
Topic: Using Domoticz with the RaZberry Z-Wave Controller
Replies: 36
Views: 37002

Re: Using Domoticz with the RaZberry Z-Wave Controller

Hi PeGe, good point on that mask, but does it mask also possible bluetooth dongles ? -T Sorry, but I really can't say, since I have never connected a bluetooth dongle to any of my Raspberries! I'd however assume that all possible bluetooth dongles would rely on the same service, just differently ...
by PeGe
Friday 10 February 2017 23:24
Forum: Design, usability and languages
Topic: element-dark, hardcoded language
Replies: 5
Views: 2902

Re: element-dark, hardcoded language

Can they be changed to be included in language packs and i'll be happy to translate stuff to swedish from english :) For Your Info: Those strings are already in the generic Domoticz language files. but still not "translatable" since they have unfortunately been hard coded inside a CSS file ...
by PeGe
Friday 10 February 2017 1:23
Forum: Other questions and discussions
Topic: Raspberry GPIO, Home security status
Replies: 11
Views: 3026

Re: Raspberry GPIO, Home security status

Now we're talking good old hardware solutions here... ;) If you're somewhat familiar with electronics and soldering (and not worrying about waiving your equipment warranty), I suggest you trace the circuitry from the led all the way back to its driver chip. Most likely there are some components ...
by PeGe
Monday 06 February 2017 23:06
Forum: LUA
Topic: light on when lux is lower than 200
Replies: 9
Views: 4138

Re: light on when lux is lower than 200

To restrict the execution of the main logic in a TIME script to 5 minute intervals, check the current minute value with an 'IF' statement and put your old commands inside it: commandArray = {} local m = os.date('%M') if (m % 5 == 0) then print("Doing my thing now...") -- Your main 'IF/THEN/END ...
by PeGe
Monday 06 February 2017 22:02
Forum: Others
Topic: Is there interest for Tellstick (Duo) support?
Replies: 61
Views: 16840

Re: Is there interest for Tellstick (Duo) support?

I don't know if it helps you at all, but I recently posted the following:

http://www.domoticz.com/forum/viewtopic ... 06#p118006

It might be somewhat useful, when/if you want to grab and replicate the sensor values from your Tellstick Duo.

/P-G
by PeGe
Monday 06 February 2017 11:59
Forum: Design, usability and languages
Topic: A few "cosmetic bugs" in the user interface
Replies: 8
Views: 3248

Re: A few "cosmetic bugs" in the user interface

I did some further testing this morning, and it seems to work fine. I have not seen any negative consequences so far.

A few screenshots of various languages below:
by PeGe
Sunday 05 February 2017 19:37
Forum: Design, usability and languages
Topic: A few "cosmetic bugs" in the user interface
Replies: 8
Views: 3248

Re: A few "cosmetic bugs" in the user interface

I said I would look into it, so I finally took me a little time tonight. Here is a reasonably simple solution that I came up with, to enable the translation of the "Last Seen:" label. EDIT : I also took the opportunity to resolve the same issue with the "Type:" labels, as that string was also ...
by PeGe
Sunday 05 February 2017 13:03
Forum: Other questions and discussions
Topic: Question on RaZberry firmware update capability in Domoticz
Replies: 1
Views: 648

Question on RaZberry firmware update capability in Domoticz

I did not install the 'Z-Way' software in my environment. As I only wanted to use Domoticz anyway, I deemed it unnecessary to install some additional software that I had no intention to ever use. But after some more reading, I get the impression that the 'Z-Way' software has a built-in feature for ...
by PeGe
Sunday 05 February 2017 12:31
Forum: Blockly
Topic: Blockly examples
Replies: 709
Views: 416085

Re: Blockly examples

To avoid that unnecessary load, just include an AND in your condition, checking if 'Toalett fläkt' = On.

Like this:

if 'Toalett nere' < 49 AND 'Toalett fläkt' = On

/P-G
by PeGe
Sunday 05 February 2017 0:05
Forum: Blockly
Topic: Blockly and lightsensor
Replies: 13
Views: 3306

Re: Blockly and lightsensor

You might think that but it does @ Domoticz :) Seriously? :shock: Now, I don't intend to hijack this thread, but I would truly consider that behavior to be a serious bug, as "ESLE" would have completely lost its meaning! In my every day life, I'd always use "else if" statements in such a sequence ...
by PeGe
Saturday 04 February 2017 22:44
Forum: Blockly
Topic: Blockly and lightsensor
Replies: 13
Views: 3306

Re: Blockly and lightsensor

One thing that puzzles me when viewing your switch history listing, is the fact that both the ON and OFF transitions occur at the very same second. That "should" be impossible, according to the logic you have defined. The script will only run once per second, and when the first 'If' expression ...
by PeGe
Saturday 04 February 2017 20:53
Forum: Blockly
Topic: Blockly and lightsensor
Replies: 13
Views: 3306

Re: Blockly and lightsensor

Maybe a very silly question, but could it possibly be that the light source you turn on with "Tända" also affects (i.e. is seen by) your light sensor? - It's too dark, so: "Tända" -> On - Now it's too bright, so: "Tända" -> Off - Damn, it turned dark again... "Tända" -> On ... and so on ... I think y ...
by PeGe
Saturday 04 February 2017 12:09
Forum: Design, usability and languages
Topic: A few "cosmetic bugs" in the user interface
Replies: 8
Views: 3248

Re: A few "cosmetic bugs" in the user interface

OK, I see your point! And it makes sense to leave that wording "as-is". Let me look into what I can do with #3. As for myself, I simply edited the CSS in my own installation, but that raw quick-and-dirty hack is clearly just a local short-term workaround. However, I recall noticing some other CSS ...
by PeGe
Saturday 04 February 2017 11:40
Forum: Design, usability and languages
Topic: A few "cosmetic bugs" in the user interface
Replies: 8
Views: 3248

Re: A few "cosmetic bugs" in the user interface

Hi gizmocuz, First let me say I admire your commitment towards constantly improving both the core software as well as the user experience. - Impressive! Now, to clarify point #4 in my original posting: In the top left hand portion of the 'Settings' page, under 'System settings' and 'User interface ...
by PeGe
Saturday 04 February 2017 0:08
Forum: Design, usability and languages
Topic: A few "cosmetic bugs" in the user interface
Replies: 8
Views: 3248

A few "cosmetic bugs" in the user interface

First; I noticed that the display text "Humidity %" always appears near the right hand side of the temperature graphs, even if the affected sensor is of type 'temperature-only'. However, there is apparently some conditional logic that automatically removes the "numeric scale percentage notation ...