Search found 15 matches
- Wednesday 13 March 2019 15:51
- Forum: Bash / PowerShell / Batch etc.
- Topic: PROBLEM bash script does not start (ruby?)
- Replies: 1
- Views: 1142
Re: PROBLEM bash script does not start (ruby?)
I've found that the problem is that the script is executed as root and not as user pi (the default raspberry user). If i execute the script as root, it gives me the error: /usr/bin/env: ‘ruby’: No such file or directory If i execute the script as user pi all is ok. Is there a way to force domotic ...
- Wednesday 13 March 2019 12:33
- Forum: Bash / PowerShell / Batch etc.
- Topic: PROBLEM bash script does not start (ruby?)
- Replies: 1
- Views: 1142
PROBLEM bash script does not start (ruby?)
Hi all, i'm trying to use a bash script to start a command. I've associated the script to a dummy switch. The log is ok, it seems that the script is correctly executed but the command inside the script is not executed. When i execute the .sh script from command line it's ok. This is the script ...
- Tuesday 27 November 2018 20:18
- Forum: Python
- Topic: Python script for full rgb + brightness control of easyESP neopixel
- Replies: 2
- Views: 1391
Re: Python script for full rgb + brightness control of easyESP neopixel
Hi,i've tried your script. In the log i've this error: Error: Error executing script command (/opt/domoticz/scripts/python/ledstrip.py). returned: 256 If i try to launch the script from cli using python ledstrip.py -i 97 -e 233 it gives me: Traceback (most recent call last): File "ledstrip.py", line ...
- Sunday 25 November 2018 12:00
- Forum: Python
- Topic: [REQUEST] Plugin for Tuya
- Replies: 373
- Views: 101256
Re: [REQUEST] Plugin for Tuya
Hi Tixi,tixi7 wrote: ↑Friday 23 November 2018 21:45 https://github.com/codetheweb/tuyapi/bl ... s/SETUP.md
I use a previous version (check history if needed).
you were right.
I've used your method to extract key and mine was wrong. Now it works. Thank you.
- Friday 23 November 2018 21:24
- Forum: Python
- Topic: [REQUEST] Plugin for Tuya
- Replies: 373
- Views: 101256
Re: [REQUEST] Plugin for Tuya
Hi,
I've captured traffic on My phone during the lamp registration with the app and after i've analyzed and
extracted the keys.
Is there a simplest way to re-check it?
I've captured traffic on My phone during the lamp registration with the app and after i've analyzed and
extracted the keys.
Is there a simplest way to re-check it?
- Friday 23 November 2018 15:50
- Forum: ESP8266
- Topic: Esp8266 + WS2812 Strip Led + Domoticz
- Replies: 10
- Views: 6846
Re: Esp8266 + WS2812 Strip Led + Domoticz
How to integrate it with domoticz? What's the hardware to use to make it work?
Do i need the gateway? is there a way to use only esp8266 (with espeasy inside)?
Do i need the gateway? is there a way to use only esp8266 (with espeasy inside)?
- Friday 23 November 2018 11:48
- Forum: ESP8266
- Topic: Esp8266 + WS2812 Strip Led + Domoticz
- Replies: 10
- Views: 6846
Esp8266 + WS2812 Strip Led + Domoticz
Hi all,
i've read on forum about some projects to integrate the WS2812 RGB led strip with Domoticz but i've not found a WiKi or tutorial on how to integrate it with Domoticz.
Can someone reassume the steps to make it work?
i've read on forum about some projects to integrate the WS2812 RGB led strip with Domoticz but i've not found a WiKi or tutorial on how to integrate it with Domoticz.
Can someone reassume the steps to make it work?
- Friday 23 November 2018 8:41
- Forum: Python
- Topic: [REQUEST] Plugin for Tuya
- Replies: 373
- Views: 101256
Re: [REQUEST] Plugin for Tuya
Hi tixi,
i've no app installed on my phone and there is no plugin enabled on domoticz
i've no app installed on my phone and there is no plugin enabled on domoticz
- Thursday 22 November 2018 11:22
- Forum: Python
- Topic: [REQUEST] Plugin for Tuya
- Replies: 373
- Views: 101256
Re: [REQUEST] Plugin for Tuya
if i digit: python -V it gives me 2.7.12 i've installed 3.5 but using the command python -V it gives me the 2.7.12 The two versions are installed in directory /usr/local/lib Then i've tried to launche the script with command python3 and the result is: A problem occur please retry... I've tried using ...
- Wednesday 21 November 2018 17:03
- Forum: Python
- Topic: [REQUEST] Plugin for Tuya
- Replies: 373
- Views: 101256
Re: [REQUEST] Plugin for Tuya
Hi,i managed to make it work. Launching the get_dps.py script i've this result: Plug State Information: {u'devId': u'xxxxxxxxxxxxx', u'dps': {u'10': u'ffff0505ff000000ff00ffff00ff00ff0000ff000000', u'1': True, u'3': 255, u'2': u'colour', u'5': u'ff00fb012dffff', u'7': u'ffff500100ff00', u'6': u ...
- Wednesday 21 November 2018 11:24
- Forum: Python
- Topic: [REQUEST] Plugin for Tuya
- Replies: 373
- Views: 101256
Re: [REQUEST] Plugin for Tuya
For the import error, check the readme. You have to install pycrypto (section prerequisites) and then add a symbolic link to it in the plugin directory (section known issue). For the 104, Connection reset by peer it may come from two different factors: - tuya app open - device not reachable (if you ...
- Tuesday 20 November 2018 15:14
- Forum: Python
- Topic: [REQUEST] Plugin for Tuya
- Replies: 373
- Views: 101256
Re: [REQUEST] Plugin for Tuya
This is what happens in my domoticz log when i add tuya hardware: 2018-11-20 15:12:33.975 Status: (tuya) Started. 2018-11-20 15:12:34.137 (tuya) Debug logging mask set to: PYTHON PLUGIN QUEUE IMAGE DEVICE CONNECTION MESSAGE ALL 2018-11-20 15:12:34.137 (tuya) onStart called 2018-11-20 15:12:34.137 ...
- Tuesday 20 November 2018 15:07
- Forum: Python
- Topic: [REQUEST] Plugin for Tuya
- Replies: 373
- Views: 101256
Re: [REQUEST] Plugin for Tuya
Sorry for the delay, I didn't get mail notifications from the forum... For the smart plug i put a script on github to get the dps values (get_dps.py present in the multiplug branch). It is a simple script that get the state and returns dps values with a boolean field. Some comments for the bug that ...
- Monday 12 November 2018 10:39
- Forum: Python
- Topic: [REQUEST] Plugin for Tuya
- Replies: 373
- Views: 101256
Re: [REQUEST] Plugin for Tuya
DAVIZINHO,
it's the same problem that i've witch the smart-bulb plugin.
it's the same problem that i've witch the smart-bulb plugin.
- Sunday 11 November 2018 16:43
- Forum: Python
- Topic: [REQUEST] Plugin for Tuya
- Replies: 373
- Views: 101256
Re: [REQUEST] Plugin for Tuya
Hi, I've a tuya bulb. I've installed the Smart-Bulb plugin and it does not give me errors. I've added the lamp switch but i cannot power on and off the bulb. If i power on and off the bulb via the tuya app it works well and the status on the domoticz switch is updated. Also,after some minutes ...