Search found 28 matches
- Wednesday 18 November 2020 3:05
- Forum: Python
- Topic: Python Plugin: TUYA
- Replies: 507
- Views: 105207
Re: Python Plugin: TUYA
Nice work. I do have an issue however with the plugin. I have RGBW Merkury lights and they show up in the tuya app as RGB, however in Domoticz they show up as on/off switches. I'll try to edit the plugin to log info about the bulbs and post back as to what I find out. But again thanks for the nice ...
- Saturday 23 May 2020 8:06
- Forum: LUA
- Topic: Problem with lua and os.execute
- Replies: 2
- Views: 2068
Re: Problem with lua and os.execute
OK so I figured out what the problem was with my python scripts and more importunately I fixed the issue and now python and Domoticz play nice. More or less a permission issue. Domoticz was running as a service using a local system account as such python was not able to execute (python needs ...
- Thursday 14 May 2020 7:34
- Forum: LUA
- Topic: Problem with lua and os.execute
- Replies: 2
- Views: 2068
Re: Problem with lua and os.execute
So it seems that this is a permissions issue - I signed out and signed in as a different user then signed out and signed back in as me and now all of a sudden all is working. Curious if it was a Window's update that needed to be completely installed. The good news is its fixed bad news is don't know ...
- Thursday 14 May 2020 6:00
- Forum: LUA
- Topic: Problem with lua and os.execute
- Replies: 2
- Views: 2068
Problem with lua and os.execute
Not sure what the problem is so I'm reaching out to the forum in hope of a possible solution. Basically If I use an os.execute statement in a time lua script it runs with no issues however if I use the same statement in an on or off trigger script i get no joy. What I am trying to do is execute a ...
- Monday 27 April 2020 9:44
- Forum: Python
- Topic: HDHomerun information in Domoticz
- Replies: 0
- Views: 242
HDHomerun information in Domoticz
I searched the forum for HDHomerun and got zero results however I thought I'd share as there isn't a lot of information on the HDHomerun api. I spent more time figuring out how to get the info out of the device than actually writing the scripts so a time hack for any that have a HDHomerun device and ...
- Friday 27 September 2019 2:33
- Forum: Other questions and discussions
- Topic: Scene creation/management
- Replies: 1
- Views: 539
Re: Scene creation/management
DId you ever get this sorted out - as I was looking at getting some of their switches I wanted to see if I'll have full function.
- Tuesday 28 May 2019 7:10
- Forum: Python
- Topic: Script to send notifications to Samsung multi-room speakers
- Replies: 0
- Views: 526
Script to send notifications to Samsung multi-room speakers
As I had a couple of Samsung wireless R1 speakers lying around I now send all Domoticz notifications and other generated messages to a Samsung multi-room speaker group without disrupting the use of or content being played on my Chromecast/Google devices. It can be downloaded at my GIthub https ...
- Saturday 25 May 2019 18:56
- Forum: Python
- Topic: Voice notifications python script
- Replies: 0
- Views: 542
Voice notifications python script
I wrote a simple notification script that uses pychromecast and gTTS to speak notifications to any Chromecast device. You can download it at my gitHub -https://github.com/moengiant/DomoNotify 1) Put the script in scripts/python 2) Add a notification to a device and pass the vars to the script using ...
- Wednesday 24 October 2018 22:43
- Forum: Python
- Topic: Python realtime Chromecast application detect script
- Replies: 12
- Views: 4994
Re: Python realtime Chromecast application detect script
Hey Triton - great script - however I will try to add a couple of lines to dump all the Chromecast statuses to a Domoticz user defined var. Having this info in a var makes it real easy to get all Chromecast statuses via the API using javascript. { "idx1": [{ "name": "Den TV", "status": "None ...
- Friday 19 October 2018 18:04
- Forum: Domoboard
- Topic: Domoboard - Windows installation
- Replies: 3
- Views: 6429
Re: Domoboard - Windows installation
If you want it to be windowless - no command line window open - rename the script to server.pyw and then run it. Use the cd command to go into the directory where you have the script and then run python server.pyw -c configuration.conf -d This all assumes you already have installed python on your ...
- Wednesday 17 October 2018 17:08
- Forum: Suggestions
- Topic: Chromecast status
- Replies: 40
- Views: 22357
Re: Chromecast status
downloaded pychromecast from github https://github.com/balloob/pychromecast and then using the following python script from __future__ import print_function import time import sys import logging import json import codecs from urllib.request import urlopen from urllib.parse import urlencode import ...
- Wednesday 17 October 2018 16:52
- Forum: Kodi (XBMC)
- Topic: Domoticz service addon for Kodi
- Replies: 4
- Views: 7843
Re: Domoticz service addon for Kodi
Hello Trying this script but getting a error inside KODI to check the log This is what i get there ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: Error Contents: global name 'user ...
- Wednesday 17 October 2018 16:51
- Forum: Suggestions
- Topic: Chromecast status
- Replies: 40
- Views: 22357
Re: Chromecast status
Does someone know if it's possible to start a stream through Chromecast (audio) via Domoticz? Yes, I use my chromecast/google mini's to announce notifications throughout my home. I have two groups set up in Google Home - one for whole house - use this for playing music all around the house - and ...
- Wednesday 17 October 2018 16:32
- Forum: Kodi (XBMC)
- Topic: Domoticz service addon for Kodi
- Replies: 4
- Views: 7843
Re: Domoticz service addon for Kodi
Hello Trying this script but getting a error inside KODI to check the log This is what i get there ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: Error Contents: global name 'user ...
- Monday 15 October 2018 19:59
- Forum: Python
- Topic: Plugin : read Type en subType of a device
- Replies: 4
- Views: 1336
Re: Plugin : read Type en subType of a device
Did you ever create a python script for type and subtype? I'm looking to do the same and store device per room by types in a user defined string variables as this is not possible via the API.
- Saturday 27 January 2018 1:57
- Forum: Dashticz
- Topic: Dashticz - Translations - NEW LANGUAGES WANTED!
- Replies: 36
- Views: 32792
Re: Dashticz - Translations - WANTED: ch,no,pt,uk,sl,sk,hu,pl,da
If this can be done over time I could do Swedish.
- Thursday 25 January 2018 6:32
- Forum: Dashticz
- Topic: How to add a jQuery module
- Replies: 0
- Views: 925
How to add a jQuery module
Has any one added a jQuery module to a custom page?
I'm wanting to create a custom page that mimics my nest. In doing so I wanted to use the jQuery knob module - yet when I add the call to the document onload function jQuery implodes.
http://anthonyterrien.com/demo/knob
I'm wanting to create a custom page that mimics my nest. In doing so I wanted to use the jQuery knob module - yet when I add the call to the document onload function jQuery implodes.
http://anthonyterrien.com/demo/knob
- Sunday 21 January 2018 6:46
- Forum: Python
- Topic: Python Schedule Script - DomoMatic
- Replies: 1
- Views: 528
Re: Python Schedule Script - DomoMatic
I added a daily task feature - format time in the schedule as DAY HH:MM
- Sunday 21 January 2018 2:56
- Forum: Python
- Topic: Python Schedule Script - DomoMatic
- Replies: 1
- Views: 528
Python Schedule Script - DomoMatic
Automate Domoticz with DomoMatic- As I wanted to make if fun on birthdays around the house I created this script to play a random birthday song using Chromecast using a schedule, In doing so I created DomoMatic to automate some other tasks as well As of now, it can do a couple of things - send a ...
- Friday 19 January 2018 4:39
- Forum: Python
- Topic: Python Weather Alert Script
- Replies: 8
- Views: 1635
Re: Python Weather Alert Script
The script can now send the title of the weather alert via a text message.