News for hackers. Stuff that matters.
Re:Jarvis: an Amazon Echo clone in your browser by zyxley on Thursday April 21, 2016 @01:02PM (#11543632)
I'm curious, anybody know if there's a simple way to wire this up to Home Assistant (https://home-assistant.io)? My first thought was MQTT, but for some reason PageNodes doesn't have any MQTT output support, which is kind of odd for something claiming to be an IoT connectivity platform.
Re:Jarvis: an Amazon Echo clone in your browser by monteslu on Thursday April 21, 2016 @01:11PM (#11543698)
Pure MQTT is done over TCP which browsers don't support without an extension. I'm trying to keep this purely web based as long as I can :)

Some MQTT servers tunnel messages via websockets, sever-sent-events, and REST calls which are supported by pagenodes.

Re:Jarvis: an Amazon Echo clone in your browser by zyxley on Thursday April 21, 2016 @01:14PM (#11543726)
HA does have a REST API, but with the way PageNodes works you'd have to hardcode the HA password right into the PN workflow. Have you considered adding the equivalent of environment variables, which can be set in a PN account and used as placeholders in workflows?
Re:Jarvis: an Amazon Echo clone in your browser by monteslu on Thursday April 21, 2016 @01:40PM (#11543916)
That's a good question. Our storage is in local indexeddb. And the site is https, so no one should see your flow if you don't share it. That said there's nothing stopping you from reaching out to another secure service or plugin before making requests.
Re:Jarvis: an Amazon Echo clone in your browser by detaro on Thursday April 21, 2016 @01:49PM (#11544001)
Am I interpreting it right that Pagenodes basically aims to be node-red, but in the browser?
Re:Jarvis: an Amazon Echo clone in your browser by monteslu on Thursday April 21, 2016 @01:52PM (#11544026)
The goals are similar. PageNodes does its best to leverage newer browser capabilites. WebRTC, WebUSB, SeviceWorker, offline support, etc.
Re:Jarvis: an Amazon Echo clone in your browser by detaro on Thursday April 21, 2016 @02:41PM (#11544397)
Ok, so less "prototype in the browser, then offload to a server once it works", but more for local "app" type things? Interesting idea, has some limitations but also opens up tons of interactions that are harder for a server-based solution (webcam, ...)
Re:Jarvis: an Amazon Echo clone in your browser by samrocksc on Thursday April 21, 2016 @02:51PM (#11544463)
Bingo! It's always evolving too. We do use a lot of experimental flags from the browser, this helps work with up and coming features as well for learning about new APIs very easily.
Re:Jarvis: an Amazon Echo clone in your browser by cmatthieu on Thursday April 21, 2016 @01:16PM (#11543738)
You could use Octoblu Meshblu node in PageNode to connect Jarvis to an MQTT platform.
Re:Jarvis: an Amazon Echo clone in your browser by zyxley on Thursday April 21, 2016 @01:29PM (#11543839)
Octoblu confuses me. I can't find anything about their pricing scheme (if any), while all their professional partners listed make me think there definitely has to be one hidden in there somewhere.
Re:Jarvis: an Amazon Echo clone in your browser by samrocksc on Thursday April 21, 2016 @01:46PM (#11543985)
I don't believe there is any pricing scheme at all as of yet. It's a great opportunity really, check it out!