For ESP32 Arduino project I needed to use PPPoS. Looking around I found several example and libs for using PPPoS, so I tried and boom! I started my journey into the compilation nightmare errors!
Continue readingAuthor Archives: cescobaz
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 readingHow to implement a simple horizontal paginated ScrollView with React Native
Create an horizontal paginated ScrollView with React Native looks simple, but it wasn’t for me because I didn’t know how to size the content correctly. Around the internet a lot of people suggest to use the window size and eventually make some computation on it, but it is not the right solution or, at least, not the easiest.
Continue readingSetup Leaflet with Svelte and Vite
As discussed in Leaflet github repo ( e.g. here and here ) integrate the library with our frontend framework and build tools could be tricky.
In this short post I will describe how to setup Leaflet with Svelte and Vite.
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 readingHow to test multipart HTTP POST with Elixir Phoenix Framework
I recently implemented an endpoint for uploading files via multipart HTTP POST with Phoenix, but I didn’t find a good documentation about how to test it, so I’m going to describe how I did it.
Continue readingWebThings Gateway a very lightweight and flexible IoT Gateway
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 readingIn-App Purchase validation flow
Recently I decide to change the FullControl business model from paid download to freemium ( free download and PRO version via In-App purchase ). Then I had to deal with a couple of issues: receipt validation, PRO version available for “older” users, In-App purchase validation flow. In this post we are going to discuss the last point.