Skip to content
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
AndrewZA

AndrewZ

@AndrewZ
  • Getting Started
  • Controller
  • Build
  • Hardware
  • Download/API
  • Forum
  • Store
About
Posts
25
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • openHAB 2.0 binding
    AndrewZA AndrewZ

    @gonzalonal I've observed something similar on my system, as I recall the binding wasn't even able to establish the initial connection to a gateway. Have OH upgraded today from an earlier build (~3 weeks old).

    OpenHAB

  • openHAB 2.0 binding
    AndrewZA AndrewZ

    @TimO yes, message occurs on startup and I'm already using version from marketplace, I see it as market:binding-3328323 - 1.0

    OpenHAB

  • openHAB 2.0 binding
    AndrewZA AndrewZ

    @TimO here is the output:

    2017-03-23 20:51:32.531 [INFO ] [ui.habmin.internal.servlet.HABminApp] - Started HABmin servlet at /habmin
    2017-03-23 20:51:33.754 [WARN ] [.discovery.MySensorsDiscoveryService] - Cannot automatic discover thing node: 0, child: 255 please insert it manually
    2017-03-23 20:51:33.772 [INFO ] [al.protocol.ip.MySensorsIpConnection] - Successfully connected to MySensors Bridge.
    
    OpenHAB

  • openHAB 2.0 binding
    AndrewZA AndrewZ

    Just noticed in the log:

    [WARN ] [.discovery.MySensorsDiscoveryService] - Cannot automatic discover thing node: 0, child: 255 please insert it manually
    

    Is that normal or any additional configuration is needed?
    Thanks!

    OpenHAB

  • openHAB 2.0 binding
    AndrewZA AndrewZ

    @LastSamurai please check the group ownership

    $ ls -l /dev/ttyUSB0
    

    Make sure the port you're using is included in EXTRA_JAVA_OPTS as described here

    OpenHAB

  • RS485 Gateway with Nano and ENC28J60
    AndrewZA AndrewZ

    I'm also interested in Ethernet Gateway with RS485 transport.
    At the moment I have successfully tested this on Arduino UNO with 2 different Ethernet modules, W5100 and ENC28J60.
    In both cases I'm using hardware serial port on Arduino, not AltSoftSerial.

    // Enable this if RS485 is connected to a hardware serial port
    #define MY_RS485_HWSERIAL Serial
    
    Development

  • ๐Ÿ’ฌ Building an Ethernet Gateway
    AndrewZA AndrewZ

    @mfalkvidd , yes I also found this in MQTT GW example, thanks.
    This seems to be not working on my ENC28J60 - as I can see the the default gateway setting is not taken into account. I will test with W5100.

    Edit: I confirm that these settings work properly with W5100, just tested.

    Announcements

  • ๐Ÿ’ฌ Building an Ethernet Gateway
    AndrewZA AndrewZ

    Maybe I just overlooked that, but is it possible to statically define netmask and gateway in the sketch? I'm using ENC28J60.

    Announcements

  • openHAB 2.0 binding
    AndrewZA AndrewZ

    @andreacioni thank you
    Yes, it was a change in the .things file, but it was related to another binding.

    OpenHAB

  • openHAB 2.0 binding
    AndrewZA AndrewZ

    @TimO , I just noticed a weird behavior - I've changed configuration for another binding and restarted it from the console but that killed mysensors binding:

    2017-03-04 13:07:19.110 [INFO ] [el.core.internal.ModelRepositoryImpl] - Refreshing model 'demo.things'
    2017-03-04 13:07:19.123 [ERROR] [col.serial.MySensorsSerialConnection] - Interrupted reset time wait
    2017-03-04 13:07:19.124 [WARN ] [col.serial.MySensorsSerialConnection] - Skipping I_VERSION connection test, not recommended...
    2017-03-04 13:07:19.125 [INFO ] [col.serial.MySensorsSerialConnection] - Successfully connected to MySensors Bridge.
    2017-03-04 13:07:19.125 [WARN ] [col.serial.MySensorsSerialConnection] - Network Sanity Checker thread disabled from bridge configuration

    2017-03-04 13:07:21.141 [ERROR] [col.serial.MySensorsSerialConnection] - Can't connect to serial port. Wrong port?
    2017-03-04 13:07:21.149 [ERROR] [col.serial.MySensorsSerialConnection] - Failed connecting to bridge...next retry in 10 seconds (Retry No.:0)
    2017-03-04 13:07:33.161 [ERROR] [col.serial.MySensorsSerialConnection] - Can't connect to serial port. Wrong port?
    2017-03-04 13:07:33.163 [ERROR] [col.serial.MySensorsSerialConnection] - Failed connecting to bridge...next retry in 10 seconds (Retry No.:1)

    Complete stop/start of OH is the only solution so far.

    OpenHAB

  • openHAB 2.0 binding
    AndrewZA AndrewZ

    @TimO yes, it is working, but please check this one and 2nd (Network Sanity Checker thread disabled). Thank you!

    OpenHAB

  • openHAB 2.0 binding
    AndrewZA AndrewZ

    @TimO what about my error? I'm on the latest version already.

    OpenHAB

  • ๐Ÿ’ฌ Sonoff relay using MySensors ESP8266 wifi or mqtt gateway
    AndrewZA AndrewZ

    With all my respect to the project and people behind it I believe that MQTT is more widely used than MySensors. So for me it would be more logical to add another MQTT client to the network rather than introduce any additional gateway. Just my 2ยข.

    OpenHardware.io mqtt sonoff home assistan esp8266

  • openHAB 2.0 binding
    AndrewZA AndrewZ

    Just updated my OH2 installation from snapshot to RC/beta and immediately got an error with the binding:

    [ERROR] [rs.internal.protocol.MySensorsReader] - (java.lang.NumberFormatException: For input string: "Gateway startup complete.") on reading from connection, message: class org.openhab.binding.mysensors.internal.protocol.serial.MySensorsSerialReader
    

    But then the usual:

    [INFO ] [col.serial.MySensorsSerialConnection] - Successfully connected to MySensors Bridge.
    [WARN ] [col.serial.MySensorsSerialConnection] - Network Sanity Checker thread disabled from bridge configuration
    

    What could be a problem? Do I need to perform some cleanup on my system? What exactly needs to be deleted?

    OpenHAB

  • ๐Ÿ’ฌ Sonoff relay using MySensors ESP8266 wifi or mqtt gateway
    AndrewZA AndrewZ

    Sorry, but what's the use case here?
    With Sonoff it's either hard or impossible to add a radio or rs485 transport, so I don't see it as a real gateway.
    If one wants to use it as a pure client and control it with MQTT - there is a great working solution available already: https://github.com/arendst/Sonoff-MQTT-OTA-Arduino

    OpenHardware.io mqtt sonoff home assistan esp8266

  • openHAB 2.0 binding
    AndrewZA AndrewZ

    @TimO Thanks, will keep it off in the GUI.

    OpenHAB

  • openHAB 2.0 binding
    AndrewZA AndrewZ

    Hello everyone
    I'm slowly migrating to OH2, my small MySensors network generally works fine but I see some weird behavior with the binding configuration in Paper UI.
    So far it looks like "Disable network sanity check" is reversed - I'm sliding it to the left which means for me 'not disabled', i.e. 'enabled', but in the log I see "Checker thread disabled".

    2017-01-11 16:50:38.405 [DEBUG] [rs.internal.protocol.MySensorsReader] - 0;255;3;0;14;Gateway startup complete.
    2017-01-11 16:50:38.408 [DEBUG] [rs.internal.protocol.MySensorsReader] - 0;255;0;0;18;2.1.0
    2017-01-11 16:50:38.503 [DEBUG] [rs.internal.protocol.MySensorsWriter] - Sending to MySensors: 0;0;3;0;2;
    2017-01-11 16:50:38.511 [DEBUG] [rs.internal.protocol.MySensorsReader] - 0;255;3;0;2;2.1.0
    2017-01-11 16:50:38.512 [DEBUG] [col.serial.MySensorsSerialConnection] - Good,Gateway is up and running! (Ver:2.1.0)
    2017-01-11 16:50:38.514 [INFO ] [col.serial.MySensorsSerialConnection] - Successfully connected to MySensors Bridge.
    2017-01-11 16:50:38.515 [WARN ] [col.serial.MySensorsSerialConnection] - Network Sanity Checker thread disabled from bridge configuration
    2017-01-11 16:50:48.516 [DEBUG] [col.serial.MySensorsSerialConnection] - Bridge is connected, connection skipped
    
    

    Is that ok?

    OpenHAB

  • RS485/RS232/Serial transport class for mysensors.org
    AndrewZA AndrewZ

    I'm trying to get my Ethernet gateway (UNO with W5100) working with RS485 transport.
    While RS485 part seems to be working fine between the node and gateway, the Ethernet part seems to be dead. I suspect this is related to the fact that Ethernet shield uses pin 10 which is unusable with RS485. Am I right? Any workaround?

    Development rs485 serial rs485

  • RS485/RS232/Serial transport class for mysensors.org
    AndrewZA AndrewZ

    @hek
    thanks for this really fast and motivating response, I will try!

    Development rs485 serial rs485

  • RS485/RS232/Serial transport class for mysensors.org
    AndrewZA AndrewZ

    I'm curious whether it is possible to use this RS485 transport with Ethernet or MQTT gateway or Serial gateway is the only option?
    For example, controller talks with MySensors Gateway over Ethernet,
    MySensors Gateway talks with the Nodes over RS485.
    Thanks!

    Development rs485 serial rs485
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular