Announcement

Collapse
No announcement yet.

Arduino output very slow in homeseer

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

  • #16
    Hi Greig,

    Now I am testing a little bit more, I see that it takes quite some time for the event to trigger the devices by CAPI. Please see below. There are now 8 devices set at once, and that is working fast, as soon as the devices are triggered by CAPI. In this example about 1 second, and sometimes it takes 2 a 3 seconds. That is fast enough for me. But triggering by CAPI is taking some time as you can see. In this case about 12 seconds. But that differs and can take longer but also shorter.

    Is there another way to control the Arduino devices by script then by CAPI?

    hs.DeviceValue or its alternatives, do not work for me.
    jun-22 19:50:50 Arduino Plugin Change of Device Screen living links 2-2 BC set position 1st digit To Value 0
    jun-22 19:50:50 Arduino Plugin Change of Device Screen living links 2-1 Go to position To Value 1
    jun-22 19:50:50 Arduino Plugin Change of Device Screen living links 1-8 Power stepperdriver To Value 0
    jun-22 19:50:50 Arduino Plugin Change of Device Screen living links 1-7 Power arduino board To Value 1
    jun-22 19:50:50 Arduino Plugin Change of Device Screen living links 1-4 BC set position 3rd digit To Value 0
    jun-22 19:50:50 Arduino Plugin Change of Device Screen living links 1-3 BC set position 2nd digit To Value 1
    jun-22 19:50:49 Arduino Plugin Change of Device Screen living links 1-2 BC set position 1st digit To Value 0
    jun-22 19:50:49 Arduino Plugin Change of Device Screen living links 1-1 Go to position To Value 1
    jun-22 19:50:49 Device Control Device: 3 Arduino Plugin Screen living links 2-2 BC set position 1st digit to Off (0) by/from: CAPI Control Handler
    jun-22 19:50:49 Device Control Device: 3 Arduino Plugin Screen living links 2-1 Go to position to On (1) by/from: CAPI Control Handler
    jun-22 19:50:49 Device Control Device: 3 Arduino Plugin Screen living links 1-8 Power stepperdriver to Off (0) by/from: CAPI Control Handler
    jun-22 19:50:49 Device Control Device: 3 Arduino Plugin Screen living links 1-7 Power arduino board to On (1) by/from: CAPI Control Handler
    jun-22 19:50:49 Device Control Device: 3 Arduino Plugin Screen living links 1-4 BC set position 3rd digit to Off (0) by/from: CAPI Control Handler
    jun-22 19:50:49 Device Control Device: 3 Arduino Plugin Screen living links 1-3 BC set position 2nd digit to On (1) by/from: CAPI Control Handler
    jun-22 19:50:49 Device Control Device: 3 Arduino Plugin Screen living links 1-2 BC set position 1st digit to Off (0) by/from: CAPI Control Handler
    jun-22 19:50:49 Device Control Device: 3 Arduino Plugin Screen living links 1-1 Go to position to On (1) by/from: CAPI Control Handler
    jun-22 19:50:37 Event Running script in background: C:/Program Files/Homeseer HS3/scripts/ZZZ Ontwikkeling/Test 8.vb
    jun-22 19:50:37 Event Event Trigger "ZZ ontwikkelomgeving Test event"
    jun-22 19:50:37 Event Event ZZ ontwikkelomgeving Test event triggered by the event page 'Run' button.

    Comment


    • #17
      Hi Greig,

      The problem above is solved. I just tried the above combination again and again and as you earlier mentioned, the Arduino is set almost instant, within 1 seconds. The problem was/is not the plugin, it was/is Homeseer itself. As far as I could determinate, HS can not handle the timers in the way I used them, so a lot of events where processed every second. And that was messing up my system by making it slow. I solved this by making other choices. This is the thread that helped me with this:

      https://forums.homeseer.com/forum/ho...r-on-460/page8

      Many thanks again. Everything is now working great!

      Comment

      Working...
      X