[TriEmbed] my own AWS MQTT server

Huan Truong htruong at tnhh.net
Tue Feb 19 00:11:33 CST 2019


I have a bunch of raspberry pi 0s that I accumulated over the years
every time I had a chance to visit Micro Center. Pi 0 Ws make great
MQTT servers. I have one that is controlling all my smart devices, and
serves as a fake Apple HomeKit hub. It works really well because I can
speak both in Apple's proprietary language with the nice UI on the
phone and at the same time have an open stack should Apple do
something stupid, or when I want to automate my home in ways Apple
deem wrong. For example, I have like 15 Amazon buttons around my apt.
to do various things ;-)

https://www.npmjs.com/package/homebridge-mqttthing <-- this is the
secret sauce of HomeKit and mqtt, it's so great.

Apple HomeKit for one is respectable because it actually doesn't need
the cloud and doesn't talk to the cloud by default. This is one thing
I give a lot of credits to Apple.



On Mon, Feb 18, 2019 at 3:55 PM Pete Soper via TriEmbed
<triembed at triembed.org> wrote:
>
> Hi Alex,
>
>    Does this involve "Lambda functions"? Could a cell modem like a Ublox
> R401M talk to your server securely?
>
> -Pete (AWS illiterate)
>
> On 2/18/19 6:41 PM, Alex Davis via TriEmbed wrote:
> > I took advantage of the free AWS Cloud hosting offer to set up a little Ubuntu 18 server instance on which to run an MQTT server (https://aws.amazon.com/free) and some other things.
> >
> > You can get 12 months of a small (1 CPU, 1 GB RAM, 8 GB storage) virtual instance running Ubuntu. It's perfect for an MQTT server.
> >
> > If you'd like to use it for MQTT experiments, please let me know. I will provide you the hostname and the  SSL cert. I used the following to get mosquitto set up with SSL: http://www.steves-internet-guide.com/mosquitto-tls/
> >
> > I will be using this MQTT server as a way of simplifying my "NHL Goal Light" project. Instead of having the ESP8266 "IOT power switch" module try to parse the JSON from the nhl website (it sucks at it due to memory leaks), I will offload that to my AWS instance.  This way all the ESP8266 has to do is subscribe, and this can be handled easily in C++ vs what I have been doing in micropython.
> >
> > Alex
> >
>
> _______________________________________________
> Triangle, NC Embedded Computing mailing list
>
> To post message: TriEmbed at triembed.org
> List info: http://mail.triembed.org/mailman/listinfo/triembed_triembed.org
> TriEmbed web site: http://TriEmbed.org
> To unsubscribe, click link and send a blank message: mailto:unsubscribe-TriEmbed at bitser.net?subject=unsubscribe
>


-- 

Huan Truong
www tnhh.net / twitter @huant




More information about the TriEmbed mailing list