Skip to content

pascaaaal/notifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

notifier

This is a small script to send a notification via your Google Home when a specific IP enters your Network.

Installation

curl -s https://raw.githubusercontent.com/pascaaaal/notifier/master/install.sh | sudo bash

Requirements

  • Python 3.7
  • fping
  • pychromecast
  • Usage

    You can edit the data.txt it is placed in /etc/notifier/data.txt. The Scheme ip mp3_url So for example you have the ip adress 192.168.2.100, and you want the url https://example.com/exmaple.mp3. You're line would be:
    192.168.2.100 https://example.com/exmaple.mp3

    Configuration

    To use the script properly, you have to edit the config.txt. It is placed in /etc/notifier/config.txt.
    The value subnet_addr is the subnet scheme of your network.
    The value chromecast_addr represents the ip address of your chromecast device.
    The value timeout is the the timeout how long it takes that the system marks a IP as "at home". This is beacause your device does not respond everytime.

    About

    No description, website, or topics provided.

    Resources

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages