Skip to content

Commit

Permalink
completing posts details
Browse files Browse the repository at this point in the history
  • Loading branch information
JAlcocerT committed Jan 15, 2024
1 parent af9bddf commit 2c8dd68
Show file tree
Hide file tree
Showing 5 changed files with 92 additions and 2 deletions.
64 changes: 64 additions & 0 deletions _posts/2022-03-20-selfh-internet-better.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,26 @@ sudo systemctl stop systemd-resolved
#systemctl list-units --type=service | grep 'running'
```

And what's my current DNS?

```sh
ip a #get netwk interface to check, something like eth0, wlan...
nmcli device show <your_netwk_interface> | grep IP4.DNS

#sudo nmcli connection modify <your_connection_name> ipv4.dns "192.168.3.200 9.9.9.9"
```

```sh
cat /etc/resolv.conf
```

* <https://dnscheck.tools/>
* <https://cmdns.dev.dns-oarc.net/>

### Deploy PiHole with Unbound

Go to: `http://192.168.3.200:85/admin/login.php`

```yml
version: '3'

Expand Down Expand Up @@ -171,6 +189,52 @@ services:
```
```yml
version: '3'

networks:
dns_net:
driver: bridge
ipam:
config:
- subnet: 172.16.0.0/16 #check in portainer Nenwork Tab which one you have available (sort and see)

services:
pihole:
container_name: pihole
hostname: pihole
image: pihole/pihole:latest
networks:
dns_net:
ipv4_address: 172.16.0.7
ports:
- "53:53/tcp"
- "53:53/udp"
- "85:80/tcp"
#- "443:443/tcp"
environment:
TZ: 'Europe/London'
WEBPASSWORD: 'password'
PIHOLE_DNS_: '172.23.0.8#5053'
volumes:
- '/home/ubuntu/docker/pihole/etc-pihole/:/etc/pihole/'
- '/home/ubuntu/docker/pihole/etc-dnsmasq.d/:/etc/dnsmasq.d/'
restart: unless-stopped
unbound:
container_name: unbound
image: mvance/unbound-rpi #mvance/unbound:latest
networks:
dns_net:
ipv4_address: 172.16.0.8
volumes:
- /home/ubuntu/docker/unbound:/opt/unbound/etc/unbound
ports:
- "5053:53/tcp"
- "5053:53/udp"
restart: unless-stopped
```
## SearXNG
The [SearXNG project](https://github.com/searxng/searxng) is developing and maintaining a self-hosted **metasearch engine**. This means that anyone can install and run their own Searx instance, and **customize it** to their liking.
Expand Down
3 changes: 2 additions & 1 deletion _posts/2022-08-10-youtube-video-download.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,9 @@ docker compose up -d
```


The project: <https://github.com/TeamPiped/Piped>
The project is public at Github: <https://github.com/TeamPiped/Piped>

---

## FAQ

Expand Down
9 changes: 8 additions & 1 deletion _posts/2023-10-20-rpi-iot-dht1122-mongo.md
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,9 @@ Acces it at: http://localhost:3000
![Desktop View](/img/metabase-mongoDB.JPG){: width="972" height="589" }
_Metabase Ready to Roll_
---
## FAQ
Expand Down Expand Up @@ -459,4 +462,8 @@ source my_virtual_env/bin/activate

pip install Adafruit_DHT==1.4.0
#deactivate
```
```

Thanks to: <https://pimylifeup.com/raspberry-pi-humidity-sensor-dht22/> for inspiration of this project.

And to: <https://learn.adafruit.com/dht-humidity-sensing-on-raspberry-pi-with-gdocs-logging/python-setup>
16 changes: 16 additions & 0 deletions _posts/2024-12-12-microcontrollers.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
title: RPi + MicroCOntrollers
author: JAlcocerT
date: 2024-12-01 00:10:00 +0800
categories: [IoT & Data Analytics]
tags: [Sensors,Python,MongoDB]
image:
path: /img/metabase.png
alt: IoT Project with Python, MongoDB, DHT11/22 sensors and Metabase.
render_with_liquid: false
---


## Connecting ESP32 to Linux

https://github.com/tio/tio
2 changes: 2 additions & 0 deletions _posts/2024-12-31-HA.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ image:
render_with_liquid: false
---

[Home Assistant](https://github.com/home-assistant) - A great Project that can make your home smarter, together with a RPi.

## HA Integrations

You can check more HA integrations in the [official page](https://www.home-assistant.io/integrations/).
Expand Down

0 comments on commit 2c8dd68

Please sign in to comment.