It works great

Do you have an idea for my bash issue poqted on Wed Nov 04, 2015 9:46 pm) ?
Thanks a lot
Moderator: leecollings
Sorry, but I don't know why only you have this problem.Ady92100 wrote:@JumboTroll
It works great![]()
Do you have an idea for my bash issue poqted on Wed Nov 04, 2015 9:46 pm) ?
Thanks a lot
I have the same problem. I tried it with google chrome and it worksFlyer wrote:Hello,
I added a username and pwd to enter ( web site protection) . now I can not log in anymore and domoticz is " off line".
Could you help me?
Tks
Flyer
Hi Jumbotroll,jumbotroll wrote:@yugoos
The log does not tell me what the problem is.
Did you uninstall the old domoticz or did you update?
I think you should uninstall the old.
I'm not familiar with ser2net, do you need some special drivers for this device?
Regards
Jumbotroll
Code: Select all
2015-11-18 08:20:02.073 Error: EventSystem: Lua script error (Blockly), Name: HD Temps_1 => [string "result = 0; weekday = os.date('*t')['wday']; ..."]:1: attempt to compare number with nil
Yes.amz4u2nv wrote:Hi,
Does anyone know if I can use rfxtrx433 and zwave usb stick together with synology domoticz package?
Thanks
Have you tested to install the 5.2 package on 5.1?Limboconnect wrote:Dear jumbotroll,
Can you possibly help me for the latest version of domoticz for DSM 1.5 ( bromolow )
On http://jadahl.dscloud.me/sspks/ are versions for DSM 5.2 and higher.
Thanx
Yes but the installer stopt and does not continue.jumbotroll wrote:Have you tested to install the 5.2 package on 5.1?Limboconnect wrote:Dear jumbotroll,
Can you possibly help me for the latest version of domoticz for DSM 1.5 ( bromolow )
On http://jadahl.dscloud.me/sspks/ are versions for DSM 5.2 and higher.
Thanx
I think 5.2 is backward compatible.
Regards
Jumbotroll
Yes but the installer stopt and does not continue.Limboconnect wrote:
Ok.jumbotroll wrote:Yes but the installer stopt and does not continue.Limboconnect wrote:
I get a popup that I must install at least 5.2
Code: Select all
--2015-11-24 10:29:54-- http://192.168.1.100:8084/camsnapshot.jpg?idx=3
Connecting to 192.168.1.100:8084... connected.
HTTP request sent, awaiting response... 2015-11-24 10:30:04.001 Error: EventSystem: Warning!, lua script /usr/local/domoticz/var/scripts/lua/script_device_deurbel.lua has been running for more than 10 seconds
2015-11-24 10:29:53.999 (RFXcom 433,92MHz) Lighting 2 (Deurbel)
200 OK
Length: 268633 (262K) [image/jpeg]
Saving to: '/volume1/homes/ilemmens/Deurbel_Snapshots/deurbel-24-11-2015__10-29-54.jpeg'
0K .......... .......... .......... .......... .......... 19% 145M 0s
50K .......... .......... .......... .......... .......... 38% 179M 0s
100K .......... .......... .......... .......... .......... 57% 44.6M 0s
150K .......... .......... .......... .......... .......... 76% 157M 0s
200K .......... .......... .......... .......... .......... 95% 211M 0s
250K .......... .. 100% 240M=0.002s
2015-11-24 10:30:04 (111 MB/s) - '/volume1/homes/ilemmens/Deurbel_Snapshots/deurbel-24-11-2015__10-29-54.jpeg' saved [268633/268633]
{"ok":true,"result":{"message_id":270,"from":{"id":133920744,"first_name":"Deurbel","username"
Code: Select all
/volume1/@appstore/domoticz/var$ sh /volume1/@appstore/domoticz/var/scripts/bash/SentSnapshot.sh
--2015-11-24 10:32:51-- http://192.168.1.100:8084/camsnapshot.jpg?idx=3
Connecting to 192.168.1.100:8084... connected.
HTTP request sent, awaiting response... 200 OK
Length: 268739 (262K) [image/jpeg]
Saving to: '/volume1/homes/ilemmens/Deurbel_Snapshots/deurbel-24-11-2015__10-32-51.jpeg'
0K .......... .......... .......... .......... .......... 19% 199M 0s
50K .......... .......... .......... .......... .......... 38% 324M 0s
100K .......... .......... .......... .......... .......... 57% 325M 0s
150K .......... .......... .......... .......... .......... 76% 334M 0s
200K .......... .......... .......... .......... .......... 95% 307M 0s
250K .......... .. 100% 342M=0.001s
2015-11-24 10:32:51 (289 MB/s) - '/volume1/homes/ilemmens/Deurbel_Snapshots/deurbel-24-11-2015__10-32-51.jpeg' saved [268739/268739]
Code: Select all
commandArray = {}
if (devicechanged['Deurbel']=='Group On') then
os.execute('/volume1/@appstore/domoticz/var/scripts/bash/SentSnapshot.sh')
print('Deurbel is ingedrukt')
end
return commandArray
Code: Select all
#!/bin/sh
today=`/bin/date '+%d-%m-%Y__%H-%M-%S'`; #Used to generate filename
IP="192.168.1.18" # IP address Camera
#Ping IP-address of camera to see if it's online, otherwise we don't have to grab a snapshot
if ping -c 1 $IP > /dev/null ; then #Grab snapshot
#Get Snapshot from camera
wget "http://192.168.1.100:8084/camsnapshot.jpg?idx=3" -O /volume1/homes/ilemmens/Deurbel_Snapshots/deurbel-$today.jpeg
#Send pushnotification with snapshot
/usr/bin/curl -s -X POST "https://api.telegram.org/bot................../sendPhoto" -F chat_id=........ -F photo="@/volume1/homes/ilemmens/Deurbel_Snapshots/deurbel-$today.jpeg"
#Delete previous taken snapshots older than 7 days
find /volume1/homes/ilemmens/Deurbel_Snapshots/ -name '*.jpeg' -mtime +7 -delete
else /usr/bin/curl --data chat_id=........... --data-urlencode "text=Camera is offline, so no image can be sent" "https://api.telegram.org/bot..................../sendMessage"
fi
Users browsing this forum: No registered users and 1 guest