3 ms·
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 t
by monteslu 10y ago
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.
- zyxley 10y agoHA 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?
- monteslu 10y agoThat'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.
- detaro 10y agoAm I interpreting it right that Pagenodes basically aims to be node-red, but in the browser?
- monteslu 10y agoThe goals are similar. PageNodes does its best to leverage newer browser capabilites. WebRTC, WebUSB, SeviceWorker, offline support, etc.
- detaro 10y agoOk, 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, ...)
- samrocksc 10y agoBingo! 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.
- deleted 10y ago[deleted]