Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - cafedumonde

Pages: 1 ... 3 4 [5] 6 7 ... 9
61
Installation issues / Re: Denon Receiver Control over Ethernet
« on: September 09, 2016, 12:27:55 am »
Does the download happen during the setup wizard? I thought that I waited until the notification window disappeared but I will wait longer next time.

Is there a script for this that I can trigger?

CDM

62
Installation issues / Re: Denon Receiver Control over Ethernet
« on: September 08, 2016, 02:02:34 am »

Posde,

I followed the directions on the wiki here: http://wiki.linuxmce.org/index.php/Installing_1404

Step #1 says: "Install Trusty Tahr desktop and update it. (download Kubuntu 14.04 desktop release from http://cdimage.ubuntu.com/kubuntu/releases/14.04/release/kubuntu-14.04-desktop-i386.iso"

The update instructions that I followed are at the bottom of the wiki page, specifically:

Code: [Select]
sudo -i
apt-get update
apt-get dist-upgrade

Please confirm. The install is functional in all other regards. Clearly some device templates are working fine, like the USB-UIRT. Checking device #1779, for Pioneer Plasmas, the device template shows that no commands are implemented in WebAdmin. I went to Developers -> Device Templates, selected 1779, and clicked on "Edit Ruby Codes." Do you see something different?

I am so sorry to be a noob. It seems I am taking a difficult path to getting my install up but I *am* getting there and learning a lot. LMCE is awesome. Thanks to Phenigma and Posde for patient guidance.

CDM

63
Installation issues / Re: Denon Receiver Control over Ethernet
« on: September 07, 2016, 04:18:17 am »

I am happy to dig. Could you suggest commands to query the database directly to see if the data is there? Perhaps for a few devices?

CDM

64
Installation issues / Re: Denon Receiver Control over Ethernet
« on: September 07, 2016, 03:12:58 am »

See my posting just prior to the last. The codes are not populated in my installation. I think this is why I originally believed that RS-232 was not working. No data was being sent.

I am not saying that the populated template isn't in the repo. Its just that it's not coming over when I run the install script, and I have installed twice in the past month. I did so the second time because my myth database password somehow got screwed up for mythfilldatabase.

Do you have a toggle MUTE ruby/RS232 command?

CDM

65
Installation issues / Re: Denon Receiver Control over Ethernet
« on: September 07, 2016, 02:19:14 am »


Lots of progress. Now that I can send commands to the receiver, I am populating the template. The only glitch has to do with the MUTE command. The protocol in the manuals that I have, for the 2310 and 3312, both provide discrete commands for this function, that is, separate commands for on and off. The device template however is built for a toggle command. This is consistent with button on the remote, and I also have a pronto code for this function. I see four solutions:

1: Change the template to accommodate discrete RS-232 commands, though this does not seem possible with the command options in WebAdmin.

2. Find a way to send the pronto code over RS-232.

3. Find an RS232  toggle command for mute that is not in the manuals that I have.

4. Embed an if statement in the ruby code for the command that queries the mute status using <$"MU?\n"$> and then sends the correct discrete command.

If anyone has a Denon receiver working with RS-232 I would be interested to know what you have done for MUTE.

Thanks,

CDM

66
Installation issues / No Audio for .mov files
« on: September 06, 2016, 12:51:26 am »

Hi, I have just restored an archive of movie files that worked previously on my old 810 system. Video is fine for all but some of the .mov files don't have audio. I suspect that some codecs associated with QuickTime are missing. Are there any suggestions?

CDM

67
Installation issues / Re: Denon Receiver Control over Ethernet (& RS-232)
« on: September 05, 2016, 05:26:01 am »
Progress. The command data needs to be in Ruby format. The off command, for example is:<$"PWSTANDBY\r"$>. I added this to the device template (#71) by opening the template and then "Edit Ruby Codes". After entering the command, the "send command to device" option works for the commands that I have populated. I also added the serial port of my instance, /dev/ttyS5,  to the Default Value fiels for the COM Port. So, two changes to the device template. Should this be necessary?

This means that the messages are getting to the serial port through the router. Phew.

It seems that the codes are missing from the device template in the latest distribution.

CDM

68
Installation issues / Re: Denon Receiver Control over Ethernet
« on: September 05, 2016, 01:19:06 am »

I tried to manually install my Denon receiver this weekend, so far without success. I added the device to my core manually and configured it using the setup wizard. All of the parameters that I selected appear in the device instance in WebAdmin.

Trying to troubleshoot, I can send commands from WebAdmin by going to Devices -> AV Equipment and selecting AV Properties for the device instance. All of the commands shown in the device template appear, with the content fields blank. Clicking on "Test Code" for any command yields the error: "ERROR: Specified command had empty content." Putting in the ASCII commands from the Denon manual, a pop up appears that says: The command was sent to device #1" but nothing happens.

I have two theories:

1. No codes are inherited from the device template.
2. The SendMessage command sent to the router is not finding the serial port for some reason.

Again, the following works every time, power cycling the device:

Code: [Select]

/usr/pluto/bin/TestSerialPort -p /dev/ttyS5 -P N81 -b 9600 -t "PWSTANDBY\r\s500mPWON\r" -i 1 -s "MON\r"


Poking around in DCRRouter.log, there are messages related to my receiver instance. I think that these are in response to my attempts to send commands from WebAdmin but I don't really know what they mean. Here are a few lines:

Code: [Select]
08      09/04/16 18:10:23.561           Received Message from 20 (^[[36;1mOnScreen Orbiter / Living Room/Family Room^[[0m) to 66 (^[[36;1mAVC-A1SRA (RS232) / Living Room/Family Room^[[0m), type 1 id 193 \
Command:^[[35;1mOff^[[0m, retry none, parameters: <0xb60d4b40>
08      09/04/16 18:10:23.561           Received Message from 20 (^[[36;1mOnScreen Orbiter / Living Room/Family Room^[[0m) to 66 (^[[36;1mAVC-A1SRA (RS232) / Living Room/Family Room^[[0m), type 1 id 193 \
Command:^[[35;1mOff^[[0m, retry none, parameters: <0xb60d4b40>
05      09/04/16 18:10:23.561           ^[[33;1mThe target device 19 (routed to 19) has not registered.^[[0m <0xb60d4b40>


Clues would be welcome. If I need to reinstall the device, or my entire installation, in order to start clean I would be happy to do so.

Thanks,

CDM


69
Installation issues / Re: Denon Receiver Control over Ethernet
« on: September 01, 2016, 02:05:15 am »

Got it. I will report back this weekend. Thanks Posde.

70
Installation issues / Re: Denon Receiver Control over Ethernet
« on: August 30, 2016, 02:15:10 am »

Phenigma,

Thanks very much for looking into this. I will compare my carefully compare my test script to the original in order to appreciate what you have highlighted. My skills are very rusty butI will play with the script some more, and try to adjust the timing of the commands. I would really like to add the device automatically in order to ensure that it is done without error.

Looking at the device templates in WebAdmin, Developers > Device Templates, two are listed: AVC-A1SRA (RS-232) and AVR/AVC series (ethernet). Which should I use? I want to use an AVR device with RS-232.  Is there a device template number?

Sorry to be dense. Obviously if all of the RS-232 commands are the same then it won't matter.

Thanks again.

CDM








71
Installation issues / Re: 14.04 Installation - More Minor Issues
« on: August 28, 2016, 05:16:48 am »

Yes, I looked. It seems that here is one out there but I haven't tried one. I plugged the QuickCam into my laptop, which is running Ubuntu 1604 and it works fine with VLC. It is a project for another day.

CDM

72
Installation issues / Re: 14.04 Installation - More Minor Issues
« on: August 27, 2016, 11:46:48 pm »

Updates...

1. I found the checkbox for the MythTV plugin under Advanced > Configuration > Devices in WebAdmin. I think this has done the trick.

2. Webcam issue solved with new camera. It would be great to know if there is another driver for the Logitech  QuickCam Pro 3000. I have a few of these.

3. Just created issue #2700 in GitHub.

Thanks to all.

CDM

73
Installation issues / Re: 14.04 Installation - More Minor Issues
« on: August 26, 2016, 02:37:19 am »

Phenigma,

Thanks for the reply. Follow ups are as follows:

1. How do I turn off auto configure for mythfrontend? Is there a wiki reference?

2. I found another webcam, which is a Cisco branded camera, though it exactly looks like one of the later  Logitech models. It is working.

3. I am happy to create an issue in gitlab. How do I do it?

CDM

74
Installation issues / Re: 14.04 Installation - More Minor Issues
« on: August 26, 2016, 01:08:53 am »

Looking up the camera model number on the Logitech support site, it is a QuickCam Pro 3000. Again, I had this working under 810.

Thanks,

CDM

75
Installation issues / 14.04 Installation - More Minor Issues
« on: August 26, 2016, 12:58:01 am »

My 14.04 Installation has proven to be very usable in spite of some persistent minor issues. In each case I have reviewed the wiki as well as explored the installation in order to troubleshoot. I hope that I am not posting too much; my intention is to ask the community only were I am unable to flush out solutions on my own. I completely accept that LMCE is a project rather than a product, and that figuring things out is part of the fun. Solutions and clues equally welcome in response to my questions.

My current issues are as follows:

1. Mythfrontend does not save settings. I have changed a few things in the front end, in particular the scaling of the video image as negative percents. These parameters are not saved, even when I exit the frontend setup gracefully.

2. Cannot install a Logitech Quickcam. There is a wiki page for this here:

http://wiki.linuxmce.org/index.php/Logitech_QuickCam_Sphere

I followed the instructions, substituting "**PWC Camera Drivers" for "PWC Camera Drivers" in the instructions. Only the ** version appeared in the dropdown when building the device template. The motion wrapper seems to work fine: I get a grey square with some text overlayed when I choose the camera in the Security scenario. The LED on the camera does not illuminate, as it did when I have this same camera connected to my old 810 installation. I think this means that the camera driver is not working.

3. The system has still not discovered my Denon 2307 receiver over RS-232. The discovery script does not seem to be running. How can I initiate it? As indicated by Phenigma in an earlier post, there is a question about the syntax in the discovery script, assuming that I can get the script to run again.

Thanks,

CDM


Pages: 1 ... 3 4 [5] 6 7 ... 9