Search found 8 matches

by rfvdboom
Saturday 06 May 2017 22:55
Forum: General Discussion
Topic: Cannot autostart domoticz on raspberry pi
Replies: 3
Views: 159

Re: Cannot autostart domoticz on raspberry pi

Did you do:

sudo cp domoticz.sh /etc/init.d
sudo chmod +x /etc/init.d/domoticz.sh
sudo update-rc.d domoticz.sh defaults
by rfvdboom
Tuesday 02 May 2017 21:20
Forum: Scripts [cleaning in progress]
Topic: Script to restart Domoticz if it crashes
Replies: 72
Views: 14662

Re: Script to restart Domoticz if it crashes

Hi,

When my Domoticz crashes/not responding, status says: "active (exited)". The script doesn't work.

So I changed this

elif [[ $DomoticzState == *"inactive (dead)"* ]]

To

elif [[ $DomoticzState != *"active (running)"* ]]

grtz Ralph
by rfvdboom
Thursday 20 April 2017 21:23
Forum: Bugs and Problems
Topic: schedule item
Replies: 0
Views: 81

schedule item

Hi there, i have a little problem. Every evening i get a notifaction: 2017-04-20 20:45:02.026 Schedule item started! Name: Voordeur, Type: After Sunset, DevID: 87, Time: 2017-04-20 20:45:02 " Voordeur" is a contactsensor, so i can't program a timer. There is no event active with this senso...
by rfvdboom
Thursday 20 October 2016 10:51
Forum: Show your projects
Topic: Mybook live monitoring
Replies: 0
Views: 288

Mybook live monitoring

Hi, i was trying to use SNMP on my WD Mbooklive to monitor my NAS. SNMP was not working for me, so i've used another solution. Make a script on your mybook. I put my scipt in /shares/Public/WWW/mybook/ #!/bin/sh # #timenow=`date +%x\ %X` memfree=`cat /proc/meminfo | grep MemFree:` temp=`/usr/sbin/sm...
by rfvdboom
Thursday 06 October 2016 22:12
Forum: Show your projects
Topic: Foscam motion/sound detection using FTP
Replies: 4
Views: 694

Re: Foscam motion/sound detection using FTP

even better: Make your pi a FTP server, using this tutorial: https://www.raspberrypi.org/documentation/remote-access/ftp.md and then use this script: $i = 0; do { $files = glob('map1/map2/map3/*'); // get all file names foreach($files as $file){ // iterate files if(is_file($file)) unlink($file); // ...
by rfvdboom
Wednesday 05 October 2016 12:38
Forum: Show your projects
Topic: Foscam motion/sound detection using FTP
Replies: 4
Views: 694

Re: Foscam motion/sound detection using FTP

I dit, but this option didn't work for me.
by rfvdboom
Tuesday 04 October 2016 22:02
Forum: Show your projects
Topic: Foscam motion/sound detection using FTP
Replies: 4
Views: 694

Foscam motion/sound detection using FTP

Hi, i wanted to use the motion/sound detection from my Foscam camera to create a notification. I tried a couple of tutorials, but nothing worked for me. I've found another solution that works for me. Maybe it's not the best solution, but it works! Foscam can sent images to a FTP server when motion/s...
by rfvdboom
Tuesday 20 September 2016 9:05
Forum: Other questions and discussions
Topic: Get data from Homewizard
Replies: 16
Views: 4604

Re: Get data from Homewizard

Hi there,

i'm trying to use this script (swtiches), but i keep getting an error on line 65: $statusdm=($domotic['Status']);

I changed line in my onw specifications:
3: $json
6: $json2
62: "if($namedm==
69: $URL

Can somebody tell me what 'm doing wrong?

Thx

Go to advanced search