Search found 37 matches

by pascalbianca
Sunday 18 February 2018 17:45
Forum: PHP and all others
Topic: SCript won't stop
Replies: 15
Views: 1890

Re: SCript won't stop

Thank you so mutch @waaren it works.
by pascalbianca
Sunday 18 February 2018 17:32
Forum: PHP and all others
Topic: SCript won't stop
Replies: 15
Views: 1890

Re: SCript won't stop

I get this error in your second code.:

Code: Select all

Traceback (most recent call last):
  File "/home/pi/rpi_ws281x/python/examples/Domoticstestring.py", line 121, in <module>
    while os.path.isfile("/tmp/AllowDomoticstestring"):
NameError: name 'os' is not defined
Forgot import os.
by pascalbianca
Sunday 18 February 2018 9:11
Forum: Design, usability and languages
Topic: Volume button
Replies: 20
Views: 6457

Re: Volume button

I use as Nizaga suggets the Switch Type "Blinds" to control Kodi. Works great ! Volume button.png URLs are the following... http://192.168.1.66:8080/jsonrpc?request={"jsonrpc":"2.0","method":"Application.SetVolume","params":{"volume":"increment"},"id":1} http://192.168.1.66:8080/jsonrpc?request={"j...
by pascalbianca
Saturday 17 February 2018 17:25
Forum: PHP and all others
Topic: SCript won't stop
Replies: 15
Views: 1890

Re: SCript won't stop

I'm sorry @waaren but i did read that link but still i don't know how to make it work in my code.
Can you help me please?
How do i make a temperyfile that contains my code?
by pascalbianca
Saturday 17 February 2018 9:28
Forum: PHP and all others
Topic: Problem with playing radio live stream
Replies: 1
Views: 862

Re: Problem with playing radio live stream

I solved it to change from mplayer to mpc. This plays in domoticz without any problems. For the people that have the same isue i did the next. First i made a file for my radio station. There i placed the next code.: #!/bin/bash # echo 538 wget "http://127.0.0.1:8080/json.htm?type=command¶m=switc...
by pascalbianca
Saturday 17 February 2018 8:34
Forum: PHP and all others
Topic: Problem with playing radio live stream
Replies: 1
Views: 862

Problem with playing radio live stream

Hello everyone, I just get a audio usb for playing music on speakers because the standard pwm/audio from rpi is in juse by my rgb leds. Now i have the net problem. When i play a live stream in my terminal with mplayer then i have no problem. But when i play this in domoticz it sounds like its very f...
by pascalbianca
Saturday 17 February 2018 8:27
Forum: PHP and all others
Topic: SCript won't stop
Replies: 15
Views: 1890

Re: SCript won't stop

Hello @Waaren,

And how do i do that?
by pascalbianca
Friday 16 February 2018 18:29
Forum: PHP and all others
Topic: SCript won't stop
Replies: 15
Views: 1890

Re: SCript won't stop

Well thx for thinking but i don't want to run it once.
I want that the script runs when i push the button on and when i push the button off then the script stopts.
Running is no problem but stopping the script.

ledring.png
ledring.png (14.1 KiB) Viewed 1616 times
by pascalbianca
Thursday 08 February 2018 17:53
Forum: PHP and all others
Topic: SCript won't stop
Replies: 15
Views: 1890

Re: SCript won't stop

Because nobody seems to think with me, I will continue to do this. What I understand is that Domoticz executes script under root and it seems that the stop script is not done under the root. When I do this in the terminal under root I do not get any message that the script is leased while under the ...
by pascalbianca
Monday 05 February 2018 20:58
Forum: PHP and all others
Topic: SCript won't stop
Replies: 15
Views: 1890

Re: SCript won't stop

I'm just found a command that kill the script in the terminal screen. sudo pkill -9 -f Domoticstestring.py I just only need to find it to work in domoticz. BTW in both scripts i see in the log file this.: 2018-02-05 20:16:59.414 Error: Error executing script command (/home/pi/domoticz/scripts/startl...
by pascalbianca
Sunday 04 February 2018 22:04
Forum: PHP and all others
Topic: SCript won't stop
Replies: 15
Views: 1890

Re: SCript won't stop

# NeoPixel library strandtest example # Author: Tony DiCola (tony@tonydicola.com) # # Direct port of the Arduino NeoPixel library strandtest example. Showcases # various animations on a strip of NeoPixels. import time from neopixel import * import argparse import signal import sys def signal_handle...
by pascalbianca
Sunday 04 February 2018 20:41
Forum: PHP and all others
Topic: SCript won't stop
Replies: 15
Views: 1890

Re: SCript won't stop

i don't understand?
by pascalbianca
Sunday 04 February 2018 18:16
Forum: PHP and all others
Topic: SCript won't stop
Replies: 15
Views: 1890

SCript won't stop

I made a script that starts my rgb leds with this code.: #!/bin/sh sudo PYTHONPATH=".:build/lib.linux-armv7l-2.7" python /home/pi/rpi_ws281x/python/examples/Domoticstestring.py Now i want a script that stopts the rgb leds but i don't know how. If i run the script it can be stopt by pressing ctrl+c. ...
by pascalbianca
Saturday 03 February 2018 10:24
Forum: Raspberry Pi GPIO ( WiringPi )
Topic: NRF24L01 on GPIO
Replies: 6
Views: 2372

Re: NRF24L01 on GPIO

Hello everyone , I tryed to install the things in the link of Pi Mi-Light but when i tryed to.: git clone https://github.com/TMRh20/RF24 cd RF24 make all I get these messages.: Pi@raspberrypi:~/RF24 $ make all Makefile:17: Makefile.inc: Bestand of map bestaat niet [Running configure] [SECTION] Detec...
by pascalbianca
Thursday 01 February 2018 20:27
Forum: Others
Topic: Nefit Easy™
Replies: 690
Views: 101475

Re: Nefit Easy™

A script that runs at startup via cron, needs to have the environment settings in place, ie path setting. Allthough cron runs as the same user, the script is started without anny settings. Add them all to the script. My pi is working fine, but by a friend of my i did the same but the nefit server s...
by pascalbianca
Tuesday 30 January 2018 21:13
Forum: Third party and supplementary tools
Topic: Talking_Domoticz
Replies: 2
Views: 1280

Re: Talking_Domoticz

Does anybody know how you can change the volume for tts Voice RSS?
If i play music its a normal volume but when i want to hear the voice its almost not hearing.
by pascalbianca
Tuesday 30 January 2018 19:24
Forum: PHP and all others
Topic: Ziggo Humax script
Replies: 0
Views: 876

Ziggo Humax script

Hello everyone, We have a Humax from Ziggo and i want to use this script for it.: https://www.domoticz.com/wiki/Control_ZiggoHorizon What i understand is that is also for Humax but when i want to test i get errors like.: pi@raspberrypi:~ $ ./domoticz/scripts/check_upc.php PHP Warning: file_get_conte...
by pascalbianca
Tuesday 30 January 2018 18:46
Forum: PHP and all others
Topic: returned: 32512
Replies: 2
Views: 1096

Re: returned: 32512

Yes you're right , i installed now php and it works. thx!
by pascalbianca
Tuesday 30 January 2018 18:25
Forum: PHP and all others
Topic: returned: 32512
Replies: 2
Views: 1096

returned: 32512

Hello everyone, I tryed this script on wiki .: https://www.domoticz.com/wiki/Control_ZiggoHorizon But when i try to execute i get this error.: 2018-01-30 17:20:07.496 Error: Error executing script command (/home/pi/domoticz/scripts/switch_upc.php). returned: 32512 When i execute this in my raspberry...
by pascalbianca
Wednesday 24 January 2018 21:48
Forum: Suggestions
Topic: [132] Plugwise Support
Replies: 6
Views: 4668

Re: [132] Plugwise Support

Its a old post but i just also to try it out.
How do i install the plugwise module?