I upgraded to the lastest version last night and noticed a couple of issues.
1) When I try to add a new X10 device, the UltraMon plugin overrides the device type and refers to them as CAMERA. I can not go back and edit it. So, all of my new devices are cameras (with the nice camera icon)
2) Using the new feature you added for "DEVICE VALUE CHANGE BECOMES ANY VALUE". For some reason the trigger runs twice on value -2 and on value 1
-Log Entries-
1/29/2008 7:54:05 PM UltraMon Warning OfficeJet is now Offline because [Timed out].
1/29/2008 7:54:05 PM Device Value HP Photosmart 2610 is currently -2
1/29/2008 7:54:05 PM Device Value HP Photosmart 2610 is currently -2
1/29/2008 7:56:58 PM UltraMon Info OfficeJet is now Online.
1/29/2008 7:56:58 PM Device Value HP Photosmart 2610 is currently 1
1/29/2008 7:56:58 PM Status Change HP Photosmart 2610 ONLINE
1/29/2008 7:56:58 PM Device Value HP Photosmart 2610 is currently 1
1/29/2008 7:56:58 PM Status Change HP Photosmart 2610 ONLINE
Here's the script that I'm running....(it could be my rookie mistake)
' Description: This script will update HomeSeer with the device status
' of the declared network monitored system and email the event
'
' Environment: HomeSeer Security Server
' Target: OfficeJet (HP Photosmart 2610)
' Device Code: v12
'
' Version: 3
sub main()
dim VDEVICECODE
dim VDEVICEVALUE
dim VDEVICENAME
dim VMAILTO
dim VMAILFROM
dim VMAILBODY
dim VMAILSUBJECT
VMAILTO="XXXX@nc.rr.com"
VMAILFROM="XXXXX@nc.rr.com"
VMAILBODY="HomeSeer Event"
VDEVICECODE = "v12"
VDEVICENAME = "HP Photosmart 2610"
VDEVICEVALUE=hs.DeviceValue(VDEVICECODE)
select case VDEVICEVALUE
case -1
hs.SetDeviceString VDEVICECODE, VDEVICENAME & " OFFLINE"
VMAILSUBJECT= VDEVICENAME & " OFFLINE"
hs.sendemail VMAILTO,VMAILFROM,VMAILSUBJECT,VMAILBODY
hs.writelog "Status Change", VDEVICENAME & " OFFLINE"
case 0
hs.SetDeviceString VDEVICECODE, VDEVICENAME & " UNKNOWN"
hs.writelog "Status Change", VDEVICENAME & " UNKNOWN"
case 1
hs.SetDeviceString VDEVICECODE, VDEVICENAME & " ONLINE"
VMAILSUBJECT= VDEVICENAME & " ONLINE"
hs.sendemail VMAILTO,VMAILFROM,VMAILSUBJECT,VMAILBODY
hs.writelog "Status Change", VDEVICENAME & " ONLINE"
end select
end sub
-Plugin Settings-
Ping Options
Check Interval: 3
Attempts: 1
Mark Failed After: 1
Ping Timeout: 2
Thanks again for your help and plugins!!!
Frank
1) When I try to add a new X10 device, the UltraMon plugin overrides the device type and refers to them as CAMERA. I can not go back and edit it. So, all of my new devices are cameras (with the nice camera icon)
2) Using the new feature you added for "DEVICE VALUE CHANGE BECOMES ANY VALUE". For some reason the trigger runs twice on value -2 and on value 1
-Log Entries-
1/29/2008 7:54:05 PM UltraMon Warning OfficeJet is now Offline because [Timed out].
1/29/2008 7:54:05 PM Device Value HP Photosmart 2610 is currently -2
1/29/2008 7:54:05 PM Device Value HP Photosmart 2610 is currently -2
1/29/2008 7:56:58 PM UltraMon Info OfficeJet is now Online.
1/29/2008 7:56:58 PM Device Value HP Photosmart 2610 is currently 1
1/29/2008 7:56:58 PM Status Change HP Photosmart 2610 ONLINE
1/29/2008 7:56:58 PM Device Value HP Photosmart 2610 is currently 1
1/29/2008 7:56:58 PM Status Change HP Photosmart 2610 ONLINE
Here's the script that I'm running....(it could be my rookie mistake)
' Description: This script will update HomeSeer with the device status
' of the declared network monitored system and email the event
'
' Environment: HomeSeer Security Server
' Target: OfficeJet (HP Photosmart 2610)
' Device Code: v12
'
' Version: 3
sub main()
dim VDEVICECODE
dim VDEVICEVALUE
dim VDEVICENAME
dim VMAILTO
dim VMAILFROM
dim VMAILBODY
dim VMAILSUBJECT
VMAILTO="XXXX@nc.rr.com"
VMAILFROM="XXXXX@nc.rr.com"
VMAILBODY="HomeSeer Event"
VDEVICECODE = "v12"
VDEVICENAME = "HP Photosmart 2610"
VDEVICEVALUE=hs.DeviceValue(VDEVICECODE)
select case VDEVICEVALUE
case -1
hs.SetDeviceString VDEVICECODE, VDEVICENAME & " OFFLINE"
VMAILSUBJECT= VDEVICENAME & " OFFLINE"
hs.sendemail VMAILTO,VMAILFROM,VMAILSUBJECT,VMAILBODY
hs.writelog "Status Change", VDEVICENAME & " OFFLINE"
case 0
hs.SetDeviceString VDEVICECODE, VDEVICENAME & " UNKNOWN"
hs.writelog "Status Change", VDEVICENAME & " UNKNOWN"
case 1
hs.SetDeviceString VDEVICECODE, VDEVICENAME & " ONLINE"
VMAILSUBJECT= VDEVICENAME & " ONLINE"
hs.sendemail VMAILTO,VMAILFROM,VMAILSUBJECT,VMAILBODY
hs.writelog "Status Change", VDEVICENAME & " ONLINE"
end select
end sub
-Plugin Settings-
Ping Options
Check Interval: 3
Attempts: 1
Mark Failed After: 1
Ping Timeout: 2
Thanks again for your help and plugins!!!
Frank
Comment