Search found 19 matches

by savage007
Friday 27 September 2019 8:54
Forum: dzVents
Topic: recording with ffmpeg not working [Solved]
Replies: 7
Views: 1603

Re: recording with ffmpeg not working [Solved]

Here is my script for future reference


#!/bin/bash

SnapVid="/home/edwin/snapvid.mp4"

#Make a 10 sec video
sudo -u edwin /snap/bin/ffmpeg -i rtsp://user:[email protected]:88/videoMain -t 10 -c:a aac -vsync 2 -map 0 -f segment -strftime 1 -segment_time 60 -segment_format mp4 $SnapVid ...
by savage007
Friday 27 September 2019 8:50
Forum: dzVents
Topic: recording with ffmpeg not working [Solved]
Replies: 7
Views: 1603

Re: recording with ffmpeg not working [Solved]

I have tried it with a bash file it works! :-)

Thank you for your time !!
by savage007
Tuesday 24 September 2019 15:32
Forum: dzVents
Topic: recording with ffmpeg not working [Solved]
Replies: 7
Views: 1603

Re: recording with ffmpeg not working [Solved]

Stil nothing :

2019-09-24 15:27:33.061 Status: User: Admin initiated a switch command (68/Alarm signaal/Off)
2019-09-24 15:27:33.109 Status: dzVents: Info: Handling events for: "Alarm signaal", value: "Unlocked"
2019-09-24 15:27:33.109 Status: dzVents: Info: ------ Start internal script: Script #1 ...
by savage007
Thursday 19 September 2019 8:36
Forum: dzVents
Topic: recording with ffmpeg not working [Solved]
Replies: 7
Views: 1603

Re: recording with ffmpeg not working [Solved]

Here is the output from your script :
2019-09-19 08:44:16.920 Status: User: Admin initiated a switch command (68/Alarm signaal/On)
2019-09-19 08:44:16.939 Status: dzVents: Info: Handling events for: "Alarm signaal", value: "Locked"
2019-09-19 08:44:16.939 Status: dzVents: Info: ------ Start internal ...
by savage007
Wednesday 18 September 2019 16:23
Forum: dzVents
Topic: recording with ffmpeg not working [Solved]
Replies: 7
Views: 1603

recording with ffmpeg not working [Solved]

Hi, this script is not working, i get zero results, but when i put the command ls instead of ffmpeg.... i get the directory listing in domoticz log.

The ffmpeg command works at the commandline. I had to put in an escape \\ for the ! In my password.

I also tried another command, “rm ~/abc.avi ...
by savage007
Tuesday 17 September 2019 12:27
Forum: dzVents
Topic: Yeelights with selector Script not working [Solved]
Replies: 3
Views: 1408

Re: Yeelights with selector Script not working [Solved]

your adaptations to the script are working! :)

I also figured out i had defined the wrong types of dimmers for the 'Dimmer','WhiteTemp','Hue','Sat','Bri','Duration' switches, now that i corrected those and added your script its all working.

For future reference : from the Yeelight/Domoticz wiki ...
by savage007
Tuesday 17 September 2019 11:59
Forum: dzVents
Topic: Yeelights with selector Script not working [Solved]
Replies: 3
Views: 1408

Re: Yeelights with selector Script not working [Solved]

Yes, thank you, you are right on the spot about just switching the first item! :)

I will try your script and give you some feedback! :D
by savage007
Tuesday 17 September 2019 9:26
Forum: dzVents
Topic: Yeelights with selector Script not working [Solved]
Replies: 3
Views: 1408

Yeelights with selector Script not working [Solved]

Hi, my script for controlling several yeelights through a selector is not working correct, can anybody help me?

I found this script on some russian forum ( https://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=http://4pda.ru/forum/index.php ...
by savage007
Monday 16 September 2019 9:40
Forum: LUA
Topic: Yeelight and Hue lights - use same settings
Replies: 19
Views: 7309

Re: Yeelight and Hue lights - use same settings

damirch wrote: Wednesday 10 January 2018 16:05 Anybody who can fix this for me? I'll pay :)
Hi, did you have any luck with this script?
by savage007
Tuesday 12 February 2019 13:38
Forum: Python
Topic: Generic Denon / Marantz python plugin
Replies: 129
Views: 38205

Re: Generic Denon / Marantz python plugin

This is weird, i copied your script from github and pasted in plugin.py, saved it and updated the device in domoticz.

Now it works, no more errors! :lol: :lol:
by savage007
Monday 11 February 2019 15:42
Forum: Python
Topic: Generic Denon / Marantz python plugin
Replies: 129
Views: 38205

Re: Generic Denon / Marantz python plugin

I found this somewhere : A 'KeyError' normally means that the plugin has accessed a non-existent Key in a Dictionary.
@Dnpwwo : This is actualy a quote from you ;-)

What does this mean for the script?

Is the dictionary the sources list? ( Off|SOURCE|TUNER|HDRADIO|CD|PHONO|M-XPORT|NET/USB|DVD|BD|TV ...
by savage007
Monday 11 February 2019 10:58
Forum: Python
Topic: Generic Denon / Marantz python plugin
Replies: 129
Views: 38205

Re: Generic Denon / Marantz python plugin

I can see the plugin tries to send a command to switch to level 110 which is SAT but it fails with : 'onCommand' failed 'KeyError'

2019-02-11 11:02:15.906 (sr6006) Pushing 'onCommandCallback' on to queue
2019-02-11 11:02:15.936 (sr6006) Processing 'onCommandCallback' message
2019-02-11 11:02:15.936 ...
by savage007
Monday 11 February 2019 8:30
Forum: Python
Topic: Generic Denon / Marantz python plugin
Replies: 129
Views: 38205

Re: Generic Denon / Marantz python plugin

Hi,

I've been looking at the script and when i replace this line in function onCommand :

self.DenonConn.Send(Message='SI'+self.selectorMap[Level]+'\r', Delay=delay)

with :

self.DenonConn.Send(Message='SISAT\r', Delay=delay)

The reciever switches to SAT.


Here's a piece of the log:

2019-02 ...
by savage007
Friday 08 February 2019 9:54
Forum: Python
Topic: Generic Denon / Marantz python plugin
Replies: 129
Views: 38205

Re: Generic Denon / Marantz python plugin

Hi, i want to use this plugin with a marantz sr6006, i installed it in domoticz and now i can only use it to switch power on and off.

The input selector doesnt work correct when i select off the receiver turns off and when i select any of the other options it turns on but other then that it does ...
by savage007
Monday 21 November 2016 12:32
Forum: RFLink Transceiver
Topic: New RFLink firmware (R44) now available!
Replies: 20
Views: 6958

Re: New RFLink firmware (R44) now available!

Hi, how do i control the living colors generation 1 from within domoticz?

I have the rflink with a cc2500 attached to it with firmware r44.
by savage007
Monday 30 November 2015 16:17
Forum: RFLink Transceiver
Topic: Wifi RFLink
Replies: 69
Views: 45956

Re: Wifi RFLink

Where did you get those library files for r42 espeasy you were talking about on http://www.esp8266.nu/forum/viewtopic.php?f=6&t=242&start=10#p1664 ?

I am missing all these files :


#include <ESP8266WiFi.h>
#include <WiFiUdp.h>
#include <ESP8266WebServer.h>
#include <Wire.h>
#include <PubSubClient ...
by savage007
Saturday 19 September 2015 8:06
Forum: Third party and supplementary tools
Topic: dtgbot - Domoticz TeleGram BOT
Replies: 599
Views: 139138

Re: dtgbot - Domoticz TeleGram BOT

Is it possible to send a message from a url/http request as the user instead of the bot?
by savage007
Wednesday 16 September 2015 14:22
Forum: Third party and supplementary tools
Topic: dtgbot - Domoticz TeleGram BOT
Replies: 599
Views: 139138

Re: dtgbot - Domoticz TeleGram BOT

Hi,

how can i control Domoticz from an url? When i send a message through https://api.telegram.org/bot11111111:BBBBBB5t6yO_gBBBBBCwg-BBBBBB/sendMessage?chat_id=12345678&text=0N 2

Domoticz doesnt respond, it looks like dtgbot doesnt listen to the messages that are sent throug the bots account ...
by savage007
Sunday 13 September 2015 20:30
Forum: Other questions and discussions
Topic: Coupling IFTTT to Domoticz by eMail
Replies: 8
Views: 5981

Re: Coupling IFTTT to Domoticz by eMail

hi,

the script you provided doesn't work in my setup, i get an error message :


2015/09/13 17:42:29 DEBUG: Check Switch Name: is aangekomen op September 13, 201
5 at 01:36PM -> List raises an exception
2015/09/13 17:42:29 DEBUG: Check Switch Name: Inlogpoging geblokkeerd -> List ra
ises an ...