Announcement

Collapse
No announcement yet.

SnevlCID Package Discussions

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Originally posted by Pete View Post
    Switched over the use of the 2nd W2C box over to the primary lines with a connection to HS Box #2. It is blocking the toll free calls after the first ring just using the W2C box as a CID/HSPhone box. I also added BL outgoing calls plugin to this box.

    I left the NetCID box connected for the first line and serially its connected to HS Box #1. Its still pretty slow at picking up the CID (doesn't come up until way after 4 rings).
    Ok, I'm pretty confused. From a standpoint of CID, are you saying the only difference between these two machines is that #1 still gets the CID from NetCallerID, while #2 gets it only from W2C? If that is the case, it just doesn't make any sense. The NetCallerID is not capable of holding stuff for 30 seconds before sending it out, and it's just too simple to be doing something else.

    What kind of serial port do you have the NetCallerID on? Have you tried moving it to a different port? Probably even better if it is a different interface to that port.

    Steve

    Comment


      Thank-you Steve for having a look see.

      Ok, I'm pretty confused. From a standpoint of CID, are you saying the only difference between these two machines is that #1 still gets the CID from NetCallerID, while #2 gets it only from W2C?
      Yes.

      I left machine #1 the same with the W2C box and NetCID. I also have left telephone line #2 connected to a second NETCID device.

      SnelvCID is getting its CID from the NETCID box tapped into now just the telco patch panel. The W2C doesn't have any phone lines on it. Another call came in and it did the TTS CID after the first ring. This is what was happening before; IE: sometimes doing the TTS CID after the first ring and other times after the phone quit ringing. (documented in the Snelv debug text).

      Call coming in and W2C and NETCid box seeing the CID:

      ========I am guessing this is the point in time where it gets the CID==============

      2013-05-30 16:32:54Z ... HSPhone - Searching for a match on CID. CID Num is: 1235551212
      2013-05-30 16:32:54Z ... Raw data from COM port = [###DATE05301633...NMBR1235551212...NAMEpete+++]


      zzzzzzzzzzzzzzzz
      46 seconds pass
      zzzzzzzzzzzzzzzz

      2013-05-30 16:33:40Z ... For Pete: About to set name device string
      2013-05-30 16:33:40Z ... For Pete: About to set number device string
      2013-05-30 16:33:40Z ... For Pete: About to set name device string (no block)
      2013-05-30 16:33:40Z ... For Pete: About to set announcement device string (no block)
      2013-05-30 16:33:40Z ... For Pete: About to trigger 'New CID' event (no block)

      2013-05-30 16:33:40Z ... Announcing: There is an incoming call from Pete at Home on the office line
      The serial connection has been the same for quit a few years now (maybe around 10 years now?) with the NetCID box connected to one port on the Digi Edgeport box. I have no other serial issues with the other 15 devices plugged into the two Edgeports. I am guessing though if the serial port was a problem then it would be showing the CID right after the first ring in the debug statements.

      The NETCID (as seen with the debug) is getting the CID out right away along with the W2C getting the CID right away.

      Its the answer / drop on telemarketers and the TTS CID that is getting delayed as seen in the debug statements (sometimes yes and sometimes no)

      HS Box #2 just has the W2C box connected to the primary telephone line. It is answering and doing TTS after the first ring. I have a different TTS voice on that box and now hear both of them now when a call comes in. It has only been connected since earlier today so will leave it connected for a few days like this.

      I can also add another NetCID box to that setup as I have a few spares and continue to test. I can also disconnect telephone line #2 from NetCID box #2 and disable the connection to the second for NetCID serial port and edit the SnelvCID script to reflect those changes.
      Last edited by Pete; June 3, 2013, 08:16 PM.
      - Pete

      Auto mator
      Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
      Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
      HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

      HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
      HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

      X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

      Comment


        Pete,

        Ok, so we have a little more data (but no complete view!). Is there by any chance some remote mounting of stuff going on? I.e., are either of the MDB databases somewhere else on your network?

        The truth is, the script is the script. It will only wait if either Homeseer or Win7 make it wait. There isn't anything in the script that says "wait until...". So I think there must be something else going on.

        Steve

        Comment


          Steve,

          Nope no remote databases. I want to watch how the W2C box works for a couple of days.

          Using V.80 on this box. Maybe will downgrade if the issue crops up.


          Pete
          - Pete

          Auto mator
          Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
          Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
          HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

          HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
          HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

          X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

          Comment


            Called myself this morning to see how its running on the HS box #2. Below are the HS logs and Debug logs.

            Note the timing of sequence of events from CID to CID TTS.

            Wondering if I should not utilize script for two phone lines on Homeseer box #1?


            ==========Homeseer Log==============

            6/4/2013 8:05:41 AM - Web Server - Web Server authorized local login successful from: User: pete
            6/4/2013 8:06:23 AM - HSPhone - Ring
            6/4/2013 8:06:27 AM - HSPhone - CID Name: PETE CID Number: 1235551212
            6/4/2013 8:06:27 AM - Phone Line 1 - Caller ID Name: PETE Number: 1235551212
            6/4/2013 8:06:27 AM - HSPhone - Searching for a match on CID. CID Num is: 1235551212
            6/4/2013 8:06:27 AM - HSPhone - So far, no match, call has CID, but is not private or out-of-area, using default handling
            6/4/2013 8:06:27 AM - HSPhone - HSP is not set to popup caller info
            6/4/2013 8:06:27 AM - HSPhone - HSP is not set to announce unknown callers
            6/4/2013 8:06:27 AM - Event - Event Trigger "Send HSP Call to SnevlCID"
            6/4/2013 8:06:27 AM - Event - Running script in background: SnevlCallerID_funcs.vben("read_hsp_cid","")
            6/4/2013 8:06:30 AM - HSPhone - Ring
            6/4/2013 8:06:35 AM - HSPhone - Ring

            ==========Debug Log==============

            2013-06-04 08:06:27Z ... About to get CIDName and CIDNumber from hsp
            2013-06-04 08:06:27Z ... read_hsp_cid(): name='PETE', num='1235551212'
            2013-06-04 08:06:27Z ... Got data from HSP. Now processing NCID data.
            2013-06-04 08:06:27Z ... process_ncid_data: starting, Name='PETE', Number='1235551212'
            2013-06-04 08:06:27Z ... Line=1, After reverse, Name = |PETE|
            2013-06-04 08:06:27Z ... In search_phonebook(), about to search for Number=1235551212
            2013-06-04 08:06:27Z ... returned from search_phonebook(), i_ret=0, phone_list_name='PETE', blocked=False
            2013-06-04 08:06:27Z ... Announcing: There is an incoming call from Office Line
            6/4/2013 9:26:29 AM HSPhone Ring ====> one ring only
            6/4/2013 9:26:32 AM HSPhone CID Name: TOLL FREE CALLE CID Number: 1235551212
            6/4/2013 9:26:32 AM Phone Line 1 Caller ID Name: TOLL FREE CALLE Number: 1235551212
            6/4/2013 9:26:32 AM HSPhone Searching for a match on CID. CID Num is: 1235551212
            6/4/2013 9:26:32 AM HSPhone So far, no match, call has CID, but is not private or out-of-area, using default handling
            6/4/2013 9:26:32 AM HSPhone HSP is not set to popup caller info
            6/4/2013 9:26:32 AM HSPhone HSP is not set to announce unknown callers
            6/4/2013 9:26:32 AM Event Event Trigger "Send HSP Call to SnevlCID"
            6/4/2013 9:26:32 AM Event Running script in background: SnevlCallerID_funcs.vben("read_hsp_cid","")
            6/4/2013 9:26:33 AM Phone Line 1 Connected: Line-1
            6/4/2013 9:26:33 AM Phone Line 1 Read 530 lines from IVR file C:\Program Files\HomeSeer 2\ivr\external_single_ooa.txt
            6/4/2013 9:26:33 AM Warning Exiting IVR processing, line is reset
            6/4/2013 9:26:33 AM HSPhone Line: Line-1 Speak: C:\Program Files\Homeseer 2\Data\Snevl\snevl_sit.wav
            6/4/2013 9:26:33 AM Phone Line 1 Playing wave file over the phone: C:\Program Files\Homeseer 2\Data\Snevl\snevl_sit.wav
            6/4/2013 9:26:33 AM HSPhone SpeakWait start
            6/4/2013 9:26:33 AM HSPhone Finished SpeakWait
            6/4/2013 9:26:33 AM HSPhone Line: Line-1 Speak: You're caller eye dee is not recognized, or is recognized as solicitation. We do not accept phone solicitations. Please remove this number from your call lists, and do not call back. Thank you.
            6/4/2013 9:26:34 AM HSPhone SpeakWait start
            6/4/2013 9:26:35 AM HSPhone Ignore current drop on line right after answer
            6/4/2013 9:26:50 AM HSPhone Finished SpeakWait
            6/4/2013 9:26:50 AM HSPhone Resetting line: Line-1
            6/4/2013 9:26:50 AM HSPhone Calling hangup for line: Line-1
            6/4/2013 9:26:50 AM HSPhone Enter OpenLine, line: Line-1
            6/4/2013 9:26:50 AM HSPhone Finished Resetting line: Line-1
            6/4/2013 9:26:50 AM HSPhone Resetting line: Line-1
            6/4/2013 9:26:50 AM HSPhone Calling hangup for line: Line-1
            6/4/2013 9:26:50 AM HSPhone Enter OpenLine, line: Line-1
            6/4/2013 9:26:50 AM HSPhone Finished Resetting line: Line-1
            6/4/2013 9:30:26 AM HSPhone Off Hook
            6/4/2013 9:30:26 AM Phone Line 1 Internal answer is disabled, ignoring off-hook
            Last edited by Pete; June 4, 2013, 09:52 AM.
            - Pete

            Auto mator
            Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
            Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
            HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

            HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
            HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

            X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

            Comment


              Steve, as I am trying to get more speakers to announce the CID, I am having some difficulty "hearing" the announcement. Its the voices and I am trying some new ones. However, it would be nice to have SnevlCID have the option to repeat the announcement. I did see you built a little script for a single line, but any suggestions for 2 lines? I suppose I could duplicate the announce field.

              -rick
              -Rick

              Comment


                After a few days of testing running SnelvCID on two machines both with HS version .80 and both with an HSPhone enabled with W2C box on it.

                1 - Machine #1 HSPro fully loaded with much running on it. SnelvCID only reading CID from NETCid box and not utilizing HSPhone. After a few days while still recording CID information quit announcing calls. HSPhone configured with W2C box but not connected to any phone line.

                2 - Machine #2 HS Standard with hardly anything running on it and using SnelvCID only reading CID from HSPhone. For whatever reason it keeps changing the configuration for HSPhone such that I didn't see the changes on the HSPhone configuration but noticed that it made HSPhone an answering machine a few times.

                My current preference would be to utilize SnelvCID with HSPhone W2C box on line #1 and NetCID box on line #2. That said though I am not sure though if this is going to work noting the issues mentioned above.

                I started again testing today now disconnecting any phone devices on machine #1 and moving toward making HS a single purpose phone machine for the time being using just the W2C box.
                - Pete

                Auto mator
                Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
                Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
                HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

                HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
                HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

                X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

                Comment


                  I'm at a loss Pete. I don't know why it would quit announcing, especially if it continues to log calls in the call history. Do other announcements work? Can you check the last update time on the CID Announcement Control device? If that ever gets turned off, announcements would stop. All I can think of is maybe something is turning off that device by accident.

                  Steve

                  Comment


                    Thanks Steve,

                    Yup other announcements work. Now two machines talk (using two different voice fonts). I may next connect the HS3 machine to the whole house announcement stuff sometime in the near future.

                    I will check the CID Annoucement control. I did notice though that for whatever reason the HSPhone settings didn't match what it was doing.

                    I have left Machine #1 to deal with another phone line and changed Machine #2 to deal with the primary line.

                    Machine #2 has a ztroller on it but moving that to machine #3 with HS3 on it such that the only hardware connected for the time being with be the W2C box. Only metrics are running on it relating to scripts and your script with just the W2C box on it.

                    I removed the HSPhone INI file to let it start from scratch. As its really the only (almost) script running on the machine I can spend more checking it out.
                    - Pete

                    Auto mator
                    Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
                    Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
                    HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

                    HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
                    HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

                    X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

                    Comment


                      Steve, I need some help

                      I moved my whole system from Hometroller to dedicated windows box and now I get double announcements for incoming calls. I get the normal trigger and announcement when the phone rings and now I get a second event trigger whenever I hang up the phone. I also get 2 text messages now instead of one.

                      Im sure its something stupid, but Ive tried for hours and cant figure it out.

                      When I moved things to the new computer, I got a bit lost and shuffled folders around. I may have mixed and matched older and newer versions of files. I dont know. I did manage to save my phone logs and database. I use Homeseer Phone and didnt change any of the settings I used before. I looked through the scripts and config folders expecting to see duplicate copies of files, but didnt.

                      Comment


                        Originally posted by prsmith777 View Post
                        Steve, I need some help

                        I moved my whole system from Hometroller to dedicated windows box and now I get double announcements for incoming calls. I get the normal trigger and announcement when the phone rings and now I get a second event trigger whenever I hang up the phone. I also get 2 text messages now instead of one.

                        Im sure its something stupid, but Ive tried for hours and cant figure it out.

                        When I moved things to the new computer, I got a bit lost and shuffled folders around. I may have mixed and matched older and newer versions of files. I dont know. I did manage to save my phone logs and database. I use Homeseer Phone and didnt change any of the settings I used before. I looked through the scripts and config folders expecting to see duplicate copies of files, but didnt.
                        What's kind of funny (well, maybe you won't think so) is that a few messages up in this thread Rick Morton was asking how to get two announcements. He wanted it and couldn't get it, while you don't want it but can't get rid of it!

                        What CID device are you using?

                        Steve

                        Comment


                          Im using the WHozzcalling4

                          Comment


                            Ahhhh... I need to go look at the code. The Whooz device reports lots more stuff besides an incoming call. Maybe the hangup is getting interpreted as a new call? I'll post back.

                            Steve

                            Comment


                              It was working fine on XP embedded on Hometroller.

                              Im on Windows 7 64 bit now. Dont know if that might be it.

                              What if I deleted everything except the database and started over?

                              Comment


                                Don't do anything drastic yet! Let me look at it. There may be an obvious cause. Give me 'til the morning.

                                Steve

                                Comment

                                Working...
                                X