We created an amazingly simple IOT utility and are giving it away for free.
We constantly found ourselves needing an easy way to get machines, sensors, and Things online and quickly get data from them. So we built Dweet.io, a simple websocket-based utility for connecting your things to the Internet. And we're opening it up to everyone. We'd love to hear your thoughts and suggestions for it.Http://Dweet.io
- Bug Labs
[+] [-] chrissnell|12 years ago|reply
[1] Lightcube: https://github.com/chrissnell/Lightcube
[2] Lightcube protocol: https://github.com/chrissnell/Lightcube#lightcube-protocol
[+] [-] c4miloo|12 years ago|reply
[+] [-] angersock|12 years ago|reply
Match on opening bracket, skip forward to third double-quote, ingest string until hit unescaped double-quote, process string.
EDIT: You're looking at up to like 6 bytes of overhead:
{"a":"<blob>"}
[+] [-] Fasebook|12 years ago|reply
[+] [-] sthatipamala|12 years ago|reply
[+] [-] jheising|12 years ago|reply
Nothing is perfect for everyone, and I think the response is probably the least important aspect of HAPI. The biggest bang for the buck in my mind is self documenting URLs and support for only HTTP-GET verbs. Just my $0.02 :)
[+] [-] telecuda|12 years ago|reply
[+] [-] toomuchtodo|12 years ago|reply
[+] [-] adamb_|12 years ago|reply
[+] [-] filiwickers|12 years ago|reply
[+] [-] primitivesuave|12 years ago|reply
[+] [-] Bug_Labs|12 years ago|reply
[+] [-] alexnking|12 years ago|reply
BTW, I'm dweeting that outdoor temperature using SmartThings and this code - https://gist.github.com/alexking/8880479
[+] [-] Bug_Labs|12 years ago|reply
[+] [-] jheising|12 years ago|reply
[+] [-] psemme|12 years ago|reply
[+] [-] bdcravens|12 years ago|reply
[+] [-] jheising|12 years ago|reply
[+] [-] bliti|12 years ago|reply
@jheising Send me an email. I'd like to get a friendly conversation going on. :)
[+] [-] jheising|12 years ago|reply
[+] [-] terabytest|12 years ago|reply
Very nice idea, by the way! Congrats!
[+] [-] jheising|12 years ago|reply
[+] [-] dchuk|12 years ago|reply
[+] [-] ville|12 years ago|reply
> A HAPI must support the HTTP GET verb on all operations.[1]
Contrast this with HTTP/1.1 RFC 2616:
> In particular, the convention has been established that the GET and HEAD methods SHOULD NOT have the significance of taking an action other than retrieval. These methods ought to be considered "safe".[2]
[1]: https://github.com/jheising/HAPI#general-rules
[2]: http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html
[+] [-] josephwegner|12 years ago|reply
Among other things, this seems like it could be a free pub/sub system.. If the latency is low that would make this incredibly useful.
[+] [-] jheising|12 years ago|reply
[+] [-] cpr|12 years ago|reply
/get/latest/dweet/for would more naturally be /get/dweet with a time parameter, or some such.
/for/[device] would more naturally just be a device parameter.
Etc.
[+] [-] robdor|12 years ago|reply
[+] [-] Bug_Labs|12 years ago|reply
[+] [-] crymer11|12 years ago|reply
[+] [-] s_kennedy|12 years ago|reply
[+] [-] jchulce|12 years ago|reply
[+] [-] jheising|12 years ago|reply
[+] [-] ChuckMcM|12 years ago|reply
[+] [-] Bug_Labs|12 years ago|reply
[+] [-] angersock|12 years ago|reply
[+] [-] Bug_Labs|12 years ago|reply
[+] [-] jkarneges|12 years ago|reply
[+] [-] jheising|12 years ago|reply
[+] [-] elwell|12 years ago|reply
[+] [-] angersock|12 years ago|reply
The whole world sees your machines. :)
[+] [-] jheising|12 years ago|reply