Search found 12 matches

by moacir
Monday 02 December 2019 6:36
Forum: Others
Topic: Using BROADLINK RM2 on DOMOTICZ
Replies: 254
Views: 124575

Re: Using BROADLINK RM2 on DOMOTICZ

Hi again! I used my interaction with Broadlink until version 0.9 of the Python plugin. I needed to upgrade my server and had to recompile the plugin, which this time was version 0.12. But in this 0.12 release, i am no longer able to use my interactions with Broadlink. The following error is ...
by moacir
Thursday 16 March 2017 6:18
Forum: Others
Topic: Using BROADLINK RM2 on DOMOTICZ
Replies: 254
Views: 124575

Re: Using BROADLINK RM2 on DOMOTICZ

Hi, I am a newbie with domoticz. I created learn.py and playcode.py as per Noddy119 instruction and everything worked well in the command line. However, when I put in domoticz action like: script:///home/domoticz/scripts/python/playcode.py /home/domoticz/scripts/python/tvOff.txt it just did not ...
by moacir
Monday 30 January 2017 15:47
Forum: Others
Topic: Using BROADLINK RM2 on DOMOTICZ
Replies: 254
Views: 124575

Re: Using BROADLINK RM2 on DOMOTICZ

In Broadlink A1, for air quality sensor (variable air_quality in script), luminance (variable light in script) and noise (variable noise in the script), text-mode sensors are required in Domoticz, since they send text (eg. Excellent, Dark, Quiet etc.) rather than numbers or percentage.
by moacir
Monday 30 January 2017 1:42
Forum: Others
Topic: Using BROADLINK RM2 on DOMOTICZ
Replies: 254
Views: 124575

Re: Using BROADLINK RM2 on DOMOTICZ

Hello again, people. I have a LOT of good news regarding the script for the A1 Sensor! With the help of a great brazilian shell script forum, i discovered what was happening with hum_stat : the A1 generates the decimal humidity value (eg 58.6) and the IF can not handle the decimal values. The ...
by moacir
Thursday 26 January 2017 14:22
Forum: Others
Topic: Using BROADLINK RM2 on DOMOTICZ
Replies: 254
Views: 124575

Re: Using BROADLINK RM2 on DOMOTICZ

Hi again aldodemi . I've tested your code with no success. I switched my sensor from only humidity to temperature + humidity and with the "old" script it was working OK, just forcing hum_stat = 0. My "new" code looks like this: #!/bin/bash DOMO_IP="127.0.0.1" # Domoticz IP Address DOMO_PORT="81 ...
by moacir
Thursday 26 January 2017 11:00
Forum: Others
Topic: Using BROADLINK RM2 on DOMOTICZ
Replies: 254
Views: 124575

Re: Using BROADLINK RM2 on DOMOTICZ

I'm at work now aldodemi and i can only test your code later. But i have good news for hasan . I use TC2 switches with Domoticz, which i used before with RM Bridge. The TC2 have a code to ON and another to OFF each gang. To clone the TC2 codes, it does a bit of work: 1) Install a TC2 normally with a ...
by moacir
Wednesday 25 January 2017 23:38
Forum: Others
Topic: Using BROADLINK RM2 on DOMOTICZ
Replies: 254
Views: 124575

Re: Using BROADLINK RM2 on DOMOTICZ

I did some tests here but with no success. Programming in scripts runs away from my knowledge, so i will keep this way. Having the humidity indication in percentage is already 99% of everything! Thanks deennoo for all helps!
by moacir
Wednesday 25 January 2017 23:06
Forum: Others
Topic: Using BROADLINK RM2 on DOMOTICZ
Replies: 254
Views: 124575

Re: Using BROADLINK RM2 on DOMOTICZ

Even removing the comment from these lines hum_stat remains equal to 0.
by moacir
Wednesday 25 January 2017 22:42
Forum: Others
Topic: Using BROADLINK RM2 on DOMOTICZ
Replies: 254
Views: 124575

Re: Using BROADLINK RM2 on DOMOTICZ

I use separate temperature and humidity. My command for humidity is: curl -s -i -H "Accept: application/json" "http://myuser:mypw@$DOMO_IP:$DOMO_PORT/json.htm?type=command&param=udevice&idx=$HUM_IDX&nvalue="$humidity"&svalue=;"$hum_stat"" And the result: HTTP/1.1 200 OK Content-Length: 53 Content ...
by moacir
Wednesday 25 January 2017 17:35
Forum: Others
Topic: Using BROADLINK RM2 on DOMOTICZ
Replies: 254
Views: 124575

Re: Using BROADLINK RM2 on DOMOTICZ

Yes deennoo , i did it. But these lines not always forcing hum_stat to be 0 (normal)? hum_stat=0 #if [ $humidity<25 ]; then hum_stat=2; fi #if [ $humidity>60 ]; then hum_stat=3; fi #if [ $humidity>=25 && $humidity<=60 ]; then hum_stat=1; fi I'm still starting in shell script.
by moacir
Tuesday 24 January 2017 23:59
Forum: Others
Topic: Using BROADLINK RM2 on DOMOTICZ
Replies: 254
Views: 124575

Re: Using BROADLINK RM2 on DOMOTICZ

Thank you aldodemi !!! Magic scripts! I'm new to Domoticz and i have a beginner question: it is possible to create dummy sensors or only dummy switches? In the dummy hardware i created to be able to use RM2, there is a button called create virtual sensors . When i use this button to create a ...
by moacir
Monday 23 January 2017 20:59
Forum: Others
Topic: Using BROADLINK RM2 on DOMOTICZ
Replies: 254
Views: 124575

Re: Using BROADLINK RM2 on DOMOTICZ

Hi! Until yesterday i used my Raspberry Pi 2 (cron + curl to send http requests) and RM Bridge to automate my RF switches. But today i decided to install Domoticz and python-broadlink. Now my system does not depend on 3 devices (raspberry, android tablet and the RM2 broadlink), but only two ...