Thursday, 18 February 2021
Thursday, 4 February 2021
Wednesday, 30 December 2020
MeteoLeccebot (Telegram Bot)
Do you now the bot in Telegram, right?
Well, this is my new adventure (in Wi-Fi... cit. one of the album of my favorite band...).
Creating a bot seems to be a simple operation and it is!
So I tried to create ones.
Just for starting I used my best project to transpose it in a Telegram bot answering to the following question: if I wanted to know a specific weather parameter of my weather station? I.e. temperature?
Well: the Telegram bot is the answer! (no, not 42!)
- First of all: download Telegram app
- Go to the account @BotFather
- Create your personal bot through the instructions you find in it
- Well... happy hacking!
I chose python to create my personal bot. Take a look at the code, but before of this you have to know that my shield transmits his data to the cloud platform ThingSpeak.com right here: https://thingspeak.com/channels/145284
In this way our bot answer to the request connecting himself to that link and, after analyzed the word received from the user, resend all the main data.
Here is the code:
Once you access on Telegram you can search for MeteoLeccebot:
And when you ask for the data you have to digit the word Meteo or meteo (weather, in italian) you receive what you have requested:
That's all!
Wednesday, 23 December 2020
Weather Station (evolution)
If I can free more space in the box that contains all the components of the weather station: welcome!
I can do it using a component which contains a lot of sensors in itself. the BME280.
This electronic component is a multisensor, it can measure:
- Temperature
- Humidity
- Atmosferic pressure
![]() |
| BME280 |
I bought it here:
That's all... then... start again projecting a new device!
Saturday, 12 December 2020
-
One of my dreams was to measure particulate in the air and make this operation simple. Thanks to the PPD42NS sensor this is possible. O...
-
Extract a parameter from the json array . Below the json string: {"coord":{"lon":18.17,"lat":40.36},...


