Page 1 of 2

Webserver could not find device errors

PostPosted: Sun Nov 19, 2017 1:25 pm
by pgpappas
Since Version 7.1 but now using V7.1.1 my event log keeps repeating (24/7) device not found errors over and over. Most of these devices no longer exist in my system. The devices have either been repurposed or replaced. For example the "Upstairs Floor Lamp" actually is now used for a lamp in my bedroom, this device in its new location no longer responds to commands. Other devices do work occasionally. I have tried Re-Syncing these devices with mixed results. I have also completely re-synced the modem interface. Due to the excessive log responses all working devices respond very slowly. I am using a fairly new PowerLinc 2413U Modem. All devices worked correctly, including the repurposed devices with Version 7.0. Is this a coincidence or am I having a modem issue? What else can I do? See sample section of the log below.

WebServer could not find device "Upstairs Floor Lamp"
WebServer could not find device "Off KeypadLinc #2"
WebServer could not find device "Rec Room Door Left-KeypadLinc Dimmer"
WebServer could not find device "Living Room Lamps"
WebServer could not find device "Master Bedroom Peter's Lamp"
WebServer could not find device "Master Bedroom Robyn's Lamp"
WebServer could not find device "Upstairs Floor Lamp"
WebServer could not find device "Off KeypadLinc #2"
WebServer could not find device "Rec Room Door Left-KeypadLinc Dimmer"
WebServer could not find device "Living Room Lamps"
WebServer could not find device "Master Bedroom Peter's Lamp"
WebServer could not find device "Master Bedroom Robyn's Lamp"
WebServer could not find device "Upstairs Floor Lamp"
WebServer could not find device "Off KeypadLinc #2"
WebServer could not find device "Rec Room Door Left-KeypadLinc Dimmer"
WebServer could not find device "Living Room Lamps"
WebServer could not find device "Master Bedroom Peter's Lamp"
WebServer could not find device "Master Bedroom Robyn's Lamp"
WebServer could not find device "Upstairs Floor Lamp"
WebServer could not find device "Off KeypadLinc #2"
WebServer could not find device "Rec Room Door Left-KeypadLinc Dimmer"
WebServer could not find device "Living Room Lamps"
WebServer could not find device "Master Bedroom Peter's Lamp"
WebServer could not find device "Master Bedroom Robyn's Lamp"
WebServer could not find device "Upstairs Floor Lamp"
WebServer could not find device "Off KeypadLinc #2"
WebServer could not find device "Rec Room Door Left-KeypadLinc Dimmer"
WebServer could not find device "Living Room Lamps"
WebServer could not find device "Master Bedroom Peter's Lamp"
WebServer could not find device "Master Bedroom Robyn's Lamp"
WebServer could not find device "Upstairs Floor Lamp"
WebServer could not find device "Off KeypadLinc #2"
WebServer could not find device "Rec Room Door Left-KeypadLinc Dimmer"
WebServer could not find device "Living Room Lamps"
WebServer could not find device "Master Bedroom Peter's Lamp"
WebServer could not find device "Master Bedroom Robyn's Lamp"
WebServer could not find device "Upstairs Floor Lamp"

Re: Webserver could not find device errors

PostPosted: Sun Nov 19, 2017 5:43 pm
by matt (support)
Do you have any computers or devices (iPhone, iPad, other tablets) that are accessing Indigo? I think those types of WebServer errors would only occur if there was a device accessing Indigo's WebServer (via a Control Page, or device page).

Also have you installed any Indigo WebServer plugins? I wonder if the requests are coming from a plugin.

Re: Webserver could not find device errors

PostPosted: Sun Nov 19, 2017 9:00 pm
by pgpappas
My iMac is a client to my Indigo server on a mac mini. I also run Indigo Touch on our iPhones and iPads. All seem to function except for the Webserver errors. It also doesn't explain the device not found errors for devices no longer part of my database. The only variables are the updates to Indigo and iOS 11.1.

Re: Webserver could not find device errors

PostPosted: Sun Nov 19, 2017 9:21 pm
by matt (support)
Close out of all browsers and Indigo Touch app runs on all devices to see if the errors stop.

Re: Webserver could not find device errors

PostPosted: Sun Nov 19, 2017 9:54 pm
by pgpappas
There origin of this error appears to be in the log sample below. This is an iPad Pro. How can we solve it.

Nov 19, 2017 at 10:36:08 PM
WebServer access denied "http://192.168.2.16:8176/devices/An unused lamp dimmer.xml" from pgpappas @ 192.168.2.105
WebServer could not find device "Off KeypadLinc #2"
WebServer could not find device "Rec Room Door Left-KeypadLinc Dimmer"
WebServer could not find device "Living Room Lamps"
WebServer could not find device "Master Bedroom Peter's Lamp"
WebServer could not find device "Master Bedroom Robyn's Lamp"
WebServer could not find device "Upstairs Floor Lamp"
WebServer could not find device "Off KeypadLinc #2"
WebServer could not find device "Rec Room Door Left-KeypadLinc Dimmer"
WebServer could not find device "Living Room Lamps"
WebServer could not find device "Master Bedroom Peter's Lamp"
WebServer could not find device "Master Bedroom Robyn's Lamp"

Re: Webserver could not find device errors

PostPosted: Sun Nov 19, 2017 10:47 pm
by pgpappas
I was wrong about the iPad. I disconnected all clients and deleted the Indigo touch app from all iOS devices. I then stopped the server. After restarting the server with no other clients running the error persisted. See the log below for details.

Nov 19, 2017, 11:35:44 PM
Starting Indigo Server version 7.1.1 (Mac OS X 10.11.6)
Loading attachments
"device target attachment.scpt" script loaded
"group target attachment.scpt" script loaded
"growl attachment.scpt" script loaded
"iTunes attachment.scpt" script loaded
"scenes attachment.scpt" script loaded
"time stamp attachment.scpt" script loaded
Loading database "/Library/Application Support/Perceptive Automation/Indigo 7/Databases/Pappas House V7.indiDb"
Loading plugin "Action Collection 2.0.4"
Starting plugin "Action Collection 2.0.4" (pid 4171)
Loading interface "INSTEON Commands 2.0.10"
Starting interface "INSTEON Commands 2.0.10" (pid 4172)
Loading plugin "Ecobee 1.1.1"
Starting plugin "Ecobee 1.1.1" (pid 4173)
Loading plugin "iTunes 2.0.4"
Starting plugin "iTunes 2.0.4" (pid 4174)
Loading plugin "Timers and Pesters 2.0.2"
Starting plugin "Timers and Pesters 2.0.2" (pid 4175)
Loading interface "Virtual Devices 2.0.4"
Starting interface "Virtual Devices 2.0.4" (pid 4176)
Found disabled interface "Z-Wave 2.0.111"
Found disabled plugin "Airfoil Pro 1.0.9"
Found disabled plugin "Airfoil 1.1.14"
Found disabled plugin "DIRECTV DVR Control 1.1.1"
Found disabled plugin "EasyDAQ Relay Card 2.0.3"
Found disabled plugin "Global Property Manager 2.0"
Found disabled plugin "Growl 2.0.2"
Found disabled plugin "iCal Alarm Processor 2.0.1"
Found disabled plugin "NOAA Weather 2.0.1"
Found disabled plugin "SQL Logger 2.0.7"
Found disabled plugin "Vera Bridge 1.0.10"
Found disabled plugin "WeatherSnoop 2.1.3"
Bonjour registered "Indigo - Pappas House V7"
Indigo Cocoa client connected
Started interface "Virtual Devices 2.0.4"
Started plugin "Timers and Pesters 2.0.2"
Started plugin "iTunes 2.0.4"
Reflector starting reflector connection to https://pappas4.indigodomo.net
WebServer client connected
WebServer started on port 8176 -- digest authentication enabled
WebServer client connected
WebServer started on port 8176 -- digest authentication enabled
Started plugin "Action Collection 2.0.4"
Started interface "INSTEON Commands 2.0.10"
WebServer could not find device "Off KeypadLinc #2"
Ecobee Error pyecobee: not authenticated to Ecobee servers
Ecobee Error request status code: 500
Ecobee Error Ecobee device requires authentication; open plugin configuration page for info
Started plugin "Ecobee 1.1.1"
Ecobee added remote sensor XRBG
Ecobee added smart thermostat 311065661944
WebServer could not find device "Rec Room Door Left-KeypadLinc Dimmer"

Nov 19, 2017, 11:35:57 PM
Connected to PowerLinc 2413U interface on port usbserial-A60338DP
PowerLinc address 2F.F8.84, firmware version 9.11
WebServer could not find device "Living Room Lamps"
WebServer could not find device "Master Bedroom Peter's Lamp"
WebServer could not find device "Master Bedroom Robyn's Lamp"
WebServer could not find device "Upstairs Floor Lamp"
WebServer could not find device "Off KeypadLinc #2"
WebServer could not find device "Rec Room Door Left-KeypadLinc Dimmer"
WebServer could not find device "Living Room Lamps"
WebServer could not find device "Master Bedroom Peter's Lamp"
WebServer could not find device "Master Bedroom Robyn's Lamp"
WebServer could not find device "Upstairs Floor Lamp"
WebServer could not find device "Off KeypadLinc #2"
WebServer could not find device "Rec Room Door Left-KeypadLinc Dimmer"
WebServer could not find device "Living Room Lamps"
WebServer could not find device "Master Bedroom Peter's Lamp"
WebServer could not find device "Master Bedroom Robyn's Lamp"
WebServer could not find device "Upstairs Floor Lamp"
WebServer could not find device "Off KeypadLinc #2"

Re: Webserver could not find device errors

PostPosted: Tue Nov 21, 2017 12:26 pm
by matt (support)
Okay, I've searched the source code for both Indigo's Web server, Indigo Server, and all of the plugins we include in our installer, and cannot find the string "WebServer could not find" string anywhere. I think that is coming from a 3rd party plugin or some periodic script you are running.

So choose the Plugins->Manage Plugins... menu item, then one at a time uncheck the Enabled checkbox for each plugin and wait a few seconds while watching the Event Log to see if the message stops logging. If that doesn't do it, then try a similar approach with your Indigo Schedules that are running any scripts.

Re: Webserver could not find device errors

PostPosted: Tue Nov 21, 2017 12:32 pm
by matt (support)
Addendum: I just was able to make Indigo Web Server show that error by accessing a RESTful URL for a device that doesn't exist. I'm not sure why my grep of Indigo Web Server didn't find it, but I think this is a clue that it probably some app/plugin/script that is trying to access the Indigo Web Server using a RESTful URL for the old device names. Other than that, I'm not sure where it is coming from.

Re: Webserver could not find device errors

PostPosted: Tue Nov 21, 2017 12:48 pm
by pgpappas
Based on what you just said I have figured out what is generating this error. It is not any of the plugins. It is coming from Simple Control Home Remote Version 5, their newest release. Their previous version 4.5 worked without error. Is there any way you can work with the Simple Control people to figure out what is going wrong? I use the Simple Control link with Indigo to execute actions controlling lighting in my home theater.

I have a second unrelated question for you. Can I use an Insteon Hub Plus with Homekit running i parallel with Indigo. I want to use the Hub to be able to control my lights using Siri and use Indigo for everything else.

Re: Webserver could not find device errors

PostPosted: Tue Nov 21, 2017 7:28 pm
by jay (support)
pgpappas wrote:
Based on what you just said I have figured out what is generating this error. It is not any of the plugins. It is coming from Simple Control Home Remote Version 5, their newest release. Their previous version 4.5 worked without error. Is there any way you can work with the Simple Control people to figure out what is going wrong? I use the Simple Control link with Indigo to execute actions controlling lighting in my home theater.


The solution is to remove the deleted devices in Simple Control (or change their names so that they're correct). I believe that's what Matt is saying.

pgpappas wrote:
I have a second unrelated question for you. Can I use an Insteon Hub Plus with Homekit running i parallel with Indigo. I want to use the Hub to be able to control my lights using Siri and use Indigo for everything else.


You don't need the hub - check out the Homebridge Buddy 3rd party plugin to get Siri to control Indigo devices.

You won't like the device state sync issues if you try to run an Insteon hub alongside a PowerLinc.

Re: Webserver could not find device errors

PostPosted: Tue Nov 21, 2017 7:54 pm
by pgpappas
I am not sure how to do what you suggest. None of the devices exist in Indigo or Simple Control. The manifest of the Indigo Server device in Simple Control does not have any of the Insteon Devices that are showing in the Indigo log. The Indigo Actions I am running within my Simple Control activities do work correctly.

Re: Webserver could not find device errors

PostPosted: Tue Nov 21, 2017 8:05 pm
by matt (support)
Devices using those old, not non-existent names, are being stored somewhere by Simple Control Home's app. I'd suggest deleting the app and re-installing it to see if that helps. If that doesn't help you will have to contact the Simple Control Home app developer.

Re: Webserver could not find device errors

PostPosted: Wed Nov 22, 2017 12:22 am
by pgpappas
Thanks for your help so far. I want to install Homebridge Server and Homebridge Buddy as you suggested. The problem is that I am totally confused about how to do it. All the information I have found is way above my head, Can you provide me with simple instructions on how to download and install these plugins. I am not comfortable using Terminal. I just need a simple Package installer for each one.

Re: Webserver could not find device errors

PostPosted: Wed Nov 22, 2017 11:17 am
by matt (support)
There aren't simple installers for those. You'll have to follow the instructions supplied by those plugin developers for installing and configuring the plugins.

Re: Webserver could not find device errors

PostPosted: Sat Apr 28, 2018 3:55 am
by evansgo
If it helps anyone in the future I had this and just deleted the INDIGO DEVICE in simple control. Then re-add it and all should be ok again.
I had deleted a load of unify devices that must have somehow got stored in simple control.