Raspberry 5 test-to-speech using Piper

I wanted to make my Raspberry tell me about power outages and air alerts near my location.

The setup is pretty simple and described ar the repo:

Installing NUT - Network Ups Tool Notifications and emails

Notifications and email

 

Simple

 Go to file:

sudo vi /etc/nut/upsmon.conf
Add at the EOF:
# Email script for NOTIFYCMD
# Simple
NOTIFYCMD "/etc/nut/notifycmd.sh" …

Installing NUT - Network Ups Tool

I'll describe a full path on how to install and use NUT.
My implementation is using Raspberry Pi 5 and a TP-Link router attached to 800W UPS.
RPi will be …

WSGI mod, Python, Django, Celery and a nice fella virtualenv

Here I'll show how to use Python (3.8.0 in the current example, but legit for latest 3.+ versions, not for os.name == 'NT') and virtualenv to setup WGSI enabled …

Вначале ты...

Вначале, ты решаешь поучить Python, начинаешь немного углубляться... ... и приходишь в себя в тот м…

Read...

Django + apache2 + mod_wsgi

This is conf file to allow apache run Django applications.

# Web site at /var/www/smm_tools
# Pyt…

Read...

High CPU usage VMWare ESXi 5.5

Использование CPU в определенный момент начинало превышать допустимые нормы, сервер зависал и не от…

Read...

From vmdk to vhd

  • StarWind V2V Image Converter
  • VMware vCenter Converter Standalone Client
  •  

Very useful:

Read...

Вывод-лог ошибок и полная конфигурация Redmine

Добавляю сюда полный список конфигурации Redmine и Ruby, если кому показать придется.

cannot load …

Read...

MySQL troubleshooting

Возможные проблемы:

  •  отваливается сокет /var/lib/musql/mysql.sock

Can't connect to l…

Read...

How to Serve Multiple Domains Using Virtual Hosts

Снова себе напоминалка себе, забыл про вирт. хосты. На мульти доменном сервере всегда нужно делать …

Read...

Installing NUT - Network Ups Tool Notifications and emails

Notifications and email

 

Simple

Installing NUT - Network Ups Tool Notifications and emails

vk execute VS python while

Итак, финишная прамая на сегодня:py_vk

  • скрипт на Python, получающий комментарии из 57 постов за после…

Read...

How tired I am of Google way how get API tokens

Google APIYou must:

  1. Create application and take its id and secret.
  2. Make a GET request to send secret and …

Read...