Thanks for your response.
Actually I'm understanding now how MH behaves when the systemclock is set behind or before the actual time. When its clock behind the real time then as you said it will go into catch-up mode, running a virtual second every pass. (With this method problaly you don't miss any timed events?)
"Is your Z80 board a home built or something you bought?"
The Z80 board i use is actually a old MSX homecomputer. In the beginning i used the BASIC interpreter for running timebased events etc. But fast responses you couldn't expect from this system. So i wrote a eprom bootloader for this board. So Im able now to write the Z80 code in assembler on a RS232 connected PC and download the binary in a few seconds to the board. The Z80 board communicates with 3 8255PIO's I/O board. This I/O board is connected to a X10 transmitter, IR-receiver, RS485 interfaces, centralheating valves etc. All this hardware i developed by my own exept the X10 transmitter where I made only the interfacing.
I wrote a sort of BASIC interpreter on top of the assembler code. Herewith you are able to do "if 'condition =,<,>' then" instructions, very simple but very fast. This BASIC program is only used for system actions who needs fast responses like remotecontrol commands, muting the stereo when incoming calls, generating IR/X10 signals etc.
At this moment im using MH2.29 for getting callerid from my ISDN modem and speak the caller name or telephone number via wav files(im experimenting with festival and MBROLA but theres no dutch TTS available yet). I also use the webfunctionality which enables me to put light/heating on anywhere in the world. Also the sytem says every hour the actuall time and outside temperature.
I busy now with porting timed event from the Z80BASIC to MH because there are much more possibilities with this. Right now im experimenting with the TIMER function.
As far i can see MH is very stable as i runned it for several weeks now without any crashes.
Also i'm happy with the used perl language as before i progammed with shell scripts and did everything with sed, awk etc. Actually this scripts where working well but perl is much more powerfull and there are many possibilities to do something.
I, have a question to the usergroup, do somebody now when a dutch TTS is available for festival/MBROLA ? As my wife is getting very tired with speaking all the wavfiles i' m using for the system!
From: Bruce & Laurie Winter [mailto:winter@...]
Sent: maandag 23 oktober 2000 15:40
To: Walter Leemput (ETM)
Subject: FW: [misterhouse-announce] Set date on LINUX machine
From: Bruce Winter [mailto:bruce@...]
Sent: Tuesday, October 17, 2000 10:10 PM
To: Walter Leemput (ETM)
Subject: RE: [misterhouse-announce] Set date on LINUX machine
Welcome to the group. Since you sent to misterhouse-announce, instead of
misterhouse-users, I am the only one who got your message, so I copied it in
Is your Z80 board a home built or something you bought?
On the time problem, my only theory is that when you set the clock via the
internet, the time got mis-set (or maybe your clock was way off). When mh
detects that it's time is behind the real time, it will go into catch-up
mode, running a virtual second every pass.
If this is happening, you should see a log message like this:
mh paused for $diff seconds
> -----Original Message-----
> From: misterhouse-announce-admin@...
> [mailto:misterhouse-announce-admin@... Behalf Of
> Walter Leemput (ETM)
> Sent: Tuesday, October 17, 2000 7:19 AM
> To: 'misterhouse-announce@...'
> Subject: [misterhouse-announce] Set date on LINUX machine
> Hello all,
> I have a question concerning MH2.29 but first of all i want to
> introduce myself.
> I'm a few years active with homeautomation which is based on a
> Z80 microcontroller and a PC which is running LABWINDOWS
> (QBASIC) needed for the GUI. The sw on the Z80 board is written
> in assembler and acts as a interface between the IR-receicers,
> X10 transmitters, RS485 etc and the PC. It also runs the
> mainprogram which is downloaded via the PC. With the LABWINDOWS
> GUI you are able to control the whole house as the VGA output of
> the PC is transmitted to every TV set in the house. With a
> radiomouse (presentationviewer) you are able to do the control in
> every room.
> If one of you want to know more technical details I like to hear it.
> I was looking for a possibility to control the house via a
> webbrowser and do some more advanced timed events. I found out MH
> is the perfect program for this purposes (also to learn pearl..)
> Also its very well documented. Thanks for this Bruce.
> I'm running MH2.29 on a SUSE LINUX pc.
> I have the following problem: When adjusting the time via a
> internet atomclock, MH act strange after this action.
> Timed events don't do what they supposed to do and periodycally
> events (for example every 30sec) run every few seconds? (nothing
> is reported in the logfiles)
> I have to stop/start MH to make it work again.
> Mabe somebody knows the reason for this.
> Thanks in advance,