Erik:
"things a normal person wants..", no kidding, are there any normal people here? I only see 'power saving control freaks' here
the current program is a stand-alone program meaning, single user...
It's fetching values AND supplying an GUI to the user.
This is because I started developing it as a proof of concept, if it could support the interfaces I have.. got a bit out of hand...
It stores all of it data and settings inside a MySQL database, so taking it apart is do-able.
I think it does a good job already, I'm a bit impressed myself, programming with Gambas is really nice!
It's a bit like a poor man's home automation program in its current state, so no web interface, well there is a very minimal web server build in, but creating a web portal like Bwired's is a long way, because thats not what I wanted to create at first...
I'm trying to understand the xml-rpc component of Gambas, so i can let a server and client module(s) communicate directly with each other.
But docs are hard to find about that part.
Aside from the bugs it surely contains, and a bare minimum of error checking, 2 parts are still to be developed.
one is the CTX35 read part, it receives the raw ASCII already, but the decode part is not finished yet.
writing/controlling X10/A10 devices works though (lights/appliances)
I know you understand how to write that one, since you made xpl-ctx35
the second part is writing an event/action controller which stores it's rules in the database, including a GUI to define them(the easy part), now I only have hard coded events like:
Code: Select all
' mail list of devices with low battery
IF Main.Time_Now("00:05") THEN
Devices.MailBatteryStatus()
END IF
' control the porch light
IF Main.Time_Now("19:45") THEN
Devices.SetDevice("Porch Light", "On")
END IF
' generate plant watering messages
IF Main.Time_Cron("30 12,16,18 * * 0") THEN
VoiceText.Speak("Your plants want to be watered. They gave me the following message: " & Main.Random_Text("remarks_plants"))
END IF
But most of the drivers/serial/tcp routines are working ok already.
I'm fixing some small things and then let a few people (who offered them self already) try to get it running on their system

, I can include you if you want.
I think about a week or two as a time frame.. I need some help here, it's too much to code myself...
Enver:
homeseer can borrow ideas about interface layout (I did too from others), but since the program is GPLed I don't want no commercial company selling any bit of it... I don't think it's capable of measuring against commercial programs out there, but I saw what Home Automation Europe did with their HCB ... (note the missing smiley)
Regards,
Ron