Page 1 of 1

Grandma monitoring

Posted: Friday 27 May 2016 22:43
by bartbart
Nothing freaky.. ;)

I am about to order some parts to build a grandma monitoring system. My grandma is in her 90's and stil happily living alone. She has a "button" she wears (now and than) with which she can call for help. A bit more confirmation would be nice.

Could you please have a look before I order the parts?

My idea was:

setup three motion detectors KaKu AWST-6000. One in her kitchen, bathroom and living room.
two door contacts KaKu AMST-606, front door and back door.
One temp sensor

A set of rules:
If there has been no movement in the rest room between 06:00 AM - 09:00 AM send out a notification.
if the front door opens between 23:00 and 06:00 a notification will be send.
if the temperature rises above xxx a notification will be send.
etc..

Question:
Is this technically possible?
Is this possible with the standard scripting options within Domoticz?

Re: Grandma monitoring

Posted: Friday 27 May 2016 23:20
by D'rMorris
That would be a "yes" to all your questions :). This can easily be done with Domoticz.

Re: Grandma monitoring

Posted: Saturday 28 May 2016 10:31
by markk
Yes, I have all the hardware in place which would enable me to do all you want. Domoticz running with these hardware items will allow you to do all you list above:

http://www.rfxcom.com/epages/78165469.s ... ts%2F14103

http://www.ebay.co.uk/itm/Siemens-Wiref ... SwKfVXFLee

http://www.ebay.co.uk/itm/Extra-Sensor- ... XQUmFSjAJ6

http://www.ebay.co.uk/itm/HomeEasy-Magn ... xylpNTUWyc

Re: Grandma monitoring

Posted: Saturday 28 May 2016 11:13
by bartbart
Thanks guys!

Good suggestions for the sensors also, far cheaper then the KaKu ones.
I ordered a bunch; now await delivery and off to play :)

Can i script this with the blockly gui?

Re: Grandma monitoring

Posted: Monday 30 May 2016 10:25
by D'rMorris
Yes, you can script that with the blockly GUI. For simple constructions this works very well. If you are planning more complex scripting logic, I would recommend scripting in LUA. This gives you greater possibilities (also for future enhancements).

Re: Grandma monitoring

Posted: Monday 30 May 2016 12:13
by manjh
When I started using Domoticz a few months ago, I was quite impressed with Blockly and started using it for a few scripts.
But I ran into the limits very quickly, so went on using Blockly for simple scripts, and LUA for others.
After a little while I got across the small LUA learning-curve and decided to convert all Blockly scripts into LUA.

So, my advice is to start using LUA even though you may be able to program the solution in Blockly.
You will be grateful later on...