Skip to content

Utilizing JavaScript, I've developed some automation script se in Homey Pro

License

Notifications You must be signed in to change notification settings

hdrapin/homeyScript

Repository files navigation

homeyScript

Utilizing JavaScript, I've developed some automation scripts for Homey Pro. Link to HomeyScript : https://github.com/athombv/com.athom.homeyscript

Requirements

•	Homey Pro: The script is designed specifically for Homey Pro.
•	HomeyScript must be installed on the Homey Pro

List Devices by Battery Level

This HomeyScript lists all devices connected to a Homey Pro that have a battery level, sorts them by their battery percentage (ascending), and displays the results. It provides an easy way to monitor the battery levels of your devices and prioritize replacements or recharging.

Notes

•	The script skips devices that do not have a measure_battery capability.
•	Battery levels are displayed in ascending order, with the lowest battery percentage shown first.

List Devices with Classes and Capabilities

This HomeyScript retrieves and displays all connected devices along with their respective classes and capabilities. It provides a comprehensive overview of the devices in your Homey Pro setup.

Features

•	Device Overview: Lists all devices connected to Homey Pro.
•	Device Classes: Displays the class of each device.
•	Device Capabilities: Shows all capabilities associated with each device.

Notes

•	Devices without capabilities are displayed without a capabilities list.
•	The script outputs all results directly to the console for easy viewing.

List Temperatures by Zone

This HomeyScript retrieves the current temperatures measured by devices in your home, grouped by zone, and includes thermostat information where applicable. It provides an overview of the temperature distribution in each room and highlights any devices acting as thermostats.

Features

•	Temperature Monitoring: Lists all devices measuring temperature.
•	Zone Classification: Groups temperatures by zones (rooms).
•	Thermostat Insights: Displays current and target temperatures for thermostats.
•	Temperature Ranges: Shows the minimum and maximum temperatures for each zone.

Notes

•	Devices without a `measure_temperature` capability are ignored.
•	If no temperatures are detected, the script will return: `No temperatures found in the house`.
•	Zone names default to "Unknown Zone" if they cannot be retrieved from Homey.

About

Utilizing JavaScript, I've developed some automation script se in Homey Pro

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published