Navigation

    • Register
    • Login
    • Search
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. pentti12
    3. Posts
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Posts made by pentti12

    • RE: Where to find working MySensors Binding for OpenHAB 2 beta 5?

      When I enable the startup connection check of the MySensors Ethernet Gateway, I get the following listing:
      16:36:08.633 [DEBUG] [al.protocol.ip.MySensorsIpConnection] - Connecting to IP bridge [192.168.1.201:5003]
      16:36:08.838 [DEBUG] [rs.internal.protocol.MySensorsWriter] - Sending to MySensors: 0;0;3;0;2;
      16:36:09.657 [DEBUG] [rs.internal.protocol.MySensorsWriter] - Sending to MySensors: 0;0;3;0;2;
      16:36:10.657 [DEBUG] [rs.internal.protocol.MySensorsWriter] - Sending to MySensors: 0;0;3;0;2;
      16:36:11.658 [DEBUG] [rs.internal.protocol.MySensorsWriter] - Sending to MySensors: 0;0;3;0;2;
      16:36:12.658 [DEBUG] [rs.internal.protocol.MySensorsWriter] - Sending to MySensors: 0;0;3;0;2;
      16:36:13.658 [ERROR] [al.protocol.ip.MySensorsIpConnection] - Cannot start reading/writing thread, probably sync message (I_VERSION) not received. Try set skipStartupCheck to true
      16:36:13.664 [ERROR] [al.protocol.ip.MySensorsIpConnection] - Failed connecting to bridge...next retry in 10 seconds (Retry No.:8)
      16:36:13.666 [DEBUG] [al.protocol.ip.MySensorsIpConnection] - Disconnecting from IP bridge ...
      16:36:13.668 [DEBUG] [rs.internal.protocol.MySensorsWriter] - Stopping Writer thread
      16:36:13.672 [ERROR] [rs.internal.protocol.MySensorsWriter] - (java.lang.InterruptedException) on writing from serial port, message: class org.openhab.binding.mysensors.internal.protocol.ip.MySensorsIpWriter
      16:36:13.694 [DEBUG] [rs.internal.protocol.MySensorsReader] - Stopping Reader thread
      16:36:13.700 [ERROR] [rs.internal.protocol.MySensorsReader] - (java.lang.InterruptedException: sleep interrupted) on reading from serial port, message: class org.openhab.binding.mysensors.internal.protocol.ip.MySensorIpReader

      But my question still is, when I will get the working MySensors binding for OH2 beta 5?

      posted in OpenHAB
      pentti12
      pentti12
    • Where to find working MySensors Binding for OpenHAB 2 beta 5?

      I started from scratch one's again. Now I am running OpenHAB2 beta5. It can control Philips HUE lamps without problems, but not the MySensors nodes. I am using the MySensors Ethernet Gateway and listed from Karaf console:184 | Active | 80 | 2.0.0.201612221259 | MySensors Binding.
      I get following listing:

      17:20:44.890 [ERROR] [rs.internal.protocol.MySensorsReader] - (java.lang.InterruptedException: sleep interrupted) on reading from serial port, message: class org.openhab.binding.mysensors.internal.protocol.ip.MySensorIpReader
      17:20:44.913 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'mysensors:bridge-eth:5c0d1e86' changed from ONLINE to OFFLINE
      17:20:44.912 [DEBUG] [al.protocol.ip.MySensorsIpConnection] - Connecting to IP bridge [192.168.1.201:5003]
      17:20:45.096 [WARN ] [al.protocol.ip.MySensorsIpConnection] - Skipping I_VERSION connection test, not recommended...
      17:20:45.119 [INFO ] [al.protocol.ip.MySensorsIpConnection] - Successfully connected to MySensors Bridge.
      17:20:45.121 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'mysensors:bridge-eth:5c0d1e86' changed from OFFLINE to ONLINE
      17:20:55.125 [DEBUG] [al.protocol.ip.MySensorsIpConnection] - Bridge is connected, connection skipped
      17:21:05.128 [DEBUG] [al.protocol.ip.MySensorsIpConnection] - Bridge is connected, connection skipped

      So there are still something wrong in the MySensors binding, because i cannot read actual values from sensor node.

      posted in OpenHAB
      pentti12
      pentti12
    • RE: MySensors Ethernet Gateway goes to OFFLINE state

      @jogant I moved to different location here in Espoo, so it will take a couple of days before I can continue with proposed MySensors binding, but it is good to know that there is at least one working solution available.

      posted in OpenHAB
      pentti12
      pentti12
    • RE: 💬 MySensor Dioder (Ikea)

      Do you have interest to try OH2 together with MySensors Ethernet Gateway to get working?

      I do not have enough force to push developers to make this happen. At the moment there is some problem on this, because full control is not possible. I think that MySensors Serial Gateway is working with OH2, but I don't like to use it. I like to connect my devices into LAN not cabling via old fashioned way using serial wires.

      posted in OpenHardware.io
      pentti12
      pentti12
    • RE: 💬 MySensor Dioder (Ikea)

      Update:

      I can control locally the IKEA DIODER now. So the hardware is more or less working as expected, but do you have good instructions how I can get OpenHAB2 and MySensors Ethernet Gateway working together. Today I can see MySensors Ethernet Gateway ONLINE state and I can manually add Custom Sensor as a thing, but I cannot control items via Openhab.

      I use the latest OH2 Snapshot ( on Pine64 with Debian Jessie) and latest MySensors GatewayW5100 (library 2.0) on the MySensors Gateway (Arduino UNO based) and I have tried to start/stop/restart OH2 after MySensors Gateway is up and running without success.

      OH2 is capable to control for example Philips HUE lights without problems at the moment.

      posted in OpenHardware.io
      pentti12
      pentti12
    • RE: 💬 MySensor Dioder (Ikea)

      Update:

      I changed Arduino Board from Arduino Mega R3 to Arduino UNO board. I placed my protoshield above UNO-board and now I got following response:

      Starting sensor (RNNNA-, 2.0.0)
      TSM:INIT
      RF24:write register, reg=0, value=14
      RF24:write register, reg=3, value=3
      RF24:write register, reg=4, value=95
      RF24:write register, reg=5, value=76
      RF24:write register, reg=6, value=39
      RF24:read register, reg=6, value=39
      RF24:read register, reg=5, value=76
      RF24:write register, reg=16, value=115
      RF24:write register, reg=29, value=6
      RF24:write register, reg=2, value=2
      RF24:write register, reg=1, value=0
      RF24:write register, reg=28, value=3
      RF24:flushRX
      RF24:flushTX
      RF24:write register, reg=7, value=112
      TSM:RADIO:OK
      RF24:write register, reg=2, value=3
      RF24:write register, reg=1, value=1
      RF24:start listening
      RF24:write register, reg=0, value=15
      RF24:write register, reg=10, value=9
      TSP:ASSIGNID:OK (ID=9)
      TSM:FPAR
      RF24:stop listening
      RF24:write register, reg=0, value=14
      RF24:open writing pipe, recipient=255
      RF24:write register, reg=10, value=255
      RF24:write register, reg=16, value=255
      RF24:send message to 255, len=7
      RF24:flushTX
      RF24:write register, reg=7, value=48
      RF24:MAX_RT
      RF24:flushTX
      RF24:start listening
      RF24:write register, reg=0, value=15
      RF24:write register, reg=10, value=9
      TSP:MSG:SEND 9-9-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      TSM:FPAR
      RF24:stop listening
      RF24:write register, reg=0, value=14
      RF24:open writing pipe, recipient=255
      RF24:write register, reg=10, value=255
      RF24:write register, reg=16, value=255
      RF24:send message to 255, len=7
      RF24:flushTX
      RF24:write register, reg=7, value=48
      RF24:MAX_RT
      RF24:flushTX
      RF24:start listening
      RF24:write register, reg=0, value=15
      RF24:write register, reg=10, value=9
      TSP:MSG:SEND 9-9-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      RF24:read message, len=8
      RF24:write register, reg=7, value=64
      TSP:MSG:READ 0-0-9 s=255,c=3,t=8,pt=1,l=1,sg=0:0
      TSP:MSG:FPAR RES (ID=0, dist=0)
      TSP:MSG:PAR OK (ID=0, dist=1)
      TSM:FPAR:OK
      TSM:ID
      TSM:CHKID:OK (ID=9)
      TSM:UPL
      TSP:PING:SEND (dest=0)
      RF24:stop listening
      RF24:write register, reg=0, value=14
      RF24:open writing pipe, recipient=0
      RF24:write register, reg=10, value=0
      RF24:write register, reg=16, value=0
      RF24:send message to 0, len=8
      RF24:flushTX
      RF24:write register, reg=7, value=48
      RF24:start listening
      RF24:write register, reg=0, value=15
      RF24:write register, reg=10, value=9
      TSP:MSG:SEND 9-9-0-0 s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=ok:1
      RF24:read message, len=8
      RF24:write register, reg=7, value=64
      TSP:MSG:READ 0-0-9 s=255,c=3,t=25,pt=1,l=1,sg=0:1
      TSP:MSG:PONG RECV (hops=1)
      TSP:CHKUPL:OK
      TSM:UPL:OK
      TSM:READY
      Setup... end.
      RF24:stop listening
      RF24:write register, reg=0, value=14
      RF24:open writing pipe, recipient=0
      RF24:write register, reg=10, value=0
      RF24:write register, reg=16, value=0
      RF24:send message to 0, len=9
      RF24:flushTX
      RF24:write register, reg=7, value=48
      RF24:start listening
      RF24:write register, reg=0, value=15
      RF24:write register, reg=10, value=9
      TSP:MSG:SEND 9-9-0-0 s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=ok:0100
      RF24:stop listening
      RF24:write register, reg=0, value=14
      RF24:open writing pipe, recipient=0
      RF24:write register, reg=10, value=0
      RF24:write register, reg=16, value=0
      RF24:send message to 0, len=12
      RF24:flushTX
      RF24:write register, reg=7, value=48
      RF24:start listening
      RF24:write register, reg=0, value=15
      RF24:write register, reg=10, value=9
      TSP:MSG:SEND 9-9-0-0 s=255,c=0,t=17,pt=0,l=5,sg=0,ft=0,st=ok:2.0.0
      RF24:stop listening
      RF24:write register, reg=0, value=14
      RF24:open writing pipe, recipient=0
      RF24:write register, reg=10, value=0
      RF24:write register, reg=16, value=0
      RF24:send message to 0, len=8
      RF24:flushTX
      RF24:write register, reg=7, value=48
      RF24:start listening
      RF24:write register, reg=0, value=15
      RF24:write register, reg=10, value=9
      TSP:MSG:SEND 9-9-0-0 s=255,c=3,t=6,pt=1,l=1,sg=0,ft=0,st=ok:0
      RF24:read message, len=9
      RF24:write register, reg=7, value=64
      TSP:MSG:READ 0-0-9 s=255,c=3,t=15,pt=6,l=2,sg=0:0100
      Incoming message: 15
      RF24:stop listening
      RF24:write register, reg=0, value=14
      RF24:open writing pipe, recipient=0
      RF24:write register, reg=10, value=0
      RF24:write register, reg=16, value=0
      RF24:send message to 0, len=21
      RF24:flushTX
      RF24:write register, reg=7, value=48
      RF24:start listening
      RF24:write register, reg=0, value=15
      RF24:write register, reg=10, value=9
      TSP:MSG:SEND 9-9-0-0 s=255,c=3,t=11,pt=0,l=14,sg=0,ft=0,st=ok:MySensorDioder
      RF24:stop listening
      RF24:write register, reg=0, value=14
      RF24:open writing pipe, recipient=0
      RF24:write register, reg=10, value=0
      RF24:write register, reg=16, value=0
      RF24:send message to 0, len=12
      RF24:flushTX
      RF24:write register, reg=7, value=48
      RF24:start listening
      RF24:write register, reg=0, value=15
      RF24:write register, reg=10, value=9
      TSP:MSG:SEND 9-9-0-0 s=255,c=3,t=12,pt=0,l=5,sg=0,ft=0,st=ok:2.0.0
      RF24:stop listening
      RF24:write register, reg=0, value=14
      RF24:open writing pipe, recipient=0
      RF24:write register, reg=10, value=0
      RF24:write register, reg=16, value=0
      RF24:send message to 0, len=7
      RF24:flushTX
      RF24:write register, reg=7, value=48
      RF24:start listening
      RF24:write register, reg=0, value=15
      RF24:write register, reg=10, value=9
      TSP:MSG:SEND 9-9-0-0 s=0,c=0,t=4,pt=0,l=0,sg=0,ft=0,st=ok:
      RF24:stop listening
      RF24:write register, reg=0, value=14
      RF24:open writing pipe, recipient=0
      RF24:write register, reg=10, value=0
      RF24:write register, reg=16, value=0
      RF24:send message to 0, len=7
      RF24:flushTX
      RF24:write register, reg=7, value=48
      RF24:start listening
      RF24:write register, reg=0, value=15
      RF24:write register, reg=10, value=9
      TSP:MSG:SEND 9-9-0-0 s=1,c=0,t=26,pt=0,l=0,sg=0,ft=0,st=ok:
      Request registration...
      RF24:stop listening
      RF24:write register, reg=0, value=14
      RF24:open writing pipe, recipient=0
      RF24:write register, reg=10, value=0
      RF24:write register, reg=16, value=0
      RF24:send message to 0, len=8
      RF24:flushTX
      RF24:write register, reg=7, value=48
      RF24:start listening
      RF24:write register, reg=0, value=15
      RF24:write register, reg=10, value=9
      TSP:MSG:SEND 9-9-0-0 s=255,c=3,t=26,pt=1,l=1,sg=0,ft=0,st=ok:2
      RF24:read message, len=8
      RF24:write register, reg=7, value=64
      TSP:MSG:READ 0-0-9 s=255,c=3,t=27,pt=1,l=1,sg=0:1
      Node registration=1
      Init complete, id=9, parent=0, distance=1, registration=1
      Wheel position changed.
      Wheel position: 0
      Hue value of the Wheel position: 0
      Send command to lights.
      Bright: 0
      Red: 0
      Green: 0
      Blue: 0
      RGB in HEX: 000000

      RF24:stop listening
      RF24:write register, reg=0, value=14
      RF24:open writing pipe, recipient=0
      RF24:write register, reg=10, value=0
      RF24:write register, reg=16, value=0
      RF24:send message to 0, len=11
      RF24:flushTX
      RF24:write register, reg=7, value=48
      RF24:start listening
      RF24:write register, reg=0, value=15
      RF24:write register, reg=10, value=9
      TSP:MSG:SEND 9-9-0-0 s=0,c=1,t=3,pt=4,l=4,sg=0,ft=0,st=ok:0
      RF24:stop listening
      RF24:write register, reg=0, value=14
      RF24:open writing pipe, recipient=0
      RF24:write register, reg=10, value=0
      RF24:write register, reg=16, value=0
      RF24:send message to 0, len=13
      RF24:flushTX
      RF24:write register, reg=7, value=48
      RF24:start listening
      RF24:write register, reg=0, value=15
      RF24:write register, reg=10, value=9
      TSP:MSG:SEND 9-9-0-0 s=1,c=1,t=40,pt=0,l=6,sg=0,ft=0,st=ok:000000

      Now sketch seems to work. I will continue by adding IKEA DIODER Leds. More info later.

      posted in OpenHardware.io
      pentti12
      pentti12
    • RE: 💬 MySensor Dioder (Ikea)

      At least I have ordered nRF24L01+ versions. And I use them on other MySensors node and they are working OK.

      posted in OpenHardware.io
      pentti12
      pentti12
    • RE: 💬 MySensor Dioder (Ikea)

      I added 10uF capasitor between VCC and GND pins of the radio module. I also added #define MY_DEBUG_VERBOSE_RF24 line into sketch. I got the following response:

      Starting sensor (RNNNA-, 2.0.0)
      TSM:INIT
      RF24:write register, reg=0, value=14
      RF24:write register, reg=3, value=3
      RF24:write register, reg=4, value=95
      RF24:write register, reg=5, value=76
      RF24:write register, reg=6, value=39
      RF24:read register, reg=6, value=255
      RF24:read register, reg=5, value=255
      RF24:Sanity check failed: configuration mismatch! Check wiring, replace module or non-P version
      !TSM:RADIO:FAIL
      !TSM:FAILURE
      TSM:PDT
      RF24:write register, reg=0, value=12
      RF24:power down

      I have changed the radio module to new one without success. So there must be some other reason why this sketch does not work in my hardware. Any ideas?

      posted in OpenHardware.io
      pentti12
      pentti12
    • RE: 💬 MySensor Dioder (Ikea)

      Wiring was OK, but 10uF elko is missing from the 3.3V supply. I have only 440nF capasitor at the moment. This seems to be too small value. I will have 10uF elko on next monday available. So project will take a break.

      posted in OpenHardware.io
      pentti12
      pentti12
    • RE: 💬 MySensor Dioder (Ikea)

      I changed my Radio-module to new one. Does not help. So I have to check my wiring on prototype board.

      posted in OpenHardware.io
      pentti12
      pentti12
    • RE: 💬 MySensor Dioder (Ikea)

      OK, I added the line and now I get:

      Starting sensor (RNNNA-, 2.0.0)
      TSM:INIT
      !TSM:RADIO:FAIL
      !TSM:FAILURE
      TSM:PDT
      TSM:INIT
      !TSM:RADIO:FAIL
      !TSM:FAILURE
      TSM:PDT
      TSM:INIT
      !TSM:RADIO:FAIL
      !TSM:FAILURE
      TSM:PDT
      TSM:INIT
      !TSM:RADIO:FAIL
      !TSM:FAILURE
      TSM:PDT
      TSM:INIT
      !TSM:RADIO:FAIL
      !TSM:FAILURE
      TSM:PDT
      TSM:INIT
      !TSM:RADIO:FAIL
      !TSM:FAILURE
      TSM:PDT
      TSM:INIT
      !TSM:RADIO:FAIL
      !TSM:FAILURE
      TSM:PDT
      TSM:INIT
      !TSM:RADIO:FAIL
      !TSM:FAILURE
      TSM:PDT
      TSM:INIT
      !TSM:RADIO:FAIL
      !TSM:FAILURE
      TSM:PDT
      TSM:INIT
      !TSM:RADIO:FAIL
      !TSM:FAILURE
      TSM:PDT
      TSM:INIT
      !TSM:RADIO:FAIL
      !TSM:FAILURE
      TSM:PDT

      So I have to check my radio-module or replace it with new one. I will continue ...

      posted in OpenHardware.io
      pentti12
      pentti12
    • RE: 💬 MySensor Dioder (Ikea)

      I tested this latest sketch in my actual hardware (Arduino Mega + Proto shield with additionla components + Ikea Dioder control board). I cannot get system working, nothing happens when I press UP, DOWN buttons. Led-lights stay ON after power up.
      I also tested to compile your sketch with Arduino IDE and MySensors Library V2.0.0. Compiling went OK, no progress with actual hardware.

      How can I test step by step what is happening during startup?

      posted in OpenHardware.io
      pentti12
      pentti12
    • RE: MySensors Ethernet Gateway goes to OFFLINE state

      I am using Ethernet Gateway in my LAN. Gateway has static IP and it is accessible (ping works). Also port number 5003 is detected correctly.

      I am using standard GatewayW5100.ino sketch.

      How can I force OH2 to use only Ethernet-connection?

      posted in OpenHAB
      pentti12
      pentti12
    • RE: 💬 MySensor Dioder (Ikea)

      Hi

      I changed my Arduino IDE 1.6.11 using the MySensors development library v2.1.0-beta. Now the compiling went OK. I will continue with that. It will take few days before I have more info about how things went with actual hardware.

      posted in OpenHardware.io
      pentti12
      pentti12
    • RE: MySensors Ethernet Gateway goes to OFFLINE state

      Can someone explain, why I cannot get real values from MySensors node, which has only temperature and humidity sensors?

      I can get the MySensors Ethernet Gateway into ONLINE STATE. I can get humidity and Temperature Sensors ONLINE STATE, but I cannot get real values from the node.

      What I see from OpenHAB2 log side is:

      09:31:45.356 [DEBUG] [rs.internal.protocol.MySensorsWriter] - Sending to MySensors: 0;0;3;0;2;
      09:31:45.375 [DEBUG] [al.protocol.ip.MySensorsIpConnection] - Bridge is connected, connection skipped
      09:31:48.356 [WARN ] [otocol.MySensorsNetworkSanityChecker] - I_VERSION message response is not arrived. Remained attempts before disconnection 1
      09:31:55.377 [DEBUG] [al.protocol.ip.MySensorsIpConnection] - Bridge is connected, connection skipped
      09:32:05.380 [DEBUG] [al.protocol.ip.MySensorsIpConnection] - Bridge is connected, connection skipped

      I think that there must be some error in MySensors Binding at the moment, because for example the Philips HUE bridge is working corretly via Openhab2 in the same Pine64 controller.

      posted in OpenHAB
      pentti12
      pentti12
    • RE: 💬 MySensor Dioder (Ikea)

      Sorry, but the compiler found a missing library file:

      MyTransportNRF24.h

      MySensors library 2.0 has MyTransportNRF24.cpp only

      posted in OpenHardware.io
      pentti12
      pentti12
    • RE: 💬 MySensor Dioder (Ikea)

      Mortommy: Can you change your sketch so that it support MySensors 2.0 library?

      posted in OpenHardware.io
      pentti12
      pentti12
    • RE: MySensors Ethernet Gateway goes to OFFLINE state

      Now I am confused, why I should bridge Ethernet Gateway, if I have USB-connection to MySensors Gateway only?

      I tried to use Ethernet Gateway connected into my local IP-network without success, so I think that I will end this work to this point. There seems no good instructions available what is missing or wrong on the MySensors openhab binding..

      posted in OpenHAB
      pentti12
      pentti12
    • RE: MySensors Ethernet Gateway goes to OFFLINE state

      I added into demo.things following line:

      Bridge mysensors:bridge-ser:gateway [ serialPort="dev/ttyUSB0", sendDelay=200 ] {

      In OH2 MySensor Serial Gateway stays OFFLINE state now. And also the Philips HUE things went OFFLINE state even if they have their own Bridge.

      Looks bad!

      posted in OpenHAB
      pentti12
      pentti12
    • RE: MySensors Ethernet Gateway goes to OFFLINE state

      OK, now Gateway is connected via USB into Pine64 and it is shown as /dev/ttyUSB0.

      posted in OpenHAB
      pentti12
      pentti12
    • RE: MySensors Ethernet Gateway goes to OFFLINE state

      I am running the Ethernet GatewayW5100 software on Arduino UNO. I don't have rpi, I have installed OH2 on Pine64. It is running debian Jessie and it is uptodate. Also the latest mysensors binding is in use. So what to next?

      posted in OpenHAB
      pentti12
      pentti12
    • RE: MySensors Ethernet Gateway goes to OFFLINE state

      I connected my laptop into Ethernet Gateway. Here is a sample of monitoring listing:

      0;255;3;0;9;TSP:MSG:READ 9-9-0 s=0,c=1,t=0,pt=7,l=5,sg=0:30.4
      0;255;3;0;9;TSP:MSG:READ 9-9-0 s=11,c=1,t=0,pt=7,l=5,sg=0:21.9
      0;255;3;0;9;TSP:MSG:READ 9-9-0 s=0,c=1,t=0,pt=7,l=5,sg=0:30.5
      0;255;3;0;9;TSP:MSG:READ 9-9-0 s=11,c=1,t=0,pt=7,l=5,sg=0:22.0
      0;255;3;0;9;TSP:MSG:READ 9-9-0 s=11,c=1,t=0,pt=7,l=5,sg=0:21.9
      0;255;3;0;9;TSP:SANCHK:OK
      0;255;3;0;9;TSP:MSG:READ 9-9-0 s=0,c=1,t=0,pt=7,l=5,sg=0:30.6
      0;255;3;0;9;TSP:MSG:READ 9-9-0 s=0,c=1,t=0,pt=7,l=5,sg=0:30.4
      0;255;3;0;9;TSP:MSG:READ 9-9-0 s=0,c=1,t=0,pt=7,l=5,sg=0:30.5
      0;255;3;0;9;TSP:MSG:READ 9-9-0 s=0,c=1,t=0,pt=7,l=5,sg=0:30.4
      0;255;3;0;9;TSP:MSG:READ 9-9-0 s=0,c=1,t=0,pt=7,l=5,sg=0:30.5
      0;255;3;0;9;TSP:SANCHK:OK
      0;255;3;0;9;TSP:MSG:READ 9-9-0 s=0,c=1,t=0,pt=7,l=5,sg=0:30.5
      0;255;3;0;9;TSP:MSG:READ 9-9-0 s=0,c=1,t=0,pt=7,l=5,sg=0:30.6
      0;255;3;0;9;TSP:MSG:READ 9-9-0 s=0,c=1,t=0,pt=7,l=5,sg=0:30.7
      0;255;3;0;9;TSP:SANCHK:OK
      0;255;3;0;9;TSP:MSG:READ 9-9-0 s=0,c=1,t=0,pt=7,l=5,sg=0:30.7
      0;255;3;0;9;TSP:MSG:READ 9-9-0 s=11,c=1,t=0,pt=7,l=5,sg=0:21.8
      0;255;3;0;9;TSP:MSG:READ 9-9-0 s=0,c=1,t=0,pt=7,l=5,sg=0:30.8

      So I think that this is OK, when I have only one sensor node alive.

      But still, how I shall modify my Arduino Gateway sketch in order to get OH2 server show temperature and humidity values?

      posted in OpenHAB
      pentti12
      pentti12
    • RE: MySensors Ethernet Gateway goes to OFFLINE state

      No help after new sketch loaded into GatewayW5100. OH2 log informs the same result:

      14:49:09.484 [DEBUG] [al.protocol.ip.MySensorsIpConnection] - Bridge is connected, connection skipped

      I will take a break - to be continued on next day...

      posted in OpenHAB
      pentti12
      pentti12
    • RE: MySensors Ethernet Gateway goes to OFFLINE state

      Wait a minute! I think that from the original GatewayW5100 sketch there were missing the IP Gateway and subnet addresses!

      So I will recompile sketch and test again.

      posted in OpenHAB
      pentti12
      pentti12
    • RE: MySensors Ethernet Gateway goes to OFFLINE state

      I am not using the MQTT gateway, I am using standard GatewayW5100.ino, which has correct IP-settings:

      #define MY_IP_ADDRESS 192,168,1,201 // If this is disabled, DHCP is used to retrieve address
      // Renewal period if using DHCP
      //#define MY_IP_RENEWAL_INTERVAL 60000
      // The port to keep open on node server mode / or port to contact in client mode
      #define MY_PORT 5003

      // Controller ip address. Enables client mode (default is "server" mode).
      // Also enable this if MY_USE_UDP is used and you want sensor data sent somewhere.
      #define MY_CONTROLLER_IP_ADDRESS 192, 168, 1, 185

      // The MAC address can be anything you want but should be unique on your network.
      // Newer boards have a MAC address printed on the underside of the PCB, which you can (optionally) use.
      // Note that most of the Ardunio examples use "DEAD BEEF FEED" for the MAC address.
      #define MY_MAC_ADDRESS 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED

      And MySensors Ethernet Gateway is detected by Advanced IP Scanner and I can ping it and so on..

      posted in OpenHAB
      pentti12
      pentti12
    • RE: MySensors Ethernet Gateway goes to OFFLINE state

      Before I set up full logging environment, I wonder why I cannot get connection when I enter following command on the terminal window of OH2 server (Pine64):

      telnet localhost 5003

      unable to connect to remote host

      posted in OpenHAB
      pentti12
      pentti12
    • RE: MySensors Ethernet Gateway goes to OFFLINE state

      Openhab2 detected things automatically, I don't use my own. Here is the sensor node monitor listing:

      B´AÚXStarting sensor (RNNNA-, 2.0.0)
      TSM:INIT
      TSM:RADIO:OK
      TSP:ASSIGNID:OK (ID=9)
      TSM:FPAR
      TSP:MSG:SEND 9-9-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      TSM:FPAR
      TSP:MSG:SEND 9-9-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      TSM:FPAR
      TSP:MSG:SEND 9-9-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      TSP:MSG:READ 0-0-9 s=255,c=3,t=8,pt=1,l=1,sg=0:0
      TSP:MSG:FPAR RES (ID=0, dist=0)
      TSP:MSG:PAR OK (ID=0, dist=1)
      TSM:FPAR:OK
      TSM:ID
      TSM:CHKID:OK (ID=9)
      TSM:UPL
      TSP:PING:SEND (dest=0)
      TSP:MSG:SEND 9-9-0-0 s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=ok:1
      TSP:MSG:READ 0-0-9 s=255,c=3,t=25,pt=1,l=1,sg=0:1
      TSP:MSG:PONG RECV (hops=1)
      TSP:CHKUPL:OK
      TSM:UPL:OK
      TSM:READY
      TSP:MSG:SEND 9-9-0-0 s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=ok:0100
      !TSP:MSG:SEND 9-9-0-0 s=255,c=0,t=17,pt=0,l=5,sg=0,ft=0,st=fail:2.0.0
      TSP:MSG:SEND 9-9-0-0 s=255,c=3,t=6,pt=1,l=1,sg=0,ft=1,st=ok:0
      TSP:MSG:SEND 9-9-0-0 s=255,c=3,t=11,pt=0,l=10,sg=0,ft=0,st=ok:My Bedroom
      TSP:MSG:SEND 9-9-0-0 s=255,c=3,t=12,pt=0,l=3,sg=0,ft=0,st=ok:1.0
      TSP:MSG:SEND 9-9-0-0 s=10,c=0,t=7,pt=0,l=0,sg=0,ft=0,st=ok:
      TSP:MSG:SEND 9-9-0-0 s=11,c=0,t=6,pt=0,l=0,sg=0,ft=0,st=ok:
      TSP:MSG:SEND 9-9-0-0 s=1,c=0,t=3,pt=0,l=0,sg=0,ft=0,st=ok:
      Request registration...
      TSP:MSG:SEND 9-9-0-0 s=255,c=3,t=26,pt=1,l=1,sg=0,ft=0,st=ok:2
      TSP:MSG:READ 0-0-9 s=255,c=3,t=27,pt=1,l=1,sg=0:1
      Node registration=1
      Init complete, id=9, parent=0, distance=1, registration=1
      !TSP:MSG:SEND 9-9-0-0 s=11,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=fail:21.8
      T: 21.80
      TSP:MSG:SEND 9-9-0-0 s=10,c=1,t=1,pt=7,l=5,sg=0,ft=1,st=ok:24.2
      H: 24.20
      TSP:MSG:SEND 9-9-0-0 s=10,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=ok:24.6
      H: 24.60
      TSP:MSG:SEND 9-9-0-0 s=11,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=ok:21.9
      T: 21.90
      TSP:MSG:SEND 9-9-0-0 s=10,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=ok:25.4
      H: 25.40
      TSP:MSG:SEND 9-9-0-0 s=11,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=ok:22.0
      T: 22.00
      !TSP:MSG:SEND 9-9-0-0 s=10,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=fail:25.3
      H: 25.30

      It is operating normally and it send both temperature and humidity values.

      posted in OpenHAB
      pentti12
      pentti12
    • RE: MySensors Ethernet Gateway goes to OFFLINE state

      Update:

      I started from the scratch. I installed debian MATE and OH2-offline snapshot. I put the org.openhab.binding.mysensors-2.0.0-SNAPSHOT.jar into addons folder. I started openhab2 and after a while I got MySensors Ethernet Gateway and Temperature and Humidity Sensors ONLINE state.

      But still I cannot see any temperature nor humidity values from my sensors!

      Here is the Karaf Log after I pressed MySensorsGateway Reset button:

      08:35:40.194 [ERROR] [otocol.MySensorsNetworkSanityChecker] - Retry period expired, gateway is down. Disconneting bridge...
      08:35:40.196 [DEBUG] [al.protocol.ip.MySensorsIpConnection] - Request disconnection flag setted to: true
      08:35:44.213 [INFO ] [al.protocol.ip.MySensorsIpConnection] - Connection request disconnection...
      08:35:44.215 [DEBUG] [al.protocol.ip.MySensorsIpConnection] - Request disconnection flag setted to: false
      08:35:44.217 [INFO ] [otocol.MySensorsNetworkSanityChecker] - Network Sanity Checker thread stopped
      08:35:44.223 [DEBUG] [al.protocol.ip.MySensorsIpConnection] - Disconnecting from IP bridge ...
      08:35:44.227 [DEBUG] [rs.internal.protocol.MySensorsWriter] - Stopping Writer thread
      08:35:44.241 [ERROR] [rs.internal.protocol.MySensorsWriter] - (java.lang.InterruptedException) on writing from serial port, message: class org.openhab.binding.mysensors.internal.protocol.ip.MySensorsIpWriter
      08:35:44.244 [DEBUG] [rs.internal.protocol.MySensorsReader] - Stopping Reader thread
      08:35:44.246 [ERROR] [rs.internal.protocol.MySensorsReader] - (java.lang.InterruptedException: sleep interrupted) on reading from serial port, message: class org.openhab.binding.mysensors.internal.protocol.ip.MySensorIpReader
      08:35:44.261 [DEBUG] [ternal.handler.MySensorsThingHandler] - MySensors Bridge Status updated to OFFLINE for device: mysensors:humidity:a825a6a7
      08:35:44.263 [DEBUG] [al.protocol.ip.MySensorsIpConnection] - Connecting to IP bridge [192.168.1.201:5003]
      08:35:44.267 [DEBUG] [ternal.handler.MySensorsThingHandler] - MySensors Bridge Status updated to OFFLINE for device: mysensors:temperature:43712fbc
      08:35:44.295 [WARN ] [al.protocol.ip.MySensorsIpConnection] - Skipping I_VERSION connection test, not recommended...
      08:35:44.305 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'mysensors:temperature:43712fbc' changed from ONLINE to OFFLINE
      08:35:44.305 [DEBUG] [ternal.handler.MySensorsThingHandler] - MySensors Bridge Status updated to ONLINE for device: mysensors:humidity:a825a6a7
      08:35:44.313 [DEBUG] [ternal.handler.MySensorsThingHandler] - MySensors Bridge Status updated to ONLINE for device: mysensors:temperature:43712fbc
      08:35:44.325 [INFO ] [al.protocol.ip.MySensorsIpConnection] - Successfully connected to MySensors Bridge.
      08:35:44.349 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'mysensors:bridge-eth:d18f7f4c' changed from ONLINE to OFFLINE
      08:35:44.354 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'mysensors:humidity:a825a6a7' changed from ONLINE to OFFLINE
      08:35:44.361 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'mysensors:bridge-eth:d18f7f4c' changed from OFFLINE to ONLINE
      08:35:44.373 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'mysensors:humidity:a825a6a7' changed from OFFLINE to ONLINE
      08:35:44.392 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'mysensors:temperature:43712fbc' changed from OFFLINE to ONLINE
      08:35:54.341 [DEBUG] [al.protocol.ip.MySensorsIpConnection] - Bridge is connected, connection skipped

      So what to do next?

      posted in OpenHAB
      pentti12
      pentti12
    • RE: 💬 MySensor Dioder (Ikea)

      Now I downloaded Arduino IDE 1.6.5.zip, then I extracted it into C:/tools folder. Then I deleted everything from the library folder. Then I started Arduino IDE and I added MySensors-1.5.4.zip library. IDE reported that this file does not contain valid library. I closed IDE. So I unzipped MySensors-1.5.4.zip library directly into library folder. Then I started again IDE and checked that IDE can see MySensors-1.5.4 library. I opened MySensorDioder_133.ino and tried to compile it.

      Still got the following error:

      MySensorDioder_133.ino:38:30: fatal error: MyTransportNRF24.h: No such file or directory
      compilation terminated.

      How to continue?

      posted in OpenHardware.io
      pentti12
      pentti12
    • RE: 💬 MySensor Dioder (Ikea)

      Hello
      I got lot of errors during the compiling stage. I tried to use older MySensors 1.5.4 library and Arduino 1.5.7 IDE. My question is, how to install correct MySensors library and not use anything else?

      posted in OpenHardware.io
      pentti12
      pentti12
    • RE: MySensors Ethernet Gateway goes to OFFLINE state

      Event log:
      2016-11-22 18:57:07.915 [hingStatusInfoChangedEvent] - 'mysensors:humidity:dd0f7b9e' changed from UNINITIALIZED to INITIALIZING
      2016-11-22 18:57:07.928 [hingStatusInfoChangedEvent] - 'mysensors:humidity:dd0f7b9e' changed from INITIALIZING to UNINITIALIZED (HANDLER_INITIALIZING_ERROR): org.eclipse.smarthome.core.thing.Bridge.getHandler()Lorg/eclipse/smarthome/core/thing/binding/BridgeHandler;

      And Openhba log:

      2016-11-22 18:57:07.924 [ERROR] [ome.core.thing.internal.ThingManager] - Exception occured while initializing handler of thing 'mysensors:humidity:dd0f7b9e': java.lang.NoSuchMethodError: org.eclipse.smarthome.core.thing.Bridge.getHandler()Lorg/eclipse/smarthome/core/thing/binding/BridgeHandler;
      java.util.concurrent.ExecutionException: java.lang.NoSuchMethodError: org.eclipse.smarthome.core.thing.Bridge.getHandler()Lorg/eclipse/smarthome/core/thing/binding/BridgeHandler;
      at java.util.concurrent.FutureTask.report(FutureTask.java:122)[:1.8.0_101]
      at java.util.concurrent.FutureTask.get(FutureTask.java:206)[:1.8.0_101]
      at org.eclipse.smarthome.core.common.SafeMethodCaller.callAsynchronous(SafeMethodCaller.java:186)[96:org.eclipse.smarthome.core:0.9.0.201611102032]
      at org.eclipse.smarthome.core.common.SafeMethodCaller.call(SafeMethodCaller.java:79)[96:org.eclipse.smarthome.core:0.9.0.201611102032]
      at org.eclipse.smarthome.core.common.SafeMethodCaller.call(SafeMethodCaller.java:63)[96:org.eclipse.smarthome.core:0.9.0.201611102032]
      at org.eclipse.smarthome.core.thing.internal.ThingManager$9.run(ThingManager.java:761)[103:org.eclipse.smarthome.core.thing:0.9.0.201611102032]
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_101]
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_101]
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_101]
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_101]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_101]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_101]
      at java.lang.Thread.run(Thread.java:745)[:1.8.0_101]
      Caused by: java.lang.NoSuchMethodError: org.eclipse.smarthome.core.thing.Bridge.getHandler()Lorg/eclipse/smarthome/core/thing/binding/BridgeHandler;
      at org.openhab.binding.mysensors.internal.handler.MySensorsThingHandler.getBridgeHandler(MySensorsThingHandler.java:284)
      at org.openhab.binding.mysensors.internal.handler.MySensorsThingHandler.initialize(MySensorsThingHandler.java:74)
      at org.eclipse.smarthome.core.thing.internal.ThingManager$9$1.call(ThingManager.java:764)
      at org.eclipse.smarthome.core.thing.internal.ThingManager$9$1.call(ThingManager.java:1)
      at org.eclipse.smarthome.core.common.SafeMethodCaller$CallableWrapper.call(SafeMethodCaller.java:177)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_101]
      ... 3 more

      posted in OpenHAB
      pentti12
      pentti12
    • RE: MySensors Ethernet Gateway goes to OFFLINE state

      @pentti12 said:

      Now I got only MySensors Ethernet Gateway into ONLINE state. The Humidity and Temperature Sensors (Things) stay UNINITIALIZED state.

      I removed mapdb and things disappeared. I started OH2 again, but I got only MySensors Ethernet Gateway into ONLINE state after adding them manually The Humidity and Temperature Sensors (Things) stay UNINITIALIZED state.

      posted in OpenHAB
      pentti12
      pentti12
    • RE: MySensors Ethernet Gateway goes to OFFLINE state

      Now I got only MySensors Ethernet Gateway into ONLINE state. The Humidity and Temperature Sensors (Things) stay UNINITIALIZED state.

      posted in OpenHAB
      pentti12
      pentti12
    • RE: MySensors Ethernet Gateway goes to OFFLINE state

      OK, TimO!

      I will wait for the new version until I continue!

      Pentti

      posted in OpenHAB
      pentti12
      pentti12
    • RE: MySensors Ethernet Gateway goes to OFFLINE state

      No success!

      I ended up to the same situation, no real values of temperature nor humidity.
      OH2 cannot search things automatically. I added them manually after I configured the MySensors Gateway.

      posted in OpenHAB
      pentti12
      pentti12
    • RE: MySensors Ethernet Gateway goes to OFFLINE state

      I see from OH2 event log:

      2016-11-22 06:17:43.911 [hingStatusInfoChangedEvent] - 'mysensors:bridge-eth:19d1e911' changed from UNINITIALIZED to INITIALIZING
      2016-11-22 06:17:43.937 [hingStatusInfoChangedEvent] - 'mysensors:bridge-eth:19d1e911' changed from INITIALIZING to ONLINE
      2016-11-22 06:19:49.491 [ItemCommandEvent ] - Item 'mysensors_temperature_9d001ab8_battery' received command REFRESH
      2016-11-22 06:20:05.658 [ItemCommandEvent ] - Item 'mysensors_temperature_9d001ab8_temp' received command REFRESH
      2016-11-22 06:21:08.469 [ItemCommandEvent ] - Item 'mysensors_temperature_9d001ab8_battery' received command REFRESH

      And from OH2 log:

      2016-11-22 06:11:11.125 [WARN ] [el.core.internal.ModelRepositoryImpl] - Configuration model 'test.things' is either empty or cannot be parsed correctly!
      2016-11-22 06:11:11.194 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'test.things'
      2016-11-22 06:11:11.251 [ERROR] [rs.protocol.ip.MySensorsIpConnection] - Error while trying to connect InputStreamReader
      2016-11-22 06:11:11.255 [ERROR] [rs.protocol.ip.MySensorsIpConnection] - Something went wrong!
      2016-11-22 06:11:11.322 [INFO ] [el.core.internal.ModelRepositoryImpl] - Refreshing model 'test.things'
      2016-11-22 06:12:08.388 [INFO ] [ome.io.rest.core.thing.ThingResource] - Received HTTP PUT request for update configuration at 'things/mysensors:bridge-eth:gateway/config' for an unmanaged thing 'mysensors:bridge-eth:gateway'.
      2016-11-22 06:12:32.535 [INFO ] [ome.io.rest.core.thing.ThingResource] - Received HTTP PUT request for update at 'things/mysensors:bridge-eth:gateway' for an unmanaged thing 'mysensors:bridge-eth:gateway'.
      2016-11-22 06:12:51.983 [INFO ] [el.core.internal.ModelRepositoryImpl] - Refreshing model 'test.things'
      2016-11-22 06:12:51.990 [WARN ] [el.core.internal.ModelRepositoryImpl] - Configuration model 'test.things' is either empty or cannot be parsed correctly!
      2016-11-22 06:12:52.016 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'test.things'
      2016-11-22 06:12:52.072 [INFO ] [el.core.internal.ModelRepositoryImpl] - Refreshing model 'test.things'
      2016-11-22 06:14:46.978 [INFO ] [el.core.internal.ModelRepositoryImpl] - Refreshing model 'test.things'
      2016-11-22 06:14:46.986 [WARN ] [el.core.internal.ModelRepositoryImpl] - Configuration model 'test.things' is either empty or cannot be parsed correctly!
      2016-11-22 06:14:47.045 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'test.things'

      So there are some problems at least on test.things file:

      Bridge mysensors:bridge-eth:gateway [ ipAddress="192.168.1.201", tcpPort=5003, sendDelay=200, imperial=false ] {
      /** define things connected to that bridge here */
      humidity hum01 [ nodeId="9", childId="10" ]
      temperature temp01 [ nodeId="9", childId="11" ]
      }

      Any advice?

      posted in OpenHAB
      pentti12
      pentti12
    • RE: MySensors Ethernet Gateway goes to OFFLINE state

      Here is the serial monitor printout from MySensors W5100 Gateway. I think that this listing is OK, but still there is no actual temperature nor humidity values at control screen of OH2 .

      0;255;3;0;9;Starting gateway (RNNGA-, 2.0.0)
      0;255;3;0;9;TSM:INIT
      0;255;3;0;9;TSM:RADIO:OK
      0;255;3;0;9;TSM:GW MODE
      0;255;3;0;9;TSM:READY
      IP: 192.168.1.201
      0;255;3;0;9;No registration required
      0;255;3;0;9;Init complete, id=0, parent=0, distance=0, registration=1
      0;255;3;0;9;TSP:SANCHK:OK
      0;255;3;0;9;TSP:MSG:READ 9-9-0 s=11,c=1,t=0,pt=7,l=5,sg=0:22.6
      0;255;3;0;9;TSP:SANCHK:OK
      0;255;3;0;9;TSP:SANCHK:OK
      0;255;3;0;9;TSP:MSG:READ 9-9-0 s=10,c=1,t=1,pt=7,l=5,sg=0:37.9
      0;255;3;0;9;TSP:SANCHK:OK
      0;255;3;0;9;TSP:MSG:READ 9-9-0 s=11,c=1,t=0,pt=7,l=5,sg=0:22.7
      0;255;3;0;9;TSP:SANCHK:OK
      0;255;3;0;9;TSP:SANCHK:OK
      0;255;3;0;9;TSP:SANCHK:OK
      0;255;3;0;9;TSP:MSG:READ 9-9-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
      0;255;3;0;9;TSP:MSG:BC
      0;255;3;0;9;TSP:MSG:FPAR REQ (sender=9)
      0;255;3;0;9;TSP:CHKUPL:OK
      0;255;3;0;9;TSP:MSG:GWL OK
      0;255;3;0;9;TSP:MSG:SEND 0-0-9-9 s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=ok:0
      0;255;3;0;9;TSP:MSG:READ 9-9-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
      0;255;3;0;9;TSP:MSG:BC
      0;255;3;0;9;TSP:MSG:FPAR REQ (sender=9)
      0;255;3;0;9;TSP:CHKUPL:OK
      0;255;3;0;9;TSP:MSG:GWL OK
      0;255;3;0;9;TSP:MSG:SEND 0-0-9-9 s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=ok:0
      0;255;3;0;9;TSP:MSG:READ 9-9-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
      0;255;3;0;9;TSP:MSG:BC
      0;255;3;0;9;TSP:MSG:FPAR REQ (sender=9)
      0;255;3;0;9;TSP:CHKUPL:OK (FLDCTRL)
      0;255;3;0;9;TSP:MSG:GWL OK
      0;255;3;0;9;TSP:MSG:SEND 0-0-9-9 s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=ok:0
      0;255;3;0;9;TSP:MSG:READ 9-9-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
      0;255;3;0;9;TSP:MSG:BC
      0;255;3;0;9;TSP:MSG:FPAR REQ (sender=9)
      0;255;3;0;9;TSP:CHKUPL:OK (FLDCTRL)
      0;255;3;0;9;TSP:MSG:GWL OK
      0;255;3;0;9;TSP:MSG:SEND 0-0-9-9 s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=ok:0
      0;255;3;0;9;TSP:MSG:READ 9-9-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
      0;255;3;0;9;TSP:MSG:BC
      0;255;3;0;9;TSP:MSG:FPAR REQ (sender=9)
      0;255;3;0;9;TSP:CHKUPL:OK (FLDCTRL)
      0;255;3;0;9;TSP:MSG:GWL OK
      0;255;3;0;9;TSP:MSG:SEND 0-0-9-9 s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=ok:0
      0;255;3;0;9;TSP:MSG:READ 9-9-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
      0;255;3;0;9;TSP:MSG:BC
      0;255;3;0;9;TSP:MSG:FPAR REQ (sender=9)
      0;255;3;0;9;TSP:CHKUPL:OK
      0;255;3;0;9;TSP:MSG:GWL OK
      0;255;3;0;9;TSP:MSG:SEND 0-0-9-9 s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=ok:0
      0;255;3;0;9;TSP:SANCHK:OK
      0;255;3;0;9;TSP:MSG:READ 9-9-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
      0;255;3;0;9;TSP:MSG:BC
      0;255;3;0;9;TSP:MSG:FPAR REQ (sender=9)
      0;255;3;0;9;TSP:CHKUPL:OK
      0;255;3;0;9;TSP:MSG:GWL OK
      0;255;3;0;9;TSP:MSG:SEND 0-0-9-9 s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=ok:0
      0;255;3;0;9;TSP:SANCHK:OK
      0;255;3;0;9;TSP:MSG:READ 9-9-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
      0;255;3;0;9;TSP:MSG:BC
      0;255;3;0;9;TSP:MSG:FPAR REQ (sender=9)
      0;255;3;0;9;TSP:CHKUPL:OK
      0;255;3;0;9;TSP:MSG:GWL OK
      0;255;3;0;9;TSP:MSG:SEND 0-0-9-9 s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=ok:0
      0;255;3;0;9;TSP:MSG:READ 9-9-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
      0;255;3;0;9;TSP:MSG:BC
      0;255;3;0;9;TSP:MSG:FPAR REQ (sender=9)
      0;255;3;0;9;TSP:CHKUPL:OK
      0;255;3;0;9;TSP:MSG:GWL OK
      0;255;3;0;9;TSP:MSG:SEND 0-0-9-9 s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=ok:0
      0;255;3;0;9;TSP:MSG:READ 9-9-0 s=255,c=3,t=24,pt=1,l=1,sg=0:1
      0;255;3;0;9;TSP:MSG:PINGED (ID=9, hops=1)
      0;255;3;0;9;TSP:MSG:SEND 0-0-9-9 s=255,c=3,t=25,pt=1,l=1,sg=0,ft=0,st=ok:1
      0;255;3;0;9;TSP:MSG:READ 9-9-0 s=10,c=1,t=1,pt=7,l=5,sg=0:37.9
      0;255;3;0;9;TSP:SANCHK:OK
      0;255;3;0;9;TSP:MSG:READ 9-9-0 s=10,c=1,t=1,pt=7,l=5,sg=0:38.0
      0;255;3;0;9;TSP:SANCHK:OK
      0;255;3;0;9;TSP:SANCHK:OK
      0;255;3;0;9;TSP:SANCHK:OK
      0;255;3;0;9;TSP:SANCHK:OK
      0;255;3;0;9;TSP:SANCHK:OK
      0;255;3;0;9;TSP:SANCHK:OK
      0;255;3;0;9;TSP:SANCHK:OK
      0;255;3;0;9;TSP:MSG:READ 9-9-0 s=10,c=1,t=1,pt=7,l=5,sg=0:38.0
      0;255;3;0;9;TSP:SANCHK:OK
      0;255;3;0;9;TSP:SANCHK:OK
      0;255;3;0;9;TSP:SANCHK:OK

      The problem must be on OpenHAB2 side. What to do next?

      posted in OpenHAB
      pentti12
      pentti12
    • RE: MySensors Ethernet Gateway goes to OFFLINE state

      If I look at the configuration from HABmin side, I see for example this:

      Channels [1 active, 2 total]
      Temperature

      Linked Items
      Temperature

      So there is some linked items!

      posted in OpenHAB
      pentti12
      pentti12
    • RE: MySensors Ethernet Gateway goes to OFFLINE state

      Hi

      I switched from win7 laptop to pine64 in order to continue searching problem.
      What I did:

      I started Karaf Console and restarted mysensors binding --> no help
      I restarted Arduino UNO Ethernet Gateway --> no help
      I restarted Arduino UNO Node 9 (which has temperature and humidity sensor) --> no help

      Here is the listing of the DEBUG:

      10:15:32.075 [ERROR] [ome.core.thing.internal.ThingManager] - Exception occured while disposing handler of thing 'mysensors:humidity:a9d5757b': java.lang.NullPointerException
      java.util.concurrent.ExecutionException: java.lang.NullPointerException
      at java.util.concurrent.FutureTask.report(FutureTask.java:122)[:1.8.0_101]
      at java.util.concurrent.FutureTask.get(FutureTask.java:206)[:1.8.0_101]
      at org.eclipse.smarthome.core.common.SafeMethodCaller.callAsynchronous(SafeMethodCaller.java:186)
      at org.eclipse.smarthome.core.common.SafeMethodCaller.call(SafeMethodCaller.java:79)
      at org.eclipse.smarthome.core.common.SafeMethodCaller.call(SafeMethodCaller.java:63)
      at org.eclipse.smarthome.core.thing.internal.ThingManager.disposeHandler(ThingManager.java:857)
      at org.eclipse.smarthome.core.thing.internal.ThingManager.handlerRemoved(ThingManager.java:311)
      at org.eclipse.smarthome.core.thing.internal.ThingManager$ThingHandlerTracker.removedService(ThingManager.java:138)
      at org.eclipse.smarthome.core.thing.internal.ThingManager$ThingHandlerTracker.removedService(ThingManager.java:1)
      at org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:967)[org.osgi.core-6.0.0.jar:]
      at org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:870)[org.osgi.core-6.0.0.jar:]
      at org.osgi.util.tracker.AbstractTracked.untrack(AbstractTracked.java:341)[org.osgi.core-6.0.0.jar:]
      at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:909)[org.osgi.core-6.0.0.jar:]
      at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:109)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
      at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:914)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
      at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
      at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
      at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:862)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
      at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:801)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
      at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:222)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
      at org.eclipse.smarthome.core.thing.binding.BaseThingHandlerFactory.unregisterHandler(BaseThingHandlerFactory.java:125)
      at org.eclipse.smarthome.core.thing.binding.BaseThingHandlerFactory.deactivate(BaseThingHandlerFactory.java:79)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0_101]
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_101]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_101]
      at java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_101]
      at org.apache.felix.scr.impl.helper.BaseMethod.invokeMethod(BaseMethod.java:222)[33:org.apache.felix.scr:2.0.2]
      at org.apache.felix.scr.impl.helper.BaseMethod.access$500(BaseMethod.java:37)[33:org.apache.felix.scr:2.0.2]
      at org.apache.felix.scr.impl.helper.BaseMethod$Resolved.invoke(BaseMethod.java:615)[33:org.apache.felix.scr:2.0.2]
      at org.apache.felix.scr.impl.helper.BaseMethod.invoke(BaseMethod.java:499)[33:org.apache.felix.scr:2.0.2]
      at org.apache.felix.scr.impl.helper.ActivateMethod.invoke(ActivateMethod.java:295)[33:org.apache.felix.scr:2.0.2]
      at org.apache.felix.scr.impl.manager.SingleComponentManager.disposeImplementationObject(SingleComponentManager.java:342)[33:org.apache.felix.scr:2.0.2]
      at org.apache.felix.scr.impl.manager.SingleComponentManager.deleteComponent(SingleComponentManager.java:157)[33:org.apache.felix.scr:2.0.2]
      at org.apache.felix.scr.impl.manager.AbstractComponentManager.doDeactivate(AbstractComponentManager.java:783)[33:org.apache.felix.scr:2.0.2]
      at org.apache.felix.scr.impl.manager.AbstractComponentManager.deactivateInternal(AbstractComponentManager.java:757)[33:org.apache.felix.scr:2.0.2]
      at org.apache.felix.scr.impl.manager.AbstractComponentManager.dispose(AbstractComponentManager.java:550)[33:org.apache.felix.scr:2.0.2]
      at org.apache.felix.scr.impl.config.ConfigurableComponentHolder.disposeComponents(ConfigurableComponentHolder.java:725)[33:org.apache.felix.scr:2.0.2]
      at org.apache.felix.scr.impl.BundleComponentActivator.dispose(BundleComponentActivator.java:530)[33:org.apache.felix.scr:2.0.2]
      at org.apache.felix.scr.impl.Activator.disposeComponents(Activator.java:414)[33:org.apache.felix.scr:2.0.2]
      at org.apache.felix.scr.impl.Activator.access$300(Activator.java:53)[33:org.apache.felix.scr:2.0.2]
      at org.apache.felix.scr.impl.Activator$ScrExtension.destroy(Activator.java:273)[33:org.apache.felix.scr:2.0.2]
      at org.apache.felix.utils.extender.AbstractExtender$2.run(AbstractExtender.java:290)[33:org.apache.felix.scr:2.0.2]
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_101]
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_101]
      at org.apache.felix.utils.extender.AbstractExtender.destroyExtension(AbstractExtender.java:312)[33:org.apache.felix.scr:2.0.2]
      at org.apache.felix.utils.extender.AbstractExtender.bundleChanged(AbstractExtender.java:186)[33:org.apache.felix.scr:2.0.2]
      at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:902)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
      at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
      at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
      at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:165)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
      at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:75)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
      at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:67)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
      at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:102)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
      at org.eclipse.osgi.container.Module.publishEvent(Module.java:466)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
      at org.eclipse.osgi.container.Module.doStop(Module.java:624)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
      at org.eclipse.osgi.container.Module.stop(Module.java:488)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
      at org.eclipse.osgi.internal.framework.EquinoxBundle.stop(EquinoxBundle.java:420)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
      at org.apache.karaf.bundle.command.Restart.doExecute(Restart.java:44)[39:org.apache.karaf.bundle.core:4.0.4]
      at org.apache.karaf.bundle.command.BundlesCommand.execute(BundlesCommand.java:54)[39:org.apache.karaf.bundle.core:4.0.4]
      at org.apache.karaf.shell.impl.action.command.ActionCommand.execute(ActionCommand.java:83)[54:org.apache.karaf.shell.core:4.0.4]
      at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:67)[54:org.apache.karaf.shell.core:4.0.4]
      at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:87)[54:org.apache.karaf.shell.core:4.0.4]
      at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:480)[54:org.apache.karaf.shell.core:4.0.4]
      at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:406)[54:org.apache.karaf.shell.core:4.0.4]
      at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[54:org.apache.karaf.shell.core:4.0.4]
      at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:182)[54:org.apache.karaf.shell.core:4.0.4]
      at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:119)[54:org.apache.karaf.shell.core:4.0.4]
      at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:94)[54:org.apache.karaf.shell.core:4.0.4]
      at org.apache.karaf.shell.impl.console.ConsoleSessionImpl.run(ConsoleSessionImpl.java:270)[54:org.apache.karaf.shell.core:4.0.4]
      at java.lang.Thread.run(Thread.java:745)[:1.8.0_101]
      Caused by: java.lang.NullPointerException
      at org.openhab.binding.mysensors.handler.MySensorsHandler.getBridgeHandler(MySensorsHandler.java:207)[201:org.openhab.binding.mysensors:2.0.0.201601251249]
      at org.openhab.binding.mysensors.handler.MySensorsHandler.dispose(MySensorsHandler.java:67)[201:org.openhab.binding.mysensors:2.0.0.201601251249]
      at org.eclipse.smarthome.core.thing.internal.ThingManager$12.call(ThingManager.java:860)[103:org.eclipse.smarthome.core.thing:0.9.0.201611102032]
      at org.eclipse.smarthome.core.thing.internal.ThingManager$12.call(ThingManager.java:1)[103:org.eclipse.smarthome.core.thing:0.9.0.201611102032]
      at org.eclipse.smarthome.core.common.SafeMethodCaller$CallableWrapper.call(SafeMethodCaller.java:177)[96:org.eclipse.smarthome.core:0.9.0.201611102032]
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_101]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_101]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_101]
      ... 1 more
      10:15:32.165 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'mysensors:temperature:9d001ab8' changed from ONLINE to UNINITIALIZED (HANDLER_MISSING_ERROR)
      10:15:32.167 [ERROR] [ome.core.thing.internal.ThingManager] - Exception occured while disposing handler of thing 'mysensors:temperature:9d001ab8': java.lang.NullPointerException
      java.util.concurrent.ExecutionException: java.lang.NullPointerException
      at java.util.concurrent.FutureTask.report(FutureTask.java:122)[:1.8.0_101]
      at java.util.concurrent.FutureTask.get(FutureTask.java:206)[:1.8.0_101]
      at org.eclipse.smarthome.core.common.SafeMethodCaller.callAsynchronous(SafeMethodCaller.java:186)
      at org.eclipse.smarthome.core.common.SafeMethodCaller.call(SafeMethodCaller.java:79)
      at org.eclipse.smarthome.core.common.SafeMethodCaller.call(SafeMethodCaller.java:63)
      at org.eclipse.smarthome.core.thing.internal.ThingManager.disposeHandler(ThingManager.java:857)
      at org.eclipse.smarthome.core.thing.internal.ThingManager.handlerRemoved(ThingManager.java:311)
      at org.eclipse.smarthome.core.thing.internal.ThingManager$ThingHandlerTracker.removedService(ThingManager.java:138)
      at org.eclipse.smarthome.core.thing.internal.ThingManager$ThingHandlerTracker.removedService(ThingManager.java:1)
      at org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:967)[org.osgi.core-6.0.0.jar:]
      at org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:870)[org.osgi.core-6.0.0.jar:]
      at org.osgi.util.tracker.AbstractTracked.untrack(AbstractTracked.java:341)[org.osgi.core-6.0.0.jar:]
      at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:909)[org.osgi.core-6.0.0.jar:]
      at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:109)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
      at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:914)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
      at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
      at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
      at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:862)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
      at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:801)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
      at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:222)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
      at org.eclipse.smarthome.core.thing.binding.BaseThingHandlerFactory.unregisterHandler(BaseThingHandlerFactory.java:125)
      at org.eclipse.smarthome.core.thing.binding.BaseThingHandlerFactory.deactivate(BaseThingHandlerFactory.java:79)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0_101]
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_101]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_101]
      at java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_101]
      at org.apache.felix.scr.impl.helper.BaseMethod.invokeMethod(BaseMethod.java:222)[33:org.apache.felix.scr:2.0.2]
      at org.apache.felix.scr.impl.helper.BaseMethod.access$500(BaseMethod.java:37)[33:org.apache.felix.scr:2.0.2]
      at org.apache.felix.scr.impl.helper.BaseMethod$Resolved.invoke(BaseMethod.java:615)[33:org.apache.felix.scr:2.0.2]
      at org.apache.felix.scr.impl.helper.BaseMethod.invoke(BaseMethod.java:499)[33:org.apache.felix.scr:2.0.2]
      at org.apache.felix.scr.impl.helper.ActivateMethod.invoke(ActivateMethod.java:295)[33:org.apache.felix.scr:2.0.2]
      at org.apache.felix.scr.impl.manager.SingleComponentManager.disposeImplementationObject(SingleComponentManager.java:342)[33:org.apache.felix.scr:2.0.2]
      at org.apache.felix.scr.impl.manager.SingleComponentManager.deleteComponent(SingleComponentManager.java:157)[33:org.apache.felix.scr:2.0.2]
      at org.apache.felix.scr.impl.manager.AbstractComponentManager.doDeactivate(AbstractComponentManager.java:783)[33:org.apache.felix.scr:2.0.2]
      at org.apache.felix.scr.impl.manager.AbstractComponentManager.deactivateInternal(AbstractComponentManager.java:757)[33:org.apache.felix.scr:2.0.2]
      at org.apache.felix.scr.impl.manager.AbstractComponentManager.dispose(AbstractComponentManager.java:550)[33:org.apache.felix.scr:2.0.2]
      at org.apache.felix.scr.impl.config.ConfigurableComponentHolder.disposeComponents(ConfigurableComponentHolder.java:725)[33:org.apache.felix.scr:2.0.2]
      at org.apache.felix.scr.impl.BundleComponentActivator.dispose(BundleComponentActivator.java:530)[33:org.apache.felix.scr:2.0.2]
      at org.apache.felix.scr.impl.Activator.disposeComponents(Activator.java:414)[33:org.apache.felix.scr:2.0.2]
      at org.apache.felix.scr.impl.Activator.access$300(Activator.java:53)[33:org.apache.felix.scr:2.0.2]
      at org.apache.felix.scr.impl.Activator$ScrExtension.destroy(Activator.java:273)[33:org.apache.felix.scr:2.0.2]
      at org.apache.felix.utils.extender.AbstractExtender$2.run(AbstractExtender.java:290)[33:org.apache.felix.scr:2.0.2]
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_101]
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_101]
      at org.apache.felix.utils.extender.AbstractExtender.destroyExtension(AbstractExtender.java:312)[33:org.apache.felix.scr:2.0.2]
      at org.apache.felix.utils.extender.AbstractExtender.bundleChanged(AbstractExtender.java:186)[33:org.apache.felix.scr:2.0.2]
      at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:902)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
      at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
      at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
      at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:165)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
      at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:75)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
      at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:67)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
      at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:102)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
      at org.eclipse.osgi.container.Module.publishEvent(Module.java:466)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
      at org.eclipse.osgi.container.Module.doStop(Module.java:624)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
      at org.eclipse.osgi.container.Module.stop(Module.java:488)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
      at org.eclipse.osgi.internal.framework.EquinoxBundle.stop(EquinoxBundle.java:420)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
      at org.apache.karaf.bundle.command.Restart.doExecute(Restart.java:44)[39:org.apache.karaf.bundle.core:4.0.4]
      at org.apache.karaf.bundle.command.BundlesCommand.execute(BundlesCommand.java:54)[39:org.apache.karaf.bundle.core:4.0.4]
      at org.apache.karaf.shell.impl.action.command.ActionCommand.execute(ActionCommand.java:83)[54:org.apache.karaf.shell.core:4.0.4]
      at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:67)[54:org.apache.karaf.shell.core:4.0.4]
      at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:87)[54:org.apache.karaf.shell.core:4.0.4]
      at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:480)[54:org.apache.karaf.shell.core:4.0.4]
      at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:406)[54:org.apache.karaf.shell.core:4.0.4]
      at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[54:org.apache.karaf.shell.core:4.0.4]
      at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:182)[54:org.apache.karaf.shell.core:4.0.4]
      at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:119)[54:org.apache.karaf.shell.core:4.0.4]
      at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:94)[54:org.apache.karaf.shell.core:4.0.4]
      at org.apache.karaf.shell.impl.console.ConsoleSessionImpl.run(ConsoleSessionImpl.java:270)[54:org.apache.karaf.shell.core:4.0.4]
      at java.lang.Thread.run(Thread.java:745)[:1.8.0_101]
      Caused by: java.lang.NullPointerException
      at org.openhab.binding.mysensors.handler.MySensorsHandler.dispose(MySensorsHandler.java:67)[201:org.openhab.binding.mysensors:2.0.0.201601251249]
      at org.eclipse.smarthome.core.thing.internal.ThingManager$12.call(ThingManager.java:860)[103:org.eclipse.smarthome.core.thing:0.9.0.201611102032]
      at org.eclipse.smarthome.core.thing.internal.ThingManager$12.call(ThingManager.java:1)[103:org.eclipse.smarthome.core.thing:0.9.0.201611102032]
      at org.eclipse.smarthome.core.common.SafeMethodCaller$CallableWrapper.call(SafeMethodCaller.java:177)[96:org.eclipse.smarthome.core:0.9.0.201611102032]
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_101]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_101]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_101]
      ... 1 more
      10:15:32.485 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'mysensors:temperature:9d001ab8' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
      10:15:32.488 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'mysensors:temperature:9d001ab8' changed from INITIALIZING to ONLINE
      10:15:32.494 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'mysensors:bridge-eth:a8641691' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
      10:15:32.513 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'mysensors:bridge-eth:a8641691' changed from INITIALIZING to ONLINE
      10:15:32.542 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'mysensors:humidity:a9d5757b' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
      10:15:32.548 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'mysensors:humidity:a9d5757b' changed from INITIALIZING to ONLINE

      So lot of stuff, which are unclear to me.

      posted in OpenHAB
      pentti12
      pentti12
    • RE: MySensors Ethernet Gateway goes to OFFLINE state

      OK, I will try to debug. It will take some time to done. I'll be back later on.

      posted in OpenHAB
      pentti12
      pentti12
    • RE: MySensors Ethernet Gateway goes to OFFLINE state

      OK I stay with MySensors Binding and use MySensors Ethernet Gateway Things. And on Arduino side I use GatewayW5100 sketch.

      Still problem with getting real values of temperature or humidity. For example the Humidity Sensor is ONLINE and it has linked into Humidity channels, but when I switch to control screen of Paper UI, there is no humidity values reported (show -NaN). What is missing from OH2?

      posted in OpenHAB
      pentti12
      pentti12
    • RE: MySensors Ethernet Gateway goes to OFFLINE state

      Detection of Things worked from MySensors network (only one gateway and one node, which has temperature and humidity sensor). But I can't get real temperature nor humidity values to be shown on Paper UI control screen. I don't have glue what to do next.

      I don't understand why the Arduino MQTT Gateway is not supported by the OH2 Mysensors binding, so shall I go still to mqtt gateway direction?

      posted in OpenHAB
      pentti12
      pentti12
    • RE: MySensors Ethernet Gateway goes to OFFLINE state

      I changed my Arduino UNO Sketch to GatewayW5100. Now I get MySensors Ethernet Gateway at OH2 into ONLINE state.
      Next question: how I configure MQTT gateway - Mosquitto - OpenHAB communication branch?

      posted in OpenHAB
      pentti12
      pentti12
    • RE: MySensors Ethernet Gateway goes to OFFLINE state

      I have mosquitto broker installed into Pine64 and it is up and running. MySensors GatewayW5100MQTT Client has establish the connection with mosquitto broker. But the OH2 log show:
      2016-11-20 10:09:15.875 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'test.items'
      2016-11-20 10:09:25.235 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'test.sitemap'
      2016-11-20 10:09:32.486 [INFO ] [basic.internal.servlet.WebAppServlet] - Started Basic UI at /basicui/app
      2016-11-20 10:09:34.022 [INFO ] [assic.internal.servlet.WebAppServlet] - Started Classic UI at /classicui/app
      2016-11-20 10:09:34.634 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Started Paper UI at /ui
      2016-11-20 10:09:35.139 [INFO ] [.dashboard.internal.DashboardService] - Started dashboard at /start
      2016-11-20 10:09:36.492 [INFO ] [panel.internal.HABPanelDashboardTile] - Started HABPanel at /habpanel
      2016-11-20 10:09:37.044 [WARN ] [.core.transform.TransformationHelper] - Cannot get service reference for transformation service of type MAP

      What to do next?

      posted in OpenHAB
      pentti12
      pentti12
    • RE: MySensors Ethernet Gateway goes to OFFLINE state

      So, what is your suggestion? Shall I go back to OpenHAB 1.8 or something else?

      posted in OpenHAB
      pentti12
      pentti12
    • RE: MySensors Ethernet Gateway goes to OFFLINE state

      OK, but I am still confused, why MQTT Gateway is listed in Configuration Things of OpenHAB, but not the MQTT binding (binding-mqtt - 1.9.0.SNAPSHOT). OpenHAB shows that MQTT binding is installed state.

      posted in OpenHAB
      pentti12
      pentti12
    • MySensors Ethernet Gateway goes to OFFLINE state

      Trying to set up OpenHAB 2 beta4 system to talk with MySensors GatewayW5100MQTT Client (2.0 Library) without success. I managed to install MySensors Binding into OpenHAB2 and i can add Things MySensors Ethernet Gateway on Paper UI. This gateway starts to initialize, but it will go into OFFLINE state.
      Have someone managed to get this working yet or shall I wait next beta OpenHAB release?

      posted in OpenHAB
      pentti12
      pentti12