Announcement

Collapse
No announcement yet.

New user startup configuration errors

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Guest's Avatar
    Guest replied
    Thanks for that background. So can I delete the mcsTemperature.ini file that holds device information in order to start from scratch? I am basically confused right now as to which device it sees and which one it does not see. If I start from scratch with one device connected then I'll know it sees that device only.

    The other option is that I test the temperature readings of one device and heat the device to see the response. That would correlate it with the device id.

    Leave a comment:


  • Michael McSharry
    replied
    You have one device FF0000001527DD26 detected as mcsTemperature polled the 1-wire bus. The rate at which it polls is setup on the Interface/Main page of mcsTemperature.

    The information about the sensors and their configuration is stored in \Config\mcsTemperature.ini. The previous readings are stored in the database. Forecast related setup information is stored in \Config\mcsForecast.ini and the prior readings also stored in the database selected to store forecast data.

    One a sensor is detected you need to configure what the sensor readings represent. If you have purchased Humidity/Temperature devices then the First device should be setup on the Sensor Page to be Humidity. It looks like you have selected it to be a Barometer. It may default to a barometer. Both the Humidity and Barometer hardware use the same DS2438 1-wire hardware device so the software cannot distinguish and you must select it to be Humidity.

    The DS2438 also makes available voltage measurements and mcsTemperature also calculates the rate of the first (Barometer/Humidity) device. These are what you are seeing in R19, R21, R22, and R23. You likely have no interest in these so clear out the Device Code and Location/Name fields of them on the Sensor Page of mcsTemperature.

    You should add sensors of the same time one at a time so you can distinguish which is which. Each sensor has a unique 16 character serial number. mcsTemperature adds a suffix to identify how it has been configured (e.g. Barometer vs Humidity)

    The Update button causes the web page settings to be saved to the .ini files. The sensors are only polled at the rate you have setup. The General Debug checkbox will not help you here, but the Show Raw Data will echo the raw communications with the sensors to the HS log for debugging. It looks like your B, C;, and D sensors are not connected or the polling interval is sufficiently long that it was not executed when these sensors were connected.

    Leave a comment:


  • Guest's Avatar
    Guest replied
    I have GeneralDebug selected and restarted HS. What does this information mean? I should have 3 devices that are each temperature and humidity sensors combined. This list looks identical to the single Temp/humidity sensor I first plugged in. Is there a way to delete all information about past sensors and start from scratch? Also, whatever device this is, the temperature never changes and the humidity looks wrong, so I don't know how to diagnose the problem.

    4/1/2007 7:39:44 PM mcsTemperature Sensor Info FF0000001527DD26B, HS:R18, Index:, DB:sFF0000001527DD26B,8,1
    4/1/2007 7:39:44 PM mcsTemperature Sensor Info FF0000001527DD26K, HS:R19, Index:, DB:sFF0000001527DD26K,9,1
    4/1/2007 7:39:44 PM mcsTemperature Sensor Info FF0000001527DD26, HS:R20, Index:, DB:tFF0000001527DD26,0,1
    4/1/2007 7:39:44 PM mcsTemperature Sensor Info FF0000001527DD26V, HS:R21, Index:97, DB:sFF0000001527DD26V,20,1
    4/1/2007 7:39:44 PM mcsTemperature Sensor Info FF0000001527DD26V1, HS:R22, Index:97, DB:sFF0000001527DD26V1,20,1
    4/1/2007 7:39:45 PM mcsTemperature Sensor Info FF0000001527DD26V2, HS:R23, Index:97, DB:sFF0000001527DD26V2,20,1
    4/1/2007 7:39:53 PM mcsTemperature Debug EvaluateDeviceAction DeviceActionCollection.Count=0, MonitoredEventCount=0
    4/1/2007 7:41:48 PM mcsTemperature Debug Setup Page Unload
    4/1/2007 7:41:54 PM mcsTemperature Debug EvaluateDeviceAction DeviceActionCollection.Count=0, MonitoredEventCount=0

    Leave a comment:


  • Guest's Avatar
    Guest replied
    I am new to mcsTemperature and I'm trying to learn this plugin and debug my hardware at the same time. So far I plugged one temp sensor into the DS9x9x and was able to press "Update" in the "Interface/Main" menu and get the device detected and read (call this device A). I also turned on "General Debug" and "Show Raw Data"

    I then switched out that device for a string of 3 devices that were on my 1wire network (B, C, D). I was unable to tell if it detected anything, or if it failed. My guess was that it failed, but it kept displaying devices, and I had no way to tell if those were the old or new devices. So I shut down HS and renamed my mcsTemperature.mdb file to mcsTemperature.mdb.bak hoping it would forget those old devices. I still did not find any new devices, so I switched back to the first device (A). Now the log appears to display the same set of device information no matter what device is actually plugged in:
    3/31/2007 10:52:06 PM mcsTemperature Sensor Info FF0000001527DD26B, HS:R18, Index:, DB:sFF0000001527DD26B,8,1
    3/31/2007 10:52:06 PM mcsTemperature Sensor Info FF0000001527DD26K, HS:R19, Index:, DB:sFF0000001527DD26K,9,1
    3/31/2007 10:52:06 PM mcsTemperature Sensor Info FF0000001527DD26, HS:R20, Index:, DB:tFF0000001527DD26,0,1
    3/31/2007 10:52:06 PM mcsTemperature Sensor Info FF0000001527DD26V, HS:R21, Index:97, DB:sFF0000001527DD26V,20,1
    3/31/2007 10:52:06 PM mcsTemperature Sensor Info FF0000001527DD26V1, HS:R22, Index:97, DB:sFF0000001527DD26V1,20,1
    3/31/2007 10:52:06 PM mcsTemperature Sensor Info FF0000001527DD26V2, HS:R23, Index:97, DB:sFF0000001527DD26V2,20,1
    3/31/2007 10:52:23 PM mcsTemperature Debug Setup Page Unload
    3/31/2007 10:52:55 PM mcsTemperature Debug EvaluateDeviceAction DeviceActionCollection.Count=0, MonitoredEventCount=0
    3/31/2007 10:53:08 PM Info Event Trigger "Back Stair occupied"
    3/31/2007 10:53:08 PM Info Delayed Device Action Removed: 2nd Floor Virtual Virtual Back Stair Occupied
    3/31/2007 10:53:08 PM Info Device: Virtual 2nd Floor Virtual Back Stair Occupied (Z3) ON
    3/31/2007 10:53:55 PM mcsTemperature Debug Log Temperature Sensor Count=6, INSERT INTO Temperature(SampleDate,sFF0000001527DD26B,sFF0000001527DD26K ,tFF0000001527DD26,sFF0000001527DD26V,sFF0000001527DD26V1,sF F0000001527DD26V2) SELECT #2007-03-31 10:53:55 PM# AS QT,228 AS Q0,38 AS Q1,5710 AS Q2,476 AS Q3,228 AS Q4,0 AS Q5
    3/31/2007 10:54:01 PM mcsTemperature Debug EvaluateDeviceAction DeviceActionCollection.Count=0, MonitoredEventCount=0
    3/31/2007 10:54:19 PM HAI Thermostat 1st Floor Main Thermostat TStat Bedroom Current Temp changed from Off to Heating
    3/31/2007 10:54:42 PM mcsTemperature Sensor Info FF0000001527DD26B, HS:R18, Index:, DB:sFF0000001527DD26B,8,1
    3/31/2007 10:54:42 PM mcsTemperature Sensor Info FF0000001527DD26K, HS:R19, Index:, DB:sFF0000001527DD26K,9,1
    3/31/2007 10:54:42 PM mcsTemperature Sensor Info FF0000001527DD26, HS:R20, Index:, DB:tFF0000001527DD26,0,1
    3/31/2007 10:54:42 PM mcsTemperature Sensor Info FF0000001527DD26V, HS:R21, Index:97, DB:sFF0000001527DD26V,20,1
    3/31/2007 10:54:42 PM mcsTemperature Sensor Info FF0000001527DD26V1, HS:R22, Index:97, DB:sFF0000001527DD26V1,20,1
    3/31/2007 10:54:42 PM mcsTemperature Sensor Info FF0000001527DD26V2, HS:R23, Index:97, DB:sFF0000001527DD26V2,20,1
    3/31/2007 10:55:01 PM mcsTemperature Debug Setup Page Unload

    The devices at 10:52 had device A plugged in. The devices at 10:54 had devices B,C,D plugged in. My guess is that it is not seeing anything out there with the second set, but then why does it come back with these old devices? How can I debug and diagnose what is wrong with my hardware connections? What I need is for the plugin to tell me what is out there on the 1wire bus, not in the past, but in the moment.

    If I'm approaching this all wrong please give me another direction.

    Thanks.

    Leave a comment:


  • Michael McSharry
    replied
    These errors should all disappear after you first data samples are stored in the database. The other problem that some have had is with the creation of the min and max forecast fields in the databse. If you get errors related to this then grab the database template at post #75 in thread http://board.homeseer.com/showthread...=116165&page=4 and replace your database with this one. If you do this it will destroy the data you have collected.

    Leave a comment:


  • Guest's Avatar
    Guest started a topic New user startup configuration errors

    New user startup configuration errors

    I installed and "discovered" one device that has temp and humidity. Log file errors:

    3/30/2007 11:53:20 PM - Database Item - Saving Device FF0000001527DD26B
    3/30/2007 11:53:32 PM - mcsTemperature - Creating database fields sFF0000001527DD26B in C:\Program Files\HomeSeer 2\mcsTemperature.mdb\Temperature
    3/30/2007 11:53:33 PM - mcsTemperature - Creating database fields sFF0000001527DD26K in C:\Program Files\HomeSeer 2\mcsTemperature.mdb\Temperature
    3/30/2007 11:53:34 PM - mcsTemperature - Creating database fields tFF0000001527DD26 in C:\Program Files\HomeSeer 2\mcsTemperature.mdb\Temperature
    3/30/2007 11:53:39 PM - mcsTemperature - Creating database fields sFF0000001527DD26V in C:\Program Files\HomeSeer 2\mcsTemperature.mdb\Temperature
    3/30/2007 11:53:41 PM - mcsTemperature - Creating database fields sFF0000001527DD26V1 in C:\Program Files\HomeSeer 2\mcsTemperature.mdb\Temperature
    3/30/2007 11:53:41 PM - mcsTemperature - Creating database fields sFF0000001527DD26V2 in C:\Program Files\HomeSeer 2\mcsTemperature.mdb\Temperature
    3/30/2007 11:53:45 PM - Database Item - Saving Device FF0000001527DD26K
    3/30/2007 11:53:46 PM - Database Item - Saving Device FF0000001527DD26
    3/30/2007 11:53:46 PM - Database Item - Saving Device FF0000001527DD26V
    3/30/2007 11:53:47 PM - Database Item - Saving Device FF0000001527DD26V1
    3/30/2007 11:53:47 PM - Database Item - Saving Device FF0000001527DD26V2
    3/30/2007 11:54:29 PM - Info - Web Server authorized local login successful from: 127.0.0.1 User: default
    3/30/2007 11:54:36 PM - Info - Web Server authorized local login successful from: 192.168.0.2 User: default
    3/30/2007 11:54:37 PM - mcsTemperature - FormatTemperatureScreen on line 2120 Syntax error (missing operator) in query expression 'ID='.
    3/30/2007 11:54:41 PM - mcsTemperature - FormatTemperatureScreen on line 2120 Syntax error (missing operator) in query expression 'ID='.
    3/30/2007 11:54:53 PM - mcsTemperature - Creating database table for forecast data in C:\Program Files\HomeSeer 2\mcsTemperature.mdb\Forecast
    3/30/2007 11:54:54 PM - mcsTemperature - ForecastASP: on line 890 Invalid use of Null
    3/30/2007 11:55:07 PM - Error - Web Server Error 404, cannot serve file: C:\Program Files\HomeSeer 2\html/images/weather/_w.gif
    3/30/2007 11:55:15 PM - Error - Web Server Error 404, cannot serve file: C:\Program Files\HomeSeer 2\html/images/weather/_w.gif
    3/30/2007 11:55:43 PM - mcsTemperature - FormatTemperatureScreen on line 2120 Syntax error (missing operator) in query expression 'ID='.
    3/30/2007 11:55:46 PM - mcsTemperature - FormatTemperatureScreen on line 2120 Syntax error (missing operator) in query expression 'ID='.
Working...
X