Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new Plugin - PSU Control IKEA Dirigera #1329

Merged
merged 4 commits into from
Oct 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
76 changes: 76 additions & 0 deletions _plugins/psucontrol_ikea_dirigera.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
---
layout: plugin

id: psucontrol_ikea_dirigera
title: OctoPrint PSU Control IKEA Dirigera
description: Adds IKEA Dirigera connected smart outlet support to OctoPrint-PSUControl as a sub-plugin
authors:
- Mesterkaa
license: AGPLv3

date: 2024-10-08

homepage: https://github.com/Mesterkaa/OctoPrint-PSU_Control_IKEA_Dirigera
source: https://github.com/Mesterkaa/OctoPrint-PSU_Control_IKEA_Dirigera
archive: https://github.com/Mesterkaa/OctoPrint-PSU_Control_IKEA_Dirigera/archive/main.zip

tags:
- control
- power
- psu
- psucontrol
- psucontrol subplugin
- ikea

screenshots:
- url: /assets/img/plugins/psucontrol_ikea_dirigera/Plugin.png
alt: Plugin Settings
caption: The PSU Control - IKEA Dirigera plugin settings
- url: /assets/img/plugins/psucontrol_ikea_dirigera/IKEAHomeSmart1.png
alt: IKEA Homesmart Device Name
caption: IKEA Homesmart Device name.
- url: /assets/img/plugins/psucontrol_ikea_dirigera/IKEAHomeSmart2.png
alt: IKEA Homesmart Device Settings
caption: IKEA Homesmart device settings

featuredimage: /assets/img/plugins/psucontrol_ikea_dirigera/OctoPrintXIKEA.png

compatibility:
python: ">=3,<4"

---
# IKEA Dirigera PSU Control
## About

IKEA Dirigera sub-plugin for [PSU Control](https://github.com/kantlivelong/OctoPrint-PSUControl) in [Octoprint](https://octoprint.org/)

Add the ability to control any IKEA smart outlet connected to IKEA Dirigera Hub, via the PSU Control Plugin.

- Choose this plugin for Switching/Sensing in [PSU Control](https://github.com/kantlivelong/OctoPrint-PSUControl) settings.
- Input IKEA Dirigera IP address, Outlet Name and generate a token, and you are ready to go.

## Configuration

Follow the Step-by-Step guide in the Plugin settings.
1. **Enter Outlet Name**
- The Outlet Name is the name given to the device in the IKEA "Home Smart" App.
- [Apple](https://apps.apple.com/us/app/ikea-home-smart/id1633226273)
- [Android](https://play.google.com/store/apps/details?id=com.ikea.inter.homesmart.system2)
- The name needs to be unique and can be edited in the app.
2. **Enter IP Address**
- IP Address of the IKEA Dirigera Hub. The app sadly doesn't show it, so it has to be found in other ways e.g. your router settings.
3. **Send Challenge**
- Click the **Send Challenge** button and await a success.
- A **fail** will be followed by some error data that might give a hint of the problem.
4. **Press the Action Button**
- The **Action** button can be found labeled on the bottom of the IKEA Dirigera device.
5. **Generate Token**
- Click the **Get Token** button and await a success.
- A successful call will result in a **token** in the "Generated Token" field.
- A **fail** will be followed by some error data that might give a hint of the error.
6. **Test Connection (Optional)**
- Click the **Test Connection** button and await a success.
- On a success you should see the current status of the outlet.
7. **Remember to Save**
- The token has been fetched from the IKEA Dirigera but has yet to be saved.
- **Remember to save!**
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading