Skip to header Skip to main navigation Skip to main content Skip to footer

Search form

Site branding

Home
What's up, home?

Main navigation

  • Home
  • Story mode
  • About
  • Features
  • Hardware list
  • Videos
  • GitHub (opens in new tab)
  • Daily AI generated stories (opens in new tab)

Part 57: Control your lights with Zabbix

Breadcrumbs

Breadcrumb

  • Home
  • Part 57: Control your lights with Zabbix

Main page content

By whatsuphome | 8:12 PM EET, Sat January 27, 2024

TL;DR

I control my home office Philips Hue lights through Zabbix by running external scripts that communicate with the Cozify hub. The scripts are accessible from Zabbix context menus and Siri Shortcuts for quick light toggling. Zabbix also collects all
Picture by DrawThings

Can you control your lights with Zabbix? Of course you can!

As I told during my Zabbix Summit 2023 speech, there will be a blog series about how I control my home with Zabbix. Let's start with how I control my home office lights -- or any light connected to our Cozify -- with it.

First of all, in Cozify I have the office light (Philips Hue) like this.

Cozify home office light

But how to see and control that in Zabbix? Well, for watching the status, my Zabbix is collecting all the variables about the light it possibly can.

Office light latest data

For performing the actual actions though, I then need to hook some external scripts to my Zabbix. These manual scripts are used both by my Zabbix context menu and my Siri Shortcuts.

Scripts

 

 

Here's the screenshot of the Siri shortcut:

Siri Shortcut

... and here's how it looks like in my Zabbix context menu when I click on my Zabbix server.

Zabbix host context menu

 

Okay, but where are all the scripts coming from? How I'm doing this? Please hold, as I'm also testing all this with the upcoming Zabbix 7.0, which allows me to create my own widgets, and also scripts that ask for user input and then apply the parameters for the scripts. 

I have something MUCH better cooking for Zabbix 7.0. However, if you really would need any of the details for this post, please feel free to reach out to me. It's just that since what I learned from Alexey's comment immediately after my speech at Zabbix Summit 2023, and what we did during the Zabbix 7.0 widget workshop during the summit, I feel that this entry is already old.

whatsuphome
zabbix
iot
control
lights
  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.
I control my home office Philips Hue lights through Zabbix by running external scripts that communicate with the Cozify hub. The scripts are accessible from Zabbix context menus and Siri Shortcuts for quick light toggling. Zabbix also collects all

Search

Who am I?

  • Janne Pikkarainen from Finland 🇫🇮
  • Began with computers in 1986 with C64
  • Doing IT for living since 1999
  • Principal Site Reliability Engineer at Forcepoint
  • A Zabbix Summit speaker every year since 2022
  • Walking, talking Zabbix commercial

Support my project

Buy me a coffee 

Footer menu

  • Contact

What's up, home? | Janne Pikkarainen | contact(at)whatsuphome.fi | 2022 - 2026

Developed and Designed by Janne Pikkarainen