Yosemite issues

Posted on
Wed Jan 04, 2017 9:15 pm
travisc offline
User avatar
Posts: 346
Joined: Sep 07, 2010
Location: Toronto, Canada

Re: Yosemite issues

Hmmm, it does appear the 1-wire hardware is working ok. I re-connected my 1-wire bus and tested with Indigo 7 and it appears to work ok. To be honest I'm not sure what's going on. It seems the digitemp binary which the plugin uses to query the 1-wire bus isn't working reliably on your new setup for some reason. I didn't write the digitemp binary, it's a utility the plugin uses to do the dirty work. You could try running digitemp directly to take Indigo and the plugin out of the loop for testing purposes.

1. Disable the plugin in Indigo.
2. Open a terminal
3. Change to the plugin's folder ...
Code: Select all
cd "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins (Disabled)/DigiTemp.indigoPlugin/Contents/Server Plugin/"

4. Tell Digitemp to walk the 1-wire bus ....
Code: Select all
./digitemp_i386 -s /dev/tty.usbserial-A501HY6D -w


You should see a list of all the sensors on the bus. Try it a bunch of times and see if the output is consistent.

Posted on
Wed Jan 04, 2017 9:53 pm
travisc offline
User avatar
Posts: 346
Joined: Sep 07, 2010
Location: Toronto, Canada

Re: Yosemite issues

I may have jumped the gun there. I added a few more sensors and noticed the same thing as you. Sometimes I'd read 8 sensors, sometimes 2. I downloaded the latest digitemp binary, compiled it, and added it into the plugin. It seems to be more reliable.

When you scan for sensors, make sure it's not in the middle of polling. You might have to set the poll interval up high at 15 minutes so it won't poll while you're scanning.

Try this one. Please let me know if it's any better.

https://www.dropbox.com/s/d2smh2q0jvp6t0u/DigiTemp.indigoPlugin.zip?dl=0

Posted on
Thu Jan 05, 2017 8:06 pm
btassias offline
Posts: 48
Joined: Apr 18, 2011

Re: Yosemite issues

Hi

Well i installed the modified plugin which brought me up to v1.0.4 I think it got worse. Still is random of what i get when i scan for sensors, as you see in the errors. the first 10 lines was repeated 4 or 5 times over in the log. It seemed to have a hard time finding the adaptor. As before what ever sensor wasn't found wont show up on Indigo. But when i did get all 6 sensor in the scan in this case the upper garage temp didnt show up on Indigo even though it was found in the scan, after a few tries the config screen shot looked normal. What i will can try next is what your previous sugestion was and try running DigiTemp directly and by pass Indigo and the plugin and see what that turns out.

Bret


DigiTemp Error DigiTemp Error:
Error 5: DS2480B Adapter Not Detected
Error 10: Read COM Failed
Error 10: Read COM Failed
Error 10: Read COM Failed
Error 10: Read COM Failed
Error 10: Read COM Failed
Error 10: Read COM Failed
Error 10: Read COM Failed
Error 10: Read COM Failed
Error 10: Read COM Failed


DigiTemp Scan complete, found 0 sensors.

Interface Failure lost connection with interface

Connected to PowerLinc 2413U interface on port usbserial-A700ahWO
PowerLinc address 18.B7.20, firmware version 9.2


Jan 5, 2017, 8:07:26 PM
DigiTemp Starting scan for 1-wire sensors.
DigiTemp Found sensor ID: 28CC9ECC03000026
DigiTemp Found sensor ID: 28AAF4BD030000DC
DigiTemp Found sensor ID: 28F607CD030000CF
DigiTemp Scan complete, found 3 sensors.

Jan 5, 2017, 8:07:57 PM
DigiTemp Starting scan for 1-wire sensors.
DigiTemp Found sensor ID: 28CC9ECC03000026
DigiTemp Found sensor ID: 28AAF4BD030000DC
DigiTemp Found sensor ID: 28F607CD030000CF
DigiTemp Found sensor ID: 28DE3ECC03000020
DigiTemp Found sensor ID: 28B39B6B020000CC
DigiTemp Found sensor ID: 289BEFBD0300000A
DigiTemp Scan complete, found 6 sensors.
DigiTemp DigiTemp initialized to read 6 sensors every 15 minute(s).

Jan 5, 2017, 8:08:53 PM
DigiTemp Error DigiTemp process exceeded our time limit so it was killed.
DigiTemp DigiTemp initialized to read 6 sensors every 15 minute(s).

Jan 5, 2017, 8:09:31 PM
DigiTemp Error DigiTemp process exceeded our time limit so it was killed.

Jan 5, 2017, 8:10:00 PM
Schedule Poll Twilio For Message

Jan 5, 2017, 8:10:24 PM
DigiTemp DigiTemp initialized to read 6 sensors every 15 minute(s).

Jan 5, 2017, 8:11:00 PM
DigiTemp Error DigiTemp process exceeded our time limit so it was killed.

Jan 5, 2017, 8:20:00 PM
Schedule Poll Twilio For Message

Jan 5, 2017, 8:25:21 PM
Received INSTEON "Hallway Motion" on

Jan 5, 2017, 8:25:52 PM
Received INSTEON "Hallway Motion" off
DigiTemp Error "Upper Garage" sensor was not updated at the poll interval.
Attachments
Screen Shot 2017-01-05 at 8.50.45 PM.png
Screen Shot 2017-01-05 at 8.50.45 PM.png (57.64 KiB) Viewed 4816 times

Posted on
Thu Jan 05, 2017 8:14 pm
travisc offline
User avatar
Posts: 346
Joined: Sep 07, 2010
Location: Toronto, Canada

Re: Yosemite issues

Hmmm. That's too bad. Unfortunately there's nothing more I can do from the plugin side. The digitemp binary or USB serial adapter is not working reliably on that system for some reason. I just checked my logs and I haven't had one bad read over almost 24 hours with 1.0.4 reading 8 sensors.

It looks like you're using an FTDI adapter, same as me.

I'm out of ideas. Sorry.

Posted on
Wed Jan 11, 2017 6:41 pm
btassias offline
Posts: 48
Joined: Apr 18, 2011

Re: Yosemite issues

Hi
Well i was playing around with DigiTemp and tried what you suggested by taking out the plugin & Indigo and read the bus
and the results were all over the place like 2,6,0,1,6,0,2 then tried plugging the adaptor in different USB ports. next ill try
the old mac to see how that looks. then maybe do a time capsule backup and upgrade to Sierra to see what that does.
I'd thought i would let you know what i found. I guess its safe to say that Indigo and the plugin is ok. I'll just plug away at it
and at some point ill get it to work or at least find out what caused the errors.

Thanks again for your help

Bret

Indigos-Mac-mini:Server Plugin indigo$ ./digitemp_i386 -s /dev/tty.usbserial-A501HY6D -w
DigiTemp v3.7.1 Copyright 1996-2016 by Brian C. Lane
GNU General Public License v2.0 - http://www.digitemp.com
Turning off all DS2409 Couplers
......
Devices on the Main LAN
28CC9ECC03000026 : DS18B20 Temperature Sensor
28AAF4BD030000DC : DS18B20 Temperature Sensor

Indigos-Mac-mini:Server Plugin indigo$ ./digitemp_i386 -s /dev/tty.usbserial-A501HY6D -w
DigiTemp v3.7.1 Copyright 1996-2016 by Brian C. Lane
GNU General Public License v2.0 - http://www.digitemp.com
Turning off all DS2409 Couplers
......
Devices on the Main LAN
28CC9ECC03000026 : DS18B20 Temperature Sensor
28AAF4BD030000DC : DS18B20 Temperature Sensor
28F607CD030000CF : DS18B20 Temperature Sensor
28DE3ECC03000020 : DS18B20 Temperature Sensor
28B39B6B020000CC : DS18B20 Temperature Sensor
289BEFBD0300000A : DS18B20 Temperature Sensor

Indigos-Mac-mini:Server Plugin indigo$ ./digitemp_i386 -s /dev/tty.usbserial-A501HY6D -w
DigiTemp v3.7.1 Copyright 1996-2016 by Brian C. Lane
GNU General Public License v2.0 - http://www.digitemp.com
Turning off all DS2409 Couplers

Devices on the Main LAN

Indigos-Mac-mini:Server Plugin indigo$ ./digitemp_i386 -s /dev/tty.usbserial-A501HY6D -w
DigiTemp v3.7.1 Copyright 1996-2016 by Brian C. Lane
GNU General Public License v2.0 - http://www.digitemp.com
Turning off all DS2409 Couplers
..
Devices on the Main LAN
28CC9ECC03000026 : DS18B20 Temperature Sensor

Indigos-Mac-mini:Server Plugin indigo$ ./digitemp_i386 -s /dev/tty.usbserial-A501HY6D -w
DigiTemp v3.7.1 Copyright 1996-2016 by Brian C. Lane
GNU General Public License v2.0 - http://www.digitemp.com
Turning off all DS2409 Couplers

Devices on the Main LAN
28CC9ECC03000026 : DS18B20 Temperature Sensor
28AAF4BD030000DC : DS18B20 Temperature Sensor
28F607CD030000CF : DS18B20 Temperature Sensor
28DE3ECC03000020 : DS18B20 Temperature Sensor
28B39B6B020000CC : DS18B20 Temperature Sensor
289BEFBD0300000A : DS18B20 Temperature Sensor

Indigos-Mac-mini:Server Plugin indigo$ ./digitemp_i386 -s /dev/tty.usbserial-A501HY6D -w
DigiTemp v3.7.1 Copyright 1996-2016 by Brian C. Lane
GNU General Public License v2.0 - http://www.digitemp.com
Turning off all DS2409 Couplers

Devices on the Main LAN

Indigos-Mac-mini:Server Plugin indigo$ ./digitemp_i386 -s /dev/tty.usbserial-A501HY6D -w
DigiTemp v3.7.1 Copyright 1996-2016 by Brian C. Lane
GNU General Public License v2.0 - http://www.digitemp.com
Turning off all DS2409 Couplers
.
Devices on the Main LAN
28CC9ECC03000026 : DS18B20 Temperature Sensor
28AAF4BD030000DC : DS18B20 Temperature Sensor

Indigos-Mac-mini:Server Plugin indigo$

Posted on
Thu Jan 12, 2017 8:13 am
travisc offline
User avatar
Posts: 346
Joined: Sep 07, 2010
Location: Toronto, Canada

Re: Yosemite issues

Ok, sounds good. Let me know if you make any breakthroughs.

Posted on
Thu Jan 12, 2017 7:59 pm
Fishysan offline
Posts: 86
Joined: Feb 01, 2012

Re: Yosemite issues

travisc wrote:
Ok, sounds good. Let me know if you make any breakthroughs.


Hi Travis, also updated to v7..

I'm having similar problems. I got a sensor to be recognized by unplugging it, but it quickly lost it.

Turned on debug. I got;
Code: Select all
   Stopped plugin "DigiTemp 1.0.3"
   Starting plugin "DigiTemp 1.0.3" (pid 3693)
   Started plugin "DigiTemp 1.0.3"
   DigiTemp Debug                  Read Sensor List Start
   DigiTemp Debug                  Error reading digitemp.conf file.
   DigiTemp Debug                  STATE: Test
   DigiTemp Debug                  STATE: Test

And then on a scan, also;
Code: Select all
   DigiTemp                        Starting scan for 1-wire sensors.
   DigiTemp Debug                  STATE: Process Poll
   DigiTemp Debug                  STATE: Process Poll
   DigiTemp Debug                  STATE: Process Poll
   DigiTemp Debug                  DigiTemp Output:

   DigiTemp Debug                  Read Sensor List Start
   DigiTemp Debug                  OUTPUT:
   DigiTemp Debug                  Error reading digitemp.conf file.
   DigiTemp                        Scan complete, found 0 sensors.

So, it can't read digitemp.conf.. hmm - I can't find such a beast either.

Posted on
Thu Jan 12, 2017 8:00 pm
Fishysan offline
Posts: 86
Joined: Feb 01, 2012

Re: Yosemite issues

Forgot to mention I'm on El Capitan though.

Posted on
Fri Jan 13, 2017 9:23 am
travisc offline
User avatar
Posts: 346
Joined: Sep 07, 2010
Location: Toronto, Canada

Re: Yosemite issues

Try running 1.0.4 from the DropBox link above. If that doesn't sort it out you can try running digitemp manually. You might be in the same boat.

If it can't find any sensors during a scan there won't be any config find. You have to successfully scan your sensors in the config for that file to exist.

Posted on
Wed Jan 18, 2017 6:58 pm
btassias offline
Posts: 48
Joined: Apr 18, 2011

Re: Yosemite issues

Hi Travis

Well i just did an upgrade to Sierra tonight to see if that would help, But I'm still having the same issues as before with Yosemite.
i also tried using a powered USB hub in case the built in USB ports were limiting the current to power all the sensors , So as of now it
only works for me with Lion on older mini mac and not with Yosemite & Sierra on newer mini mac. I did a time capsule backup of Yosemite
before the upgrade in case i had more issues which i didn't so ill leave it at Sierra. Its starting to look like I'm having a hardware issue in the
newer mini mac reliably with the 1-wire USB dongle? just guessing . well I'm still plugging away at it.

Bret

Posted on
Thu Jan 19, 2017 9:20 am
travisc offline
User avatar
Posts: 346
Joined: Sep 07, 2010
Location: Toronto, Canada

Re: Yosemite issues

Strange. Mine still seems to be stable on 10.9 using the 1.0.4 version of the plugin. My logs aren't showing a single read error on 8 sensors spread all around the house.

Posted on
Wed Sep 26, 2018 5:21 am
c64 offline
User avatar
Posts: 53
Joined: Oct 28, 2012
Location: Germany

Re: Yosemite issues

Would it be possible to reupload v1.0.4 please? (the dropbox link above is dead) I've just set this 1wire system up, and am also getting random results in terms of the number of sensors being detected. Many thanks!

Posted on
Wed Sep 26, 2018 7:51 am
travisc offline
User avatar
Posts: 346
Joined: Sep 07, 2010
Location: Toronto, Canada

Re: Yosemite issues


Who is online

Users browsing this forum: No registered users and 1 guest

cron