MQTT – Finally!

After a few months of off and on again trying to get my data parse, collect and displayed the way I wanted it. I finally found a little tid bit of info that pointed me in the right direction.

rtl_433 -F “mqtt://192.168.1.15:1883,retain=0,devices=Pipedream/TempSensors/[protocol]/[id]” -M utc

As you can see I am using rtl_433 to receive data from various sensors around the buildings. It gets sent to our MQTT Broker for redistribution to computers that have subscribed to selected topics. Since we have a few sensors of the same model we use [protocol] to group those sensor together, but each sensor has its own feed.

Funny thing is we are now finding sensors, we didn’t know about. We will be watching the data being collected and see if we can figure it out.

Below are the sensors we need to figure out (what they are) 211 and 17. All the rest (so far) we can already id and parse the data correctly.

Do NOT Recommend Using These!

For those looking for another network jack, do NOT buy a Ethernet splitter. Buy a mini switch for just a few dollars more. The splitters have nice drawings that show how they work! But they don’t! The only case they would work is if the existing jack is wired for such purpose, in the case of older networks where it could work, it would make the whole network slower.

Had a good laugh yesterday when customer requested a splitter, even sending an Amazon photo. All the network people huddled and asked what would happen. Because all our networks are all Poe, it would be dangerous! Very likely causing damage to anything plugged into it..

Also there are mini hubs and mini switches. Hubs are slower basically acting like an old scanner moving data from one port, then the next. Would recommend a Switch any day!

Just passing on info.

MQTT Progress

After a weekend of diving into things I should have learned years ago, I’ve made progress. One of the things I’ve always wanted to be able to do, it update graphics realtime from a webpage, and if needed convert text to graphic. Finally did it, ImageMagick and open source project. One of my customers uses ImageMagick to take ID Photos then insert text over the image. They use a script converting camera images. In my case I am taken data, and creating images of text.

The hard part was setting up the server (which is now Windows, since all jobs currently held by Macs are being converted to Windows). And I am still learning MQTT, which is turning out to be very useful and now I GET IT, very easy.

We’ve converted an old Raspberry Pi with connected Arduino, with a connected Weather Shield to all work with MQTT, almost 100%. If you’ve see my other posts you can see the weather station has been around. And now for some odd reason it isn’t sending Wind Speed. I haven’t given up hope. Just need a break from dealing with that equipment.

Also from another post, I have temperature sensors, and weather stations that use 433 mhz scattered all over the property. Now that I’ve learned to properly format MQTT, I can start posting their real time data…. I was using FEEDS in RapidWeaver, but it wasn’t built for what I am doing, so tossed that idea, and now I am using PHP and Python..

Will give more details and instructions when I complete it.