Skip to content

OpenHAB

204 Topics 2.4k Posts
  • Help! openHAB 2.4 binding MQTT

    20
    3
    0 Votes
    20 Posts
    3k Views
    magpernM
    @gahlawathome said in Help! openHAB 2.4 binding MQTT: I have exactly same problem. Does it work for anyone not using the system broker? Both binding and openhab are 2.4. Googleing this problem at it is quite reoccurring that the questions are about "How to get mysensors mqtt gateway online". Something must be wrong with it, otherwise so many cannot report the same thing. @TimO as the developer, do you have any leads?
  • ethernet gateway on OpenHAB 2.4.0 + mysensors 2.4.0

    2
    0 Votes
    2 Posts
    1k Views
    YveauxY
    @ivosch said in ethernet gateway on OpenHAB 2.4.0 + mysensors 2.4.0: 2009 !GWT:TIN:ETH FAIL The ethernet interface isn't initializing correctly. I would focus on the gateway and ethernet hardware first.
  • Getting MySensors MQTT Gateway working on OpenHAB 2.2 (Stable)

    60
    4 Votes
    60 Posts
    16k Views
    R
    Thx4 your support! I gave up on fixing the old install and started over with brand new install of OH2.4: All was up&running in 45mins!! MQTT2.4 with embedded broker works like a charm. On top the Mysensors MQTT GW Ting was online with 1-click! All my MYsensor nodes where recognized immediately! What a relief! Hope someone will update Mysensors docu so others will be spared the pain...
  • Status LED issues with Raspberry Pi gateway

    3
    0 Votes
    3 Posts
    679 Views
    mfalkviddM
    @dbagioni run a new ./configure with the settings you want. Then build, test and install as normal.
  • Help, sensor data is nolonger distributed to items

    3
    0 Votes
    3 Posts
    641 Views
    J
    Its really strange but after saving the serialGW.rules file again (without change) everything started working again. But that was a good remark. Happened to me numerous times.
  • Questions regarding smartsleep/request heartbeat/request ack?

    3
    0 Votes
    3 Posts
    759 Views
    W
    @timo said in Questions regarding smartsleep/request heartbeat/request ack?: I'm using rules to detect if a thing changes its status to offfline You wrote the 2.4.0 binding, right? If so...I'm getting this error if I add a Mysensors MQTT GW while mysgw is not running: 12:51:49.096 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'mysensors:bridge-mqtt:13cd0a37' changed from INITIALIZING to OFFLINE 12:52:02.804 [ERROR] [ransport.mqtt.internal.ClientCallback] - MQTT message received. MqttMessageSubscriber#processMessage() implementation failure java.lang.NullPointerException: null at org.openhab.binding.mysensors.internal.protocol.mqtt.MySensorsMqttConnection$MySensorsMqttSubscriber.processMessage(MySensorsMqttConnection.java:134) ~[?:?] at org.eclipse.smarthome.io.transport.mqtt.internal.ClientCallback.lambda$3(ClientCallback.java:90) ~[207:org.eclipse.smarthome.io.transport.mqtt:0.10.0.oh240] at java.util.ArrayList.forEach(ArrayList.java:1257) ~[?:?] at org.eclipse.smarthome.io.transport.mqtt.internal.ClientCallback.messageArrived(ClientCallback.java:90) [207:org.eclipse.smarthome.io.transport.mqtt:0.10.0.oh240] at org.eclipse.paho.client.mqttv3.internal.CommsCallback.deliverMessage(CommsCallback.java:499) [206:org.eclipse.paho.client.mqttv3:1.2.0] at org.eclipse.paho.client.mqttv3.internal.CommsCallback.handleMessage(CommsCallback.java:402) [206:org.eclipse.paho.client.mqttv3:1.2.0] at org.eclipse.paho.client.mqttv3.internal.CommsCallback.run(CommsCallback.java:206) [206:org.eclipse.paho.client.mqttv3:1.2.0] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:?] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?] at java.lang.Thread.run(Thread.java:748) [?:?] This is a quite vanilla install with only the Mysensors binding for testing.
  • Some questions before I start ordering parts.

    openhab gateway sensor
    10
    0 Votes
    10 Posts
    2k Views
    A
    @momo90 said in Some questions before I start ordering parts.: @atzohy said in Some questions before I start ordering parts.: Cannot automatic discover thing node I'm not using the mysensors binding in openhab, i followed this https://www.smarthomeblog.net/diy-home-automation-sensors/ excellent tutorial and everything is working. I didnt realise, that the warning was in the openhab log. Have you tried to define the node id in the sketch and add the sensor manually in openhab via a .thing and .item file like here described? https://github.com/tobof/openhab2-addons/wiki/Examples Hi, thanks for your reply. I've redone all the wiring and now everything works for me, even automatic discovery. I had edited my previous post, maybe you haven't seen it. But I still appreciate your help!
  • Serial gateway.rules sharing

    3
    0 Votes
    3 Posts
    600 Views
    J
    @timo Do you use the mySensors binding or the serial binding to get your sensor data into openhab? I use the serial binding, so i have a rule to send the data to the right items. (btw since yesterday something broke and the data is no longer distributed to the items :white_frowning_face: ). Might have to move over to the mySensors binding to. How is it working for you?
  • Gateway USB Dongle ?

    5
    0 Votes
    5 Posts
    917 Views
    T
    @iostreamz314 The serial gateway is what you are looking for. But it's not a ready made dongle you are able to buy. You have to build it. 😉
  • Set sensor name & type (received) in openhab items

    1
    0 Votes
    1 Posts
    400 Views
    No one has replied
  • openHAB 2.2 binding MQTT support

    37
    1
    4 Votes
    37 Posts
    19k Views
    G
    @timo Thank you very much. I don't now how to use the marketplace, will research right now. I have followed your instructions, but you link to the 2.3.0-SNAPSHOT. Perhaps you would like to correct that. Thanks again
  • Things definition vs nodes and childIDs

    4
    0 Votes
    4 Posts
    655 Views
    G
    @fredswed Yes I'm testing that now. I think it's working. Auto discovery is nice.
  • openHAB binding

    89
    6 Votes
    89 Posts
    56k Views
    G
    @mfalkvidd Thanks! Just give me a couple of days and I will try to make a new tutorial for mysensors+openhab.
  • OpenHAB 2.3 and MQTT

    7
    0 Votes
    7 Posts
    1k Views
    M
    Use this tutorial for OH 2.3 and mqtt https://www.smarthomeblog.net/diy-home-automation-sensors/ Was working for me
  • openHAB and NRF24 without gateway attachments

    5
    0 Votes
    5 Posts
    2k Views
    M
    I done all steps only i skipped gateway type. I did MQTT gateway type and made a new gateway and vola, its working. Thank you!
  • Ethernet GW vs MQTT

    10
    0 Votes
    10 Posts
    3k Views
    alowhumA
    Actually, in my experience plain old MQTT is difficult to connect to. There is a Git issue to create (also) an MQTT output that is simplified or follows standards. https://github.com/mysensors/MySensors/issues/1212
  • openHab binding 2.4.0 Variable Problem ( 2.4.0.201806211605)

    2
    0 Votes
    2 Posts
    2k Views
    I
    @itbeyond said in openHab binding 2.4.0 Variable Problem ( 2.4.0.201806211605): Bug reported to Github issues at: https://github.com/tobof/openhab2-addons/issues/126
  • openHAB binding 2.4.0 I_TIME Duplicates & Wrong Times

    2
    0 Votes
    2 Posts
    710 Views
    I
    @itbeyond said in openHAB binding 2.4.0 I_TIME Duplicates & Wrong Times: Bug report submitted in issues https://github.com/tobof/openhab2-addons/issues/125
  • MySensors binding - confusion with things configuration

    2
    3
    0 Votes
    2 Posts
    1k Views
    I
    I also use the lookup in PaperUI to be sure but it looks like you have added the thing in PaperUI from the inbox. What I would do is delete from PaperUI both nodes. If it is as you say setup in the .things files correctly you will not be able to delete it from PaperUI it will report a problem with any things that are setup in the manual things files.
  • Rule for dimmer and LED strip

    2
    0 Votes
    2 Posts
    1k Views
    H
    @vladimir Are you looking for something similar to the following: rule "Rule Dimmer to Color Item Brightness" // TestDimmer121 is the item name of the dimmer value // Mock_RGB_Color_x is the Item name of the color strip // Openhab sends color data as Hue, Saturation, Brightness Data when Item TestDimmer121 changed then logInfo("rules","Dimmer to Color conversion Received " +TestDimmer121.state ) var PercentType BrightnessfromDimmer= TestDimmer121.state var HSBType currentState = Mock_RGB_Color_x.state as HSBType var DecimalType CurrentHue = currentState.hue var PercentType CurrentSaturation = currentState.saturation var PercentType CurrentBrightness = currentState.brightness logInfo("rules","HSBtype " + currentState) Mock_RGB_Color_x.sendCommand(new HSBType(CurrentHue,CurrentSaturation,BrightnessfromDimmer)) logInfo("rules","HSBtype NEW " +Mock_RGB_Color_x.state.toString) end You did not post your item names, so you need to change to suit. I do not have a HSB lamp node to physicaly test on, so i have only been checking the openhab logs.

28

Online

11.7k

Users

11.2k

Topics

113.1k

Posts