Category "code"

Smartmeter pulse counter (4)

This is going to be the last post for the smart meter pulse counter setup series. I want to wrap up several things like the final hardware, the code and the data visualization. Final hardware This is what the pulse counter sensor looks like, almost. The final version that's already “in production” has a switch to hard-reset the radio from outside the enclosure. Nothing special otherwise. Everything goes in a socket so I could reuse the components, the photocell probe connects to the 3....

XBee to MQTT gateway

So far I've posted about hardware and theoretical stuff like network architecture or naming conventions. I think it's time to move to the software side. The core of the sensor network I'm deploying at home is the Mosquitto broker that implements MQTT protocol. It manages the messaging queue, listening to messages posted by publishers and notifying the subscribers. I've been working in parallel to have at least some pieces in place to get and store information from the pulse counter sensor....