Search found 15 matches

by JarekP
Monday 23 May 2016 18:39
Forum: Raspberry Pi GPIO ( WiringPi )
Topic: Watermeter doesn't work
Replies: 6
Views: 3407

Re: Watermeter doesn't work

Some new facts: when I'm trying to run it with &, it gives an answer: pi@raspberrypi:~$ ./wodomierz.sh & [1] 1000 But still no changes on my dummy counter in domoticz, it still shows 0. Also I checked syslog, at the time, when I did my tries (tried to run script and enabled water flow) syslog is ...
by JarekP
Sunday 22 May 2016 20:32
Forum: Raspberry Pi GPIO ( WiringPi )
Topic: Watermeter doesn't work
Replies: 6
Views: 3407

Re: Watermeter doesn't work

As I wrote, I used script published on forum by @RidingTheFlow, assume it is working, especially that some of colleagues according to their posts also are using it :) So, I think there are two possibilities: - I destroyed something during making changes (delete "gas" section and change "elec" into ...
by JarekP
Sunday 22 May 2016 15:43
Forum: Raspberry Pi GPIO ( WiringPi )
Topic: Watermeter doesn't work
Replies: 6
Views: 3407

Re: Watermeter doesn't work

Ok, but in my imagination it should work that way: I'm running a script, receiving any confirmation or not and have a prompt again. In my case when I put a command: pi@raspberrypi:~$ ./wodomierz.sh there is nothing after it. No cursor, no prompt, only as I can do is closing this telnet session and ...
by JarekP
Saturday 21 May 2016 21:15
Forum: Raspberry Pi GPIO ( WiringPi )
Topic: Watermeter doesn't work
Replies: 6
Views: 3407

Watermeter doesn't work

Guys, I'm still a newbie and probably I made a mistake or didn't do something important, please help with investigation :) I have watering system managed by domoticz, I'd like to add watermeter. As a hardware I have popular flow sensor from Aliexpress , powered by 3.3V, output is connected to GPIO4 ...
by JarekP
Friday 20 May 2016 10:05
Forum: PHP and all others
Topic: Events: How to do something AFTER something
Replies: 16
Views: 4513

Re: Events: How to do something AFTER something

Problem solved. I used dummy switch instead of variable and now it is working. For me it is ok, but something has to be wrong with using variables, it should work also.
by JarekP
Friday 20 May 2016 9:43
Forum: PHP and all others
Topic: Events: How to do something AFTER something
Replies: 16
Views: 4513

Re: Events: How to do something AFTER something

I tried to test only reaction for variables, made a simplest test. Two events: Master: Domoticz_-_Google_Chrome_2016-05-20_09-36-57.png and slave: Domoticz_-_Google_Chrome_2016-05-20_09-37-27.png and it doesn't work also. On time event "master" is changing variable to 1, but "slave" doesn't react ...
by JarekP
Friday 20 May 2016 9:19
Forum: PHP and all others
Topic: Events: How to do something AFTER something
Replies: 16
Views: 4513

Re: Events: How to do something AFTER something

Unfortunately, upgrade (now I have 3.5143) also didn't help. My variable is of course integer, both events are active, first is set as "all", second I tried configured as "all" or as "UserVariable", also I tried to delete event and configure again from the beginning, behavior is still the same ...
by JarekP
Thursday 19 May 2016 9:25
Forum: Raspberry Pi GPIO ( WiringPi )
Topic: GPIO meter pulse counting with instant power calculation
Replies: 30
Views: 28553

Re: GPIO meter pulse counting with instant power calculation

Forgive a question from newbie, but what should I do witch such script? :)
by JarekP
Thursday 19 May 2016 9:08
Forum: PHP and all others
Topic: Events: How to do something AFTER something
Replies: 16
Views: 4513

Re: Events: How to do something AFTER something

V3.5097 ??
I have 3.4834, according to this forum it is the last stable version. Are you using beta?
by JarekP
Wednesday 18 May 2016 15:09
Forum: PHP and all others
Topic: Events: How to do something AFTER something
Replies: 16
Views: 4513

Re: Events: How to do something AFTER something

As an update: I made this second event more simple by deleting condition with switch "podlewanie automatyczne", now it is only "if variable = 1 then do...". And I noticed that this event is working fine when I'm manually changing value of my variable. When this value is set by other event - nothing ...
by JarekP
Wednesday 18 May 2016 14:31
Forum: PHP and all others
Topic: Events: How to do something AFTER something
Replies: 16
Views: 4513

Re: Events: How to do something AFTER something

Something is wrong. Or it is not as easy as we think :) First I built something similar to your suggestion: Domoticz_-_Google_Chrome_2016-05-18_14-16-10.png First section is enabling on fixed time (for tests, after I will put "sunrise" here), with some other conditions. Second section is enabling ...
by JarekP
Tuesday 17 May 2016 16:33
Forum: PHP and all others
Topic: Events: How to do something AFTER something
Replies: 16
Views: 4513

Re: Events: How to do something AFTER something

ok, it looks real, thanks for help!
by JarekP
Tuesday 17 May 2016 14:38
Forum: PHP and all others
Topic: Events: How to do something AFTER something
Replies: 16
Views: 4513

Re: Events: How to do something AFTER something

Using dummy switch as a timer - great, thanks :) Second process after first - do you mean something just as writing to log in my example? If yes - I also expected it, but with this log I see that this second process is run immediately, not after finishing this set time (5min). In my log I have my ...
by JarekP
Tuesday 17 May 2016 13:45
Forum: PHP and all others
Topic: Events: How to do something AFTER something
Replies: 16
Views: 4513

Events: How to do something AFTER something

Hello, I'm a newbie in Domoticz and trying to do automatic watering for my garden. Generally it works already, but I have some ideas how to do it better and can't implement it. Maybe you can help :) 1) I have two sections of watering. First section is started after filling some conditions at sunrise ...