-
DIY low-power LoRa water-meter - Part 5 : Integration with TTN, Node-RED and Home-Assistant
Saturday, August 5, 2023
This blog post is part of a series of posts: Part 1 : Introduction Part 2 : From prototypes to V1.0 Part 3 : Hardware design Part 4 : Software Part 5 : Integration with TTN, Node-RED and Home-Assistant Now that the device is built and the firmware is running as expected, let’s see how to actually use it and get the measurements out of the sensor! As a reminder, the device counts pulses from the watermeter and sends the data (message number, battery voltage and number of pulses detected) to TTN using LoRaWAN technology.…
-
DIY low-power LoRa water-meter - Part 4 : Software
Saturday, August 5, 2023
This blog post is part of a series of posts: Part 1 : Introduction Part 2 : From prototypes to V1.0 Part 3 : Hardware design Part 4 : Software Part 5 : Integration with TTN, Node-RED and Home-Assistant Software The code is fully open source and available on my Codeberg account . The firmware is written in C, and mostly relies on two 3rd party libraries : LoRaMac-node and LittleFS.…
-
DIY low-power LoRa water-meter - Part 3 : Hardware design
Saturday, August 5, 2023
This blog post is part of a series of posts: Part 1 : Introduction Part 2 : From prototypes to V1.0 Part 3 : Hardware design Part 4 : Software Part 5 : Integration with TTN, Node-RED and Home-Assistant Hardware design Important notice : I’m a software engineer, and I have very limited knowledge and experience in anything related to hardware design and electronics. I can read a datasheet and a schematics, and I can plug components on a breadboard.…
-
DIY low-power LoRa water-meter - Part 2 : From prototypes to the final product
Saturday, August 5, 2023
This blog post is part of a series of posts: Part 1 : Introduction Part 2 : From prototypes to V1.0 Part 3 : Hardware design Part 4 : Software Part 5 : Integration with TTN, Node-RED and Home-Assistant As I previously said, I started this project more than 2 years ago. I obviously didn’t work on it full time since then, but I nevertheless tried many solutions to implement my idea.…
-
DIY low-power LoRa water-meter - Part 1 : Introduction
Saturday, August 5, 2023
This blog post is part of a series of posts: Part 1 : Introduction Part 2 : From prototypes to V1.0 Part 3 : Hardware design Part 4 : Software Part 5 : Integration with TTN, Node-RED and Home-Assistant Introduction My water consumption increased by a lot (+20%) in 2020-2021. Even if water isn’t the most expensive of my utility bills, I was still a bit concerned : maybe there’s leak in my water installation.…