Page 5 of 13

Re: Using BROADLINK RM2 on DOMOTICZ

Posted: Friday 13 May 2016 22:32
by woody4165
I have now created two .sh files one per RM2 and I still get the issue on the same one.
I will try to reset it and reconnect and let you know.

Re: Using BROADLINK RM2 on DOMOTICZ

Posted: Saturday 14 May 2016 10:47
by forumfab
woody4165 wrote:I have now created two .sh files one per RM2 and I still get the issue on the same one.
I will try to reset it and reconnect and let you know.
Hi woody4165,

Are your two RM2 the same, i mean, the same generation of RM2
Did you buy them at the same time

Then did you realise two refresh.txt ( one for each RM2), two returntemp.sh ( one for each RM2), and two starttemp.sh (one for each RM2)

About the reason why i did buil the starttemp.sh , it's because there is some problems of PATH with DOMOTICZ, and that the returntemp.sh is a BASH script an not a sh script

But if the script "pack" is workink with one RM2, the second script "pack" must work with the second one RM2

You may be also control the script "pack" that does'nt works ( RM2 which is not working), may be rebuil the script pack for this one with nano editor.

It very easy to forget a caracter inside the script with nano editor

Could you confirm that both script "pack" are working manually ? ( take care of the return information inside de PUTTY console )

Bests regards

Re: Using BROADLINK RM2 on DOMOTICZ

Posted: Saturday 14 May 2016 13:39
by woody4165
Yes, I bought together.
Now I solved the strange temperature from one of them that was not correctly updated.
But still gets a lot of error while reading.
I haven't yet reset it, I will do asap

I have all these files now

Code: Select all

startTempLet.sh  TempBroadLetto.sh  TempBroadLetto.txt  
startTempSal.sh  TempBroadSalone.sh  TempBroadSalone.txt
I have checked the "pack" of the one not working well and they are identical, with all the changes needed.
I also changed in both scripts the "> file.txt" having different files for each script

Thanks

Re: Using BROADLINK RM2 on DOMOTICZ

Posted: Saturday 14 May 2016 15:18
by woody4165
It seems that the reading issue was related to the Wifi extender where was connected the RM2, now I have changed and I get correct values without any erro in between.

Thanks again!

Re: Using BROADLINK RM2 on DOMOTICZ

Posted: Saturday 14 May 2016 18:36
by forumfab
woody4165 wrote:It seems that the reading issue was related to the Wifi extender where was connected the RM2, now I have changed and I get correct values without any erro in between.

Thanks again!
Hi woody4165,

Great, i am glad, if everything is know ok for you

Bests regards

Re: Using BROADLINK RM2 on DOMOTICZ

Posted: Thursday 26 May 2016 14:56
by jarwis
Hi,

Has anyone tried to use Broadlink RM mini 3 (also known as Black Bean) on Domoticz? I've tested that both RM Bridge and Broadlink RM Tasker Trial do not support it.

Re: Using BROADLINK RM2 on DOMOTICZ

Posted: Thursday 26 May 2016 20:00
by forumfab
Has anyone tried to use Broadlink RM mini 3 (also knows as Black Bean) on Domoticz? I've tested that both RM Bridge and Broadlink RM Tasker Trial do not support it

Hi jarwis ,

This unit couldn't be support for the moment in any maners , just with the broadlink Cloud application.

This unit haven't been integrated inside the BROADLINK SDK for the moment, like the S1 witch is'nt intégrated too in the SDK

The SDK, is allways the base for all the tools, like RM BRIDGE, or TASKER pluging, or else ...

Bests regards

Re: Using BROADLINK RM2 on DOMOTICZ

Posted: Thursday 09 June 2016 20:00
by zbuh
any news on RM 3 mini ?

Re: Using BROADLINK RM2 on DOMOTICZ

Posted: Friday 10 June 2016 19:35
by forumfab
zbuh wrote:any news on RM 3 mini ?
Hi,

As indicated previously there is any project anywhere to integrated the RM 3 in the BROADLINK SDK, or in the RM BRIDGE.

In my own point of view, there is no real interest for this product regarding the price VS RM2 PRO price, and adding the fact that the RM 3, is limited to the IR function

Bests regards

Re: Using BROADLINK RM2 on DOMOTICZ

Posted: Monday 20 June 2016 21:54
by thecosmicgate
This RM3 mini could/ should be a nice replacement (much cheaper) for the logitech hub ! It's "on sale" on gearbest.com now €8,83

Re: Using BROADLINK RM2 on DOMOTICZ

Posted: Saturday 06 August 2016 14:56
by theoorl45
Hi,

Sorry for disturbing but I need help...

I'm a new user of RM2 (I bought it 2 days ago)....
I follow all the tutorials from the web (mainly http://leffab.wixsite.com/domo-assist), using RM bridge (thanks for this app !!) to send the commands to the device and the online tool to learn codes...

But, it doesn't learn any code.
http://rm-bridge.fun2code.de/rm_manage/ ... rning.html
I always get the "error learning code : <MAC> not rm2"...

Is this website not up-to-date with the lastest version of rm2 ?

It's seems that rm tasker app, with the HTTP bridge activated works well, but it's a beta functionality and I'd prefer the RM bridge.

What can I do to make my learning codes work ? How can I learn my IF and RF codes ?
Your help will be precious...

PS : I tried yesterday the Rm command builder tools with no success. Reading this topic today, it's seems itis not up-to-date with the latest firmware... So I gave up and focus with the online tool.
PSbis : I'm french, sorry for my broken english.

Re: Using BROADLINK RM2 on DOMOTICZ

Posted: Tuesday 16 August 2016 19:50
by forumfab
theoorl45 wrote:Hi,

Sorry for disturbing but I need help...

I'm a new user of RM2 (I bought it 2 days ago)....
I follow all the tutorials from the web (mainly http://leffab.wixsite.com/domo-assist), using RM bridge (thanks for this app !!) to send the commands to the device and the online tool to learn codes...

But, it doesn't learn any code.
http://rm-bridge.fun2code.de/rm_manage/ ... rning.html
I always get the "error learning code : <MAC> not rm2"...

Is this website not up-to-date with the lastest version of rm2 ?

It's seems that rm tasker app, with the HTTP bridge activated works well, but it's a beta functionality and I'd prefer the RM bridge.

What can I do to make my learning codes work ? How can I learn my IF and RF codes ?
Your help will be precious...

PS : I tried yesterday the Rm command builder tools with no success. Reading this topic today, it's seems itis not up-to-date with the latest firmware... So I gave up and focus with the online tool.
PSbis : I'm french, sorry for my broken english.
Bonjour theoorl45,

Quel version de RM BRIDGE utilisez vous ?
Avez vous télécharger la dernière version de RM BRIDGE sur le google store ?

Ou l'avez vous télécharger à partir de ce site

http://rm-bridge.fun2code.de/

Le mieux est d'utiliser ce site et ensuite d'utiliser l'application en ligne de cette même adresse pour commencer à constituer votre base de donner de code Ir ou radio

Commencez de préférence avec des codes IR pour éviter les perturbation radio, si vous avez un système domotique charger en modules

Cordialement

Re: Using BROADLINK RM2 on DOMOTICZ

Posted: Tuesday 16 August 2016 23:04
by theoorl45
Wouaou !!
Tu peux pas savoir à quel point je suis content là !

A ta demande, j'ai téléchargé l'APK sur le site plutôt que sur le store...
Et j'ai recommencé la procédure. Et là, tout fonctionne du premier coup. C'est même génialement facile !!!!

Mais ça a changé récemment ? ou c'est moi qui m'y prenait mal ? Je suis pourtant du genre à cliquer de partout et à bidouiller quand quelque chose me résiste (je suis moi-même développeur)... et je m'en suis arraché les cheveux....

Non parce que là, en plus d'être simple, c'est super intuitif : on a des URL parlantes qu'on peut appeler de n'importe où pour les codes IR et RF.... Franchement, gé-nial ! Lintégration avec d'autres applications est juste parfait. Moi qui était un peu descendu de mon euphorie quand j'ai vu la difficulté que c'était d'intégrer le RM avec ma box domotique, j'avoue que là, mon plaisir est remonté en flèche !

Merci beaucoup à toi! Je vais m'é-cla-ter !

Re: Using BROADLINK RM2 on DOMOTICZ

Posted: Wednesday 17 August 2016 8:52
by gizmocuz
Keep it in English please !

Re: Using BROADLINK RM2 on DOMOTICZ

Posted: Wednesday 17 August 2016 11:21
by theoorl45
Sorry...

Forumfab asked me which "RM-bridge" version I use (google store or website) and recommended me to download the "rm-bridge" app directly from the website "http://rm-bridge.fun2code.de/". After that, he told me to give a try and to begin learning my IR codes before learning my RF codes, using the online website...

As a result, I made a new try and I thanked him a lot because all is okay now ! I downloaded the apk from the website, installed it and accessed the online application to begin learning my codes. All is fine, very easy and very fluent.
I wonder if something had changed since my previous tries because I had searched a lot before requesting within this forum. And nothing seemed to succeed...
Finally, I told him that the generated URLs, after learning codes, are very handy for integrating the RM broadlink with all automatic system :-)

So, all is okay for me : apps, website, and my integration (not domoticz in my case, I use jeedom...)

PS : Sorry again for my broken english. I don't speak english very often and I lost all my english knowledges...

Re: Using BROADLINK RM2 on DOMOTICZ

Posted: Friday 26 August 2016 14:47
by kulan
Hello!

I have an Broadlink RM PRO-E which i have after reading this thread got to work with Domoticz. Using RMBridge 1.3.0 on Nvidia Shield TV.
Got som trouble with reading out the temperature via http it just says "Invalid request" when i try http://10.0.0.xx:7474/temperature , turning on and off switches with links after i learned codes working but not the temperature.

I have also tried the RM tasker broadlink plugin and with their bridge i can get termperature over http.

When i get it working so i can read temperature via RMbridge do you guys have i quick solution to put the value in to a virtual sensor in Domoticz? How to read out the temperature value from the response. Have googled some but not found a solution to read value from http link response yet.

Another question, will there be possible to read values from 433 mhz devices like doorbell buttons, magnetic contacts or temperature sensors via the broadlink into Domoticz? Or can i just send commands from Domoticz to broadlink? I understand the primary purpose of the broadlink is to just store the commands and repeat them after it has learnad the commands. If it not possible to read data or send commands from the Broadlink to domoticz i most buy an RFXtrx433E for that purposes instead but if the broadlink maybe can handle it would be nice with a less device.

Im new to both Domoticz, Broadlink, 433 mhz and z-wave. Just bought a house and building the home automation now. The reason i got the Broadlink in the first place was to control my Mitsubishi heater/AC.

Re: Using BROADLINK RM2 on DOMOTICZ

Posted: Wednesday 21 September 2016 22:41
by remb0
I think it's possible to use the cheap rm3 mini, (i ordered one but not received yet:

http://rm-bridge.fun2code.de/
with the android app and the offline code we can get codes
http://fun2code-blog.blogspot.nl/2016/0 ... round.html

or: info I found on different pages (and when I receive the device i will test and make a tutorial....

Code: Select all


#info: https://community.openhab.org/t/broadlink-black-bean-rm-3-mini-ir-controller-help-with-understanding-their-udp-protocol/11453/23

cd /home/pi/domoticz/scripts/python/
git clone https://github.com/davorf/BlackBeanControl.git


sudo nano BlackBeanControl/BlackBeanControl.ini 

Wireshark
tpacketcapture





There is BlackBeanControl.ini file which consists of General and Commands section. General section should contain: 
- IPAddress: IP address of the RM 3 mini device
- Port: Port of the RM 3 mini device - usually 80
- DummyCommand: Hex dump of the UDP payload that will be sent before every other command - it should be already learned IR command that is not used, for example, IR command from an old, unused remote control. RM 3 mini does not want to trigger commands if they are sent over UDP more then once consecutively, so, this command is used to bypass this problem

Commands section should contain list of command names (only letters, without blanks) followed by column and a hex dump of the actual command. For example:

TVVolumeUp: [HEX DUMP]
ACTempUp: [HEX DUMP]

A syntax for calling a script is:

BlackBeanControl -c [-i IP Address] [-p Port]

Command name parameter is the name of command already stored in an .ini file
IP Address and Port are optional parameters - used in case there is a need for sending UDP payload to a multiple RM 3 minis in the same network. If value is not assigned to these parameters, values from an .ini file will be used.

I'm not very friendly with java, so I'm not able to make this into regular OpenHAB binding - if that is possible at all. If someone is willing to do that, I'll help as much as I can.

Re: Using BROADLINK RM2 on DOMOTICZ

Posted: Thursday 06 October 2016 20:21
by remb0
Who has it working already?
I dail in getting the hex stream from wireshark :(

Re: Using BROADLINK RM2 on DOMOTICZ

Posted: Monday 17 October 2016 23:44
by aldodemi
Found another way to drive RM2 directly from Domoticz (I'm trying at least to do that :-)):

https://github.com/mjg59/python-broadlink

From python it works, now try to integrate in Domoticz.

I've created two different python command file:

- one to record code
- one to send code

As I have two device from Broadlink (RM2 and A1) I need to search for the correct one before learn code or send code via RM2.....

Re: Using BROADLINK RM2 on DOMOTICZ

Posted: Friday 21 October 2016 20:18
by forumfab
aldodemi wrote:Found another way to drive RM2 directly from Domoticz (I'm trying at least to do that :-)):

https://github.com/mjg59/python-broadlink

From python it works, now try to integrate in Domoticz.

I've created two different python command file:

- one to record code
- one to send code

As I have two device from Broadlink (RM2 and A1) I need to search for the correct one before learn code or send code via RM2.....
Hi aldodemi,

Sorry, but your link doesn't works

Bests regards

Forumfab