PROJET AUTOBLOG


Chromic

Site original : Chromic

⇐ retour index

Mise à jour

Mise à jour de la base de données, veuillez patienter...

Aqueous Radio

vendredi 17 novembre 2017 à 01:00
Automated Meter Reading (AMR) module

"I wonder what that thing is…"
Is what I thought when I saw the "thing" in the picture above stuck to our house when we moved in almost four years ago. I then promptly forgot about it as I got busy with other things.

Last summer however, I was walking around the expanding neighborhood near construction sites. I must've been in a particularly inquisitive mood and my eyes happened to focus on one of those "things" on another house. I decided that the mystery needed to be solved so I walked back home and did a bit of research (fancy way of saying I ran two or three web searches).

As most people already know, that thing is an Automated Meter Reading (AMR) transceiver device for utility meters. This specific one is from the 100 Series by Itron.

Cool Story, Bro

Mystery solved, right? Nope! Now I need to know how it works. And since it's wireless technology, now I need to know if there's a way for me to tap into it and see what kind of information I can get from it.

So I put on my robe and researcher hat, and hit up the good old search engine again. Not long after, I find that somebody wrote a software defined radio (SDR) receiver for Itron compatible smart meters. Nice!

I do a bit more research and end up getting this USB receiver thingy (RTL2832 + R820T) by NooElec.

RTL2832 + R820T by NooElec

Things are Happening

With the above software/hardware combo I was able to receive data on the console, which is great, but wanted a way to get an overview over time.

Around that same time, I had recently setup a "influxdb + telegraf + grafana" stack to gather SNMP data from by Ubiquiti devices (the instructions on how to do this are here in case anyone's interested). So I thought using that same stack for the water meter data, somehow, would make the most sense.

At some point I stumbled upon this gist that does exactly that. A few tweaks here & there and I have water consumption data in graph form! Water consumption data, per day, in graph form

Running youtube-dl on Android via Termux

mardi 16 mai 2017 à 06:00

I recently got youtube-dl working on LineageOS nightly via Termux. Here are the steps I took:

  1. In Termux, install some of the tools we’ll need:
    packages install python wget vim
  2. Create a “bin” folder in the home directory: mkdir bin
  3. Add the directory to your path at login: vim .bashrc
    export PATH=$PATH:~/bin
  4. Exit and re-launch Termux to update your path: exit
  5. Download youtube-dl: wget https://yt-dl.org/downloads/latest/youtube-dl -O bin/youtube-dl
  6. Make it executable: chmod u+x bin/youtube-dl
  7. Change the interpreter path in the youtube-dl file: vim -b bin/youtube-dl
    #!/data/data/com.termux/files/usr/bin/env python
  8. Try it! youtube-dl [URL]

Running youtube-dl on Android via Termux

mardi 16 mai 2017 à 02:00

I recently got youtube-dl working on LineageOS nightly via Termux. Here are the steps I took:

  1. In Termux, install some of the tools we’ll need:
    packages install python wget vim
  2. Create a “bin” folder in the home directory: mkdir bin
  3. Add the directory to your path at login: vim .bashrc
    export PATH=$PATH:~/bin
  4. Exit and re-launch Termux to update your path: exit
  5. Download youtube-dl: wget https://yt-dl.org/downloads/latest/youtube-dl -O bin/youtube-dl
  6. Make it executable: chmod u+x bin/youtube-dl
  7. Change the interpreter path in the youtube-dl file: vim -b bin/youtube-dl
    #!/data/data/com.termux/files/usr/bin/env python
  8. Try it! youtube-dl [URL]

Running youtube-dl on Android via Termux

mardi 16 mai 2017 à 02:00

I recently got youtube-dl working on LineageOS nightly via Termux. Here are the steps I took:

  1. In Termux, install some of the tools we’ll need:
    packages install python wget vim
  2. Create a “bin” folder in the home directory: mkdir bin
  3. Add the directory to your path at login: vim .bashrc
    export PATH=$PATH:~/bin
  4. Exit and re-launch Termux to update your path: exit
  5. Download youtube-dl: wget https://yt-dl.org/downloads/latest/youtube-dl -O bin/youtube-dl
  6. Make it executable: chmod u+x bin/youtube-dl
  7. Change the interpreter path in the youtube-dl file: vim -b bin/youtube-dl
    #!/data/data/com.termux/files/usr/bin/env python
  8. Try it! youtube-dl [URL]

Transferred

mardi 4 avril 2017 à 06:00

I've transferred the chromic.org domain from Dreamhost to Hover. Mostly because of UI/UX reasons.

Back in 2009, when I was looking to get a domain, I chose DreamHost for Shared Hosting. They’re also a registrar, so that’s who I registered the domain with.

A couple of years later, I moved the hosting part to Linode and kept DreamHost as the registrar. Linode doesn’t do domain registrations, and I never had any problems with my domain over at DreamHost so I wasn’t really looking for alternative registrars.

Recently, I started looking into the possibility of implementing DNSSEC, and while DreamHost supports it (as long as you don’t use their nameservers), I couldn’t find the options (DNS glue, DNSSEC fields) myself in the account settings. While hunting around for those, I realized that the vast majority of everything I was seeing on the screen were menus/options completely useless to me since I’m not hosting anything with them.

Then, I came across an article that suggests I need to create a support ticket to have support complete the configuration. Blech. What is this? 1997? I never had to deal with DreamHost support much, and the couple of times I contacted them they were quick to respond and helpful, but I’d very much rather have the option to do this on my own.

I did a couple of searches to see what my options were and decided to move to Hover. They don’t do hosting, their UI focuses on domain-related features, and the glue/DNSSEC settings aren’t hidden away multiple levels deep or completely missing.

More importantly, I can set those up myself. Win!

The transfer itself went without a hitch. No suprises, no downtime, and ultimately transparent. So kudos to both DreamHost and Hover for making that happen painlessly.