VNC Server for Toasters and Light-Switches 292
An anonymous reader submits: "How about using VNC to configure your toaster, microwave oven, or even your light-switches? Thanks to Adam Dunkels' micro-VNC server it is now possible to run a VNC server even on really small embedded 8-bit microcontrollers commonly found in such devices. The idea is that even low-cost devices that don't have a screen or graphics hardware could have a GUI, accessible over the network. To show that the server can run with very small amounts of memory, there is a demo server running on a Commodore 64. But the real question is: how would want to 'configure' their toasters using a GUI?"
Way to go, funny guys... (Score:5, Funny)
But now someone actually took it seriously, and look whatcha dun!! You should be ashamed!
This is an old joke... (Score:2)
It's been done (Score:2)
Commodore 64 and the slashdot effect... (Score:3, Funny)
Re:Commodore 64 and the slashdot effect... (Score:3, Funny)
Re:Commodore 64 and the slashdot effect... (Score:4, Funny)
POKE.
Re:Commodore 64 and the slashdot effect... (Score:2)
Commodore 64 webserver - WITH STREAMING AUDIO!!! (Score:2)
They explain how they built an ethernet cart for the C64 (unenhanced) and how they not only got a webserver running, but it streams audio, LIVE! Of course, it's sampled at 1 bit 8khz, but still, it's LIVE STREAMING AUDIO!
VNC is Fun! (Score:3, Funny)
Re:VNC is Fun! (Score:2)
That's still not good enough. Get it all running on bluetooth, get an Ericsson T68i phone (coming soon to the USA) and control it all wirelessly. No laptop needed!
Re:VNC is Fun! (Score:2)
Re:VNC is Fun! (Score:2)
Already here:
AT&T Wireless [attws.com]
Kyocera Smartphone (Score:2)
Re:VNC is Fun! (Score:2)
Re:VNC is Fun! (Score:2)
Re:VNC is Fun! (Score:2, Funny)
And how do you control the robot? VNC for Mindtorms!
That raises the question... (Score:2, Funny)
Why? (Score:2, Funny)
X-Server (Score:3, Interesting)
After all, your desktop machine will always have more computational ability than your toaster (the senient talking toaster from Red Dwarf notwithstanding).
Pop-UP? (Score:5, Funny)
MadDad32
Re:Pop-UP? (Score:2)
lp on fire
though!
/. effect (Score:5, Funny)
The pages you are currently watching are served by a web server running on a an Ethernet equipped 6510-based system with 64k RAM running at 1 MHz (a Commodore 64 with a TFE cartridge). The same system also exports two displays using VNC and the small uVNC server software.
Other servers have come down like they were Commodore 64's, but this one actually is one!
Good STUFF! (Score:2, Insightful)
Wow! (Score:2)
A device that lets you program a VCR to let you record shows when you aren't there! What'll they think of next, a device to turn your lights on and off while you're away perhaps?? What a glorious technological revolution is ahead!
Re:Wow! (Score:2)
Re:Good STUFF! (Score:2)
Re:Good STUFF! (Score:4, Funny)
Re:Good STUFF! (Score:4, Funny)
Turning on AC's now? Wahtcha gonna do, send them Goatse?
Gee .. there we go .. slashdot a C64! (Score:2)
This Server
The pages you are currently watching are served by a web server running on a an Ethernet equipped 6510-based system with 64k RAM running at 1 MHz (a Commodore 64 with a TFE cartridge). The same system also exports two displays using VNC and the small uVNC server software.
Please note that this is work in progress and far from something finished.
Its not going to get finished today!
Is this smart? (Score:3, Insightful)
That being said, is this smart?
Picture: 10 years from now, some company sells one of these things, and it takes off. Then somebody finds a nasty security hole that fscks the toaster up. Would you like it if suddenly you find your house burnt down by some script kiddie doing a port scan?
Everything connected to the net is not always a good idea.
Re:Is this smart? (Score:2)
That's why you get it to all run wirelessly on bluetooth so you have to be within the 20 ft limit (or whatever small number it is) so that fsckage is limited and no script kiddie can hit everything at once.
Re:Is this smart? (Score:2, Insightful)
That's why you get it to all run wirelessly on bluetooth so you have to be within the 20 ft limit (or whatever small number it is) so that fsckage is limited and no script kiddie can hit everything at once.
When you're within 20 ft, the obvious solution is TO PUT A &%$#@*! KNOB ON THE THING, not to put bluetooth, a webserver, and VNC on it.
Re:Is this smart? (Score:2)
That's what they said about the television too.
Gotta love humans!
--
Garett
Re:Is this smart? (Score:2)
Granted, it's mostly just a fancy barcode scanner that's supposed to keep track of your inventory and add milk to your grocery list if you take it out and don't put it back. I believe it also incorporates a temperature sensor to send some kind of alert when the temperatures inside the compartments go out of range.
I think those are perfectly reasonable uses of the technology. If my freezer is heading for the tropics, I want to know as soon as possible so I can bring home some dry ice and save many $$$ worth of frozen food.
So, I ran CAT-5 to my kitchen for the day when it'll happen...
Re:Is this smart? (Score:2)
That's why you get it to all run wirelessly on bluetooth so you have to be within the 20 ft limit (or whatever small number it is) so that fsckage is limited and no script kiddie can hit everything at once.
I have abetter idea.
Put bluetooth into every apliance in the kitchen and also put a bluetooth basestation there.
So that you only need one ethernetcable to control everything.
Advantage is no wires needed to every device and with ipv6 it is possible to give everything it's own ip-number.
The only thing we are still missing is a VoIP bluetooth mobile phone.
If you put a bluetooth basestation in every room you can do some nice things with it.
Re:Is this smart? (Score:2)
However, all this means is that a kitchen appliance, like anything else hooked to the Net needs to be behind a firewall and other appropriate security precautions need to be taken, e.g. any software updates need to be crypto-signed, some form of authentication is required for anyone who wants to access device internals, and even the regular user Web page (e.g. to set your thermostat remotely) needs to be password protected.
Write the GUI in Java! (Score:2, Insightful)
Re:Is this smart? (Score:2)
Hmmm... Maybe they should do user authentication so the rm_cvr() and strt_fr() commands require privs. ; )
What happens when you /. a toaster? (Score:2)
C64s weren't built to... (Score:2)
But they hold up better than I would have thought, nevermind it's down.. (remember that streaming audio one a while ago..?)
Re:C64s weren't built to... (Score:2, Funny)
Re:C64s weren't built to... (Score:2)
2. There is a page at the site dedicated to explaining why the C-64 server keeps on running while Linux/BSD servers crumple under the /. effect.
-jon
In another of those "Huh?" moments..... (Score:4, Funny)
But then I realised there's no such thing as a free lunch.
Re:In another of those "Huh?" moments..... (Score:2)
Why not use a small HTTP server instead? (Score:5, Interesting)
Correct me if I'm wrong, but VNC is a screen-sharing or remote-control system, ne? On a small device where memory, processing time, and complexity is at a premium, why would you waste effort rasterizing a screen image so that VNC can ship it over.
Wouldn't it be a lot easier to have a tiny HTTP server which sends out an HTML file and processes the results? This seems akin to someone scanning in a print-out of their email as an attachment instead of sending an email directly... =/
Re:Why not use a small HTTP server instead? (Score:3, Funny)
As unlikely as this seems, my father communicates with my mother in a similar manner (they've been divorced for 30+ years now..)
When he wants to send an email, he types it up (on an old, mechanical typewriter) on letterhead.. then scans it and emails it..
When I first saw my mother open an email from him, I couldn't believe it.. and when she told me that that's how he sends all of his email, I almost fainted..
some people just don't understand technology.
Re:Why not use a small HTTP server instead? (Score:2)
Re:Why not use Windows XP Embedded? (Score:2, Funny)
Re:Why not use Windows XP Embedded? (Score:2)
Re:Why not use a small HTTP server instead? (Score:2)
But on second thought I imagine it could make sense in some situations. I can imagine there are places where the stateless interaction of HTTP/HTML would be awkward. For instance, if you wanted to give live updates of some statistic (temperature, weight, etc). As a UI, HTTP/HTML is much better for control than monitoring or passive interaction.
Of course, you could use a much simpler protocol, like another poster suggested, with a custom client that rendered the results. But VNC, like HTTP/HTML, is a portable and well-documented protocol, with extremely clear semantics.
Re:Why not use a small HTTP server instead? (Score:2)
As someone else already mentioned.... an XML interface to a native app on the client would probably be best.
Re:Why not use a small HTTP server instead? (Score:2)
Don't know if it works under opera, but works fine under IE, Netscape 4, and Mozilla 1. The only problem is that it's absolutely positioned rather than inlined.
XFORMS will include sliders, but obviously no browser supports this yet (I could be wrong).
Central Automation (Score:3, Interesting)
It would be best to have an "appliance server" that is capable of handling the communications to the devices and generating interfaces from standard libraries created for appliance control. Then we could have an extremely lightweight communications protocol for the appliances, as they would only have to go so far as to detail their features to the server, and it would construct an interface for them.
This makes much more sense to me in the long run, as a central house server would be able to coordinate activities of numerous devices simultaneously with simple If/Then/Else statements. If you wanted coffee & toast in the morning, you could write something like this:
Beyond that, as appliances become more functional (refrigerators that know what's in them), a central system like this could also accept device notifications, telling you there is no milk or that the oven's timer went off.
Re:Central Automation (Score:2)
I would even go further than that. Rather than have a central server, I would say that each device would be aware of every other device, making "connections" (logical, since we're already physically connected) when necessary.
It would be nicer to just tell the system as a whole to "make toast and coffee" and have them all sort things out on their own (and report back results, obviously), rather than script everything out explicitly.
Of course I imagine my kitchen would still be messy as usual, automation or not, until someone rigs up a C3P0 to clean shit up for me.
Re:Central Automation (Score:2)
Please make sure that the appliance server can get libraries from the appliances if it doesn't have them. I'm sure people will buy a new appliance that isn't in the current appliance server's standard libraries.
I'd imagine a mechanism similar to an SNMP management station querying a network device, finding out that it doesn't have the MIB and being able to get the MIB from the device so that it turn can then control the device.
Correction... (Score:2)
Re:Correction... (Score:3, Funny)
No..The real question is.. (Score:2)
The real question is who (not 'how') here would understand pig latin..
Haha (Score:2)
Commercial Uses (Score:2, Insightful)
However, there are lots of legitimate industrial/commercial uses for these applications. Take, for example, a restaurant kitchen. You want the cooking/prep time to be as fast as possible so that you can move people through & have more sittings. A waiter with a wireless touchpad could automatically send instructions back to the kitchen incuding special instructions for browning toast to the right level, rareness of steaks etc... Add a few bar code readers to the appliances and you could automate a lot of the routine process while still accounting for the need to customise preparations down to the unit level.
microcontrollers in light switches? (Score:3, Insightful)
As for the idea, it's not that bad at all, with one small flaw that I can see. It's great if I can access my toaster from my desk at work, but if I have to leave a piece of buttered bread in there all day just so it's toasted but soggy when I walk in the door, I'll just start making it when I walk in.
Re:microcontrollers in light switches? (Score:2, Interesting)
btw it's a big house and he quite smart
Re:microcontrollers in light switches? (Score:2)
How practical is this? (Score:2)
Will the network actually put toast INTO the toaster? Or will I still have to walk 20 feet to the kitchen just to put the toast in myself, only to walk back to my computer to tell the toaster to turn on?
Besides, we'll have to invent a new lightbulb joke about computer geeks forgetting how to change a lightbulb...they only know how to turn it on and off.
Re:How practical is this? (Score:2, Funny)
If you've already got toast, why would you put it into the toaster?
Commodore 64 isn't a "small system" (Score:3, Insightful)
Examples you might be familiar with include things like the BASIC Stamp and other PICs. Your toaster's built-in logic is going to resemble these much more closely than in does a general-purpose 8-bit computer.
Re:Commodore 64 isn't a "small system" (Score:2)
C64 Seems more impressive now, compared with 2ghz cpus.
Megaman Battle Network (Score:2)
Maybe someone could hack something using the GBA compactflash adaptor, the link cable and VNC?
I can see it now (Score:3, Funny)
User: Hi, I got your ToasterVNC, and when i tried to install it on my toaster, all hell broke loose!
Techsupport: Can you describe what happened?
User: I opened the box, put the CD in my toaster's CD-ROM, pushed the lever, and a few minutes later the whole thing started smoking.
Techsupport: I think I know what the problem is. Take the whole thing back to the store, and tell them that you got an ID-ten-T error
User: Thanks!
configure (Score:5, Funny)
oops, that's the CLI. I don't know about the GUI version.
Slashdot is irresponsible. (Score:2)
The pages you are currently watching are served by a web server running on a an Ethernet equipped 6510-based system with 64k RAM running at 1 MHz (a Commodore 64 with a TFE cartridge). The same system also exports two displays using VNC and the small uVNC server software.
When will the Slashdot editors learn that what they are doing to servers is totally rediculous? Will it take a lawsuit to stop the slashdot effect? Why shouldn't this poor machine be mirrored?
This is like the third time today. Blah.
-molo
Linux will never.. (Score:3, Funny)
without Pantone for calibration.
Re:Linux will never.. (Score:2)
without Pantone for calibration.
Bah, A toaster with PMS would only make good toast 25 days each month!
Configure your toaster! (Score:3, Informative)
I like my toast darker than my rommmate does. We could set up personal preferences for the toaster and have 3 or 4 'personal setting' buttons on the toaster. It's not worth putting a full gui on the toaster, but you could put some memory into the servo settings and have it controlled over the 'net.
The 'pop up window' when your toast is ready idea is, at worst, a good pun -- but which machine to pop-up the message to could be included in the 'personal prefs' button.
Then, of course, there's the original purpose of the 'MIT internet pop machine' -- which was to notify you of when the machine was out of pop, so you could save yourself a (fruitless) trip to the machine (which was a good distance away from the computer labs)..
If the toaster says it's in use, you can spend a couple more minutes surfing before you go down to make breakfast (or sneak in and steal the toast from your roommate when it's done).
Then again if your roommate is cute, and likes to make breakfast in sensuous undies, you might want to set the toaster to notify you when {s,}he hits the appropriate prefs button.
The possibilities are about as endless as the possibilities of attaching a video camera to a web server (I mean, who'd really want to do that?).
What's your definition of "small 8-bit device" (Score:5, Interesting)
The most popular 8-bit chips today are the 8051 (multi-source), AVR (atmel), PIC (microchip), and HC08/HC11 (motorola). Cost is usually the primary consideration, and projects with volumes of 20k/year and up, it makes a lot of sense to do some or all of the project in assembly language so you can get the code into a smaller chip that costs $1 less. Multiply that $1 by 20k (or whatever production volume is expected) per year over the life of the product.
At the beginning of many projects, there's usually a list of "got to have" features, and "would be nice to have" features (as long as they don't add cost or significantly delay the product release). A good designer (and there are many) will ask a lot of questions about the actual application and make changes to the feature set that still meet the customer's needs (often times an improvement) but allow the code to be smaller, run at a slower speed (increase battery life or reduce the cost of the power supply circuitry), and use less RAM.
It's a very different world from PC software. The 8051, PIC, AVR and HC08/11 are available in many different flavors with different mixes of built-in peripherals and different amounts of code and ram memory.... and an amazing amount of work goes into making VERY efficient code so it can fit in a less expensive chip. On top of that, most products that ship with those 8-bit chips ARE UNDER WARRANTY for years, and a bad bug in the firmware usually means replacing the product for everyone who's effected.
I just can't see a VNC server on that "got to have" feature list, and I can't see it not increasing the cost enough to get quickly axe'd from the "nice to have" list. Even using an additional 128 or 256 bytes (yes, bytes, not Mbytes, not kbytes, but individual bytes) will almost certainly push a "normal" 8-bit microcontroller project up to a chip that costs $1 to $2 more. That's a lot of money when you go into production and start shipping thousands every month!!
Re:What's your definition of "small 8-bit device" (Score:2)
I don't know, even if you figure each unit costs $2 more each, if all other things are equal, distribution costs, etc... Then a $5 increase in wholesale price would cover this and then some. And for a "new tech gadget", its not unusual to see an increase in cost of at least this size. In the cheapest case (likely the toaster) The increase in cost would be maybe 5%-10% to the consumer, in a something more expensive, like a VCR, that percentage is much less.
Personally, I'd pay the extra money for the ability to control all kinds of gadgets in my home, from the browser on my wireless PDA. I'm sure I'm not alone.
Re:What's your definition of "small 8-bit device" (Score:2)
Smaller manufacturers have a harder road to hoe just to get in the door, and woe be unto you should you happen to sign a contract with WalMart. That little smiley-face on the commercials is simply your assurance that some sales rep got his nuts squeezed in a vise until he lowered his price.
If you just decided to start up Cheeko's Toasters, Inc., you probably wouldn't make a profit selling them at $50 a pop. Trying to compete with $20 toasters will end up with you getting burned.
Re:What's your definition of "small 8-bit device" (Score:2)
I don't disagree with what you said, but I think you're dismissing the value of uVNC too quickly. Assuming it's not a hoax, that is! I imagine this would be extremely useful as...
I don't see this uVNC thing appearing in your toaster! But proving it can be done gives us all more options, and isn't that a good thing?
BAD JOKE ALERT!!!! (Score:3, Funny)
Toast Is Stupid (Score:2, Funny)
There's just no excuse for cooking your bread twice in completely separate processes. And don't even get me started on bagels; boil, bake, then toast? Wake up, people!
VNC as a KVM? (Score:2)
The cool thing is that because it's VNC, doesn't matter which OS I'm using. So my computer (or computer like device, heh.) could benefit from this type of interface as well. It'll be an interesting day when I can get my TV to work the same way.
Re:VNC as a KVM? (Score:2)
Re:VNC as a KVM? (Score:2, Informative)
Re:VNC as a KVM? (Score:2)
In a related story... (Score:3, Funny)
Earlier today, Sen. Ernest Hollings (D-Disney) announced legislation to allow copyright holders to use otherwise illegal hacking techniques to disrupt toasters, light switches, and other devices used by individuals believed to be pirating copyrighted works.
RIAA chair Hilary Rosen hailed the effort as a milestone in attempts at combatting Internet piracy. "The development of Internet-enabled toasters offers us vast new opportunities to hit the pirates where they live. 'Smoking out the bastards' will no longer be a figure of speech. It will be a reality.'"
slowww.. (Score:2)
im waiting for windows TE (Toaster edition)
And in 100 years... (Score:4, Funny)
Slashdotted (Score:2)
Oh wait . . . never mind.
Junis (Score:2)
Guys,
Please stop slashdotting my C64. I am trying to watch some streaming video and play Counterstrike.
Sincerely,
Junis in Afghanistan [slashdot.org]
Well, you asked. (Score:2)
How about customer service?
Toast isn't browning right? Reflash the portion of EEPROM that governs the relationship between control setting and level of brownness. Now, you don't have to return it to the store for warranty replacement.
There are lots of little adjustments that now have to be done by a service person onsite that could easily be done by remote control if the appliance is Net-enabled in some manner.
Of course, if security isn't part of the Web setup, it isn't just service personnel who'll be inside your kitchen appliance.
Good idea (Score:2)
Sooner or later this will all get out of hand. (Score:2)
'scuse me. I think someone just 0wned my cellphone.
There are computerized toasters out there :) (Score:2, Interesting)
It has an 8Mhz Microchip PIC and 1K of RAM. The design intent was that you set the knob to the color toast you wanted and it always came out that color, no matter how recently/how much the toaster had been used. The thing even compensated for variations in line voltage. I think it's actually patented too. It looks like a normal 4 slot toaster though, so you could have used one and never even know it.
BTW, I made a LOT of toast that summer.
DirectFB and VNC (Score:2)
I can see allot of potential for uses of vnc and directfb, and micro-vnc embedded appliances. (Software KVM, VideoCapture, Security, Service controls, Monitoring applications, etc..)
BTW, Gentoo has built in support for DirectFB. Now if DirectVNC just came preconfigured also...
What ever happened to the IPic? (Score:2)
the real question (Score:2)
The real question is now how, but who. :-)
It's funny though, I went toaster shopping the other day and found an interesting new (new to me...) trend: cancel buttons. No shit. Like lifting the lever to get the toast out early would be quaint.
I'm gonna write 'ESC' on my toaster's cancel button. Much cooler.
My Etch-A-Sketch has been online for a year (Score:2)
not a 'cheap x86 board' (Score:2)
Re:Oh No, I don't understand the "real question!" (Score:2, Funny)
(setq toaster-name "Kitchen4Slice")
(setq default-toast-color "Medium")
(load-library "toaster-mode")
(defun toast-lightly ()
"Light Toast, No Butter"
(interactive)
(toaster-mode-current-slice)
(toaster-mode))
You're right... (Score:2)