Search found 5 matches

by richardvd
Friday 19 May 2017 20:59
Forum: LUA
Topic: Pushnotification of Solarproduce at sunset
Replies: 2
Views: 820

Pushnotification of Solarproduce at sunset

Hello,

I want to make a script that sends me a push notification at the end of the day when the sun is down.
The script must send me information about the solar produce of my solar system.
In my dashboard i can see the produce of the day, unfortunately i don's see that information by "show current ...
by richardvd
Saturday 18 February 2017 18:28
Forum: LUA
Topic: A lot of push notifications
Replies: 5
Views: 1594

Re: A lot of push notifications

Now i understand, i have to change the event type from 'All' to 'Time'

I think it is working right now.., thank a lot Jos!
by richardvd
Saturday 18 February 2017 18:24
Forum: LUA
Topic: A lot of push notifications
Replies: 5
Views: 1594

Re: A lot of push notifications

The LUA script is been written in the internal LUA editor of Domoticz.

Do you mean that i have to put the script to a file and than schedule it with a cron every minute?
Or do you mean something else?

I'm a newbie with LUA scripting, so excuse me if i ask stupid questions :-).
by richardvd
Saturday 18 February 2017 18:00
Forum: LUA
Topic: A lot of push notifications
Replies: 5
Views: 1594

Re: A lot of push notifications

I want to receive 1 notification after 4 minutes and then a reminder every 5 minutes, until the door is closed.
by richardvd
Saturday 18 February 2017 16:51
Forum: LUA
Topic: A lot of push notifications
Replies: 5
Views: 1594

A lot of push notifications

Hello,

The script below send me an push notification when my garage is open for more then 4 minuten.
unfortunately i get a lot of push notifications (about 30-60 in one minute).

How can i change the script so that i only get one push notification?


sensors = {'Garagedeur'}
-- All times in ...