$ ssh pi@172.168.1.11 git clone https://github.com/jrosdahl/miniircd.git cd miniircd ./miniircd [++ applicable parameters]
... and that is all it took. It is an extremely simple IRC server without any options for Nickserv or ops. Most basic commands are allowed which fits the purpose I need it for. A simple, low-low maintenance, quick backup communication method for friends, family, and community members was the task.
As with most things internet it will be available to the public at irc.buf0rd.com:33333 password:"buf0rd". Maybe i'll get around to adding bots and linking to discord. I'm not sure how vulnerable it is so it will stay on the guest LAN.
I didn't really sleep well knowing ssl wasn't enabled. I woke up and created the required .pem(s).
sudo openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -keyout key.pem -out cert.pem
Then restarted with the modified 'liner'
miniircd --port 33333 --motd /home/pi/miniircd/motd.txt --password-file /home/pi/miniircd/password-file.txt --ssl-cert-file /home/pi/miniircd/cert.pem --ssl-key-file /home/pi/miniircd/key.pem
Doh! I received a few errors. Permissions had to be updated on sudo-user generated .pem files in order for them to be utilized by 'pi' user AND I needed to enable SSL on my IRC client to test.
All done for real this time. A self hosted, ssl enabled, IRC server with self signed certificate
alias: Frigate (Front doorway light on person dectect) description: '' trigger: - platform: mqtt topic: frigate/events payload: 'on' value_template: >- {{ "on" if value_json["type"] == "new" and value_json["before"]["camera"] == "front_door_cam_fri" and value_json["before"]["label"] == "person" else "off"}} action: - type: turn_on device_id: 1ac8dbe1de45515de0cb274ec116b916 entity_id: light.front_doorway_light domain: light mode: single condition: - condition: sun before: sunrise after: sunset
And finally a .yaml to turn off the light after inactivity of '5 minutes' IF the light is on.
alias: Frigate (Front doorway light AUTO OFF) description: '' trigger: - platform: device type: turned_on device_id: 1ac8dbe1de45515de0cb274ec116b916 entity_id: light.front_doorway_light domain: light for: hours: 0 minutes: 5 seconds: 0 condition: - condition: device type: is_on device_id: 1ac8dbe1de45515de0cb274ec116b916 entity_id: light.front_doorway_light domain: light action: - type: turn_off device_id: 1ac8dbe1de45515de0cb274ec116b916 entity_id: light.front_doorway_light domain: light mode: single
MQTT is running on a Home Assistant VM. DOODS (Dedicated Open Object Detection Service), for object detection and classification, is running on a separate Raspberry Pi4 in a Docker container with minimal latency however the process does have an issue after running for approximately 5 days continuous.
Businesses and power home users take notice! This is a extremely low cost solution to home automation and security. DOODS combined with a ESP8266+PIR sensor on ESPHome once again... open the door to endless possibilities.
Tripp-Lite patch panel ➬ https://amzn.to/3AMCU8Y Unifi Security Gateway + RACKIDEA mount ➬ + https://amzn.to/3Oc5fsI Unifi 24 port switch ➬ https://amzn.to/3uFye11 NavePoint 1U Rack Mount Cable Management Panel with Tidy Brush ➬ https://amzn.to/3PtMjqp TP-Link Network TL-WR802N 300Mbps Wireless N Nano Router ➬ https://amzn.to/3aCgQ6w 3D printed Raspberry Pi 1u rack ➬ https://www.thingiverse.com/thing:4125055 Kungfuking Aluminum Alloy Shell 8 Outlet Rack-Mount PDU ➬ https://amzn.to/3P3Ac3u HP EliteDesk 800 G1, i7, rear. ----------- Services: FreeRadius Unifi Controller Samba[NAS] Pi-Hole Docker Pfsense