Skip to content

Latest commit

 

History

History
31 lines (16 loc) · 1.1 KB

README.md

File metadata and controls

31 lines (16 loc) · 1.1 KB

Shelly Devices Home Automation Repository

Welcome to the Shelly Devices Home Automation Repository! This repository contains JavaScript files for Shelly devices. At this stage, the repository includes a script called auto_reboot.js, which is designed to monitor internet connectivity and automatically reboot the Shelly device if the connection fails.

Contents

  • auto_reboot.js: A script for monitoring internet connection and rebooting the Shelly device if a ping to a specified URL fails.

Getting Started

To use the auto_reboot.js script, follow these steps:

  1. Copy the contents of the file. Eg auto_reboot.js

  2. Create a new script in your shelly device and paste the contents into it.

  3. Save the changes.

  4. Run the script

Script Details

auto_reboot.js

  • Purpose: Monitors internet connectivity by pinging a specified URL and automatically reboots the Shelly device if the ping fails.

Contributing

Feel free to contribute to this repository by submitting issues or pull requests. Your feedback and improvements are highly appreciated.

Happy automating! 🏡✨