Search found 13 matches

by hkemal
Friday 19 June 2020 22:07
Forum: dzVents
Topic: Triggering dzVents script on string in logfile ? [Solved]
Replies: 1
Views: 801

Triggering dzVents script on string in logfile ? [Solved]

Hello all, I have a script in dzVents that controls the plugs for my TV and Hifi based on the changes of the Kodi hardware. In a trigger section I have devices = { 'Kodi' }, so my script gets triggered every time Kodi changes value (domoticz.devices('Kodi').state == "Video", "Audio" etc.). This is ...
by hkemal
Thursday 05 September 2019 12:49
Forum: Android
Topic: Domoticz app 2.0
Replies: 2380
Views: 639186

Re: Domoticz app 2.0

Hello guys, I am using Domoticz for years now and I am very happy with it. The app is also great and it's great, that it also is open source. How about getting the free version of the app into F-Droid store? I have a smartphone without Google Play and the app with only free features would be great ...
by hkemal
Wednesday 10 April 2019 10:21
Forum: Android
Topic: Domoticz app 2.0
Replies: 2380
Views: 639186

Re: Domoticz app 2.0

Hello, I have a virtual multiswitch in my Domoticz and it has states like this: 0 Off 10 Clean 20 Pause ... In Domoticz Web the values are shown as state-switch-surface (no idea what is the correct name) 10 Clean 20 Pause .. so I can choose Clean. In Domoticz App I have a drop down menu with the ...
by hkemal
Thursday 21 February 2019 16:44
Forum: Python
Topic: Logging to domoticz log from Python script.
Replies: 2
Views: 1375

Logging to domoticz log from Python script.

Hello all, I have a python script which sorts the pictures uploaded from the smartphones in a specific folder structure. The script ran before on a Synology and now it runs on the same Raspi as the Domoticz. Before on Synology when an error occurred the script would send me an email. I got this ...
by hkemal
Tuesday 29 January 2019 13:39
Forum: Python
Topic: Python plugin: Battery Level for Z-Wave Devices
Replies: 167
Views: 34890

Re: Python plugin: Battery Level for Z-Wave Devices

I turned on debuging in the plugin and restarted it at 13:01 with 30min update interval. 13:01:45 The plugin reads the battery values. 13:01 - ... The plugin reports this every 10s" Pushing 'onHeartbeatCallback' on to queue, Processing 'onHeartbeatCallback' message" 13:31:45 (or after that) The ...
by hkemal
Monday 28 January 2019 20:58
Forum: dzVents
Topic: domoticz.openURL with JSON to control Kodi volume
Replies: 11
Views: 1994

Re: domoticz.openURL with JSON to control Kodi volume

I had to do some escaping and forming of the data to match my syntax in curl, but this finally did the trick testStrings[1] = "{\"jsonrpc\":\"2.0\", \"method\":\"Application.SetVolume\", \"id\":1, \"params\":{\"volume\":80}}" Thank you!!
by hkemal
Monday 28 January 2019 13:17
Forum: dzVents
Topic: domoticz.openURL with JSON to control Kodi volume
Replies: 11
Views: 1994

Re: domoticz.openURL with JSON to control Kodi volume

Hello, sorry for the delay, I executed it now. Kodi gives a parse error back. 2019-01-28 13:12:00.376 Status: dzVents: Info: kodiResponse Test: ------ Start internal script: kodi:, trigger: every minute 2019-01-28 13:12:00.376 Status: dzVents: Debug: kodiResponse Test: nil 2019-01-28 13:12:00.377 ...
by hkemal
Sunday 27 January 2019 19:18
Forum: Python
Topic: Python plugin: Battery Level for Z-Wave Devices
Replies: 167
Views: 34890

Re: Python plugin: Battery Level for Z-Wave Devices

Hello, I am running the latest version of plugin on the latest domoticz stable. The values do not get updated after 60 min. The values only update if I stop the plugin and start it again. My sensor was reporting battery values in OZW from 20% to 8% over a course of couple of days, but the value of ...
by hkemal
Monday 21 January 2019 22:32
Forum: Z-Wave
Topic: Z-Wave with Raspberry showing unknown nodes
Replies: 0
Views: 275

Z-Wave with Raspberry showing unknown nodes

Hello all, I setup my Z-Wave network some time ago with a Razberry card on Raspi. The setup is doing fine but I have two unknown entries. Always a correct node and then another one with the same id but as unknown. One is the controller itself and one is a Popp socket. Bildschirmfoto vom 2019-01-21 ...
by hkemal
Saturday 19 January 2019 20:10
Forum: dzVents
Topic: domoticz.openURL with JSON to control Kodi volume
Replies: 11
Views: 1994

Re: domoticz.openURL with JSON to control Kodi volume

This is what I get dzVents: Info: kodiResponse Test: ------ Start internal script: testkodi:, trigger: every minute 2019-01-19 20:08:00.579 Status: dzVents: Debug: kodiResponse Test: OpenURL: url = http://192.168.1.4:8080/addons/ 2019-01-19 20:08:00.579 Status: dzVents: Debug: kodiResponse Test ...
by hkemal
Friday 18 January 2019 16:31
Forum: dzVents
Topic: domoticz.openURL with JSON to control Kodi volume
Replies: 11
Views: 1994

Re: domoticz.openURL with JSON to control Kodi volume

Domoticz doesn't give any error but Kodi is not reacting. Volume does not get changed. Maybe Kodi returns some error code, how can I catch this? Can you try this ? callback = "kodiResponse" return { on = { timer = { "every minute" }, httpResponses = { callback .. "*" }, }, logging = { level ...
by hkemal
Thursday 17 January 2019 12:30
Forum: dzVents
Topic: domoticz.openURL with JSON to control Kodi volume
Replies: 11
Views: 1994

Re: domoticz.openURL with JSON to control Kodi volume

Hello,

I tried it.
Domoticz doesn't give any error but Kodi is not reacting. Volume does not get changed.

Maybe Kodi returns some error code, how can I catch this?

Regards
Kemal
by hkemal
Wednesday 16 January 2019 14:32
Forum: dzVents
Topic: domoticz.openURL with JSON to control Kodi volume
Replies: 11
Views: 1994

domoticz.openURL with JSON to control Kodi volume

Hello all, I have this "curl -H "Content-type: application/json" -X POST -d '{"jsonrpc":"2.0","method":"Application.SetVolume","id":1,"params":{"volume":80}}' http://192.168.1.4:8080/jsonrpc" in a bash script and I am using os.execute out of dzVents to set the volume on my Kodi. I would like to use ...