Search found 60 matches

by bran2000
Saturday 04 February 2017 7:31
Forum: Python
Topic: Python plugin: Sonos [old version]
Replies: 177
Views: 36983

Re: Python plugin: Sonos

bran2000 wrote:i read it and i created a separated folder into the script folder :
domoticz/plugins/Sonos
do you think that's my problem ?
Any idea about my problem ?
by bran2000
Friday 03 February 2017 17:49
Forum: Python
Topic: Python plugin: Sonos [old version]
Replies: 177
Views: 36983

Re: Python plugin: Sonos

i read it and i created a separated folder into the script folder :
domoticz/plugins/Sonos
do you think that's my problem ?
by bran2000
Friday 03 February 2017 16:24
Forum: Python
Topic: Python plugin: Sonos [old version]
Replies: 177
Views: 36983

Re: Python plugin: Sonos

sorry when i run the script, i have this error any idea how i can fix this : pi@DomoticzSam ~/domoticz/scripts/Sonos $ ./plugin.py ./plugin.py: ligne8: $'\n<plugin key=Sonos name=Sonos' : commande introuvable ./plugin.py: ligne25: import : commande introuvable ./plugin.py: ligne26: import : commande ...
by bran2000
Friday 18 November 2016 16:51
Forum: Third party and supplementary tools
Topic: How to monitor your internet connection with virtual custom sensors
Replies: 257
Views: 76472

Re: How to monitor your internet connection with virtual custom sensors

this is the line in my crontab :
*/1 * * * * /home/pi/domoticz/scripts/speedtestdomo.sh
by bran2000
Friday 18 November 2016 16:48
Forum: Third party and supplementary tools
Topic: How to monitor your internet connection with virtual custom sensors
Replies: 257
Views: 76472

Re: How to monitor your internet connection with virtual custom sensors

it's not working.
when you said "Try also.user root in the cronjob line" you mean run the crontab with the root account ?
by bran2000
Friday 18 November 2016 15:54
Forum: Third party and supplementary tools
Topic: How to monitor your internet connection with virtual custom sensors
Replies: 257
Views: 76472

Re: How to monitor your internet connection with virtual custom sensors

Thanks for your answer but i have other tasks and they work fine. i'll try with tab key between every character.
when you said "don't forget to restart the cronjob" it means restart the crontab, i did this : sudo /etc/init.d/cron restart
For your information, i have a raspberry pi.
by bran2000
Friday 18 November 2016 10:57
Forum: Third party and supplementary tools
Topic: How to monitor your internet connection with virtual custom sensors
Replies: 257
Views: 76472

Re: How to monitor your internet connection with virtual custom sensors

Hi, I tested the script and when i start it it works fine. But when starting the script in cron, nothing happens. I can see the output.tx file is being updated but the info in the html page of domoticz is not updated. Also starting with sudo in cron doesn't help. Does anyone know why ? the same for ...
by bran2000
Sunday 14 August 2016 0:25
Forum: Blockly
Topic: Blocky Events set group
Replies: 0
Views: 650

Blocky Events set group

Hi,
someone knows how i can set a group and force to delay off, i have this fonction in the virtual switch but not for the group, any idea how i can fix this ? i tried to do this with the blocky events.
2016-08-14_002832.png
2016-08-14_002832.png (20.5 KiB) Viewed 629 times
thanks
by bran2000
Monday 08 August 2016 22:39
Forum: PHP and all others
Topic: PIR Lights after sunset
Replies: 1
Views: 713

Re: PIR Lights after sunset

Finally i did this !
2016-08-08_223846.png
2016-08-08_223846.png (60.67 KiB) Viewed 623 times
by bran2000
Monday 08 August 2016 8:06
Forum: PHP and all others
Topic: PIR Lights after sunset
Replies: 1
Views: 713

PIR Lights after sunset

Hi, i tried to use the blocky events to turn on the lights when there is motion with my pir, it only trigger when the sun sets and the lights turn on for 2 minutes. it doesn't work even if i add the symbol <,>,= after the variable sunset. i think the problem is here. 2016-08-08_075044.png The result ...
by bran2000
Friday 13 May 2016 15:00
Forum: LUA
Topic: Traffic with Google Maps in Domoticz
Replies: 129
Views: 33242

Re: Traffic with Google Maps in Domoticz

hi,
i don't remember which one i used but it's definitely one of those
just download the JSON.lua file :
http://regex.info/blog/lua/json

if it's not working, try this one with the wiki :
https://www.domoticz.com/wiki/Lua_-_json.lua
by bran2000
Tuesday 10 May 2016 8:12
Forum: Switches and Scenes
Topic: IP Camera motion detection
Replies: 30
Views: 28552

Re: IP Camera motion detection

the script seems working as i said the foscam.txt is fully filled.it already put the result of the curl in the foscam.txt but i have this error when i execute the script : pi@DomoticzSam ~/domoticz/scripts $ ./motion_detect_cam_jardin.sh % Total % Received % Xferd Average Speed Time Time Time ...
by bran2000
Sunday 01 May 2016 23:06
Forum: Switches and Scenes
Topic: IP Camera motion detection
Replies: 30
Views: 28552

Re: IP Camera motion detection

Hi, I recently bought the Foscam C1 which has SOUND detection as well, thought I'd modify your script a bit and share it here: #!/bin/bash FOSCAMIP="xxx.xxx.xxx.xxx" FOSCAM_PORT="88" FOSCAM_USER="xxxx" FOSCAM_PASS="xxxx" DOMO_IP="xxx.xxx.xxx.xxx" DOMO_PORT="8080" DOMO_USER="xxxx" DOMO_PASS="xxxx ...
by bran2000
Sunday 01 May 2016 21:45
Forum: Switches and Scenes
Topic: IP Camera motion detection
Replies: 30
Views: 28552

Re: IP Camera motion detection

Hi, I recently bought the Foscam C1 which has SOUND detection as well, thought I'd modify your script a bit and share it here: #!/bin/bash FOSCAMIP="xxx.xxx.xxx.xxx" FOSCAM_PORT="88" FOSCAM_USER="xxxx" FOSCAM_PASS="xxxx" DOMO_IP="xxx.xxx.xxx.xxx" DOMO_PORT="8080" DOMO_USER="xxxx" DOMO_PASS="xxxx ...
by bran2000
Monday 18 April 2016 15:39
Forum: LUA
Topic: Traffic with Google Maps in Domoticz
Replies: 129
Views: 33242

Re: Traffic with Google Maps in Domoticz

woody4165 wrote:
bran2000 wrote:Hi, i tried your new script !
it's working but the instructions about the traffic is in italian ?
anyway it can be in French for example ?
You mean the Message in Text box or in Telegram?

You can change as you want, just translate text in the script...
thanks i just did
by bran2000
Monday 18 April 2016 10:18
Forum: LUA
Topic: Traffic with Google Maps in Domoticz
Replies: 129
Views: 33242

Re: Traffic with Google Maps in Domoticz

Hi, i tried your new script !
it's working but the instructions about the traffic is in italian ?
anyway it can be in French for example ?
by bran2000
Sunday 17 April 2016 17:51
Forum: LUA
Topic: Traffic with Google Maps in Domoticz
Replies: 129
Views: 33242

Re: Traffic with Google Maps in Domoticz

Thanks, i'll tell you tomorrow but i'm still with the stable version.
by bran2000
Sunday 17 April 2016 10:07
Forum: LUA
Topic: Traffic with Google Maps in Domoticz
Replies: 129
Views: 33242

Re: Traffic with Google Maps in Domoticz

One more thing I've found regarding the google map api. The travel time is being calculated on a certain route and it may vary depending on the traffic. So if you want to know on which route is being calculated the travel time, just get this value: summary = gmaps.routes[1].summary And you will ...
by bran2000
Sunday 17 April 2016 9:54
Forum: Kodi (XBMC)
Topic: Control Domoticz with Kodi
Replies: 6
Views: 8166

Re: Control Domoticz with Kodi

Thanks a lot !