www.homeseer.com    
 

Go Back   HomeSeer Message Board > 3rd Party Plug-Ins/Scripts > Plug-ins by Author > Click Here for List of Author Forums > Rien Du Pre Plug-Ins > Caddx

Caddx This is the discussion area for the Caddx plug-in.

Reply
 
Thread Tools Display Modes
  #21  
Old October 23rd, 2016, 04:00 AM
Rien du Pre's Avatar
Rien du Pre Rien du Pre is offline
Seer Master
 
Join Date: Dec 2003
Location: Netherlands
Posts: 1,405
Quote:
Originally Posted by Rien du Pre View Post
Hi Guy's,

I Will try To get this working as soon as I have a working Linux based setup
An update from my side.
I received a PI from a friendly user and installed HSPRO on it. I cannot use my existing HS license on it, so I have 30 (-2) day to get this working on the evaluation version.

After a long day of programming and testing I am able to retrieve data from the Caddx using a serial to USB cable on the PI

But unfortunately there are stil some errors on the way the data is handled.

I need some more time to solve these issues, but I'm confident to get this working.

Keep you posted.
__________________
Regards,

Rien du Pre
The Netherlands
Using:
Homeseer PRO 3.0.0.368 on Windows 7 US - Running in a VM on a Mac Mini
Plugin's:
A10, HStouch, RFXCOM, Plugwise, Caddx, HarmonyHub, BLPlex, BLShutdown, BLLogMonitor, BLRadar, BLBackup, FritzBox, JsonConfigForHomekit, Log2Text, BLLAN, PHLocation, ThinkingCleaner, IPThermostat, WeatherXML, Z-Wave
Link to the forum of my Plug-ins http://board.homeseer.com/forumdisplay.php?f=1216
Reply With Quote
  #22  
Old October 23rd, 2016, 09:34 AM
integlikewhoa integlikewhoa is offline
Seer Master
 
Join Date: Jan 2015
Location: California
Posts: 1,075
Thanks for the update! Why is your liscence for windows not also working on linux? I use mine on both.

Keep up the hard work and post if you need help with the errors.

Thanks
Reply With Quote
  #23  
Old October 23rd, 2016, 09:43 AM
Rien du Pre's Avatar
Rien du Pre Rien du Pre is offline
Seer Master
 
Join Date: Dec 2003
Location: Netherlands
Posts: 1,405
Quote:
Originally Posted by integlikewhoa View Post
Thanks for the update! Why is your liscence for windows not also working on linux? I use mine on both.

Keep up the hard work and post if you need help with the errors.

Thanks
At HS they told me that they use a different license for the PI and I could not use the 'normal' one (in fact it doesn't work)

Do anyone of you know why this statement:

Code:
 Val1 = CLng("&H" & Byte1)
Does work in Windows but not in Linux ?
Reply With Quote
  #24  
Old October 23rd, 2016, 09:50 AM
integlikewhoa integlikewhoa is offline
Seer Master
 
Join Date: Jan 2015
Location: California
Posts: 1,075
Quote:
Originally Posted by Rien du Pre View Post
At HS they told me that they use a different license for the PI and I could not use the 'normal' one (in fact it doesn't work)
This is because your installing the pi version on your linux box(pi).We are not installing the pi version becasue it limits you to only 5 plugins. If you install full linux version on the pi then your user and serial for windows will work and you will not have a 5 plugin limit.

With that said if 30 days are enough, your testing probley dont matter. If you need more then 30 just unistall the pi version of hs3 and install the full linux version.

Thanks again
Reply With Quote
  #25  
Old October 23rd, 2016, 11:54 AM
Rien du Pre's Avatar
Rien du Pre Rien du Pre is offline
Seer Master
 
Join Date: Dec 2003
Location: Netherlands
Posts: 1,405
I need 2 volunteers to test the new version which seems to work.

I did not do any extensive testing yet, but it's time to go for diner with the family so I will be gone for a while.

The new version is located at: https://dl.dropboxusercontent.com/u/...HSPI_Caddx.exe

I would be great if you could test it with bot Windows as Linux.

In the Com port field you now have to fill in the complete tekst to the com port.
- For Windows --> for instance Com1
- For Linux --> for instance /dev/ttyUSB0
Save the config, before connecting to the Caddx panel

If I have some more time I will look into a dropdown list of available com ports.

Let me know what you experience.
Reply With Quote
  #26  
Old October 23rd, 2016, 12:42 PM
vasrc's Avatar
vasrc vasrc is offline
Seer Master
 
Join Date: May 2003
Location: Locust Dale, VA
Posts: 1,136
Quote:
Originally Posted by Rien du Pre View Post
At HS they told me that they use a different license for the PI and I could not use the 'normal' one (in fact it doesn't work)

Do anyone of you know why this statement:

Code:
 Val1 = CLng("&H" & Byte1)
Does work in Windows but not in Linux ?
Not supported. I brute force it using:
Val1 = Val("&H" & Byte1 & "&")

Z
Reply With Quote
  #27  
Old October 23rd, 2016, 03:49 PM
integlikewhoa integlikewhoa is offline
Seer Master
 
Join Date: Jan 2015
Location: California
Posts: 1,075
Quote:
Originally Posted by Rien du Pre View Post
I need 2 volunteers to test the new version which seems to work.

I did not do any extensive testing yet, but it's time to go for diner with the family so I will be gone for a while.

The new version is located at: https://dl.dropboxusercontent.com/u/...HSPI_Caddx.exe

I would be great if you could test it with bot Windows as Linux.

In the Com port field you now have to fill in the complete tekst to the com port.
- For Windows --> for instance Com1
- For Linux --> for instance /dev/ttyUSB0
Save the config, before connecting to the Caddx panel

If I have some more time I will look into a dropdown list of available com ports.

Let me know what you experience.
I got you .exe installed and got the panel physically connected to the Pi. I used "/dev/ttyUSB0" which worked without issues. (I do have a usb flash drive plugged into the pi and now the panel but nothing else).

I haven't done any arming or disarming or anything but so far the doors and window inputs all seem to be reporting just fine and updating/working.

I do get some errors in the log, but don't know what they mean. I have not tested or installed it on my main windows machine.
Code:
Oct-23 12:49:06 PM	 	Plug-In	Finished initializing plug-in Caddx
Oct-23 12:49:06 PM	 	Caddx Error	Plugin: CaddxTest2b: 3-5-
Oct-23 12:49:06 PM	 	Caddx Error	Plugin: CaddxTest2b: 0-1-
Oct-23 12:49:06 PM	 	Caddx Error	Plugin: CaddxTest2b: 0-B-
Oct-23 12:49:06 PM	 	Caddx	Plugin: Caddx Started FletcherChecksum module
Oct-23 12:49:06 PM	 	Caddx	Plugin: Caddx Started ValidFletchSum module
Oct-23 12:49:06 PM	 	Caddx	Plugin: Caddx Started ProcessCaddxMessages module
Oct-23 12:49:06 PM	 	Caddx	Plugin: Caddx ComRxLine()- Data Received is 0B01352E3338720DFA1D57FCC645
Oct-23 12:49:06 PM	 	Caddx	Plugin: Caddx ComRxLine()- Bytes to read = 56
Oct-23 12:49:06 PM	 	Caddx	Plugin: Caddx Finished ComRxLinemodule
Oct-23 12:49:06 PM	 	Caddx	Plugin: Caddx Finished ProcessCaddxMessages module
Oct-23 12:49:06 PM	 	Caddx	Plugin: Caddx Finished InitCaddx module
Oct-23 12:49:06 PM	 	Caddx	Plugin: Caddx Finished ComTxLine Open module
Oct-23 12:49:06 PM	 	Caddx	Plugin: Caddx Finished IntrepretCaddxMessages module
Oct-23 12:49:06 PM	 	Caddx	Plugin: Caddx ComTxLine - myRquest = 073B100A170C3101B14D
Oct-23 12:49:06 PM	 	Caddx	Plugin: Caddx Entering ComTXLine module
Oct-23 12:49:06 PM	 	Caddx	Plugin: Caddx Started systemStatus module
Oct-23 12:49:06 PM	 	Caddx	Plugin: Caddx SendRequestToPanel - Requesting = 073B100A170C3101B14D
Oct-23 12:49:06 PM	 	Caddx Error	Plugin: CaddxTest2b: 0-1-
Oct-23 12:49:06 PM	 	Caddx	Plugin: Caddx Processing message: 08
Oct-23 12:49:06 PM	 	Caddx Error	Plugin: CaddxTest2b: 3-1-
Oct-23 12:49:06 PM	 	Caddx	Plugin: Caddx Intrepret message = 0C0804000000000200000001304B67
Oct-23 12:49:06 PM	 	Caddx Error	Plugin: CaddxTest2b: 0-C-
Oct-23 12:49:06 PM	 	Caddx	Plugin: Caddx Started IntrepretCaddxMessages module
Oct-23 12:49:06 PM	 	Caddx Error	Plugin: CaddxTest2b: 1-7-
Oct-23 12:49:06 PM	 	Caddx	Plugin: Caddx Started AwknowledgeTheMessage module
Oct-23 12:49:06 PM	 	Caddx Error	Plugin: CaddxTest2b: 0-A-
Oct-23 12:49:06 PM	 	Caddx Error	Plugin: CaddxTest2b: 3-0-
Oct-23 12:49:06 PM	 	Caddx Error	Plugin: CaddxTest2b: 1-0-
Oct-23 12:49:06 PM	 	Caddx Error	Plugin: CaddxTest2b: 0-1-
Oct-23 12:49:06 PM	 	Caddx Error	Plugin: CaddxTest2b: 3-B-
Oct-23 12:49:06 PM	 	Caddx Error	Plugin: CaddxTest2b: 0-0-
Oct-23 12:49:06 PM	 	Caddx Error	Plugin: CaddxTest2b: 0-7-
Oct-23 12:49:06 PM	 	Caddx Error	Plugin: CaddxTest2b: 0-0-
Oct-23 12:49:06 PM	 	Caddx	Plugin: Caddx Started FletcherChecksum module
Oct-23 12:49:06 PM	 	Caddx Error	Plugin: CaddxTest2b: 0-0-
Oct-23 12:49:06 PM	 	Caddx	Plugin: Caddx The Panel time is now in sync with the HS PC with the time of 10/23/2016 12:49:06 PM
Oct-23 12:49:06 PM	 	Caddx Error	Plugin: CaddxTest2b: 0-2-
Oct-23 12:49:06 PM	 	Caddx Error	Plugin: CaddxTest2b: 0-0-
Oct-23 12:49:06 PM	 	Caddx Error	Plugin: CaddxTest2b: 0-0-
Oct-23 12:49:06 PM	 	Caddx	Plugin: Caddx Finished ComTxLine Open module
Oct-23 12:49:06 PM	 	Caddx Error	Plugin: CaddxTest2b: 0-0-
Oct-23 12:49:06 PM	 	Caddx	Plugin: Caddx ComTxLine - myRquest = 01272829
Oct-23 12:49:06 PM	 	Caddx Error	Plugin: CaddxTest2b: 0-0-
Oct-23 12:49:06 PM	 	Caddx	Plugin: Caddx Entering ComTXLine module
Oct-23 12:49:06 PM	 	Caddx Error	Plugin: CaddxTest2b: 0-4-
Oct-23 12:49:06 PM	 	Caddx	Plugin: Caddx SendRequestToPanel - Requesting = 01272829
Oct-23 12:49:06 PM	 	Caddx Error	Plugin: CaddxTest2b: 0-8-
Oct-23 12:49:06 PM	 	Caddx Error	Plugin: CaddxTest2b: 2-7-
Oct-23 12:49:06 PM	 	Caddx Error	Plugin: CaddxTest2b: 0-C-
Oct-23 12:49:06 PM	 	Caddx Error	Plugin: CaddxTest2b: 0-1-
Oct-23 12:49:06 PM	 	Caddx	Plugin: Caddx Started FletcherChecksum module
Oct-23 12:49:06 PM	 	Caddx	Plugin: Caddx Started FletcherChecksum module
Oct-23 12:49:06 PM	 	Caddx	Plugin: Caddx Started ValidFletchSum module
Oct-23 12:49:06 PM	 	Caddx	Plugin: Caddx Finished ComTxLine Open module
Oct-23 12:49:06 PM	 	Caddx	Plugin: Caddx Started ProcessCaddxMessages module
Oct-23 12:49:06 PM	 	Caddx	Plugin: Caddx ComTxLine - myRquest = 01212223
Oct-23 12:49:06 PM	 	Caddx	Plugin: Caddx ComRxLine()- Data Received is 0C0804000000000200000001304B67
Oct-23 12:49:06 PM	 	Caddx	Plugin: Caddx Entering ComTXLine module
Oct-23 12:49:06 PM	 	Caddx	Plugin: Caddx SendRequestToPanel - Requesting = 01212223
Oct-23 12:49:06 PM	 	Caddx Error	Plugin: CaddxTest2b: 2-1-
Oct-23 12:49:06 PM	 	Caddx Error	Plugin: CaddxTest2b: 0-1-
Oct-23 12:49:06 PM	 	Caddx	Plugin: Caddx Started FletcherChecksum module
Oct-23 12:49:06 PM	 	Caddx	Plugin: Caddx Finished ComTxLine Open module
Oct-23 12:49:06 PM	 	Caddx	Plugin: Caddx ComTxLine - myRquest = 0128292A
Oct-23 12:49:06 PM	 	Caddx	Plugin: Caddx Entering ComTXLine module
Oct-23 12:49:06 PM	 	Caddx	Plugin: Caddx SendRequestToPanel - Requesting = 0128292A
Oct-23 12:49:06 PM	 	Caddx Error	Plugin: CaddxTest2b: 2-8-
Oct-23 12:49:06 PM	 	Caddx Error	Plugin: CaddxTest2b: 0-1-
Oct-23 12:49:06 PM	 	Caddx	Plugin: Caddx Started FletcherChecksum module
Oct-23 12:49:04 PM	 	Caddx	Plugin: Caddx ComRxLine()- Bytes to read = 0
Oct-23 12:49:04 PM	 	Caddx	Plugin: Caddx Entering ComRXLine module
Oct-23 12:49:04 PM	 	Caddx	Plugin: Caddx Finished Com Open module
Oct-23 12:49:04 PM	 	Caddx	Plugin: Caddx Com port /dev/ttyUSB0 Opened
Oct-23 12:49:04 PM	 	Caddx	Plugin: Caddx Entering Com Open module
Oct-23 12:49:04 PM	 	Caddx	Plugin: Caddx Entering InitCaddx module
Oct-23 12:49:04 PM	 	Caddx	InitIO called, plug-in is being initialized...
Oct-23 12:49:03 PM	 	Info	Plugin Caddx has connected. IP:127.0.0.1:57758

Last edited by integlikewhoa; October 23rd, 2016 at 04:01 PM.
Reply With Quote
  #28  
Old October 24th, 2016, 01:58 AM
Rien du Pre's Avatar
Rien du Pre Rien du Pre is offline
Seer Master
 
Join Date: Dec 2003
Location: Netherlands
Posts: 1,405
Corrected the error messages, they were just informational.

You can copy the new exe from the same location.
Reply With Quote
  #29  
Old October 24th, 2016, 08:33 AM
askme askme is offline
Seer Deluxe
 
Join Date: Apr 2013
Location: DE
Posts: 138
This is great progress, but I won't be able to test for a few days.
Reply With Quote
  #30  
Old October 24th, 2016, 10:23 AM
integlikewhoa integlikewhoa is offline
Seer Master
 
Join Date: Jan 2015
Location: California
Posts: 1,075
Quote:
Originally Posted by Rien du Pre View Post
Corrected the error messages, they were just informational.

You can copy the new exe from the same location.
Testing new one today. So far errors are gone and also saw the Serial/USB port drop down which seems to be working nicely.

Keep up the good work! I continue testing later tonight after work.
Reply With Quote
  #31  
Old October 24th, 2016, 11:39 PM
integlikewhoa integlikewhoa is offline
Seer Master
 
Join Date: Jan 2015
Location: California
Posts: 1,075
Testing the update and all seems to be working. I'm getting the following error every once in awhile tho. Any thoughts?

Quote:
Caddx Error Plugin: CaddxError in ZoneStatus moduleIndex was outside the bounds of the array.
Reply With Quote
  #32  
Old October 25th, 2016, 02:39 PM
integlikewhoa integlikewhoa is offline
Seer Master
 
Join Date: Jan 2015
Location: California
Posts: 1,075
Also got this error during startup.

Quote:
Oct-25 11:52:26 AM Caddx Error Plugin: CaddxError in LogPanelData moduleArgument 'Month' is not a valid value.
Oct-25 11:52:26 AM Plug-In Finished initializing plug-in Caddx
Oct-25 11:52:24 AM Caddx InitIO called, plug-in is being initialized...
Oct-25 11:52:23 AM Info Plugin Caddx has connected. IP:127.0.0.1:58656
Reply With Quote
  #33  
Old October 25th, 2016, 05:05 PM
Rien du Pre's Avatar
Rien du Pre Rien du Pre is offline
Seer Master
 
Join Date: Dec 2003
Location: Netherlands
Posts: 1,405
Quote:
Originally Posted by integlikewhoa View Post
Testing the update and all seems to be working. I'm getting the following error every once in awhile tho. Any thoughts?
To debug this, I need the logging with debug on, right before and after this error
Reply With Quote
  #34  
Old October 25th, 2016, 05:13 PM
Rien du Pre's Avatar
Rien du Pre Rien du Pre is offline
Seer Master
 
Join Date: Dec 2003
Location: Netherlands
Posts: 1,405
Quote:
Originally Posted by integlikewhoa View Post
Also got this error during startup.
Don't know why this error occurs. It's in a routine to sync the panel's time the HS system. So no big deal....
Reply With Quote
  #35  
Old October 30th, 2016, 04:19 PM
integlikewhoa integlikewhoa is offline
Seer Master
 
Join Date: Jan 2015
Location: California
Posts: 1,075
How about this error? What does it mean?

Quote:
Oct-30 1:11:26 PM Caddx Error Plugin: CaddxError in ZoneStatus moduleIndex was outside the bounds of the array.
Reply With Quote
  #36  
Old October 31st, 2016, 04:35 PM
askme askme is offline
Seer Deluxe
 
Join Date: Apr 2013
Location: DE
Posts: 138
Quote:
Originally Posted by integlikewhoa View Post
How about this error? What does it mean?
I got this as well, then all of the Zone details it pulls back have the zone number off (number of digits) and junk in the Zone name. I think there is a index number off somewhere.
Reply With Quote
  #37  
Old October 31st, 2016, 04:46 PM
integlikewhoa integlikewhoa is offline
Seer Master
 
Join Date: Jan 2015
Location: California
Posts: 1,075
Quote:
Originally Posted by askme View Post
then all of the Zone details it pulls back have the zone number off (number of digits) and junk in the Zone name.
Can you post a screen shot or give more info on this part so I can verify or see where that's happening on my end also.
Reply With Quote
  #38  
Old November 2nd, 2016, 09:05 AM
askme askme is offline
Seer Deluxe
 
Join Date: Apr 2013
Location: DE
Posts: 138
EDIT: I was stuck on an old version. Updated and this issue is resolved


***************************

Attached file has screen shots of Config panels and the detailed debug log.

Connecting to the Caddx Panel through USB-Serial was flawless (thanks for this update). The Partitions were found properly, but I only have one partition.

The debug log with has highlights in yellow. Note the calls for Zone name by number are correct, but the return zone number and name are not.

There are also initial errors that are older, before the Zone import and I hadn't seen any impact from them.

Thanks for any insight. Happy to dive in further if it helps.
Attached Files
File Type: zip Caddx Log.zip (323.3 KB, 4 views)

Last edited by askme; November 2nd, 2016 at 04:03 PM.
Reply With Quote
  #39  
Old November 2nd, 2016, 12:51 PM
integlikewhoa integlikewhoa is offline
Seer Master
 
Join Date: Jan 2015
Location: California
Posts: 1,075
I have also noticed a problem with one of my windows showing opened in the HS dashboard but it's not opened (tripped) on the alarm panel keypad.

So at random as far as I can see it changed from status 0 to status 100. The icon in HS changes but the sting still says "Normal". it will stay that way until I physically open the window then close it. Then it corrects it's self.

I don't see anything in the logs showing that it changed to open. I do have a event that runs when any window is opened and that event fires when this changes and shows in the log. It's also always the same window or device. I don't seem to have problems with any others.

I'm currently checking that its not an outside device or http command that is changing that device. But even if it did doesn't the alarm panel check in every so often and correct it?
Reply With Quote
  #40  
Old November 2nd, 2016, 01:09 PM
Rien du Pre's Avatar
Rien du Pre Rien du Pre is offline
Seer Master
 
Join Date: Dec 2003
Location: Netherlands
Posts: 1,405
Quote:
Originally Posted by askme View Post
Attached file has screen shots of Config panels and the detailed debug log.

Connecting to the Caddx Panel through USB-Serial was flawless (thanks for this update). The Partitions were found properly, but I only have one partition.

The debug log with has highlights in yellow. Note the calls for Zone name by number are correct, but the return zone number and name are not.

There are also initial errors that are older, before the Zone import and I hadn't seen any impact from them.

Thanks for any insight. Happy to dive in further if it helps.
I found a typo, which causes a number of issues.

New version will be in the updater in 5 min.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Love KODI? Eman HomeSeer General Discussion Area 14 July 17th, 2016 08:50 AM
So much love for AP800? silverbeard Voice Recognition (ASR) Hardware 0 March 8th, 2009 12:44 AM
I love yours site AlexCoppas HomeSeer General Discussion Area 5 May 8th, 2006 03:41 AM


All times are GMT -4. The time now is 05:11 PM.


Copyright HomeSeer Technologies, LLC