tag:blogger.com,1999:blog-4922503085503427986.post8756827609486367617..comments2024-03-28T00:23:24.152-07:00Comments on Desert Home: Taking Another Look at Process Communication - CherryPydavehttp://www.blogger.com/profile/11608589214882334649noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-4922503085503427986.post-33998418580757481282014-11-17T08:59:45.520-07:002014-11-17T08:59:45.520-07:00MQTT is cool, but I want something that is easy to...MQTT is cool, but I want something that is easy to debug with some kind of tool I don't have to write. Using http and a reasonable JSON message, I can interact with various processes on various machines with a simple browser from my laptop. JSON is so the message is already defined for me. HTTP is because it's all over the place.<br /><br />When I started looking at a method of getting the various processes to talk to each other, I kept running into efforts that had stalled because the principal developers had moved on. When I looked at what the current implementations did on the Arduino, they were incomplete and all used an ethernet card. I have sensors and controls that have run for years using a simple text inteface, XBees that use Digi's version of ZigBee. Two kinds of Zigbee devices that are not interoperable. Looking at Z-wave and maybe a couple of others.<br /><br />You can't run MQTT on something like a Wemo light switch or an Iris Smart Plug, so they have to talk to something that can translate. If you have to have something translate, then it might as well talk HTML also so it can interact with a browser so it can be monitored easily.<br /><br />See my reasoning? This is a good discussion though. Feel free to pick my ideas apart, it may lead to something great.davehttps://www.blogger.com/profile/11608589214882334649noreply@blogger.comtag:blogger.com,1999:blog-4922503085503427986.post-7778934432392655392014-11-17T06:52:22.495-07:002014-11-17T06:52:22.495-07:00Should have added a bit more above. Mosquitto is a...Should have added a bit more above. Mosquitto is a MQTT pub/sub or rather server/client application that was developed for small systems to pass short messages back and forth such as reporting temperature, barometric pressure, in general slowly occurring events. It really is a perfect fit for this application. My thoughts anyway.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4922503085503427986.post-33099703783080773762014-11-16T22:02:44.654-07:002014-11-16T22:02:44.654-07:00How about using Mosquitto? It's been around fo...How about using Mosquitto? It's been around for quite a while and is an excellent pub/sub candidate. There are some really interesting examples of it working with Arduino's as well. Heck IBM even put out a Red Book on it. I'm planning on using it for my interprocess communications amoung PI's and Arduino's and my initial experiments have proven very successful. It loads and just runs very well. Latency is very low as well. I know there is some work on evolving it but Mosquitto is still around and doing a great job.<br /><br />Glenn.Anonymousnoreply@blogger.com