Hello everyone. I am a bit confused for a couple of reasons (actually many more-- but that's another story).
I used to run HS 1.7 on another computer a couple of years ago running various OSs over the years but ending up with XP Pro. All was fine.
A couple of years (plus or minus) ago, I switched to HS2 and switched the computer to another machine running XP Pro x64. After a few .NET Framework issues, all seemed well.
But I noticed the MSGBOX messages I used to see on screen do not appear any more. Oh-- one more thing-- I use remote desktop to connect to this PC.
I recently have had some X-10 communication problems and as a result of not getting the "sprinkler did not turn off" MSGBOX messages, I have seen some large water bills! It is also supposed to print an "Error" to the logfile which it is not doing either! I am confused as I have researched and troubleshot this for most of the two years to no avail.
Below is the script that used to produce MSGBOX and logfile error messages that does not work (it works except for those two things!):
sub main()
dim times
dim endcount
dim unit
dim status
unit="O1"
endcount = 3
for times = 1 to endcount
hs.execx10 unit, "OFF"
hs.setdevicestatus unit, "2"
hs.polldevice (unit)
status = hs.DeviceStatus (unit)
if status = 3 then times = endcount + 2
next
if times = endcount + 1 then
texmes=unit + " is stuck on or is not responding"
msgbox texmes
hs.writelog "Error", texmes
else
end if
end sub
_____________________________________________________
Also, when I try to update HS, I download the file sucessfully and then run the updater but it says it cannot find homeseer.exe or HSphone(or whatever).exe. Maybe because they are in Program Files (x86) directory and not just Program Files? Does the updater not "know" x64 file locations?
Any help would be greatly apreciated.
JJ
I used to run HS 1.7 on another computer a couple of years ago running various OSs over the years but ending up with XP Pro. All was fine.
A couple of years (plus or minus) ago, I switched to HS2 and switched the computer to another machine running XP Pro x64. After a few .NET Framework issues, all seemed well.
But I noticed the MSGBOX messages I used to see on screen do not appear any more. Oh-- one more thing-- I use remote desktop to connect to this PC.
I recently have had some X-10 communication problems and as a result of not getting the "sprinkler did not turn off" MSGBOX messages, I have seen some large water bills! It is also supposed to print an "Error" to the logfile which it is not doing either! I am confused as I have researched and troubleshot this for most of the two years to no avail.
Below is the script that used to produce MSGBOX and logfile error messages that does not work (it works except for those two things!):
sub main()
dim times
dim endcount
dim unit
dim status
unit="O1"
endcount = 3
for times = 1 to endcount
hs.execx10 unit, "OFF"
hs.setdevicestatus unit, "2"
hs.polldevice (unit)
status = hs.DeviceStatus (unit)
if status = 3 then times = endcount + 2
next
if times = endcount + 1 then
texmes=unit + " is stuck on or is not responding"
msgbox texmes
hs.writelog "Error", texmes
else
end if
end sub
_____________________________________________________
Also, when I try to update HS, I download the file sucessfully and then run the updater but it says it cannot find homeseer.exe or HSphone(or whatever).exe. Maybe because they are in Program Files (x86) directory and not just Program Files? Does the updater not "know" x64 file locations?
Any help would be greatly apreciated.
JJ
Comment