Skip to content

OpenHAB

204 Topics 2.4k Posts
  • openHab - messages received, items/channels not updated

    4
    0 Votes
    4 Posts
    74 Views
    T
    @ThkUF Oh yeah, thank you. I've changed the download link and I'm glad it is working for you!
  • Openhab multiple gateways

    5
    0 Votes
    5 Posts
    390 Views
    J
    @TimO said in Openhab multiple gateways: @niccodemi yes, you need to use different names for different things in Openhab. Name it as you like. The node id is unique per gateway, so you may use the same node id on different gateways/networks. I have problem with 2 MQTT gateways, mysensors binding prasing only one mqtt topic. Also in new OH2.5 is problem selecting Mysensors Mqtt Gateway.
  • UNINITIALIZED - BRIDGE_UNINITIALIZED after reboot

    2
    0 Votes
    2 Posts
    54 Views
    mariogagnonM
    Found a work around. Instead of configuring the things in PaperUI, I configure the MQTT Gateway and the sensor through the openHab things file. I followed the example that @dakipro wrote in the openHab controller main Web page (https://www.mysensors.org/controller/openhab). Thanks @dakipro.
  • Help simple structure

    1
    0 Votes
    1 Posts
    37 Views
    No one has replied
  • Problem with connecting serial gateway to openhab2

    openhab serial gateway error
    3
    0 Votes
    3 Posts
    66 Views
    Marcin SzydaM
    @TimO Yes, but without this message: 2020-01-07 16:23:52.050 [INFO ] [rsAbstractConnection$MySensorsWriter] - ACK received for message: 0;0;1;1;2;1
  • AC Dimmer with OpenHab

    10
    0 Votes
    10 Posts
    12k Views
    P
    How easy is this to convert to work with domoticz?
  • Loosing relays state after OH restart

    5
    0 Votes
    5 Posts
    325 Views
    T
    In the relay actuator example the methods saveState() and loadState() are used. The current status of the pin (RELAY_ON or RELAY_OFF) is stored in the EEPROM with every change and restored after a restart of the node. The node will return to the last known state after a restart. BUT: while restarting the state of the pin may change (from on to off to on again while booting up). In case you want the relays to stay activated while booting up you may use an external pull up.
  • OpenHAB 2.4 Serial Gateway problem

    1
    0 Votes
    1 Posts
    285 Views
    No one has replied
  • SerialGateway problem with install

    in arduino ide serial port
    9
    0 Votes
    9 Posts
    443 Views
    T
    @vidin https://github.com/tobof/openhab2-addons/wiki
  • General questions on first GW and sensor setup

    5
    5
    0 Votes
    5 Posts
    945 Views
    4
    Hi. I know this is an old post and you are probably ok now however one thing I have found from experience is that mysensors data doesn't always appear in sitemaps unless the data is formatted correctly. However you should still be seeing the channel being updated in the openhab log. These are examples of formatting that have worked for me: Frame label="Sensor 1" { Text item=MySensorsDevice10_Humidity label="Hum [%.1f %%]" Text item=MySensorsDevice10_LastUpdate label="Last seen [%1$tA, %1$td/%1$tm/%1$tY %1$tH:%1$tM]" icon="network" Text item=MySensorsDevice11_Temperature label="Temp [%.2f °C]" Text item=MySensorsDevice10_BatteryLevel label="Batt [%.1f %%]" }
  • Why are my nodes either all Online or all Offline?

    4
    0 Votes
    4 Posts
    620 Views
    4
    I have now found I can replicate this behaviour by simply restarting the serial monitor in arduino ide (i.e. forcing the bridge to restart). Once done the bridge thing and node things all show as online but no updates are made until the things are edited in some way.
  • OpenHAB 2.4 additional variable types & repeaters

    1
    0 Votes
    1 Posts
    360 Views
    No one has replied
  • Best up to date tutorial for mysensors with openhab 2.4.0?

    1
    0 Votes
    1 Posts
    578 Views
    No one has replied
  • Having trouble with LastUpdate

    2
    0 Votes
    2 Posts
    508 Views
    C
    Update -: Stop the bus, just found a solution! For anyone else searching I changed this in the sitemap Text item=LastUpdate01 label="Last seen [%1$tA, %1$td/%1$tm/%1$tY %1$tH:%1$tM]" icon="network" Works perfect now!
  • Never been able to get MySensors to work

    27
    0 Votes
    27 Posts
    3k Views
    N
    @iamtheghost sorry for the late reply. I moved to ThingsBoard which acts both as a controller (via the Rule Chain engine, a very powerfull yet very simple method to instantiate all kind of operations. For example: I'm fetching my sensors data every 5 minutes and uploading to wunderground and windy) and as a web gateway to access data with a nice UI. Sensors are still based on the "same old" NodeMCU board, and guess what: each variation of those boards (AMICA, Lolin, Lolin v3, etc.) now is working perfectly. I removed the radio module, since it won't be used anymore, and some of them are powered via battery shield (18650 LiPo with recharge port to be connected to a solar panel, for example). Here an example of one of my dashboards: you can also notice a ReedSwitch sensor and an Alarm Module that displays and Alarm each time the sensor reports "door open" and sends me an e-mail alert. [image: 2wpw1dD.jpg] As for those stating that NodeMCU is a "wrong" choice: probably it is if one would like to use MySensors Library. But "per se" NodeMCU boards are extremely versatile, more than Arduino or WeMo which requires "stacking up" various modules/shields to obtain the same functionality offered by a NodeMCU in almost half the space. @kimot the radio module selection should be based upon the user-case scenario, at least as long as MySensors Library officially supports both NRF24 and RFM69. One case where you might want to stick with 2.4Ghz network is when your area is "heavily populated" by radio signals and interference from an airport less than 50km away in line-of-sight. @Tmaster I can assure you, at least in my case and I think that this has been the same for iamtheghost, I tried EVERY possible hardware variation out there. I spent months buying original components, both from resellers and producer. @iamtheghost said in Never been able to get MySensors to work: @neo-mod said in Never been able to get MySensors to work: @iamtheghost I'm sorry I could not post any kind of solution, but just to say "Me too!". Two years and half of experimentations, different platform (ESP8266 / ESP-12) but same radio and same h/w for the controller, and in the end I had your exact same results. Same as you, I did everything I could to figure out the problem, including spending and "insane" amount of time (and money!) in sourcing the same hardware components from different sources. I did change the hardware (wires, components, microSD, cables, power sources, etc. etc. ) so many times that I can't even count; that poor raspberry of mine has been flashed over and over; same goes for the ESP-module, which I have also tried in every possible "flavour" (NodeMCU, Lolin, Amica, WeMos, etc. ). And in doing so I left quite a trail of "weird and unsolved" problems here in the forum. In the end, just like you have discovered, I could never make it work! I was captivated by the idea of having a "mesh sensors network" working around my building, especially because I have wide areas not covered by WiFi and I was intrigued (to say the least) by the possibilities promised by MySensors. But as you said, "It promises all the bells and whistles for cheap home automation, but despite my every effort, I cannot even read a simple DHT11". (*) (to be precise, in my case it was also a BME280; I switched to those AIO sensors after failing with DHT variants) I did never solve the issues, and I abandoned this platform when I reached the verge of my patience having exactly the same sketch with the same hardware (really, the same sensor, the same radio, the same wires, and two identical boards) working on one board and failing on another. After 2 years and a half I gave up on the idea of a "mesh network" and moved to another library (still free and still available to install on a raspberry to use as a controller, and with a beautiful UI)... wish I had done it sooner. In 4 days I fixed my whole network, having a plethora of sensors constantly reporting, never hanging up for any reason (I mean, I tried removing power in 60 seconds intervals for 5 minutes and in the end they all rebooted correctly with no errors) and with the bonus feature of outputting "eye friendly" data due to the different controller. Hence, I perfectly understand your situation and I know how it feels: the best suggestion I can give you is to "move on" and use a different library/architecture. I knew I wasn't alone. I totally accept and encourage platforms that are geared towards EEs and programmers, and MySensors is definitely that. Even as a programmer by trade, it's still difficult. What library are you using now? I'm piqued.
  • Battery Tank level node and Openhab

    6
    0 Votes
    6 Posts
    956 Views
    K
    I do not know openhab, but in Domoticz this info ( battery and radio level ) I can see only in all devices list tab. Not like special sensor.
  • Minimum sketch requirement for OpenHAB discovery to work

    5
    0 Votes
    5 Posts
    1k Views
    C
    @pavel-hrudka I know this is quite an old post but I discovered tonight that when openHAB would not discover my node, I hit reset on the node and openHAB discovered the sensor when it restarted and contacted the GW. May help someone in the future!
  • openHAB 2.2 binding

    3
    2
    1 Votes
    3 Posts
    985 Views
    zookazimZ
    @djal Beautiful! Amazing! It works! I've been struggling with this issue for over two weeks ... I guess I'll have to learn about the assignment of node numbers in more detail. Thanks @djal much appreciated.
  • Node with Relay

    1
    0 Votes
    1 Posts
    517 Views
    No one has replied
  • 433mhz chinese burglar alarm and openHAB

    4
    0 Votes
    4 Posts
    843 Views
    M
    thank you very much, I see you study some documentation, bye

14

Online

11.7k

Users

11.2k

Topics

113.1k

Posts