Skip to content

Bot who react to SMS on TP-Link router and control Domoticz

Notifications You must be signed in to change notification settings

McMlok/DomoticzToRouterSmsBot

Repository files navigation

DomoticzToRouterSmsBot

Under construction

Bot who react to SMS on TP-Link router and control Domoticz

Now only Toggle switch to ON or OFF is supported

SMS Sample

switch LightOrSwitchName to ON/OFF

Enviroment variables

  • AllowedNumbers - Phone numbers allowed to control domoticz
  • DomoticzUri - URL to domoticz server
  • TpLinkUri - TP-LINK router URL
  • TpLinkUserName - TP-LINK router username
  • TpLinkPassword - TP-LINK router user password

How to setup env varibale on raspberry pi

DotNet instalation on raspberry

How to

  • Run sudo apt-get install curl libunwind8 gettext. This will use the apt-get package manager to install three prerequiste packages.
  • Run curl -sSL -o dotnet.tar.gz https://dotnetcli.blob.core.windows.net/dotnet/Runtime/release/2.0.0/dotnet-runtime-latest-linux-arm.tar.gz to download the latest .NET Core Runtime for ARM32. This is refereed to as armhf on the Daily Builds page.
  • Run sudo mkdir -p /opt/dotnet && sudo tar zxf dotnet.tar.gz -C /opt/dotnet to create a destination folder and extract the downloaded package into it.
  • Run sudo ln -s /opt/dotnet/dotnet /usr/local/bin` to set up a symbolic link...a shortcut to you Windows folks 😉 to the dotnet executable.
  • Test the installation by typing dotnet --help.
Instaling bot
cd ~
git clone https://github.com/McMlok/DomoticzToRouterSmsBot.git
cd ~/DomoticzToRouterSmsBot
dotner run

About

Bot who react to SMS on TP-Link router and control Domoticz

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published