Deutsche Anleitung translated by google
Русские инструкции переведены с гуглом
This is an ioBroker adapter for multiple Broadlink switch like RM2, RM3, RM Plus, SP1, SP2, SP3, Honeywell SP2, SPMini, SPMini2, SPMiniPlus and some OEM products from them. ALso remote controllers are supported like RM2, RM Mini, RM Pro Phicomm, RM2 Home Plus, RM2 Home Plus GDT, RM2 Pro Plus, RM2 Pro Plus2 and RM2 Pro Plus BL. Multiple controllers will generate their own entries and need to be trained separately. It scans the network to find compatible devices and installs them (currently only switches type SP?).
If you learned states for RM* and then rename their name the state-ID will change to the new name as well!
You can create also your own new commands in LearnedStates if you use 'code'+ your code as the value (with 'CODE' preceeding the code or even better (because of it will remain if you rename the state) add a field 'code' to native with the admin.object pencil and put there the hex code (without 'CODE'!).
The adapter has fixed states to send codes from RM-devices or to learn them It can also send individual scenes (actions on multiple devices).
If devices which are configured on a certain IP are not found again they will be flagged 'notReachable'! If they are connected again they will be useable normally.
If a device is not answering for 5 minutes in a row it's set to unreachable. notReachable devices will give a log warning message every x scans. After some scans the adapter will try to find them again on the same mac address before.
Please delete old devices from admin.objects in case you remove them permanentely or renamed them in your router!
The adapter tries to find the device at first by it's name and then by it's mac addresses. If name changes due to a change of ip address for example and mac address stays the same then device will continue to use old name. If device changes to a new device with new mac you can use rename device in config to use an old device name instead.
use IP interface
option can be set to use a specified interface address, this may help if you have lan and wlan on the system running iobroker and you do not want to scan on first interface but on wlan only, it may help also if local interface is different from external one in some docker or VM environments. You need to enter the IPv4 address of the interface to be used as source address, otherwise adapter will use 0.0.0.0 and listen to all local interfaces only._Rename_learned_
) and change the name. It should not include ,
, .
or ;
as well as some other characters, they will be replaced by '_';It is also possible to use the codes from RM-Bridge.
Just create an object (state, type button) with value where you prepend "CODE" or with native entry code
without any 'CODE'.
e smart home
or e-control
and make sure your phone is on the same 2.4GHz wifi network which you want to bring it in!,
. Normally the ID's will be executed/sent with 100ms time difference but if you need a longer pause between then you can write in a number which reflects the milli seconds to wait. For example SP:dose=1, 1000, RM:your.L.StereoEin, 1000, RM:your.L.TVEin
would switch on an wireless plug named 'SP:dose', then wait one second (actually 1.1 seconds), Switch on the stero and after another second the tv. You can also switch devices of other adapters, like hm-rpc.0.MEQ1435726.1.STATE=true
would switch this Homematic device on! Boolsche states can be switched with '=1/=on/=true/=ein', if you leave it without =
than it will use true. To switch off a device you end it with '=0/=false/=aus/=off' which is necessary to be switched off!0
, the second if it receives a 1
. In this way you can simulate multiple states within one state.0-9
on the remote control. You can send the sstate then a number, like 123
(max is 9999) and it would send 1
, 2
and 3
with 1/3rd of a second delay between them! In this way you sen set for example the channel on TV to '33' by just write 'TVchannel=33' if the state name is TVchannel.-number
as off command like -17
then you can store a number to the state where 17 would be subtracted and the the (x-17)th item in the on state would be sent. This way you can setup different fixed temperatures for devices which have different codes for each temperature.The adapter understands also 'sendTo' commands.
debug
: sendTo('broadlink2.0','debug','on')
(also 0,1,on,off,ein,aus,true,false) would switch debug mode on.get
: sendTo('broadlink2.0','get', 'RM2:RMPROPLUS.Temperature'
could request data from device like { val: 29.9, ack: true, ts: 1505839335870, q: 0, from: 'system.adapter.broadlink2.0', lc: 1505839335870 }
zurückswitch
: can switch a plug on or off: sendTo('broadlink2.0','switch','SP:your device id=on')
switch_on
/switch_off
: sendTo('broadlink2.0','switch_on','SP:your device id')`send
: sendTo('broadlink2.0','send','RM:yourdev._Learn')
would start learn and sendTo('broadlink2.0','send','RM:yourdev.L.yourid')
would send the code.send_scene
: sendTo('broadlink2.0','send_scene','scene xxx ')
würde den als message angegebenen Text als Szene ausführensend_code
: sendTo('broadlink2.0','send_code','RM:your remote.CODE_xxxxx')
würde den CODE_xxxx vom R:your name senden._setTime
in which case the time of the device will be set to ioBroker system time. This will be done automatically also on adpter start.T1:BroadLink-OEM-T1-fa-83-7c=Beok313
in which case the original name will not be used but the new name used will be Beok313
.!
at the end of the list of added new devices (even if it is empty) you can set the adapter to debug mode where it will log a lot of additional information even iof it is not set to 'info' mode in Admin.with ioBroker admin, npm install iobroker.broadlink2 or from https://github.com/frankjoke/ioBroker.broadlink2
The MIT License (MIT)
Copyright (c) 2024, iobroker-community-adapters iobroker-community-adapters@gmx.de Copyright (c) 2014-2020, frankjoke frankjoke@hotmail.com
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.