Indigo seems to have Alzheimer's?

Posted on
Wed Sep 26, 2018 4:53 am
bschollnick2 offline
Posts: 1355
Joined: Oct 17, 2004
Location: Rochester, Ny

Indigo seems to have Alzheimer's?

Okay,

Ever since I moved Indigo over to my personal machine it's been flakey.

I replaced the failing 2313u, which I thought was the cause to periodically relink everything.
I've blamed the power supply on the 3d printer, on communication issues, which I filterlinced.

But I woke up, and Indigo told my I must of changed a module in my sleep, because it wanted to resync a module?
And now, I'm seeing phantom Insteon traffic from devices that don't seem to exist,

And I'm being forced to resync *ALL* links again, to regain control over the house.

But it seems more like Indigo is just forgetting the changes I've made every few weeks? Is this possible?

I'm already seriously considering on doing a clean OS re-install on this machine, but I don't know why this could be happening.

Matt, Jay, am I going insane? Could there be some reason that Indigo keeps flaking out on me?
Is there some other way to troubleshoot this so that I can prove what is causing the problem?

------
My Plugins for Indigo (v4, v5, and v6) - http://bit.ly/U8XxPG

Security Script for v4 - http://bit.ly/QTgclf
for v5 - http://bit.ly/T6WBKu

Support Forum(s) - http://www.perceptiveautomation.com/userforum/viewforum.php?f=33

Posted on
Wed Sep 26, 2018 10:47 am
matt (support) offline
Site Admin
User avatar
Posts: 21417
Joined: Jan 27, 2003
Location: Texas

Re: Indigo seems to have Alzheimer's?

If the file/folder permissions for Indigo's database file (and parent folder) aren't correct then it would be possible that changes to the database aren't being saved, and thus would be lost after every Indigo Server restart. There would be errors in the Event Log file if that is the case.

Image

Posted on
Wed Sep 26, 2018 11:37 am
bschollnick2 offline
Posts: 1355
Joined: Oct 17, 2004
Location: Rochester, Ny

Re: Indigo seems to have Alzheimer's?

matt (support) wrote:
If the file/folder permissions for Indigo's database file (and parent folder) aren't correct then it would be possible that changes to the database aren't being saved, and thus would be lost after every Indigo Server restart. There would be errors in the Event Log file if that is the case.


I'll take a look, I haven't noticed any errors in the log file. And I've restarted the server multiple times without it losing it's data....
Can you give me a phrase to search for? Or "permissions" should be enough?

Sorry, I can't be more helpful right now, I'm not sure what I am looking for.

- Benjamin

------
My Plugins for Indigo (v4, v5, and v6) - http://bit.ly/U8XxPG

Security Script for v4 - http://bit.ly/QTgclf
for v5 - http://bit.ly/T6WBKu

Support Forum(s) - http://www.perceptiveautomation.com/userforum/viewforum.php?f=33

Posted on
Wed Sep 26, 2018 2:14 pm
bschollnick2 offline
Posts: 1355
Joined: Oct 17, 2004
Location: Rochester, Ny

Re: Indigo seems to have Alzheimer's?

matt (support) wrote:
If the file/folder permissions for Indigo's database file (and parent folder) aren't correct then it would be possible that changes to the database aren't being saved, and thus would be lost after every Indigo Server restart. There would be errors in the Event Log file if that is the case.


Okay, I just went through today's log and I don't see any mention of permissions related issues...

A fragment of the log file is below.

But when restarted, Indigo claimed that a module needed to be resync'd. So I suspect there is a permissions issue, even though it is not in the log.

What should the permissions be set to? I vaguely remember there being a permissions fix in Indigo, but I don't see it.

Ah! The wiki. I just needed to know what to search for.

-- Indigo Folder/File Permission Fixer --
Home User: Benjamin
ID User: Benjamin
Folder: /Library/Application Support/Perceptive Automation/Indigo 7
Repairing Indigo folder owner and permissions:
Original: drwxrwxrwx / Benjamin : admin
New: drwxrwxr-x / Benjamin : admin
Complete.
Repairing Prism Reflector key file permissions:
chmod: /Library/Application Support/Perceptive Automation/Indigo 7/Preferences/PrismReflector/ssh_config: No such file or directory
Complete.

I'll see how that works out...

Code: Select all
2018-09-26 16:02:50.735   Z-Wave   received "House Power - 002 - Clamp 2" power load to 256.630 W
2018-09-26 16:02:51.179   Z-Wave   received "House Power - 002 - Clamp 1" energy total to 254.926 kWh
2018-09-26 16:02:51.405   Z-Wave   received "House Power - 002 - Clamp 2" energy total to 106.493 kWh
2018-09-26 16:04:05.565   Application   Quitting Indigo Server - received slow quit signal
2018-09-26 16:04:05.568   Application   Quitting Indigo Server - stopping plugins
2018-09-26 16:04:05.568   Application   Stopping plugin "EPS - Homebridge Buddy 1.0.1" (pid 542)
2018-09-26 16:04:05.569   Application   Stopping plugin "Hue Lights 1.6.6" (pid 543)
2018-09-26 16:04:05.569   Application   Stopping plugin "Action Collection 2.1.0" (pid 538)
2018-09-26 16:04:05.569   Application   Stopping interface "INSTEON Commands 2.2.1" (pid 539)
2018-09-26 16:04:05.569   Application   Stopping interface "Virtual Devices 2.0.5" (pid 546)
2018-09-26 16:04:05.569   Application   Stopping interface "Z-Wave 2.0.116" (pid 540)
2018-09-26 16:04:05.569   Application   Stopping plugin "Energy Monitor 2.10" (pid 541)
2018-09-26 16:04:05.569   Application   Stopping plugin "Survey Plugin 2.21" (pid 544)
2018-09-26 16:04:05.570   Application   Stopping plugin "Switchboard 0.78" (pid 545)
2018-09-26 16:04:05.622   Energy Monitor   Writing all data to disk.
2018-09-26 16:04:06.604   Z-Wave   closed connection to Z-Stick S2
2018-09-26 16:04:06.666   Application   Stopped plugin "Hue Lights 1.6.6"
2018-09-26 16:04:06.666   Application   Stopped plugin "Action Collection 2.1.0"
2018-09-26 16:04:06.667   Application   Stopped interface "INSTEON Commands 2.2.1"
2018-09-26 16:04:06.667   Application   Stopped interface "Virtual Devices 2.0.5"
2018-09-26 16:04:06.667   Application   Stopped plugin "Energy Monitor 2.10"
2018-09-26 16:04:06.667   Application   Stopped plugin "Survey Plugin 2.21"
2018-09-26 16:04:06.667   Application   Stopped plugin "Switchboard 0.78"
2018-09-26 16:04:07.277   Application   Stopped plugin "EPS - Homebridge Buddy 1.0.1"
2018-09-26 16:04:07.668   Application   Stopped interface "Z-Wave 2.0.116"
2018-09-26 16:04:07.672   Application   Quitting Indigo Server - saving database
2018-09-26 16:04:07.716   Application   Quitting Indigo Server - saving preferences
2018-09-26 16:04:09.185   Application   Closed connection to PowerLinc 2413U
2018-09-26 16:04:09.185   Application   Quitting Indigo Server - disconnecting clients
2018-09-26 16:04:10.259   Application   WebServer client disconnected
2018-09-26 16:04:10.603   Application   Indigo Cocoa client disconnected
2018-09-26 16:04:10.705   Reflector   shutdown reflector connection
2018-09-26 16:04:12.434   Application   Quitting Indigo Server - unloading launchd plist
2018-09-26 16:04:12.442   Application   Quitting Indigo Server - complete
----------- Restart ------------
2018-09-26 16:04:17.110   Application   Starting Indigo Server version 7.** (Mac OS X 10.13.6)
2018-09-26 16:04:17.500   Application   Loading attachments
2018-09-26 16:04:17.502   Application   "device target attachment.scpt" script loaded
2018-09-26 16:04:17.503   Application   "group target attachment.scpt" script loaded
2018-09-26 16:04:17.506   Application   "growl attachment.scpt" script loaded
2018-09-26 16:04:17.510   Application   "iTunes attachment.scpt" script loaded
2018-09-26 16:04:17.511   Application   "scenes attachment.scpt" script loaded
2018-09-26 16:04:17.513   Application   "time stamp attachment.scpt" script loaded
2018-09-26 16:04:17.527   Application   Loading database "/Users/Benjamin/indigo/240 crockett drive (Indigo v6.16).indiDb"
2018-09-26 16:04:17.709   Application   Loading plugin "Action Collection 2.1.0"
2018-09-26 16:04:17.710   Application   Starting plugin "Action Collection 2.1.0" (pid 3301)
2018-09-26 16:04:17.711   Application   Loading interface "INSTEON Commands 2.2.1"
2018-09-26 16:04:17.712   Application   Starting interface "INSTEON Commands 2.2.1" (pid 3302)
2018-09-26 16:04:17.713   Application   Loading interface "Z-Wave 2.0.116"
2018-09-26 16:04:17.714   Application   Starting interface "Z-Wave 2.0.116" (pid 3303)
2018-09-26 16:04:17.715   Application   Loading plugin "Energy Monitor 2.10"
2018-09-26 16:04:17.716   Application   Starting plugin "Energy Monitor 2.10" (pid 3304)
2018-09-26 16:04:17.717   Application   Loading plugin "EPS - Homebridge Buddy 1.0.1"
2018-09-26 16:04:17.720   Application   Starting plugin "EPS - Homebridge Buddy 1.0.1" (pid 3305)
2018-09-26 16:04:17.721   Application   Loading plugin "Hue Lights 1.6.6"
2018-09-26 16:04:17.725   Application   Starting plugin "Hue Lights 1.6.6" (pid 3306)
2018-09-26 16:04:17.726   Application   Loading plugin "Survey Plugin 2.21"
2018-09-26 16:04:17.727   Application   Starting plugin "Survey Plugin 2.21" (pid 3307)
2018-09-26 16:04:17.852   Application   Loading plugin "Switchboard 0.78"
2018-09-26 16:04:17.855   Application   Starting plugin "Switchboard 0.78" (pid 3308)
2018-09-26 16:04:17.855   Application   Loading interface "Virtual Devices 2.0.5"
2018-09-26 16:04:17.857   Application   Starting interface "Virtual Devices 2.0.5" (pid 3309)
2018-09-26 16:04:17.858   Application   Found disabled plugin "Airfoil Pro 1.0.9"
2018-09-26 16:04:17.859   Application   Found disabled plugin "EasyDAQ Relay Card 2.0.3"
2018-09-26 16:04:17.860   Application   Found disabled plugin "External IP Address DDNS UpdaterPlugin 1.09"
2018-09-26 16:04:17.860   Application   Found disabled plugin "Find My IDevices 2.00"
2018-09-26 16:04:17.861   Application   Found disabled plugin "Global Property Manager 2.0"
2018-09-26 16:04:17.861   Application   Found disabled plugin "Growl 2.0.2"
2018-09-26 16:04:17.862   Application   Found disabled plugin "iAutomate RFID 2.12"
2018-09-26 16:04:17.862   Application   Found disabled plugin "iCal Alarm Processor 2.0.1"
2018-09-26 16:04:17.862   Application   Found disabled plugin "iTunes 2.0.4"
2018-09-26 16:04:17.863   Application   Found disabled plugin "Nest Motion Sensor 0.5.0"
2018-09-26 16:04:17.863   Application   Found disabled plugin "NOAA Weather 2.0.1"
2018-09-26 16:04:17.863   Application   Found disabled plugin "SQL Logger 2.1.0"
2018-09-26 16:04:17.864   Application   Found disabled plugin "Thermostat Enhan. 2.00"
2018-09-26 16:04:17.864   Application   Found disabled plugin "Example Device - Thermostat 2.0.0"
2018-09-26 16:04:17.864   Application   Found disabled plugin "Timers and Pesters 2.0.2"
2018-09-26 16:04:17.865   Application   Found disabled plugin "WeatherSnoop 3.0.0"
2018-09-26 16:04:17.870   Application   Bonjour registered "Indigo - 240 crockett drive (Indigo v6.16)"
2018-09-26 16:04:18.275   Application   Indigo Cocoa client connected
2018-09-26 16:04:18.367   Reflector   starting reflector connection to https://crockettdrive.indigodomo.net
2018-09-26 16:04:18.478   Application   Started plugin "Survey Plugin 2.21"
2018-09-26 16:04:18.562   Application   Started plugin "Action Collection 2.1.0"
2018-09-26 16:04:18.639   Application   Started interface "INSTEON Commands 2.2.1"
2018-09-26 16:04:18.667   Application   Started interface "Virtual Devices 2.0.5"
2018-09-26 16:04:18.699   Application   Started plugin "Switchboard 0.78"
2018-09-26 16:04:18.699   Switchboard   Switchboard is Monitoring X10 communications
2018-09-26 16:04:18.699   Switchboard   Switchboard is Monitoring Insteon communications
2018-09-26 16:04:18.714   Switchboard   Updating Monitored Device Zone 'Bedroom Light'
2018-09-26 16:04:18.721   Switchboard Error   Error in plugin execution startup:

Traceback (most recent call last):
  File "plugin.py", line 669, in startup
  File "plugin.py", line 270, in re_init_zones_with_trigger_status
KeyError: key id 767968890 not found in database

2018-09-26 16:04:18.744   Energy Monitor   Energy Monitor, Sleep Interval is 900
2018-09-26 16:04:18.744   Energy Monitor   PReferences DAtaLogcation - ~/Dropbox/HomeAutomation/Energy_Data
2018-09-26 16:04:18.745   Energy Monitor   Energy Data Path - /Users/Benjamin/Dropbox/HomeAutomation/Energy_Data
2018-09-26 16:04:18.753   Application   Started plugin "Energy Monitor 2.10"
2018-09-26 16:04:18.892   Energy Monitor   Loading past energy usage for week 39-2018.pickle
2018-09-26 16:04:18.901   Energy Monitor   Setting up Device - Power Monitor
2018-09-26 16:04:18.901   Energy Monitor   Current Device Version - 3
2018-09-26 16:04:18.903   Energy Monitor   Checking Energy meter 497160003
2018-09-26 16:04:18.907   Energy Monitor   Weekly Label- 39-2018
2018-09-26 16:04:18.907   Energy Monitor   Daily Label- 269-2018
2018-09-26 16:04:18.907   Energy Monitor   Weekly - ['39-2018']
2018-09-26 16:04:18.907   Energy Monitor   Daily - ['267-2018', '269-2018', '268-2018']
2018-09-26 16:04:18.908   Energy Monitor   today - {'accumEnergyTimeDelta': 1661449, 'accumEnergyTotal': 361.393, 'curEnergyLevel': 1801.8, 'time': 'Wed Sep 26 16:04:18 2018'}
2018-09-26 16:04:18.908   Energy Monitor   Writing all data to disk.
2018-09-26 16:04:19.138   Application   Started interface "Z-Wave 2.0.116"
2018-09-26 16:04:19.161   Application   Started plugin "Hue Lights 1.6.6"
2018-09-26 16:04:19.199   Z-Wave   connected to Z-Stick S2 interface on /dev/cu.SLAB_USBtoUART (firmware 3.07)
2018-09-26 16:04:19.202   Hue Lights   Loaded 2 lights.
2018-09-26 16:04:19.202   Hue Lights   Loaded 12 groups.
2018-09-26 16:04:19.203   Hue Lights   Loaded 17 scenes.
2018-09-26 16:04:19.203   Hue Lights   Loaded 7 sensors.
2018-09-26 16:04:19.329   Z-Wave   found module included in controller with no matching device (missing or disabled): 011 - Portable Controller
2018-09-26 16:04:19.408   Application   WebServer client connected
2018-09-26 16:04:19.411   WebServer   started on port 8176 -- digest authentication enabled
2018-09-26 16:04:19.431   Application   Started plugin "EPS - Homebridge Buddy 1.0.1"
2018-09-26 16:04:19.448   EPS - Homebridge Buddy   Starting the Homebridge server 'homenet homebridge', do not try to use Siri until you get a message that the server has started
2018-09-26 16:04:21.905   Trigger   Reset Chime Status @ startup
2018-09-26 16:04:22.423   Application   Connected to PowerLinc 2413U interface on port usbserial-AL02YDC6
2018-09-26 16:04:22.423   Application   PowerLinc address 48.EE.79, firmware version 9.14
2018-09-26 16:04:23.652   EPS - Homebridge Buddy   EPS - Homebridge Buddy is loaded and ready to use
2018-09-26 16:04:34.687   Sent INSTEON   "Kitchen light" on
2018-09-26 16:04:35.949   Sent INSTEON   "Kitchen light" off
2018-09-26 16:04:47.975   Z-Wave   received "Dining Room - 006 - Motion Sensor" status update is off
2018-09-26 16:04:58.236   Z-Wave   received "Rec Room - 004 - Motion Sensor" status update is off
2018-09-26 16:05:19.864   Schedule   _auto_off_Hallway_Keypad
2018-09-26 16:05:20.088   Sent INSTEON   "Hallway_Keypad" off

------
My Plugins for Indigo (v4, v5, and v6) - http://bit.ly/U8XxPG

Security Script for v4 - http://bit.ly/QTgclf
for v5 - http://bit.ly/T6WBKu

Support Forum(s) - http://www.perceptiveautomation.com/userforum/viewforum.php?f=33

Posted on
Wed Sep 26, 2018 2:26 pm
bschollnick2 offline
Posts: 1355
Joined: Oct 17, 2004
Location: Rochester, Ny

Re: Indigo seems to have Alzheimer's?

lanbrown wrote:
I believe the fix for permissions in Indigo is to just rerun the installer again.


I've re-run the installation at least twice.. So that didn't resolve the issue...

I did run the permission fixer, so that may have solved the issue... I'm not sure, but I maybe an edge case the permission fixer didn't account for...

------
My Plugins for Indigo (v4, v5, and v6) - http://bit.ly/U8XxPG

Security Script for v4 - http://bit.ly/QTgclf
for v5 - http://bit.ly/T6WBKu

Support Forum(s) - http://www.perceptiveautomation.com/userforum/viewforum.php?f=33

Posted on
Wed Sep 26, 2018 2:58 pm
matt (support) offline
Site Admin
User avatar
Posts: 21417
Joined: Jan 27, 2003
Location: Texas

Re: Indigo seems to have Alzheimer's?

Your log looks good, although it is a bit odd your database filename hints that it is for an older version of Indigo:

2018-09-26 16:04:17.527 Application Loading database "/Users/Benjamin/indigo/240 crockett drive (Indigo v6.16).indiDb"

Is that the correct file?

Image

Posted on
Wed Sep 26, 2018 5:45 pm
bschollnick2 offline
Posts: 1355
Joined: Oct 17, 2004
Location: Rochester, Ny

Re: Indigo seems to have Alzheimer's?

matt (support) wrote:
Your log looks good, although it is a bit odd your database filename hints that it is for an older version of Indigo:

2018-09-26 16:04:17.527 Application Loading database "/Users/Benjamin/indigo/240 crockett drive (Indigo v6.16).indiDb"

Is that the correct file?


Yes, it appears to be the correct file. I just copied it and re-updated the filename.

I usually change the filename with major releases, but not always...

240 crockett drive (Indigo v6.03).indiDb
240 crockett drive (Indigo v6.16) (v7.1.1).indiDb
240 crockett drive (Indigo v6.16).indiDb
240 crockett drive (Indigo v7.xx).indiDb

This way I have a fall back if something goes explosive.

- Benjamin

------
My Plugins for Indigo (v4, v5, and v6) - http://bit.ly/U8XxPG

Security Script for v4 - http://bit.ly/QTgclf
for v5 - http://bit.ly/T6WBKu

Support Forum(s) - http://www.perceptiveautomation.com/userforum/viewforum.php?f=33

Posted on
Wed Sep 26, 2018 7:33 pm
bschollnick2 offline
Posts: 1355
Joined: Oct 17, 2004
Location: Rochester, Ny

Re: Indigo seems to have Alzheimer's?

lanbrown wrote:
It would be better to have the backups off the Mac Indigo is running on.


And they are. Time Machine is running, and I use the archiving plugin. But if I think about it, I make duplicates of the database before upgrades....
Backup in depth is never a bad idea...

------
My Plugins for Indigo (v4, v5, and v6) - http://bit.ly/U8XxPG

Security Script for v4 - http://bit.ly/QTgclf
for v5 - http://bit.ly/T6WBKu

Support Forum(s) - http://www.perceptiveautomation.com/userforum/viewforum.php?f=33

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 2 guests