more G-Labs products

Author Topic: HG 1.1 update broke Advanced Smart Lights  (Read 3855 times)

October 29, 2015, 05:42:52 PM
Reply #15

Gene

  • *****
  • Information
  • Administrator
  • Posts: 1472
  • Tangible is the future!
    • Yet Another Programmer
the errors I see in your log indicates that you probably didn't delete the old homegenie folder and new hg is referencing some old libraries (most of them are now placed in the lib subfolder).

I was also thinking that perhaps the initialization string is the probelm:
---
2015-10-27 21:06:11.0510 Debug 9B-0B-42-0A-2B-84-09-02
2015-10-27 21:06:11.0904 Debug BB-54-40-05-00-14-20-28-24-29
2015-10-27 21:06:11.1002 Debug 8B
---
do you have the init string from older hg? I could dig the repository code, but perhaps you've already old hg running.

g.

October 29, 2015, 08:48:13 PM
Reply #16

bkenobi

  • *****
  • Information
  • Global Moderator
  • Posts: 1525
I have an old log I can see if it's in there.

October 30, 2015, 05:34:18 AM
Reply #17

bkenobi

  • *****
  • Information
  • Global Moderator
  • Posts: 1525
This is the log in my 493 backup directory.  This installation was 482 updated via the web to 493.  I believe the log is after I modified the startup.sh to output the mono to a log file after 493 update.  Either way, this version did work correctly with my CM15A.

October 31, 2015, 10:27:31 PM
Reply #18

Gene

  • *****
  • Information
  • Administrator
  • Posts: 1472
  • Tangible is the future!
    • Yet Another Programmer

November 01, 2015, 03:45:18 AM
Reply #19

bkenobi

  • *****
  • Information
  • Global Moderator
  • Posts: 1525
I updated but it didn't seem to fix anything.

Code: [Select]
2015-10-31 19:37:53.2486 Debug 5A-02-00-E9
2015-10-31 19:37:53.2496 Debug PLCRX: 5A-02-00-E9
2015-10-31 19:37:53.2825 Debug FNMAP: 00
2015-10-31 19:37:53.2825 Debug DATA : E9
2015-10-31 19:37:53.3044 Debug       0) Address = B6
2015-10-31 19:37:53.6853 Debug 5A-02-01-E2
2015-10-31 19:37:53.6862 Debug PLCRX: 5A-02-01-E2
2015-10-31 19:37:53.6906 Debug FNMAP: 01
2015-10-31 19:37:53.6906 Debug DATA : E2
2015-10-31 19:37:53.7118 Debug       0) House code = B
2015-10-31 19:37:53.7165 Debug       0)    Command = On
2015-10-31 19:37:53.7417 Info HomeAutomation.X10 B6 - Status.Level 1
2015-10-31 19:37:54.4343 Debug 04-69
2015-10-31 19:37:59.4469 Warn Previous command timed out, resending (1)
2015-10-31 19:37:59.4502 Debug 06-62
2015-10-31 19:38:04.4684 Warn Previous command timed out, resending (1)
2015-10-31 19:38:04.4719 Info HomeAutomation.X10 A6 - Status.Level 1
2015-10-31 19:38:05.9827 Debug 55
2015-10-31 19:38:05.9827 Debug Command succesfull


2015-10-31 19:38:06.9748 Debug 5A-02-00-E9
2015-10-31 19:38:06.9748 Debug PLCRX: 5A-02-00-E9
2015-10-31 19:38:06.9761 Debug FNMAP: 00
2015-10-31 19:38:06.9765 Debug DATA : E9
2015-10-31 19:38:06.9765 Debug       0) Address = B6
2015-10-31 19:38:07.4149 Debug 5A-02-01-E3
2015-10-31 19:38:07.4149 Debug PLCRX: 5A-02-01-E3
2015-10-31 19:38:07.4163 Debug FNMAP: 01
2015-10-31 19:38:07.4168 Debug DATA : E3
2015-10-31 19:38:07.4168 Debug       0) House code = B
2015-10-31 19:38:07.4181 Debug       0)    Command = Off
2015-10-31 19:38:07.4215 Info HomeAutomation.X10 B6 - Status.Level 0
2015-10-31 19:38:07.9495 Debug 04-69
2015-10-31 19:38:13.5688 Warn Previous command timed out, resending (1)
2015-10-31 19:38:13.5716 Debug 06-63
2015-10-31 19:38:18.5745 Warn Previous command timed out, resending (1)
2015-10-31 19:38:18.5787 Info HomeAutomation.X10 A6 - Status.Level 0
2015-10-31 19:38:19.7122 Debug 55
2015-10-31 19:38:19.7128 Debug Command succesfull

November 09, 2015, 06:20:07 AM
Reply #20

bkenobi

  • *****
  • Information
  • Global Moderator
  • Posts: 1525
I have started from scratch with my setup to see if I could get things working correctly.  I started by flashing Wheezy (5/5/15) and then installing HG r499 but I still had the same X10 errors.  I installed r500 this afternoon and still have the same issues.  With my old installation based on the HG RPi image that was updated to r493 I had no issues.  After update, I have both issues with X10 as well as no email capabilities.

If anyone has any suggestions, I'd be ecstatic to give them a try!

November 10, 2015, 06:07:10 AM
Reply #21

bkenobi

  • *****
  • Information
  • Global Moderator
  • Posts: 1525
Upgrading mono to 4.0.4 doesn't seem to have worked.  Apparently, RPi B v1 doesn't have a stable debian package for 4.0.4, but I found a thread on the RPi forums that showed how to update anyway.  After the upgrade, it looked like things may be a little faster, but after reviewing the log, I have the same errors and delay.

November 10, 2015, 02:25:14 PM
Reply #22

bkenobi

  • *****
  • Information
  • Global Moderator
  • Posts: 1525
Is it possible the issue is caused by an old version of mono?  When I installed the new system it indicated I'm running 3.2.8.  I installed mono-complete and I was still on 3.2.8.  I looked around and it appears the reason is that RPi v1B only has 3.2.8 available due to debian compatibility concerns.  I tried following directions from the person on the wheezy team that makes that decidion (to upgrade the store) but my mono stayed unchanged.

If mono 3.2.8 doesn't have the newer. NET framework, perhaps that would explain why email and X10 are broken for just a few users?

November 11, 2015, 06:01:47 PM
Reply #23

bkenobi

  • *****
  • Information
  • Global Moderator
  • Posts: 1525
I installed mono-complete last night which got me up to mono 4.0.4.  When I checked on HG, it was not running.  Further investigation found that HG was missing a dependancy on libmono-corlib2.0-cil.  It appears this library is not a part of mono-complete.  I'm not sure at this point what HG requires though I strongly suspect HG 1.1 requires a newer mono than 1.0 since everything works if I go back far enough with HG.  I'd like to help figure this out so other users won't have issues, but I'm not sure what to test at this point.