Search found 3 matches
- Tuesday 04 February 2014 9:53
- Forum: Others
- Topic: ByronSX PIR
- Replies: 49
- Views: 19726
Re: ByronSX PIR
I've been programming for 40 years and I was sure the code was wrong, but being new to the community it seemed politer to say "I think the may be an issue with the code"! I solve the time comparison problem by converting the time into an integer (hours*100)+minutes, then it becomes a simple ...
- Sunday 02 February 2014 20:52
- Forum: Others
- Topic: ByronSX PIR
- Replies: 49
- Views: 19726
Re: ByronSX PIR
Simon, I don't quite understand the line of code:
Wouldn't that mean that "timezone" 1 is 2200 to midnight, and the first half hour of every hour from midnight to 0730?
Code: Select all
if ((time.hour <= 7) and (time.min <= 30)) or (time.hour >= 22) then
- Friday 31 January 2014 16:09
- Forum: Other questions and discussions
- Topic: Domoticz and LightwaveRF with wifi Link
- Replies: 21
- Views: 9297
Re: Domoticz and LightwaveRF with wifi Link
Forgive me if this is a bad idea, as I have basically little knowledge and have only been using the system for a month... Couldn't you offload the socket operation to another (command line driven program) and call THAT with os.execute()? For example, I use os.execute("curl ...") to send http ...