Edit 1: Must have something to do with permissions, root vs user as found here: https://www.domoticz.com/forum/viewtopic.php?t=7465 .
Edit 2: I have hardcoded the path to the config file in cli.py and now it works as under root it knows where to find it too.
Sorry to re-awaken this one after a year ...
Search found 15 matches
- Wednesday 19 October 2022 17:06
- Forum: Python
- Topic: Ecovac Deebot
- Replies: 2
- Views: 1770
- Monday 06 June 2022 20:08
- Forum: Others
- Topic: Nuki lock setup
- Replies: 81
- Views: 16188
Re: Nuki lock setup
Thanks again. Yeah older versions of the lock did come with a door sensor. Colleague of mine has that version too. But for the newer version they are sold seperately. OK, will see if I can get it from the lock or need the sensor!
- Monday 06 June 2022 14:33
- Forum: Others
- Topic: Nuki lock setup
- Replies: 81
- Views: 16188
Re: Nuki lock setup
Thanks. It would mean I need a door sensor correct? At the moment I only have 2 switches (so not the openor closed switch) and am not in posession of a door sensor itself.
- Monday 06 June 2022 10:48
- Forum: Others
- Topic: Nuki lock setup
- Replies: 81
- Views: 16188
Re: Nuki lock setup
Is there a way to get the status of the door operated by the Nuki device into Domoticz, i.e. if opened or closed? Would it work with a door sensor or is there something to be read from the lock or bridge directly?
Scenario wise, I would like to turn on lights in my hallway when the door is opened ...
Scenario wise, I would like to turn on lights in my hallway when the door is opened ...
- Wednesday 13 January 2021 10:38
- Forum: Others
- Topic: Wiki for honeywell out of date?
- Replies: 2
- Views: 844
Re: Wiki for honeywell out of date?
Only half a year later, but same response here.
- Wednesday 18 December 2019 20:10
- Forum: Python
- Topic: Twinkly christmas lights python Script
- Replies: 5
- Views: 2528
Re: twinkly python Script
Found your post looking to switch the miss' Twinkly lights in the tree.
To return the favor, is this what you are looking for?
https://www.domoticz.com/forum/viewtopic.php?t=17993
To return the favor, is this what you are looking for?
https://www.domoticz.com/forum/viewtopic.php?t=17993
- Monday 23 February 2015 15:27
- Forum: Switches and Scenes
- Topic: WiFi devices presence check
- Replies: 11
- Views: 13217
Re: WiFi devices presence check
Hi,
In the SNMP walk function the request string, be it somewhat tricky, is put in the "oid" value:
...
oid = keys[2]
...
This is used to get the required values from the router:
...
results_objs = netsnmp.VarList(netsnmp.Varbind(oid))
session.walk(results_objs)
...
From http://www.dd-wrt.com ...
In the SNMP walk function the request string, be it somewhat tricky, is put in the "oid" value:
...
oid = keys[2]
...
This is used to get the required values from the router:
...
results_objs = netsnmp.VarList(netsnmp.Varbind(oid))
session.walk(results_objs)
...
From http://www.dd-wrt.com ...
- Thursday 18 December 2014 13:02
- Forum: Switches and Scenes
- Topic: WiFi devices presence check
- Replies: 11
- Views: 13217
Re: WiFi devices presence check
Hello,
I found the above quite interesting and have been working on and off to make some additions to suit me. The result I put on github should others want to use it. I know there are some issues and I might not address them, but it might give others some ideas.
Below contents of the README ...
I found the above quite interesting and have been working on and off to make some additions to suit me. The result I put on github should others want to use it. I know there are some issues and I might not address them, but it might give others some ideas.
Below contents of the README ...
- Thursday 06 November 2014 22:32
- Forum: Blockly
- Topic: Blockly examples
- Replies: 709
- Views: 438635
Re: Blockly examples
I use the big time frame before and after sunset and sunrise because my significant other and the kids always complain it's too dark......
- Wednesday 05 November 2014 22:03
- Forum: Blockly
- Topic: Blockly examples
- Replies: 709
- Views: 438635
Re: Blockly examples
Just wanted to share my method for switching on things when it's a certain time before or after sunset. I use a virtual switch that is on or off which I then use to put in a blocky scheme.
This is the virtual (sun) switch which is one or off depending on the time and it moves with the shortening ...
This is the virtual (sun) switch which is one or off depending on the time and it moves with the shortening ...
- Tuesday 01 July 2014 22:15
- Forum: Python
- Topic: Newbie Question - Can I trigger Python Scripts from Domoticz
- Replies: 23
- Views: 20311
Re: Newbie Question - Can I trigger Python Scripts from Domo
You're welcome. Good to hear!
- Tuesday 01 July 2014 9:33
- Forum: Python
- Topic: Newbie Question - Can I trigger Python Scripts from Domoticz
- Replies: 23
- Views: 20311
Re: Newbie Question - Can I trigger Python Scripts from Domo
I tried again and works fine for me.
What I did:
I created a virtual on/off switch.
Put the example.py in ~/domoticz/scripts
Made the example.py executable
Added the full path to the scripts to the "On Action" like this : script:///home/pi/domoticz/scripts/example.py
Triggered the switch to ...
What I did:
I created a virtual on/off switch.
Put the example.py in ~/domoticz/scripts
Made the example.py executable
Added the full path to the scripts to the "On Action" like this : script:///home/pi/domoticz/scripts/example.py
Triggered the switch to ...
- Friday 20 June 2014 20:41
- Forum: Python
- Topic: Newbie Question - Can I trigger Python Scripts from Domoticz
- Replies: 23
- Views: 20311
Re: Newbie Question - Can I trigger Python Scripts from Domo
Bit of a newbie to Domoticz too. However as you can just stick scripts in ~/domoticz/scripts (path on my Pi, could be different for you), you could do something like this :
example.py
#!/usr/bin/python
mylogfile = '/home/pi/domoticz/scripts/example.log'
f = open(mylogfile, 'a')
f.write('Writing ...
example.py
#!/usr/bin/python
mylogfile = '/home/pi/domoticz/scripts/example.log'
f = open(mylogfile, 'a')
f.write('Writing ...
- Thursday 12 June 2014 12:28
- Forum: Rfxcom Transceiver
- Topic: There is Somfy in the air!!
- Replies: 171
- Views: 104014
Re: There is Somfy in the air!!
Managed to get my Somfy sunscreen working using an RFXtrx433E. Good stuff!
- Thursday 05 June 2014 10:44
- Forum: Others
- Topic: domoticz in synology as package! Available now.
- Replies: 1864
- Views: 383800
Re: domoticz in synology as package! Available now.
I put below on Github ticket #1041. Perhaps useful.
I don't have a solution but I build a Domoticz package for my cedarview DS1812+. It installed but like reported here did not start. This is what is said in /var/log/messages. Unfortunately I can't find any more meaningful logs.
Jun 4 20:43:05 ...
I don't have a solution but I build a Domoticz package for my cedarview DS1812+. It installed but like reported here did not start. This is what is said in /var/log/messages. Unfortunately I can't find any more meaningful logs.
Jun 4 20:43:05 ...