Domio gets notifications, device history, live widgets and more
Re: Domio gets notifications, device history, live widgets and more
The williammoore account (me) is/was my oldest user account. When apple started using iCloud stuff for creating users.... my indigo setup got a little weird. By then, I already had a seperate indigo icloud account... whm.indigo. My last couple computers, I used that as the account to set up the computer then added william.moore as an admin user.
I've never even logged into that computer (except maybe once to set up the other account). I've done everything from the william.moore login. (including installing everything).
does that make a difference?
I could try to swap stuff over... but I can't even think of how many scripts or things will break because they look for items under the williammoore account
I've never even logged into that computer (except maybe once to set up the other account). I've done everything from the william.moore login. (including installing everything).
does that make a difference?
I could try to swap stuff over... but I can't even think of how many scripts or things will break because they look for items under the williammoore account
Bill
My Plugin: My People
My Plugin: My People
Re: Domio gets notifications, device history, live widgets and more
Code: Select all
Indigo-Server:~ williammoore$ id
uid=501(williammoore) gid=20(staff) groups=20(staff),12(everyone),61(localaccounts),79(_appserverusr),80(admin),81(_appserveradm),98(_lpadmin),33(_appstore),100(_lpoperator),204(_developer),250(_analyticsusers),395(com.apple.access_ftp),398(com.apple.access_screensharing),399(com.apple.access_ssh),400(com.apple.access_remote_ae),701(com.apple.sharepoint.group.1)
Indigo-Server:~ williammoore$ get info on the /usr/local/indigo folder shows "You have no access"
System: Read & Write
wheel: Read & Write
everyone: No Access
so even if I am admin.... admin doesn't have access? Should I change that? Add the admin group?
Bill
My Plugin: My People
My Plugin: My People
- durosity
- Posts: 4810
- Joined: Thu May 10, 2012 3:21 pm
- Location: Newcastle Upon Tyne, Ye Ol' England.
Re: Domio gets notifications, device history, live widgets and more
I didn't mean hiding errors as such, more the repetitive messages that appear when the app connects to Indigo to refresh its data.jay (support) wrote: ↑Wed Jun 17, 2026 9:29 am @durosity, hiding errors is never the right choice since failures become invisible and bugging issues becomes almost impossible. However, making errors more clear and useful to solve the issue is.
Computer says no.
- jay (support)
- Site Admin
- Posts: 19232
- Joined: Wed Mar 19, 2008 11:52 am
- Location: Austin, Texas
- Contact:
Re: Domio gets notifications, device history, live widgets and more
What is the output from:
If that gives you a permission error, then:
and:
You have something seriously wrong with permissions and accounts, I just can't really tell yet.
BTW, this has nothing to do with iCloud - it's all local macOS accounts and permissions. Well, I don't *think* so.
Code: Select all
ls -la /usr/local/indigoCode: Select all
sudo ls -la /usr/local/indigoCode: Select all
ls -la /usr/localBTW, this has nothing to do with iCloud - it's all local macOS accounts and permissions. Well, I don't *think* so.
Re: Domio gets notifications, device history, live widgets and more
Code: Select all
Indigo-Server:~ williammoore$ ls -la /usr/local/indigo
total 0
ls: /usr/local/indigo: Permission denied
Code: Select all
Indigo-Server:~ williammoore$ sudo ls -la /usr/local/indigo
total 72
drwxrwx--- 7 root wheel 224 Jun 17 11:35 .
drwxr-xr-x 24 root wheel 768 Jun 17 11:32 ..
-rwxrwx--- 1 root admin 4573 Apr 29 13:48 indigo-clean-and-zip-plugin
-rwxrwx--- 1 root admin 7518 Apr 29 13:48 indigo-host
-rwxrwx--- 1 root admin 5445 Apr 29 13:48 indigo-restart-plugin
-rwxrwx--- 1 root admin 2484 Apr 29 13:48 indigo-start
-rwxrwx--- 1 root admin 5332 Apr 29 13:48 indigo-stop
Code: Select all
Indigo-Server:~ williammoore$ ls -la /usr/local
total 27296
drwxr-xr-x 24 root wheel 768 Jun 17 11:32 .
drwxr-xr-x@ 11 root wheel 352 May 21 03:57 ..
-rw-r--r-- 1 root wheel 0 Feb 12 2021 .com.apple.installer.keep
drwxr-xr-x 342 root wheel 10944 Jun 17 11:36 bin
drwxrwxr-x 22 williammoore admin 704 Feb 5 2021 Cellar
-rw-r--r-- 1 root wheel 440 Aug 11 2019 entropy-php.conf
drwxrwxr-x 13 williammoore admin 416 Feb 5 2021 etc
drwxrwxr-x 4 williammoore admin 128 Feb 5 2021 Frameworks
drwxrwxr-x 23 williammoore admin 736 Jan 12 2024 Homebrew
drwxrwxr-x 124 williammoore admin 3968 Feb 5 2021 include
drwxrwx--- 7 root wheel 224 Jun 17 11:35 indigo
drwxr-xr-x 13 root wheel 416 Jun 9 2020 info
drwxrwxr-x@ 249 williammoore admin 7968 Feb 5 2021 lib
-rwxr-xr-x 1 root wheel 13973716 Aug 11 2019 libphp7.so
drwxr-xr-x 3 root wheel 96 Feb 5 2021 n
drwxrwxr-x 29 williammoore admin 928 Feb 5 2021 opt
drwxr-xr-x 14 williammoore wheel 448 Feb 5 2021 packager
drwxr-xr-x 28 root wheel 896 Jun 9 2020 php.d
drwxr-xr-x 14 root wheel 448 Feb 5 2021 php5-7.1.31-20190811-210816
drwxr-xr-x 3 root wheel 96 Feb 5 2021 remotedesktop
drwxr-xr-x 10 root wheel 320 Jun 9 2020 sbin
drwxrwxr-x@ 27 williammoore admin 864 Feb 5 2021 share
drwxr-xr-x 7 root wheel 224 Jun 9 2020 ssl
drwxr-xr-x 6 root wheel 192 Jun 9 2020 var
Bill
My Plugin: My People
My Plugin: My People
- jay (support)
- Site Admin
- Posts: 19232
- Joined: Wed Mar 19, 2008 11:52 am
- Location: Austin, Texas
- Contact:
Re: Domio gets notifications, device history, live widgets and more
Here's the problem:
Something stomped on the permissions of that directory in /usr/local/
That should fix the issue starting the Indigo command line tool. I don't know where we stopped with the rest of the testing.
Code: Select all
drwxrwx--- 7 root wheel 224 Jun 17 11:35 indigo
Code: Select all
sudo chgrp -R admin /usr/local/indigo
Re: Domio gets notifications, device history, live widgets and more
Now try this again now you can get a scripting prompt open.siclark wrote:This is something whmoorejr needs to run, it is a 500 error on his call.jay (support) wrote: ↑Wed Jun 17, 2026 6:11 am Hey Simon, can you drop me an email with the details/example? We probably need to catch that exception with a better error.
I think this is returning him a 500
Claude suggests below in the scripting shell might identify the problem variable. but the above returns 200 for me so all good.Code: Select all
curl -i -H "Authorization: Bearer YOUR_API_KEY" https://YOUR_REFLECTOR_ID.indigodomo.net/v2/api/indigo.variables
Code: Select all
import urllib.request, urllib.error BASE = "http://127.0.0.1:8176/v2/api" KEY = "" # set to your API key if localhost rejects unauthenticated calls def get(url): req = urllib.request.Request(url) if KEY: req.add_header("Authorization", "Bearer " + KEY) return urllib.request.urlopen(req, timeout=10).getcode() bad = [] for v in indigo.variables: url = "{0}/indigo.variables/{1}".format(BASE, v.id) try: code = get(url) if code != 200: bad.append((v.id, v.name, code)) indigo.server.log("BAD {0}: id={1} name={2!r}".format(code, v.id, v.name), isError=True) except urllib.error.HTTPError as e: bad.append((v.id, v.name, e.code)) indigo.server.log("BAD {0}: id={1} name={2!r}".format(e.code, v.id, v.name), isError=True) except Exception as e: indigo.server.log("ERR id={0} name={1!r}: {2}".format(v.id, v.name, e), isError=True) indigo.server.log("variable scan complete -- {0} problem variable(s)".format(len(bad)))
Re: Domio gets notifications, device history, live widgets and more
Well, for the 1st step... I now get this:
Code: Select all
Connected to Indigo Server v2025.2.0, api v3.8 (localhost:1176)
>>> curl -i -H "Authorization: Bearer 5201...db3" https://whmoorejr.indigodomo.net/v2/api/indigo.variables
File "<console>", line 1
curl -i -H "Authorization: Bearer 5201...db3" https://whmoorejr.indigodomo.net/v2/api/indigo.variables
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: invalid syntax
>>>Curious, what makes a variable go bad?
Bill
My Plugin: My People
My Plugin: My People
Re: Domio gets notifications, device history, live widgets and more
So sorry for dominating this thread. After I updated the permissions on that folder (Thanks for the trouble shoot Jay), and after I found the four bad variables and deleted them.... Notifications cleared up. (Sent myself a test notification successfully) No goofy 500 erros. And even the Shortcuts app can now be used to update a variable via dom.io
I think that fixed everything. Yall are awesome!
Ok. What can I break next?
I think that fixed everything. Yall are awesome!
Ok. What can I break next?
Bill
My Plugin: My People
My Plugin: My People
- durosity
- Posts: 4810
- Joined: Thu May 10, 2012 3:21 pm
- Location: Newcastle Upon Tyne, Ye Ol' England.
Re: Domio gets notifications, device history, live widgets and more
My spirit! Oh wait, that’s already happened!
Computer says no.
Re: Domio gets notifications, device history, live widgets and more
Can you share details to Jay please of the variables breaking the callwhmoorejr wrote:So sorry for dominating this thread. After I updated the permissions on that folder (Thanks for the trouble shoot Jay), and after I found the four bad variables and deleted them.... Notifications cleared up. (Sent myself a test notification successfully) No goofy 500 erros. And even the Shortcuts app can now be used to update a variable via dom.io
I think that fixed everything. Yall are awesome!
Ok. What can I break next?
Re: Domio gets notifications, device history, live widgets and more
This has been pushed to Apple for release. Will be 2.3 and includes the Matter functionality, DSC alarm support, network improvements and improved ability to register a device for notifications if not done on startup.
I’ll pull this debugging an indigo issue out into another thread as was indigo not dom.io issue.
Next release will be expanding the number of devices it can control.
I’ll pull this debugging an indigo issue out into another thread as was indigo not dom.io issue.
Next release will be expanding the number of devices it can control.
- jay (support)
- Site Admin
- Posts: 19232
- Joined: Wed Mar 19, 2008 11:52 am
- Location: Austin, Texas
- Contact:
Re: Domio gets notifications, device history, live widgets and more
Glad you got it working - yes, can you please share the details of those "bad" variables so I can reproduce the error?
Re: Domio gets notifications, device history, live widgets and more
Part of the log from when I ran that script:jay (support) wrote: ↑Thu Jun 18, 2026 6:44 am Glad you got it working - yes, can you please share the details of those "bad" variables so I can reproduce the error?
Code: Select all
2026-06-17 17:41:23.470 Web Server Warning HTTP API v2 GET call received for indigo.variables/1924392604 from 127.0.0.1
2026-06-17 17:41:23.470 Web Server Warning undefined page for request /v2/api/indigo.variables/1924392604 from 127.0.0.1
2026-06-17 17:41:23.470 Interactive Shell Error BAD 404: id=1924392604 name='smtpd_messageFrom'
2026-06-17 17:41:23.471 Web Server Warning HTTP API v2 GET call received for indigo.variables/357203846 from 127.0.0.1
2026-06-17 17:41:23.471 Web Server Warning undefined page for request /v2/api/indigo.variables/357203846 from 127.0.0.1
2026-06-17 17:41:23.471 Interactive Shell Error BAD 404: id=357203846 name='smtpd_messageSubject'
2026-06-17 17:41:23.472 Web Server Warning HTTP API v2 GET call received for indigo.variables/1114385026 from 127.0.0.1
2026-06-17 17:41:23.472 Web Server Warning undefined page for request /v2/api/indigo.variables/1114385026 from 127.0.0.1
2026-06-17 17:41:23.472 Interactive Shell Error BAD 404: id=1114385026 name='smtpd_messageText'
2026-06-17 17:41:23.473 Web Server Warning HTTP API v2 GET call received for indigo.variables/1442611324 from 127.0.0.1
2026-06-17 17:41:23.473 Web Server Warning undefined page for request /v2/api/indigo.variables/1442611324 from 127.0.0.1
2026-06-17 17:41:23.473 Interactive Shell Error BAD 404: id=1442611324 name='smtpd_messageTo'
2026-06-17 17:41:23.474 Web Server Warning HTTP API v2 GET call received for indigo.variables/539012128 from 127.0.0.1
2026-06-17 17:41:23.474 Web Server Warning HTTP API v2 GET call received for indigo.variables/774293101 from 127.0.0.1Bill
My Plugin: My People
My Plugin: My People
Re: Domio gets notifications, device history, live widgets and more
Now that it's working on mine, I really love how well it works and the ability to deep link into pages, devices etc without a bunch of extra clicking on stuff.
I have a couple requests to make it a true replacement for how I use pushover (general feature requests):
URL deep linking:
- blueiris://?camera=SHORTNAME Direct to a camera in the blueiris app
https://tempestwx.com/station/STATION_ID/ External link to a local weather station
? Is there a url to go to the notifications history? Or maybe that should be the default deep link if one isn't set?
Scriptable:
Some of the pushover messages I send are beyond the scope of the plugin, so I use python scripts to handle those.
Banner Icon / Title options:
With pushover, I use multiple icons (different API Tokens) to quicky differentiate the notification category: Indigo (Catch All), Motion, Front Door, Climate, CDRA (My office), Emergency, GeoLocation (Any location based event), Security (Catch all for a security event that's not an emergency, Cyber (networking events). Yes, I could just make that the title, but it would be cool if the icon could change so even when your screen is locked, you could know right away.
Sound Options:
I don't really use this because my phone is on silent mostly... Some might find it usefull for differentiating between a update notification and an urgent notification.
Image / GIF Support?
I guess technically you could do this now with a control page that has a refreshing image.
Example: When my front door camera detects motion, Indigo pulls a static image of whatever created that motion event (human, dog, bicycle, etc). That image is saved twice: Once as CAMERA_NAME_Date:Time.jpg in a camera log folder, and once as "R.jpg". So the rotating image "R.jpg" is always my most current "threat". So if I want a notification associated with that camera, I include "Rotate.jpg" as part of the payload for the notification.
Alternatively, could you possibly deep link to an image on the indigo server (in the way a control page uses a refreshing image URL.... but without the control page)? Example from one of my control pages:
Code: Select all
file:///Users/williammoore/Desktop/IPCamRotate/R.jpgBill
My Plugin: My People
My Plugin: My People