Please login or register.

Login with username, password and session length
Pages: 1 2 [3] 4

Author Topic: HG Update Check  (Read 7437 times)

petera

  • PI Expert
  • Hero Member
  • ******
  • Helpful Post Rating: 27
  • Posts: 1750
Re: HG Update Check
« Reply #30 on: February 15, 2020, 01:43:15 PM »

I’m not familiar with that but it may use the same protocol as the CM11 although the device id could be an issue.

When your CM19 is plugged into the Pi does the Led remain lit.
Logged

Moose

  • Hero Member
  • *****
  • Helpful Post Rating: 1
  • Posts: 219
Re: HG Update Check
« Reply #31 on: February 15, 2020, 01:53:46 PM »

I’m not familiar with that but it may use the same protocol as the CM11 although the device id could be an issue.

When your CM19 is plugged into the Pi does the Led remain lit.
No I have never seen the CM19 led on or flash.
Logged

petera

  • PI Expert
  • Hero Member
  • ******
  • Helpful Post Rating: 27
  • Posts: 1750
Re: HG Update Check
« Reply #32 on: February 15, 2020, 02:04:03 PM »

Ok from the checks you have carried out HG is not your problem.

One more check you need to carry out. While HG is running unplug the CM19 and plug it back into the Pi. Immediately go to PuTTY and type

sudo systemctl status homegenie.service

and paste the results.
Logged

Moose

  • Hero Member
  • *****
  • Helpful Post Rating: 1
  • Posts: 219
Re: HG Update Check
« Reply #33 on: February 15, 2020, 02:09:11 PM »

pi@raspberrypi:~ $ sudo systemctl status homegenie.service
● homegenie.service - Homegenie server
   Loaded: loaded (/etc/systemd/system/homegenie.service; enabled; vendor preset: enabled)
   Active: active (running) since Sat 2020-02-15 14:08:12 EST; 17s ago
 Main PID: 18565 (mono)
    Tasks: 59 (limit: 2200)
   Memory: 58.2M
   CGroup: /system.slice/homegenie.service
           └─18565 /usr/bin/mono /home/pi/homegenie/HomeGenie.exe --log

Feb 15 14:08:22 raspberrypi mono[18565]:   at CM19Lib.Cm19Manager.ReaderTask () [0x00008] in <a99ee7f64cb6456ca801bb9
Feb 15 14:08:22 raspberrypi mono[18565]: 2020-02-15 14:08:22.4468 Error System.Exception: Submit Async Read Failed.
Feb 15 14:08:22 raspberrypi mono[18565]:   at CM19Lib.Driver.CM19.ReadData () [0x00029] in <a99ee7f64cb6456ca801bb9af
Feb 15 14:08:22 raspberrypi mono[18565]:   at CM19Lib.Cm19Manager.ReaderTask () [0x00008] in <a99ee7f64cb6456ca801bb9
Feb 15 14:08:22 raspberrypi mono[18565]: 2020-02-15 14:08:22.4468 Error System.Exception: Submit Async Read Failed.
Feb 15 14:08:22 raspberrypi mono[18565]:   at CM19Lib.Driver.CM19.ReadData () [0x00029] in <a99ee7f64cb6456ca801bb9af
Feb 15 14:08:22 raspberrypi mono[18565]:   at CM19Lib.Cm19Manager.ReaderTask () [0x00008] in <a99ee7f64cb6456ca801bb9
Feb 15 14:08:22 raspberrypi mono[18565]: 2020-02-15 14:08:22.4468 Error System.Exception: Submit Async Read Failed.
Feb 15 14:08:22 raspberrypi mono[18565]:   at CM19Lib.Driver.CM19.ReadData () [0x00029] in <a99ee7f64cb6456ca801bb9af
Feb 15 14:08:22 raspberrypi mono[18565]:   at CM19Lib.Cm19Manager.ReaderTask () [0x00008] in <a99ee7f64cb6456ca801bb9

Please keep in mind that HG is still only connected about 10 sec. in every 2 minutes.
Logged

petera

  • PI Expert
  • Hero Member
  • ******
  • Helpful Post Rating: 27
  • Posts: 1750
Re: HG Update Check
« Reply #34 on: February 15, 2020, 02:56:56 PM »

Ok it’s clear from that output that HG CM19 XtenLib driver is trying to establish a connection to your CM19 and is failing. That would account for the frequent connected/disconnected messages and the fact that you are seeing no activity from the LED light on the CM19. At least that’s established.

This can be one of two things. Firstly and most likely is you have a faulty CM19. Secondly and quite possible too is that you have an issue with conflicting drivers trying to grab the same Com port. Standby for instructions on how to confirm the latter.
Logged

petera

  • PI Expert
  • Hero Member
  • ******
  • Helpful Post Rating: 27
  • Posts: 1750
Re: HG Update Check
« Reply #35 on: February 15, 2020, 03:07:22 PM »

Ok it’s clear from that output that HG CM19 XtenLib driver is trying to establish a connection to your CM19 and is failing. That would account for the frequent connected/disconnected messages and the fact that you are seeing no activity from the LED light on the CM19. At least that’s established.

This can be one of two things. Firstly and most likely is you have a faulty CM19. Secondly and quite possible too is that you have an issue with conflicting drivers trying to grab the same Com port. Standby for instructions on how to confirm the latter.

Ok in PuTTY copy/paste the following. You will be entering the editor so when you have finished make sure you press Ctrl-x keys and then the N key and press enter. Copy/paste the contents of this file

sudo nano /etc/modprobe.d/blacklist.conf
Logged

Moose

  • Hero Member
  • *****
  • Helpful Post Rating: 1
  • Posts: 219
Re: HG Update Check
« Reply #36 on: February 15, 2020, 03:17:55 PM »

Well, I think I did what you asked.  ??? How do I know if I did it correctly?
Logged

petera

  • PI Expert
  • Hero Member
  • ******
  • Helpful Post Rating: 27
  • Posts: 1750
Re: HG Update Check
« Reply #37 on: February 15, 2020, 03:22:21 PM »

Well, I think I did what you asked.  ??? How do I know if I did it correctly?

Was the file empty
Logged

Moose

  • Hero Member
  • *****
  • Helpful Post Rating: 1
  • Posts: 219
Re: HG Update Check
« Reply #38 on: February 15, 2020, 03:25:23 PM »

Well, I think I did what you asked.  ??? How do I know if I did it correctly?

Was the file empty

Yes, it was empty. What is the N supposed to do?
Logged

petera

  • PI Expert
  • Hero Member
  • ******
  • Helpful Post Rating: 27
  • Posts: 1750
Re: HG Update Check
« Reply #39 on: February 15, 2020, 03:28:01 PM »

That was a sequence of keys to get you out of the editor safely. Standby for the next post
Logged

petera

  • PI Expert
  • Hero Member
  • ******
  • Helpful Post Rating: 27
  • Posts: 1750
Re: HG Update Check
« Reply #40 on: February 15, 2020, 03:48:02 PM »

This will be the last post to rule out any driver conflict. Please follow this sequence carefully. This shouldn’t be necessary but just in case

cd

sudo systemctl stop homegenie.service

sudo nano /etc/modprobe.d/blacklist.conf

Now copy/paste the following two lines into the top left hand corner of the screen of the editor that’s now open in front of you EXACTLY as they are below

blacklist ati_remote
blacklist rc_ati_x10

When you have finished that press the Ctrl-x keys followed by the Y key and press Enter. You should now be back at the command prompt. Now copy/paste

sudo systemctl stop homegenie.service

sudo reboot now

Once the Pi has rebooted and you can access HG try to turn on a light. Report back on the result









Logged

Moose

  • Hero Member
  • *****
  • Helpful Post Rating: 1
  • Posts: 219
Re: HG Update Check
« Reply #41 on: February 15, 2020, 04:08:33 PM »

Well, not really much change. The CM19 is the most likely problem, I think. After a restart of service, I get about 10-30 sec. of functionality, then it dies. The Cm19 led still does nothing. If nothing else, at least my configuration is staying put. Modules and module labels kept disappearing. Thatnks so much for your help and time. >! #:)
Logged

petera

  • PI Expert
  • Hero Member
  • ******
  • Helpful Post Rating: 27
  • Posts: 1750
Re: HG Update Check
« Reply #42 on: February 15, 2020, 04:12:31 PM »

Well, not really much change. The CM19 is the most likely problem, I think. After a restart of service, I get about 10-30 sec. of functionality, then it dies. The Cm19 led still does nothing. If nothing else, at least my configuration is staying put. Modules and module labels kept disappearing. Thatnks so much for your help and time. >! #:)

Yes it's pointing to the CM19 ok. Just one last check. While HG is running again unplug the CM19 and plug it back in again. Copy/paste the following

sudo systemctl status homegenie.service

and paste the results.
Logged

petera

  • PI Expert
  • Hero Member
  • ******
  • Helpful Post Rating: 27
  • Posts: 1750
Re: HG Update Check
« Reply #43 on: February 15, 2020, 04:25:02 PM »

I just wanted to check the following

1) you're not connecting your CM19 via a USB hub to your Pi

2) what amperage is your Pi power supply putting out. Remember unlike the CM15 your CM19 is powered solely from the Pi board. Is the power supply a genuine Raspberry Pi supplied one.
Logged

petera

  • PI Expert
  • Hero Member
  • ******
  • Helpful Post Rating: 27
  • Posts: 1750
Re: HG Update Check
« Reply #44 on: February 15, 2020, 04:28:37 PM »

Can you respond to the two posts above. I just want to close this one out.
Logged
Pages: 1 2 [3] 4
 

X10.com | About X10 | X10 Security Systems | Cameras| Package Deals
© Copyright 2014-2016 X10.com All rights reserved.