Menu

#2 Use in domoticz

v1.0_(example)
open
None
5
2016-02-17
2016-02-15
Felix
No

I am using JSTx with Domoticz (using these instructions https://www.domoticz.com/forum/viewtopic.php?f=4&t=2423). In a prior installation it worked seemlessly. After doing a fresh install I am getting: 2016-02-15 22:55:20.778 Error: EventSystem: Warning!, lua script /home/pi/domoticz/scripts/lua/script_device_Eetkamer.lua has been running for more than 10 seconds

If I run the script directly the command seems to hang.

Can you help?

Cheers,
Lex

Discussion

  • Sander Raaijmakers

    Hi Lex,

    I would require a bit more information:
    system you are running on (kernel + rpi 1/2 etc + base domoticz image url)
    command you run (jstx - .....)
    * any (debug) output

    Thanks,

    Sander

     
  • Felix

    Felix - 2016-02-16

    dmesg
    [ 0.000000] Linux version 4.1.13-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.8.3 20140303 (prerelease) (crosstool-NG linaro-1.13.1+bzr2650 - Linaro GCC 2014.03) ) #826 SMP PREEMPT Fri Nov 13 20:19:03 GMT 2015
    [ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
    [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [ 0.000000] Machine model: Raspberry Pi 2 Model B Rev 1.1

    jstx-0.24

    command:
    /home/pi/JSTx/JSTx -F /home/pi/JSTx/font/decker.ttf -s 40 -W 1280 -H 720 -w 1200 -h 60 -x 100 -y 120 -t " $*" -T 30 -b "100,100,100,128" -f "255,255,255,255" -i image:alert.png -i image:/home/pi/domoticz/scripts/alert.png --dfb:quiet --remote=192.168.178.36

    Text and image is displayed on the television but the script doesn't end. If I use Ctrl-C I get:
    ^C(!) [13901: 0.000] --> Caught signal 2
    (sent by the kernel) <--

    Is this enough info or do you need any log files?

     
  • Sander Raaijmakers

    Hi Felix,

    ok, obviously I could ask to go back to the previous release and output the same information, but let's try this:

    • Did you try recompiling the JSTx binary under the current RPI release (in case of a dependency issue) ?
    • the -T 30 means it waits 30 seconds, did you try removing that or making it smaller to e.g. 5 (s) ?
    • did you try pressing OK on the remote on the TV and seeing what happens then ?
    • try "-D 2" iso "-T 30" (and using e.g. OK to exit)

    Let me know, it seems that it simply waits 30 seconds.

    Tx,

    Sander

     

Log in to post a comment.