Author Topic: Broadlink pro with RF  (Read 21271 times)

0 Members and 2 Guests are viewing this topic.

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Broadlink pro with RF
« Reply #15 on: July 10, 2015, 10:39:02 AM »

Vahe

  • Jr. Member
  • **
  • Posts: 6
  • Karma: 0
    • View Profile
Re: Broadlink pro with RF
« Reply #16 on: July 10, 2015, 04:17:39 PM »
We already have some of those modules here and Kalle is probably going to start tinkering with it today. I really hope we can come up with a wifi based version :)
Hi Dave, that is cool to hear. So we are thinking in the same way, but I am only thinking yet, and you are already doing this! :)

@dave, I think Vahegan meant control the blaster directly through wifi from iOS.. so the missing part is iPhone app ... on a second thought, your idea would work, from iOS to VC through web api..and VC to blaster ... not very elegant ... but works. on a third thought  8) that means a udp server on arduino (not sure how practical that with memory limitation) can receive calls directly from iOS

Yeah, that's what I meant. And writing an iOS app is not an easy thing, need to register with Apple (they charge $200/year if I am not wrong) and write the code on a mac. And I think they need to approve that application, or otherwise it cannot be installed on an unjailbroken device (unless it is registered with a developer account). This is one big con against going the arduino way. Of course we can have a web server on the arduino and control the blaster from a browser on the phone (is this what you meant in your earlier post, Haddood?), but that's not going to be too convenient, I am afraid. As for memory limitation on an Arduino - I don't think that's going to be a problem. It doesn't have to be the nanos, we can use Mega2560 or even DUE, should we need to. Chinese clones are very cheap now, you can get a DUE for as little as $15 on Aliexpress. But I still believe that operating the controls by web interface on a gadget is very inconvenient: screen resolutions are different depending on the gadget, and on some screens the interface will be too small, on others you will have to scroll to access all buttons. Also, you will not be able to move any sliders by sliding, only by tapping. A native application is way more convenient for such things.

One more way is the Orvibo Allone, which is basically the same thing as Broadlink RM Pro. Officially, they don't have a PC application as well, but some people hacked it for use with Blocks Ninja. And then, this other guy used their hack and after some work with wireshark was able to write a PC software to control Orvibo. So we can use Orvibo (it is even slightly cheaper than RM Pro, but lacks the 315MHz interface - no big deal). In the mean time, am almost sure that RM  Pro is using the same approach to software so I think that, after some playing with wireshark, this guy's software can be modified to work with RM Pro.


« Last Edit: July 10, 2015, 04:31:36 PM by vahegan »

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Broadlink pro with RF
« Reply #17 on: July 10, 2015, 04:41:49 PM »
You can always use something like iRule for the interface on iOs and/or Android.  If you do that then you have the option to either talk to an Arduino directly (if it is LAN enabled) or through something like VoxCommando.  Personally I think it makes more sense to do it through VoxCommando but only if you are already committed to have a PC running all the time (or at least all the time you are home and awake).

The only drawback is that iRule is a bit overpriced (IMO) and kind of unpleasant to work with.  But the possibilities with it are quite good.  There are other options than iRule too, and probably some decent free ones.

As it is now, you can create a pretty good web based interface that runs on VoxCommando's simple web server which is part of the TCP plugin.  I think maybe this is what Haddood was referring to.  With that you can do pretty much anything you want, but you need to be willing to put in the time to make the web pages.  You could probably come up with a responsive design that would adapt to different screen sizes.  The nice thing is that executing macros in VC is very easy using this method.

Vahe

  • Jr. Member
  • **
  • Posts: 6
  • Karma: 0
    • View Profile
Re: Broadlink pro with RF
« Reply #18 on: July 10, 2015, 06:01:32 PM »
Personally I think it makes more sense to do it through VoxCommando but only if you are already committed to have a PC running all the time (or at least all the time you are home and awake).

Well, VC runs on Windows and I personally wouldn't like to trust this operating system too much.

As I see the home automation system concept, there must be a central server which will execute the commands, take control decisions based on the information from various sensors and human instructions from various interfaces. This must be a very reliable device - it can be either a PC running linux/unix, or a state-machine microcontroller device.

Then, the control interfaces for the server - these can be based on different platforms. A windows PC with VC (in my case, this is Pipo X7 - a small and inexpensive box running Windows 8.1) - specifically for voice control. Other interfaces could be mobile phones (especially good when voice control is out of reach), tablets, PCs, or any other smart devices communicating with the server. The server, in turn can control various devices by either sending to them commands directly via the network, or through a bridge device similar to RM Pro/Orvibo or an Arduino device with the same functionality.   

The only drawback is that iRule is a bit overpriced (IMO) and kind of unpleasant to work with.  But the possibilities with it are quite good.  There are other options than iRule too, and probably some decent free ones.

Thank you, I need to read some more about this. Looks quite good, although the builder part is indeed a little bit overpriced. But can invest in this, if it will do the job.

Haddood

  • $upporter
  • Hero Member
  • *****
  • Posts: 688
  • Karma: 22
    • View Profile
Re: Broadlink pro with RF
« Reply #19 on: July 11, 2015, 01:43:16 AM »

As it is now, you can create a pretty good web based interface that runs on VoxCommando's simple web server which is part of the TCP plugin.  I think maybe this is what Haddood was referring to.  With that you can do pretty much anything you want, but you need to be willing to put in the time to make the web pages.  You could probably come up with a responsive design that would adapt to different screen sizes.  The nice thing is that executing macros in VC is very easy using this method.

That is exactly what I meant :) ... I just went back and fixed a bit my post... Man, those posts I make at 5am are hard to decode !!!!! I did not understand me !!!

@Vahegan: without getting into the war of Linux vs windows, I tend to disagree... Windows Power corporates of 1000s of PCs ... Data centres ...etc. That sound pretty reliable to me ... On a personal level, I am running VC on Windows 7 installed on a Mac mini 2006 ... They only down time is to install updates ... 24/24 7/7 ... And is very very reliable... I always say that windows is as good as the hardware it runs on.
Anway that does not means that Linux is any less in reliability ...

As for interface ... Many apps since iPhone 3 are merely webpages ... Well designed ....
Another solution I am using and is magical ... Paythonista. You can make great interfaces easily. As well it gives iOS means to communicate with VC ... The only downside ... One have to open pythonista then load the desired "app" ... Couldn't find a way to make direct shortcuts

I have been following Orvibo before I discovered broadlink... They are pretty much the same ... But it would be a shame to loose RF ... Lots of window coverings & LED lighting use RF ...


« Last Edit: July 11, 2015, 01:45:57 AM by Haddood »
When Voice command gets tough, use hand gestures

Vahe

  • Jr. Member
  • **
  • Posts: 6
  • Karma: 0
    • View Profile
Re: Broadlink pro with RF
« Reply #20 on: July 11, 2015, 06:24:45 PM »
@Vahegan: without getting into the war of Linux vs windows, I tend to disagree... Windows Power corporates of 1000s of PCs ... Data centres ...etc. That sound pretty reliable to me ... On a personal level, I am running VC on Windows 7 installed on a Mac mini 2006 ... They only down time is to install updates ... 24/24 7/7 ... And is very very reliable... I always say that windows is as good as the hardware it runs on.
Well, not willing to engage in war either, and this is a little offtopick, but, I was a PC user from DOS times. I went through all the versions, including the most stable NT4, and through up to Win7 (also not bad), and then switched to MacOS. I am now running MacOS on windows PCs - exactly the contrary to what you are doing. And, using the same hardware, I had to restart Windows once every few days, whereas on MacOS I can go without a restart for months. Even now, if something goes wrong, its usually the few windows applications running on a virtual machine...

Quote
As for interface ... Many apps since iPhone 3 are merely webpages ... Well designed ....
Another solution I am using and is magical ... Pythonista. You can make great interfaces easily. As well it gives iOS means to communicate with VC ... The only downside ... One have to open pythonista then load the desired "app" ... Couldn't find a way to make direct shortcuts
As for web - you can't use sliders on a touch screen as they are intuitively meant for, you can only tap on them - this is enough of a downside to forget the web interface for any controls other that those used once in a month...

Pythonista - I assume, this is Python programming on iOS. Don't know how reliable it is going to be. Needs to give it a try...

Quote
I have been following Orvibo before I discovered broadlink... They are pretty much the same ... But it would be a shame to loose RF ... Lots of window coverings & LED lighting use RF ...
Well, it does have 433MHz, its only missing 315MHz transmitter. Frankly, I don't know which devices use this frequency. I am concerned with using my Livolo switches, which are 433MHz. They also have curtain switches, BTW.
And, both Orvibo and Broadlink lack the 2.4GHz control - most of LED lights are now using this frequency. This is yet another reason to make an arduino-based remote controller device...   

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Broadlink pro with RF
« Reply #21 on: July 11, 2015, 06:33:29 PM »
Many devices in North America use 315 MHz.  I think X10 uses 310MHz for some reason.  If you are in Europe you probably won't need 315 MHz because it is not allowed AFAIK.

I'm not sure about 2.4 GHz  I've never tried to do anything with it on Arduino.

Vahe

  • Jr. Member
  • **
  • Posts: 6
  • Karma: 0
    • View Profile
Re: Broadlink pro with RF
« Reply #22 on: July 11, 2015, 06:43:47 PM »
Many devices in North America use 315 MHz.  I think X10 uses 310MHz for some reason.  If you are in Europe you probably won't need 315 MHz because it is not allowed AFAIK.
Yeah I think this explains why I have never seen any 315MHz device.

Quote
I'm not sure about 2.4 GHz  I've never tried to do anything with it on Arduino.
I don't know what kind of 2.4GHz protocol are using these lights. I ordered one such ceiling light from China but it hasn't arrived yet. When it comes, I'll tear down the driver to try to find out what it uses. The one 2.4GHz product I know which is actively used on Arduinos is the NRF24L01 module. They are very cheap and I suspect these lights might be using it. Otherwise, there is another option to buy an extra remote controller, tear it down and "push" its buttons by an Arduino...

Simeon Tuitt

  • Contributor
  • ***
  • Posts: 79
  • Karma: 0
    • View Profile
    • Simeon Tuitt Home Automation
Re: Broadlink pro with RF
« Reply #23 on: July 13, 2015, 04:50:38 PM »
That is the same link as posted above:

http://voxcommando.com/forum/index.php?topic=2090.msg19552#msg19552

Hi James, that original post and link always contained the answer to allowing vox to work with Broadlink, someone just needed to test out what was there.  8)

It is entirely possible to control the Broadlink RM Pro and Broadlink RM Home with Vox, after days and sleepless nights trying to work it out I finally got my head around how to do it, it turns out @Vahe post « Reply #8 on: July 08, 2015, 01:56:16 PM » had the answer all along and if anyone had ran with it,  it would of worked fine as a means of controlling the Broadlink with Vox.

So now cheap RF and Infrared control are possible using the Broadlink, I will be doing some more testing with it but going to need you guys input shortly since I want to somehow integrate it with the IR remote learn code function you and Kalle show on a video to just use voice commands to set the learn code mode.



Above is a demo video of me using vox to control the Broadlink, you'll have to excuse the delay between commands and them being actioned, I was having Broadband issues and my net kept hanging and disconecting.

When the internet is working properly the commands are pretty much instant from vox to the Broadlink, I've got some more testing to do but will keep you all updated.

UPDATE: The video demo above was using the Broadlink RM Home and the Broadband connection was very sluggish that day, the video below is of the Broadlink RM Pro and was done on a day the Broadband was more normal and you can see vox controlling it through the use of a Bluetooth smart watch.

« Last Edit: July 19, 2015, 08:55:35 PM by Simeon Tuitt »
Simeon Tuitt Is An Information Product Creator From The UK Who Took His Skills From Online Business Automation And Applied It To Automating A Smart Home.