Smappee Homeassistant

Smappee is a small power meter from Belgium that can be used to monitor the power and the cos phi of an electrical installation, thanks to clamp on the main power line (for the current measurement) and to a normal socket (for the tension). The device is bundled with a web app (that is quite slow) and a cloud API (with credential -on demand (!) -) but there is a local REST-ish API one can use from HomeAssistant using the REST sensor API.

Poor man's WiFi jamming

Sometimes it might be interesting to saturate a particular WiFi channel with user traffic, but you don’t have any WiFi adapter under the hood and you have only a regular Macbook with MacOS. Hopefully a couple of useful tricks could be used : create an ad-hoc network of your choice (2.4Ghz or 5Ghz) and add some static IP send some broadcast traffic on that IP range with a large size, to avoid frames to be acknowledged at MAC level, while using the largest airtime possible (i.

Changing default route in a Docker container

I use typically macvlan-based network driver for my containers in order to have an experience close to VM on my home network, and rely on docker-compose for their instanciation. In that particular case I was doing the following configuration in my docker-compose.yml: networks: backend: physical: external: true The network ‘physical’ is defining my layer 2 ethernet home network, while ‘backend’ defines a classical docker bridge without any special consideration for the supporting database, appcode etc.