IoT Remote power switch

Using a Ethernet seeeduino and a wired network, it will get an ip address and display it on a OLED display. Using this address in a internet web browser it will display a red or green socket and enables you to change the relays state via a output pin 6. The graphics are done with html 5 SVG so the browser does all the work.
Using a Ethernet seeeduino and a wired network, it will get an ip address and display it on a OLED display. Using this address in a internet web browser it will display a red or green socket and enables you to change the relays state via a output pin 6. The graphics are done with html 5 SVG so the browser does all the work. The current state is saved in an eeprom so if the power is lost it will power back on in its last state. The sketch is the.doc file.
i have attached a new sketch with fixes for chrome, and a tweaked library to fix some errors when using version 1.6.3 sketch.
Discussion (2 comments)
DE196814 9 years ago
Folks!
Monitoring several news feeds about browser developments gives some signs that SVG supportr in popular browsers will end soon. A possible alternative would be to load a graphic from an web page. This requires minimal data in the sketch.
-AH-
malc 9 years ago
DE196814 9 years ago
malc 9 years ago
ClemensValens 9 years ago
ClemensValens 10 years ago
Hi malcolm,
SVG is definitely giving web-based displays a new impulse, but the implementation is still buggy. On my PC running Windows 7, in Chrome (40.0.2214.115 m) the images are cut, in IE 11.0.9600.17633 everything looks fine. See attachements below.
Regards,
Clemens
iot-ie.jpg (19kb)
malc 10 years ago