Category Archives: IoT

How to use arduino-cli for fast developing: monitor, compile and upload automatically

I’m a terminal kind of person, I live in the terminal (and in the browser). My development setup is made by tmux + neovim + several plugins/utilities.

I don’t want to use and install useless IDE software so I studied a way to (continuous) develop Arduino stuff by command line. In the following how I did.

Continue reading

How to setup Home Assistant, Raspberry Pi and MQTT

There are many ways to get Raspberry Pi to communicate with Home Assistant:

  • Install Home Assistant on the Raspberry Pi and set up native integration (if I have multiple Raspberry Pi?)
  • Let Home Assistant communicates via pigio(daemon) (there are some open issue)
  • Communicate via MQTT message broker

In this post I’m going to describe the third option: integration via MQTT, the best one in my opinion, let me explain why.

Continue reading

WebThings Gateway a very lightweight and flexible IoT Gateway

My own home automation architecture

I was looking for a simple, lightweight, extendable (really extendable or easily programmable) and opensource software for building my own home automation system. I found WebThings Gateway and especially WebThingsIO community!

Continue reading